Fix SH4 FP_ILOGB0 (bug 20859).
[glibc.git] / ChangeLog
blobb6fc831959161d16979c07b2559e48161d967164
1 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20859]
4         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5         (-0x7fffffff) instead of 0x80000001.
6         * math/test-fp-ilogb-constants.c: New file.
7         * math/Makefile (tests): Add test-fp-ilogb-constants.
9 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12         (_init): Use it in place of hardcoded R_MIPS_JALR.
13         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14         (_init): Use it in place of hardcoded R_MIPS_JALR.
15         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
16         (_init): Use it in place of hardcoded R_MIPS_JALR.
18 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
20         [BZ #20787]
21         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
22         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
23         (double_t): Do not define to double if [__x86_64__] when
24         __FLT_EVAL_METHOD__ is nonzero.
25         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
26         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
27         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28         test-flt-eval-method-387 and test-flt-eval-method-sse.
29         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
30         variable.
31         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
33 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
35         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
36         use of -fno-isolate-erroneous-paths options for tilepro.
38 2016-11-23  Florian Weimer  <fweimer@redhat.com>
40         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
41         structure initialization is no longer needed.
43 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
45         [BZ #20855]
46         * bits/mathdef.h (float_t): Define to float.
47         * math/test-flt-eval-method.c: New file.
48         * math/Makefile (tests): Add test-flt-eval-method.
49         (CFLAGS-test-flt-eval-method.c): New variable.
51 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
53         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
54         and __fstatfs.  Make them aliases of __fstatfs64 if
55         STATFS_IS_STATFS64 is set to non-zero.
56         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
57         and __statfs64.
58         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
59         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
60         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
61         for __statfs and statfs.
62         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
63         to 0.
64         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
65         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
66         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
67         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
68         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
69         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
70         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
71         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
72         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
73         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
74         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
75         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
77 2016-11-22  Andreas Schwab  <schwab@suse.de>
79         * misc/mkstemp.c: Include <fcntl.h>.
80         * misc/mkstemps.c: Likewise.
81         * misc/mkostemp.c: Likewise.
82         * misc/mkostemps.c: Likewise.
84 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
86         [BZ #20847]
87         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
88         array bounds.
89         (__execvpe): Likewise.
91 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
93         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
94         -fno-isolate-erroneous-paths options for tilepro.
96 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
98         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
99         to 0 when in 32 bit mode.
100         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
101         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
102         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
103         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
105         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
106         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
107         XSTAT_IS_XSTAT64 test.
108         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
109         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
110         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
111         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
112         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
113         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
114         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
115         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
116         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
117         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
118         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
120 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
122         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
123         (setpayload): New declaration.
124         * math/Versions (setpayload): New libm symbol at version
125         GLIBC_2.25.
126         (setpayloadf): Likewise.
127         (setpayloadl): Likewise.
128         * math/Makefile (libm-calls): Add s_setpayloadF.
129         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
130         test_Ff_b1_data.
131         (RUN_TEST_Ff_b1): New macro.
132         (RUN_TEST_LOOP_Ff_b1): Likewise.
133         (canonicalize_test_data): Update type.
134         (setpayload_test_data): New array.
135         (setpayload_test): New function.
136         (main): Call setpayload_test.
137         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
138         setpayloadf and setpayloadl.
139         * manual/libm-err-tab.pl: Update comment on interfaces without
140         ulps tabulated.
141         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
142         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
143         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
144         Likewise.
145         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
146         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
147         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
148         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
149         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
150         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
151         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
152         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
153         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
154         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
155         setpayload.
156         (CFLAGS-nldbl-setpayload.c): New variable.
157         * sysdeps/nacl/libm.abilist: Update.
158         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
161         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
162         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
163         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
164         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
171         Likewise.
172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
173         Likewise.
174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
175         Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
177         Likewise.
178         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
184         Likewise.
185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
186         Likewise.
187         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
191 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
193         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
194         * include/unistd.h: Extend comment about __access_noerrno return
195         semantics.
196         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
197         (access_common): Correct typo for EACCES.
199 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
201         * sysdeps/tile/math-tests.h: New file.
203         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
204         (__old_set_dataplane): Rename from set_dataplane and make a
205         compatibility symbol.
206         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
207         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
208         sys/dataplane.h.
210 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
212         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
213         script quote words in command output to log suitably for input to
214         the shell.
216 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
217             Maciej W. Rozycki  <macro@imgtec.com>
219         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
220         `.Lno_weak_fn' label.
221         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
222         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
224 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
225             Yury Norov  <ynorov@caviumnetworks.com>
227         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
228         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
229         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
230         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
231         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
233         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
235         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
236         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
237         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
238         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
239         (sysdep_routines): Remove oldgetrlimit64.
240         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
241         (sysdep_routines): Likewise.
242         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
243         (sysdep_routines): Likewise.
244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
245         [$(subdir) = resource] (sysdep_routines): Likewise.
246         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
247         [$(subdir) = resource] (sysdep_routines): Likewise.
248         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
249         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
250         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
251         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
252         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
253         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
254         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
255         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
256         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
257         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
258         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
259         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
260         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
261         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
262         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
263         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
264         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
265         setrlimit and getrlimit.
266         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
267         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
268         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
272         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
273         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
275         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
276         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
277         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
278         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
279         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
280         (__old_getrlimit64): Add compatibility symbol.
281         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
283 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
285         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
286         newly built gmp, mpfr and mpc.
288         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
290 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
292         * conform/Makefile (linknamespace-libs): Rename to
293         linknamespace-libs-thr.
294         (linknamespace-libs-posix): New variable.
295         (linknamespace-libs-xsi): Likewise.
296         (linknamespace-libs-XPG3): Include libcrypt.a.
297         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
298         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
299         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
300         (linknamespace-libs-XOPEN2K): Likewise.
301         (linknamespace-libs-XOPEN2K8): Likewise.
302         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
304         [BZ #20829]
305         * stdio-common/Versions (__snprintf): Add to version
306         GLIBC_PRIVATE.
307         * include/stdio.h (__snprintf): Use libc_hidden_proto.
308         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
309         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
310         of snprintf.
311         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
313 2016-11-16  Zack Weinberg  <zackw@panix.com>
315         * string/string.h: Remove obsolete comment stating that
316         strcoll_l and strxfrm_l have not yet been standardized.
318 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
320         * hurd/hurd.h (__hurd_fail_noerrno): New function.
321         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
322         __access_noerrno.
323         * io/access.c (__access_noerrno): New function.
324         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
325         (hurd_fail_seterrno): Likewise.
326         (access_common): Likewise.
327         (__access_noerrno): Likewise.
328         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
329         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
330         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
331         macro.
333 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
335         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
336         Only declare fpregs if [__SH_FPU_ANY__].
338 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
340         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
341         Make code unconditional.
342         [!(__SH4__ || __SH4A__)]: Remove conditional code.
344 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
346         * manual/sysinfo.texi (S_APPEND): Delete.
347         (S_IMMUTABLE): Likewise.
349 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
350             Magnus Granberg  <zorry@gentoo.org>
351             Mike Frysinger  <vapier@gentoo.org>
353         [BZ #20662]
354         * configure.ac (libc_cv_predef_stack_protector): Also check for
355         __stack_chk_fail_local symbols.
356         * configure: Regenerated.
358 2016-11-15  Florian Weimer  <fweimer@redhat.com>
360         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
361         (libc_hidden_def): Remove redefinition.
362         (__sigsetjmp): Add hidden definition.
363         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
364         (libc_hidden_def): Remove redefinition.
365         (__sigsetjmp): Add hidden definition.
367 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
369         * scripts/build-many-glibcs.py (os.path): Do not import.
370         (Context): Inherit explicitly from object.  Remove blank line
371         between class and docstring.
372         (Config): Likewise.
373         (Glibc): Likewise.
374         (Command): Likewise.
375         (CommandList): Likewise.
376         (Context.write_files): Store chmod mode in a variable.
378         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
379         LIBC_SLIBDIR_RTLDDIR for tilegx32.
380         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
382 2016-11-14  Zack Weinberg  <zackw@panix.com>
384         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
385         creating or re-creating it.
387         * string/bits/string2.h: Fix typo in comment.
389 2016-11-14  Zack Weinberg  <zackw@panix.com>
391         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
392         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
393         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
394         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
395         of redirected function names.
397         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
398         as well.  Document that MESSAGE must be a single string literal.
400 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
402         * scripts/build-many-glibcs.py: New file.
404         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
405         (do_test): Disable -Wmaybe-uninitialized around uses of
406         except_mask.
408         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
410 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
412         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
413         (atomic_store_release): Provide tilepro-specific implementations.
415 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
417         * math/math.h (__MATH_TG): New macro.
418         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
419         [__USE_ISOC99] (signbit): Likewise.
420         [__USE_ISOC99] (isfinite): Likewise.
421         [__USE_ISOC99] (isnan): Likewise.
422         [__USE_ISOC99] (isinf): Likewise.
423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
426         __MATH_TG and __MATH_EVAL_FMT2.
427         * sysdeps/generic/math_private.h (fabs_tg): Define using
428         __MATH_TG.
429         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
430         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
431         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
432         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
433         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
434         macro.
435         (__iscanonical): Likewise.
436         (iscanonical): Define using __MATH_TG.
438 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
440         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
441         guards.
443         * sysdeps/unix/sysv/linux/access.c: New file.
444         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
446 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
448         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
449         and __WORDSIZE32_PTRDIFF_LONG.
451 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
453         * sysdeps/aarch64/libm-test-ulps: Regenerated.
455 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
457         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
458         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
459         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
460         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
461         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
463         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
464         * sysdeps/unix/sysv/linux/truncate.c: New file.
465         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
466         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
467         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
468         Remove.
469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
470         Likewise.
472         * posix/tst-truncate-common.c: New file.
473         * posix/tst-truncate.c: Use tst-truncate-common.c.
474         * posix/tst-truncate64.c: Likewise and add LFS tests.
475         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
476         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
477         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
478         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
479         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
481         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
482         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
483         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
484         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
485         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
486         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
487         Remove.
488         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
489         Likewise.
491 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
493         [BZ #20790]
494         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
495         to MAXLINESIZE.
496         * sunrpc/bug20790.x: New file.
497         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
498         variable.
499         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
500         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
502         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
504         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
506         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
507         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
508         calloc, realloc, free, memalign and __libc_memalign rather than
509         making them optional.
511         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
512         for libc.so.
514 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
516         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
517         ptw-lseek64.
518         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
519         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
520         Likewise.
521         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
522         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
523         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
524         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
525         * sysdeps/unix/sysv/linux/lseek.c: New file.
526         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
527         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
528         __libc_lseek64 from auto-generation.
529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
530         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
532 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
534         * nptl/tst-basic1.c (tf, do_test): Use write_message.
535         * nptl/tst-cleanup1.c (do_test): Likewise.
536         * nptl/tst-cleanup3.c (do_test): Likewise.
537         * nptl/tst-key1.c (do_test): Likewise.
538         * nptl/tst-key2.c (tf, do_test): Likewise.
539         * nptl/tst-key3.c (tf, do_test): Likewise.
540         * nptl/tst-stdio1.c (do_test): Likewise.
541         * nptl/tst-stdio2.c (do_test): Likewise.
543         * nptl/tst-kill3.c (handler): Use write_message in place of write.
544         * nptl/tst-kill6.c (handler): Likewise.
545         * nptl/tst-tls2.c (CB): Likewise.
546         * nptl/tst-tls3.c (CB): Likewise.
548 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
550         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
552 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
553             Steve Ellcey  <sellcey@caviumnetworks.com>
555         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
556           __ASSUME_ST_INO_64_BIT as 0
557         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
558         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
559           over the code where __ASSUME_ST_INO_64_BIT is used.
560         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
561         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
562         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
564 2016-11-07  Florian Weimer  <fweimer@redhat.com>
566         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
567         Document ABI exposure of the __kind offset.
568         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
569         Mention reason for the __kind offset exposure in the ABI.
570         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
571         Likewise.
572         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
573         Likewise.
574         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
575         Likewise.
576         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
577         (struct __pthread_mutex_s): Likewise.
578         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
579         Likewise.
580         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
581         Likewise.
582         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
583         Likewise.
584         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
585         Likewise.
586         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
587         Likewise.
588         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
589         Likewise.
590         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
591         (struct __pthread_mutex_s): Likewise.
592         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
593         (struct __pthread_mutex_s): Likewise.
594         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
595         Likewise.
597 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
599         * test-skeleton.c: Document do_test usage.
601 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
603         * iconv/gconv.h (__gconv_info): Define __data element using a
604         zero-length array.
606 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
608         * math/test-tgmath2.c: Split up test function.
610 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
612         * Rules (tests-expected): New variable, depending on
613         $(run-built-tests).
614         (tests): Pass $(tests-expected) to merge-test-results.sh, not
615         $(tests).
617         * Rules [$(run-built-tests) = no] (tests): Do not depend on
618         $(tests-unsupported).
620 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
622         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
623         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
625 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
627         [BZ #20768]
628         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
629         __fegetenv instead of fegetenv.
631         [BZ #14139]
632         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
633         (find_files): Obtain platform name from libm-test-ulps-name and
634         store in %pplatforms.
635         (canonicalize_platform): Remove.
636         (print_platforms): Use $pplatforms directly.
637         (by_platforms): Do not allow for platforms missing from
638         %pplatforms.
639         * sysdeps/aarch64/libm-test-ulps-name: New file.
640         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
641         * sysdeps/arm/libm-test-ulps-name: Likewise.
642         * sysdeps/generic/libm-test-ulps-name: Likewise.
643         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
644         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
645         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
646         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
647         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
648         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
649         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
650         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
651         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
652         * sysdeps/nios2/libm-test-ulps-name: Likewise.
653         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
654         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
655         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
656         * sysdeps/sh/libm-test-ulps-name: Likewise.
657         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
658         * sysdeps/tile/libm-test-ulps-name: Likewise.
659         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
661         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
663         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
664         (test-xfail-check-execstack): New variable.
666         * sysdeps/mips/localplt.data: New file.
668 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
669             Steve Ellcey  <sellcey@caviumnetworks.com>
671         * bits/wordsize.h: Add documentation.
672         * sysdeps/aarch64/bits/wordsize.h : New file
673         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
674         definitions.
675         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
676         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
677         with #if instead of #ifdef.
678         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
679         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
680         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
681         Add or change defines.
682         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
683         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
684         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
685         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
686         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
687         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
688         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
689         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
690         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
691         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
692         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
693         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
694         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
695         * sysdeps/x86/bits/wordsize.h: Likewise.
697 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
698             Kevin Petit  <kevin.petit@arm.com>
700         * sysdeps/aarch64/memchr.S (__memchr): New file.
702 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
704         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
706 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
708         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
709         $(linknamespace-symlists-tests).
711 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
713         * time/tst-strptime2.c: Ignore -Wformat-length warning.
715 2016-11-02  Florian Weimer  <fweimer@redhat.com>
716             Carlos O'Donell  <carlos@redhat.com>
718         [Bug #20729]
719         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
720         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
721         for -Os related change.
723 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
725         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
727 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
729         [BZ #19673]
730         * manual/math.texi (Exponents and Logarithms): Correct description
731         of clog10.
733 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
735         [Bz #20729]
736         * locale/weight.h: Include libc-internal.h.
737         * locale/weightwc.h: Likewise.
738         * nptl/nptl_dbP.h: Likewise.
740 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
742         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
743         when it is MACH_PORT_NULL.
745 2016-10-31  Andreas Schwab  <schwab@suse.de>
747         [BZ #20707]
748         * posix/glob.c (glob): Initialize pglob before checking for
749         GLOB_BRACE.  Don't call glob recursively if pattern contains no
750         valid brace expression despite GLOB_BRACE.
751         * posix/globtest.sh: Test it.
753 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
755         [BZ #20729]
756         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
757         Define.
758         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
759         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
760         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
761         for seq2.back_us and seq1.back_us only for -Os compiles.
762         * locale/weightwc.h (findix): Likewise.
763         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
764         DB_GET_FIELD_ADDRESS only for -Os compiles.
765         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
766         for slen only for -Os compiles.
767         * string/strcoll_l.c (get_next_seq): Ignore
768         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
769         for -Os compiles.
771         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
772         * include/crypt.h: New file.
774 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
776         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
777         from test-skeleton.c.
778         (statclass): Replace calls to write with calls to write_message.
780 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
782         * math/math.h
783         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
784         New macro.
785         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
786         Likewise.
787         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
788         Likewise.
789         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
790         SNANL.
791         * math/test-double.h (snan_value_MACRO): New macro.
792         * math/test-float.h (snan_value_MACRO): Likewise.
793         * math/test-ldouble.h (snan_value_MACRO): Likewise.
794         * math/libm-test.inc (issignaling_test_data): Add tests of
795         snan_value_MACRO.
797 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
799         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
800         behavior when eliding a lock not held by the current thread.
801         * sysdeps/powerpc/nptl/elide.h: Likewise.
803 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
805         [BZ #20728]
806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
807         branch to _exit() by a function call.
809 2016-10-28  Florian Weimer  <fweimer@redhat.com>
811         * malloc/malloc.c: Update chunk layout comments.
812         (chunk_main_arena): Update comment.
814 2016-10-28  Florian Weimer  <fweimer@redhat.com>
816         * crypt/sha256.c, crypt/sha256-block.c,
817         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
818         sha256_process_block to __sha256_process_block.
819         * crypt/sha512.c, crypt/sha512-block.c,
820         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
821         sha512_process_block to __sha512_process_block.
823 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
825         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
827         * math/test-nan-overflow.c: Include stdlib.h for malloc.
829 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
831         [BZ #20019]
832         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
833         definition in unrelocated shared library.
834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
836 2016-10-28  Florian Weimer  <fweimer@redhat.com>
838         [BZ #20729]
839         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
840         * sysdeps/unix/sysv/linux/i386/Makefile
841         (uses-6-syscall-arguments): Define.
842         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
843         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
844         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
845         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
846         Likewise.
847         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
848         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
849         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
850         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
851         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
852         (CFLAGS-fallocate64.os): Likewise.
853         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
854         (CFLAGS-pthread_rwlock_timedrdlock.os)
855         (CFLAGS-pthread_rwlock_timedwrlock.o)
856         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
857         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
858         (CFLAGS-sem_timedwait.os): Likewise.
860 2016-10-28  Florian Weimer  <fweimer@redhat.com>
862         * elf/tst-linkall-static.c: New file.
863         * elf/Makefile (tests-static): Add tst-linkall-static.
864         (tst-linkall-static): Link against static libraries.
866 2016-10-27  Florian Weimer  <fweimer@redhat.com>
868         * malloc/malloc.c (sysmalloc): Initialize previous size field of
869         mmaped chunks.
871 2016-10-28  Florian Weimer  <fweimer@redhat.com>
873         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
874         members to mchunk_prev_size, mchunk_size.
875         (chunk_main_arena): Reverse sense and rename from
876         chunk_non_main_arena.
877         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
878         mchunk_size instead of size.
879         (set_non_main_arena): Define.
880         (chunksize): Use chunksize_nomask instead of direct member access.
881         (chunksize_nomask): Define.
882         (next_chunk): Use chunksize instead of direct member access.
883         (prev_size, set_prev_size): Define.
884         (prev_chunk): Use prev_size instead of direct member access.
885         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
886         (inuse_bit_at_offset, set_inuse_bit_at_offset)
887         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
888         (mchunk_prev_size, mchunk_size): Poison tokens.
889         (unlink): Use chunksize_nomask, prev_size accessors.
890         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
891         (do_check_free_chunk): Use prev_size accessor.
892         (sysmalloc): Use set_prev_size, set_head accessors.
893         (munmap_chunk, mremap_chunk): Use prev_size accessor.
894         (__libc_free): Use chunksize_nomask accessor.
895         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
896         chunk_main_arena accessors.
897         (_int_free): Use chunksize_nomask, prev_size accessors.
898         (malloc_consolidate): Use chunksize, prev_size accessors.
899         (_int_realloc): Use chunksize_nomask accessor.
900         (_int_memalign): Use set_prev_size accessor.
901         (__malloc_info): Use chunksize_nomask accessor.
902         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
903         accessors.
904         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
905         (heap_trim): Use chunksize_nomask, prev_size accessors.
907 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
909         [BZ #19380]
910         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
911         for inexact results.
912         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
913         of inexact result where mpfr_subnormalize is the only inexact
914         step.
915         * stdlib/tst-strtod-round-data.h: Regenerated.
916         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
917         Define to 0.
918         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
920 2016-10-27  David S. Miller  <davem@davemloft.net>
922         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
924 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
926         * malloc/malloc.c (do_set_mallopt_check): New function.
927         (do_set_mmap_threshold): Likewise.
928         (do_set_mmaps_max): Likewise.
929         (do_set_top_pad): Likewise.
930         (do_set_perturb_byte): Likewise.
931         (do_set_trim_threshold): Likewise.
932         (do_set_arena_max): Likewise.
933         (do_set_arena_test): Likewise.
934         (__libc_mallopt): Use them.
936 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
938         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
939         (canonicalize): New declaration.
940         * math/Versions (canonicalize): New libm symbol at version
941         GLIBC_2.25.
942         (canonicalizef): Likewise.
943         (canonicalizel): Likewise.
944         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
945         * math/s_canonicalize_template.c: New file.
946         * math/libm-test.inc: Update comment on functions tested and
947         testing of NaN payloads.
948         (TEST_NAN_PAYLOAD): New macro.
949         (NO_TEST_INLINE): Update value.
950         (XFAIL_TEST): Likewise.
951         (ERRNO_UNCHANGED): Likewise.
952         (ERRNO_EDOM): Likewise.
953         (ERRNO_ERANGE): Likewise.
954         (IGNORE_RESULT): Likewise.
955         (NON_FINITE): Likewise.
956         (TEST_SNAN): Likewise.
957         (NO_TEST_MATHVEC): Likewise.
958         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
959         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
960         (struct test_Ffp_b1_data): New type.
961         (RUN_TEST_Ffp_b1): New macro.
962         (RUN_TEST_LOOP_Ffp_b1): Likewise.
963         (canonicalize_test_data): New array.
964         (canonicalize_test): New function.
965         (main): Call canonicalize_test.
966         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
967         canonicalizef and canonicalizel.
968         * manual/libm-err-tab.pl: Update comment on interfaces without
969         ulps tabulated.
970         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
971         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
972         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
973         canonicalize.
974         (CFLAGS-nldbl-canonicalize.c): New variable.
975         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
976         to ...
977         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
978         ... here.
979         (do_test): Also test canonicalizel.
980         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
981         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
982         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
983         file.
984         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
985         Use libm_hidden_def.
986         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
987         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
988         (do_test): Also test canonicalizel.
989         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
990         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
991         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
992         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
993         libm_hidden_def.
994         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
995         macro.
996         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
997         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
998         * sysdeps/nacl/libm.abilist: Update.
999         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1000         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1001         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1002         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1003         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1004         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1005         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1006         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1007         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1008         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1009         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1010         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1012         Likewise.
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1016         Likewise.
1017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1018         Likewise.
1019         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1027         Likewise.
1028         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1032         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1033         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1034         getpayload.
1035         (CFLAGS-nldbl-getpayload.c): New variable.
1037 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1039         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1040         integer from the format string.
1042 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1044         [BZ #19473]
1045         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1046         declarations.
1047         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1048         weak aliases.
1049         * malloc/hooks.c (__malloc_get_state): Remove definition.
1050         (malloc_get_state): New stub implementation as
1051         compatibility symbol.
1052         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1053         compat symbol.
1054         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1055         malloc_set_state.
1056         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1058 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1060         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1061         (names): Turn into concatenation of strings.
1062         (gconv_init): Adapt iteration over names.
1064 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1066         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1067         make const.
1068         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1069         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1070         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1071         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1072         character in sbconv.
1073         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1074         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1075         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1077 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1079         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1081         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1082         (M_TRIM_THRESHOLD): Likewise.
1084         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1085         (M_ARENA_MAX): Likewise.
1086         * malloc/malloc.c: Remove obsolete comment.
1088         * manual/memory.texi: Add environment variable alternatives to
1089         setting mallopt parameters.
1091 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1093         * include/atomic.h
1094         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1095         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1097 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1099         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1100         * stdlib/tst-strfrom.h: New file.
1101         * stdlib/tst-strfrom.c: New file.
1102         * stdlib/tst-strfrom-locale.c: New file.
1104         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1105         * stdlib/bug-strtod2.c: Likewise.
1106         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1107         * stdlib/tst-strtod6.c: Likewise.
1108         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1110 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1112         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1113         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1114         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1115         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1116         * stdlib/stdlib.h (strfromd): New declaration.
1117         (strfromf): Likewise.
1118         (strfroml): Likewise.
1119         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1120         strfrom.
1121         * stdlib/strfromd.c: New file.
1122         * stdlib/strfromf.c: Likewise.
1123         * stdlib/strfroml.c: Likewise.
1124         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1125         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1126         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1127         * sysdeps/arm/nacl/libc.abilist: Update.
1128         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1130         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1131         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1133         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1137         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1138         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1139         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1140         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1141         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1147         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1148         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1149         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1150         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1153         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1154         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1155         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1157 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1159         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1160         instead of cmpli.
1161         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1162         instead of cmpli.
1164 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1166         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1167         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1168         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1169         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1170         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1171         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1173 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1175         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1176         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1177         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1178         SYSCALL_LL64_PRW.
1179         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1180         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1181         __ASSUME_PRW_DUMMY_ARG.
1182         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1183         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1184         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1185         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1186         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1187         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1189 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1191         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1193 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1195         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1196         "C++", to override a potential extern "C" directive around the
1197         header file inclusion.
1199 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1201         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1203 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1205         * sysdeps/powerpc/fpu/fenv_private.h:
1206         (_FPU_MASK_ALL): Rename to...
1207         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1208         XE FPSCR bits.
1210         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1212         (_FPU_MASK_ROUNDING): Rename to...
1213         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1214         NI bits.
1216         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1217         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1218         bits and rounding bits.
1220         (__libc_feholdbits_ppc): New inline function to mask, set,
1221         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1222         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1223         (libc_feholdexcept_setround_ppc): Likewise.
1225         (__libc_femergeenv_ppc): New function to dynamically mask both
1226         old and new FP environments and merge.
1227         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1228         (libc_feresetround_ppc): Likewise.
1229         (libc_feupdateenv_test_ppc): Likewise.
1230         (libc_feupdateenv_ppc): Likewise.
1232         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1233         of ISA RN bits, and update macro names.
1234         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1235         effectively the same as the previously mentioned function.
1237         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1238         usage with fe_resetround_ppc.
1240         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1241         to be used.
1242         (libc_feholdexcept_setround_ctxf): Likewise.
1243         (libc_feholdexcept_setround_ctxl): Likewise.
1245 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1247         [BZ #20715]
1248         * math/math.h [__cplusplus] (iszero): Define as function template.
1249         * math/Makefile [CXX] (tests): Add test-math-iszero.
1250         (CFLAGS-test-math-iszero.cc): Set.
1251         * math/test-math-iszero.cc: New file.
1253 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1255         [BZ #20660]
1256         * sysdeps/arm/e_sqrt.c: New file.
1257         * sysdeps/arm/e_sqrtf.c: Likewise.
1259 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1261         [BZ #20718]
1262         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1263         not use floating-point comparisons to test sign.
1264         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1265         Likewise.
1267         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1268         (getpayload): New declaration.
1269         * math/Versions (getpayload): New libm symbol at version
1270         GLIBC_2.25.
1271         (getpayloadf): Likewise.
1272         (getpayloadl): Likewise.
1273         * math/Makefile (libm-calls): Add s_getpayloadF.
1274         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1275         (struct test_f_f_data): Add comment.
1276         (RUN_TEST_fp_f): New macro.
1277         (RUN_TEST_LOOP_fp_f): Likewise.
1278         (getpayload_test_data): New array.
1279         (getpayload_test): New function.
1280         (main): Call getpayload_test.
1281         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1282         descriptor.
1283         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1284         getpayloadf and getpayloadl.
1285         * manual/libm-err-tab.pl: Update comment on interfaces without
1286         ulps tabulated.
1287         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1288         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1289         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1290         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1291         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1292         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1293         * sysdeps/nacl/libm.abilist: Update.
1294         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1295         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1296         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1297         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1298         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1299         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1300         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1301         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1302         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1303         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1304         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1305         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1307         Likewise.
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1309         Likewise.
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1311         Likewise.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1315         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1316         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1317         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1320         Likewise.
1321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1322         Likewise.
1323         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1327 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1329         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1330         tst-fallocate{64}.
1331         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1332         on syscall return.
1334 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
1336         [BZ #20689]
1337         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1338         usable.
1340 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
1342         * sysdeps/generic/nan-high-order-bit.h: New file.
1343         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1344         * sysdeps/mips/nan-high-order-bit.h: Likewise.
1345         * sysdeps/hppa/math_private.h: Remove file.
1346         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1347         not define here.
1348         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1349         <nan-high-order-bit.h>.
1350         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1351         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1352         <nan-high-order-bit.h>.
1353         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1354         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1355         <nan-high-order-bit.h>.
1356         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1357         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1358         <nan-high-order-bit.h>.
1359         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1360         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1361         <nan-high-order-bit.h>.
1362         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1363         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1364         <nan-high-order-bit.h>.
1365         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1366         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1367         <nan-high-order-bit.h>.
1368         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1369         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1370         <nan-high-order-bit.h>.
1371         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1372         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1373         <nan-high-order-bit.h>.
1374         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1375         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1376         <nan-high-order-bit.h>.
1377         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1378         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1379         <nan-high-order-bit.h>.
1380         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1381         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1382         <nan-high-order-bit.h>.
1383         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1384         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1385         <nan-high-order-bit.h>.
1386         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1387         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1388         <nan-high-order-bit.h>.
1389         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1390         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1391         <nan-high-order-bit.h>.
1392         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1393         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1394         <nan-high-order-bit.h>.
1395         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1396         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1397         <nan-high-order-bit.h>.
1398         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1399         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1400         <nan-high-order-bit.h>.
1401         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1403 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1405         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1407 2016-09-22  John David Anglin  <dave.anglin@bell.net>
1409         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1410         abort-instr.h.
1411         (EFAULT): Remove conditional define.
1412         (ENOSYS): Likewise.
1413         (atomic_compare_and_exchange_val_acq): Use instruction nullification
1414         instead of conditional branch instructions.
1416 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
1418         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1419         (totalordermag): New declaration.
1420         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1421         New macro.
1422         * math/Versions (totalordermag): New libm symbol at version
1423         GLIBC_2.25.
1424         (totalordermagf): Likewise.
1425         (totalordermagl): Likewise.
1426         * math/Makefile (libm-calls): Add s_totalordermagF.
1427         * math/libm-test.inc (totalordermag_test_data): New array.
1428         (totalordermag_test): New function.
1429         (main): Call totalordermag_test.
1430         * math/test-tgmath.c (NCALLS): Increase to 125.
1431         (F(compile_test)): Call totalordermag.
1432         (F(totalordermag)): New function.
1433         * manual/arith.texi (FP Comparison Functions): Document
1434         totalordermag, totalordermagf and totalordermagl.
1435         * manual/libm-err-tab.pl: Update comment on interfaces without
1436         ulps tabulated.
1437         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1438         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1439         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1440         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1441         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1442         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1443         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1444         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1445         totalordermag.
1446         (CFLAGS-nldbl-totalordermag.c): New variable.
1447         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1448         (do_test): Also test totalordermagl.
1449         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1450         Likewise.
1451         * sysdeps/nacl/libm.abilist: Update.
1452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1465         Likewise.
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1467         Likewise.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1469         Likewise.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1471         Likewise.
1472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1480         Likewise.
1481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1485 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1487         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1488         boolean.
1490 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1492         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1493         raising FE_INVALID with feraisexcept in case where part of
1494         argument is infinite, subtract that part of argument from itself.
1495         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1496         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1497         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1499 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1501         * math/libm-test.inc (totalorder_test_data): Add more tests.
1503 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1505         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1506         Undefine weak_alias and add a comment why mips64 require
1507         versioning.
1509 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1511         [BZ #20647]
1512         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1513         maximum CPUID level is less than 2.
1515 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1517         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1518         (totalorder): New declaration.
1519         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1520         New macro.
1521         * math/Versions (totalorder): New libm symbol at version
1522         GLIBC_2.25.
1523         (totalorderf): Likewise.
1524         (totalorderl): Likewise.
1525         * math/Makefile (libm-calls): Add s_totalorderF.
1526         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1527         string.
1528         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1529         (qnan_value_pl): Likewise.
1530         (snan_value_pl): Likewise.
1531         (qnan_value): Define using qnan_value_pl.
1532         (snan_value): Define using snan_value_pl.
1533         (struct test_ff_i_data): Add comment about which tests use this
1534         structure.
1535         (RUN_TEST_ff_b): New macro.
1536         (RUN_TEST_LOOP_ff_b): Likewise.
1537         (totalorder_test_data): New array.
1538         (totalorder_test): New function.
1539         (main): Call totalorder_test.
1540         * math/test-tgmath.c (NCALLS): Increase to 122.
1541         (F(compile_test)): Call totalorder.
1542         (F(totalorder)): New function.
1543         * manual/arith.texi (FP Comparison Functions): Document
1544         totalorder, totalorderf and totalorderl.
1545         * manual/libm-err-tab.pl: Update comment on interfaces without
1546         ulps tabulated.
1547         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1548         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1549         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1550         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1551         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1552         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1553         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1554         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1555         totalorder.
1556         (CFLAGS-nldbl-totalorder.c): New variable.
1557         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1558         file.
1559         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1560         Add test-totalorderl-ldbl-128ibm.
1561         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1562         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1563         test-totalorderl-ldbl-96.
1564         * sysdeps/nacl/libm.abilist: Update.
1565         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1566         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1567         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1568         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1569         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1570         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1571         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1572         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1573         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1574         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1575         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1576         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1578         Likewise.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1580         Likewise.
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1582         Likewise.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1584         Likewise.
1585         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1586         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1587         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1588         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1589         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1591         Likewise.
1592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1593         Likewise.
1594         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1595         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1596         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1598 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1600         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1601         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1602         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1603         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1604         remove ENOSYS implementation.
1605         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1606         Consolidate all Linux implementations.
1608 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1610         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1611         * resolv/herror.c (herror): Cast away const-ness.
1612         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1613         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1615 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1617         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1618         instead of M_NAN + M_NAN.
1619         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1621 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1623         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1624         unused variable 'p'.
1626 2016-10-09  Alan Modra  <amodra@gmail.com>
1627             Andreas Schwab  <schwab@linux-m68k.org>
1629         [BZ #20554]
1630         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1631         [PIC && !SHARED]: Set up PIC register for PLT call.
1633 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1635         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1636         conditional on value of [__FLT_EVAL_METHOD__].
1637         * math/test-iseqsig-excess-precision.c: New file.
1638         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1640 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1642         * math/s_iseqsig_template.c: Include math-private.h.
1644         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1645         * posix/tst-posix_fadvise.c: New file.
1646         * posix/tst-posix_fadvise64.c: Likewise.
1647         * posix/tst-posix_fadvise-common.c: Likewise.
1648         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1649         (__ASSUME_FADVISE64_64_6ARG): Define.
1650         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1651         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1652         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1653         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1654         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1655         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1656         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1657         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1658         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1659         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1660         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1661         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1664         Likewise.
1665         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1666         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1667         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1668         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1669         Alias to __posix_fadvise64_l32.
1670         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1671         Add compat definition to posix_fadvise64.
1672         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1673         Add versioned definition to posix_fadvise64.
1674         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1675         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1676         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1677         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1678         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1680         * io/Makefile (tests): Add tst-posix_fallocate and
1681         tst-posix_fallocate64.
1682         * io/tst-posix_fallocate-common.c: New file.
1683         * io/tst-posix_fallocate.c: Likewise.
1684         * io/tst-posix_fallocate64.c: Likewise.
1685         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1686         file.
1687         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1688         Likewise.
1689         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1690         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1691         Likewise.
1692         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1693         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1694         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1695         SYSCALL_LL to pass both offset and len arguments.
1696         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1697         Likewise.
1698         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1699         __libc_pwrite64 alias used by posix_fallocate64.
1701         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1702         tst-fallocate64.
1703         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1704         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1705         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1706         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1707         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1708         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1709         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1710         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1711         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1712         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1713         macro on offset argument.
1714         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1715         SYSCALL_LL64 on offset argument.
1717         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1718         tst-fallocate64.
1719         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1720         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1721         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1722         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1723         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1724         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1725         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1726         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1727         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1728         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1729         macro on offset argument.
1730         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1731         SYSCALL_LL64 on offset argument.
1732         * test-skeleton.c (FAIL_RET): Add macro.
1733         (FAIL_EXIT): Likewise.
1734         (FAIL_EXIT1): Likewise.
1735         (_FAIL): Likewise.
1737 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1739         [BZ #20629]
1740         resolv: Remove RES_USEBSTRING and its implementation.
1741         * resolv/resolv.h (RES_USEBSTRING): Remove.
1742         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1743         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1744         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1745         (labellen): Remove extended label types support.
1746         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1747         * resolv/res_init.c (res_setoptions): Likewise.
1748         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1750 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1752         resolv: Remove RES_NOIP6DOTINT and its implementation.
1753         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1754         (RES_NOIP6DOTINT): Remove.
1755         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1756         handling.
1757         * resolv/res_debug.c (p_option): Likewise.
1758         * resolv/res_init.c (res_setoptions): Likewise.
1759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1761 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1763         resolv: Deprecate unimplemented flags.
1764         * misc/sys/cdefs.h (__glibc_macro_warning1)
1765         (__glibc_macro_warning): Define.
1766         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1767         (RES_KEEPTSIG): Mark as deprecated.
1768         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1769         RES_NOCHECKNAME, RES_KEEPTSIG.
1770         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1772 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1774         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1775         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1776         Use strong_alias to create symbols for glibc verison 2.19.
1778 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1780         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1782 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1784         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1786 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1788         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1790 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1792         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1793         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1794         in header for using it as type for ifunc function because __GI_* symbols
1795         for ppc32 do not target the ifunc symbols.
1796         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1798 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1800         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1801         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1802         libc_ifunc_hidden_def.
1803         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1804         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1805         Redirect ifunced function in header for using it as type of ifunc'ed
1806         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1807         function for __GI_* symbol.
1808         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1809         * include/libc-symbols.h
1810         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1812 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1814         [BZ #20478]
1815         * sysdeps/s390/multiarch/ifunc-resolve.h
1816         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1817         to create ifunc symbols.
1818         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1819         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1820         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1821         for using it as type for ifunc function.
1822         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1823         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1824         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1825         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1826         * sysdeps/s390/multiarch/strcat.c: Likewise.
1827         * sysdeps/s390/multiarch/strchr.c: Likewise.
1828         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1829         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1830         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1831         * sysdeps/s390/multiarch/strlen.c: Likewise.
1832         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1833         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1834         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1835         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1836         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1837         * sysdeps/s390/multiarch/strspn.c: Likewise.
1838         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1839         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1840         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1841         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1842         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1843         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1844         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1845         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1846         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1847         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1848         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1849         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1851 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1853         * include/libc-symbols.h (__ifunc_resolver):
1854         New macro is used by __ifunc* macros.
1855         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1856         depending on HAVE_GCC_IFUNC.
1857         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1858         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1860         Redirect ifunced function in header for using as type for ifunc function.
1861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1867         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1868         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1869         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1870         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1871         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1872         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1874         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1880         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1881         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1882         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1883         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1884         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1885         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1886         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1887         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1888         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1889         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1890         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1891         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1892         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1893         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1895         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1896         instead of libc_ifunc() macro.
1897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1898         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1900 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1902         * config.h.in (HAVE_GCC_IFUNC): New undef.
1903         * configure.ac: Add check if gcc supports attribute ifunc feature.
1904         * configure: Regenerated.
1905         * manual/install.texi: Add recommendation for gcc with
1906         indirect-function support.
1907         * INSTALL: Regenerated.
1909 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1911         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1912         macro.
1913         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1914         (__iseqsig): New declaration.
1915         * math/s_iseqsig_template.c: New file.
1916         * math/Versions (__iseqsigf): New libm symbol at version
1917         GLIBC_2.25.
1918         (__iseqsig): Likewise.
1919         (__iseqsigl): Likewise.
1920         * math/libm-test.inc (iseqsig_test_data): New array.
1921         (iseqsig_test): New function.
1922         (main): Call iseqsig_test.
1923         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1924         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1925         * manual/libm-err-tab.pl: Update comment on interfaces without
1926         ulps tabulated.
1927         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1928         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1929         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1930         * sysdeps/nacl/libm.abilist: Update.
1931         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1932         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1933         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1934         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1935         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1936         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1937         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1938         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1939         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1940         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1941         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1942         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1944         Likewise.
1945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1946         Likewise.
1947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1948         Likewise.
1949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1950         Likewise.
1951         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1957         Likewise.
1958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1959         Likewise.
1960         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1964 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1966         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1967         do_sincos_2, sloww, sloww1): Update comments.
1969         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1970         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1972         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1973         K boolean and rename it.
1974         (__sin): Adjust.
1975         (__cos): Adjust.
1977 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1978             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1980         * manual/nss.texi: Fix typos in the manual.
1982 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1984         * manual/contrib.texi: Fix typos in the manual.
1986         * manual/maint.texi: Fix typos in the manual.
1988         * manual/install.texi: Fix typos in the manual.
1989         * INSTALL: Regenerated.
1991         * manual/lang.texi: Fix typos in the manual.
1993         * manual/probes.texi: Fix typos in the manual.
1995         * manual/threads.texi: Fix typos in the manual.
1997         * manual/debug.texi: Fix typos in the manual.
1999         * manual/crypt.texi: Fix typos in the manual.
2001         * manual/conf.texi: Fix typos in the manual.
2003         * manual/sysinfo.texi: Fix typos in the manual.
2005         * manual/users.texi: Fix typos in the manual.
2007         * manual/job.texi: Fix typos in the manual.
2009         * manual/process.texi: Fix typos in the manual.
2011         * manual/argp.texi: Fix typos in the manual.
2012         * manual/getopt.texi: Likewise.
2013         * manual/startup.texi: Likewise.
2015         * manual/signal.texi: Fix typos in the manual.
2017         * manual/setjmp.texi: Fix typos in the manual.
2019         * manual/resource.texi: Fix typos in the manual.
2021         * manual/time.texi: Fix typos in the manual.
2023         * manual/arith.texi: Fix typos in the manual.
2025         * manual/math.texi: Fix typos in the manual.
2027         * manual/syslog.texi: Fix typos in the manual.
2029         * manual/terminal.texi: Fix typos in the manual.
2031         * manual/socket.texi: Fix typos in the manual.
2033         * manual/filesys.texi: Fix typos in the manual.
2035         * manual/llio.texi: Fix typos in the manual.
2037         * manual/stdio.text: Fix typos in the manual.
2039 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2041         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2042         instead of K1.
2044         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2045         SHIFT_QUADRANT and make it bool.
2046         (do_sincos_2): Likewise.
2047         (sloww): Likewise.
2048         (sloww1): Likewise.
2049         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2050         (__cos): Likewise.
2052 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2054         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2056 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2058         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2059         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2060         0x7fffffffL].
2061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2063 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2065         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2066         inline by __inline__.
2067         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2068         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2069         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2070         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2071         sigset_t from signal.h.
2072         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2073         which is already required.
2075 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2077         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2079 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2081         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2082         (struct tcp_repair_window): New type.
2084 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2086         * libio/tst-memstream3.c: Include string.h.
2088 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2090         [BZ #18241]
2091         [BZ #20181]
2092         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2093         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2094         write position is at the end the buffer.
2095         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2096         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2097         (_IO_str_seekoff): Set correct offset from negative displacement and
2098         set EINVAL for invalid ones.
2099         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2100         buffer length.
2101         (_IO_wstr_switch_to_get_mode): New function.
2102         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2103         set EINVAL for invalid ones.
2104         * libio/tst-memstream3.c: New file.
2105         * libio/tst-wmemstream3.c: Likewise.
2106         * manual/examples/memstrm.c: Remove warning when priting size_t.
2108 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2110         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2111         macro to use __builtin_fma.
2112         * sysdeps/x86_64/fpu/dla.h: Remove file.
2114         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2115         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2116         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2118 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2120         [BZ #20292]
2121         * elf/Makefile (routines): Add dl-addr-obj.
2122         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2123         tst-_dl_addr_inside_object.
2124         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2125         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2126         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2127         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2128         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2129         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2130         * elf/dl-open.c: Likewise.
2131         * elf/dl-addr-obj.c: New file.
2132         * elf/tst-_dl_addr_inside_object.c: New file.
2134 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2136         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2137         <bits/iscanonical.h>.
2138         * bits/iscanonical.h: New file.
2139         * math/s_iscanonicall.c: Likewise.
2140         * math/Versions (__iscanonicall): New libm symbol at version
2141         GLIBC_2.25.
2142         * math/libm-test.inc (iscanonical_test_data): New array.
2143         (iscanonical_test): New function.
2144         (main): Call iscanonical_test.
2145         * math/Makefile (headers): Add bits/iscanonical.h.
2146         (type-ldouble-routines): Add s_iscanonicall.
2147         * manual/arith.texi (Floating Point Classes): Document
2148         iscanonical.
2149         * manual/libm-err-tab.pl: Update comment on interfaces without
2150         ulps tabulated.
2151         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2152         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2153         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2154         Likewise.
2155         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2156         test-iscanonical-ldbl-128ibm.
2157         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2158         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2159         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2160         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2161         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2162         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2163         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2165         Likewise.
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2167         Likewise.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2169         Likewise.
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2175 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2177         * string/bits/string3.h: Remove C++ style comments.
2179 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2181         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2182         instead of ternary condition.
2183         (do_sincos_2): Likewise.
2184         (__sin): Likewise.
2185         (__cos): Likewise.
2186         (slow): Likewise.
2187         (sloww): Likewise.
2188         (sloww1): Likewise.
2189         (bsloww): Likewise.
2190         (bsloww1): Likewise.
2192         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2193         instead of ternary condition.
2194         (do_sin_slow): Likewise.
2195         (do_sincos_1): Likewise.
2196         (do_sincos_2): Likewise.
2197         (__cos): Likewise.
2198         (sloww): Likewise.
2199         (sloww1): Likewise.
2200         (sloww2): Likewise.
2201         (bsloww): Likewise.
2202         (bsloww1): Likewise.
2203         (bsloww2): Likewise.
2205         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2206         check from here...
2207         (slow2): ... and here...
2208         (__sin): ... to here.
2210 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2212         * math/math.h
2213         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2214         Cast argument to its own type.
2215         * math/test-iszero-excess-precision.c: New file.
2216         * math/Makefile (tests): Add test-iszero-excess-precision.
2217         (CFLAGS-test-iszero-excess-precision.c): New variable.
2219 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2221         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2222         field, add err field.
2223         (__spawni_child): Report error through err member instead of pipe.
2224         (__spawnix): Likewise.
2226 2016-09-28  Zack Weinberg  <zackw@panix.com>
2228         * scripts/check-installed-headers.sh: Generalize treatment of
2229         sys/elf.h to all target architectures.
2231         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2232         deleted typedef ucontext_t.
2234 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2236         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2237         (__INTERNAL_SYSCALL1): Likewise.
2238         (__INTERNAL_SYSCALL2): Likewise.
2239         (__INTERNAL_SYSCALL3): Likewise.
2240         (__INTERNAL_SYSCALL4): Likewise.
2241         (__INTERNAL_SYSCALL5): Likewise.
2242         (__INTERNAL_SYSCALL6): Likewise.
2243         (__INTERNAL_SYSCALL7): Likewise.
2244         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2245         (__INTERNAL_SYSCALL_NARGS): Likewise.
2246         (__INTERNAL_SYSCALL_DISP): Likewise.
2247         (INTERNAL_SYSCALL_CALL): Likewise.
2248         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2249         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2250         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2251         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2252         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2253         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2254         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2255         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2256         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2257         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2258         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2259         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2260         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2262 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2264         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2265         macro.
2266         * math/libm-test.inc (iszero_test_data): New array.
2267         (iszero_test): New function.
2268         (main): Call iszero_test.
2269         * manual/arith.texi (Floating Point Classes): Document iszero.
2270         * manual/libm-err-tab.pl: Update comment on interfaces without
2271         ulps tabulated.
2273 2016-09-23  Zack Weinberg  <zackw@panix.com>
2275         * scripts/check-installed-headers.sh: New script.
2276         * Rules: In each directory that defines header files to be installed,
2277         run check-installed-headers.sh on them as a special test.
2278         * Makefile: Likewise for the headers installed at top level.
2280         * include/aliases.h, include/alloca.h, include/argz.h
2281         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2282         * include/elf.h, include/envz.h, include/err.h
2283         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2284         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2285         * include/link.h, include/malloc.h, include/mcheck.h
2286         * include/mntent.h, include/netinet/ether.h
2287         * include/nss.h, include/obstack.h, include/printf.h
2288         * include/pty.h, include/resolv.h, include/rpc/auth.h
2289         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2290         * include/rpc/clnt.h, include/rpc/des_crypt.h
2291         * include/rpc/key_prot.h, include/rpc/netdb.h
2292         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2293         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2294         * include/rpc/rpc_msg.h, include/rpc/svc.h
2295         * include/rpc/svc_auth.h, include/rpc/xdr.h
2296         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2297         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2298         * include/rpcsvc/ypupd.h, include/shadow.h
2299         * include/stdio_ext.h, include/sys/epoll.h
2300         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2301         * include/sys/prctl.h, include/sys/profil.h
2302         * include/sys/statfs.h, include/sys/sysctl.h
2303         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2304         * sysdeps/arm/nacl/include/bits/setjmp.h
2305         * sysdeps/mips/include/sys/asm.h
2306         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2307         * sysdeps/unix/sysv/linux/include/sys/timex.h
2308         * sysdeps/x86/fpu/include/bits/fenv.h:
2309         Add #ifndef _ISOMAC guard around internal declarations.
2310         Add multiple-inclusion guard if not already present.
2312 2016-09-23  Zack Weinberg  <zackw@panix.com>
2314         * sysdeps/generic/sys/ucontext.h
2315         * sysdeps/arm/sys/ucontext.h
2316         * sysdeps/i386/sys/ucontext.h
2317         * sysdeps/m68k/sys/ucontext.h
2318         * sysdeps/mips/sys/ucontext.h
2319         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2320         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2321         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2322         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2323         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2324         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2325         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2326         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2327         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2328         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2329         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2330         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2331         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2332         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2333         Include both bits/sigcontext.h and bits/sigstack.h.
2334         Fix grammar error in comment, if present.
2336         * bits/sigstack.h
2337         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2338         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2339         * sysdeps/unix/sysv/linux/bits/sigstack.h
2340         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2341         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2342         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2343         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2344         * bits/sigcontext.h
2345         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2346         * sysdeps/unix/sysv/linux/bits/sigcontext.h
2347         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2348         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2349         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
2350         as well as signal.h, if this was not already allowed.  Request
2351         definition of size_t if necessary.  Minimize semantically-null
2352         differences across files.
2354 2016-09-23  Zack Weinberg  <zackw@panix.com>
2356         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2357         Remove all logic conditional on __need macros.  Move all the
2358         conditionally defined types to their own headers...
2359         * time/bits/types/clock_t.h: Define clock_t here.
2360         * time/bits/types/clockid_t.h: Define clockid_t here.
2361         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2362         * time/bits/types/struct_timespec.h: Define struct timespec here.
2363         * time/bits/types/struct_timeval.h: Define struct timeval here.
2364         * time/bits/types/struct_tm.h: Define struct tm here.
2365         * time/bits/types/time_t.h: Define time_t here.
2366         * time/bits/types/timer_t.h: Define timer_t here.
2367         * time/Makefile: Install the new headers.
2369         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2370         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2371         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2372         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2373         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2374         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2375         * sysdeps/unix/sysv/linux/bits/resource.h
2376         * sysdeps/unix/sysv/linux/bits/timex.h
2377         * sysdeps/unix/sysv/linux/mips/bits/resource.h
2378         * sysdeps/unix/sysv/linux/net/ppp_defs.h
2379         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2380         * sysdeps/unix/sysv/linux/sys/acct.h
2381         * sysdeps/unix/sysv/linux/sys/timerfd.h
2382         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2383         * time/sys/time.h, time/sys/timeb.h
2384         Use the new bits/types headers.
2386         * include/time.h: Remove __need logic.
2387         * include/bits/time.h
2388         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2389         * include/bits/types/time_t.h, include/bits/types/timer_t.h
2390         * include/bits/types/struct_itimerspec.h
2391         * include/bits/types/struct_timespec.h
2392         * include/bits/types/struct_timeval.h
2393         * include/bits/types/struct_tm.h:
2394         New wrapper headers.
2396 2016-09-23  Zack Weinberg  <zackw@panix.com>
2398         * sysdeps/mach/hurd/net/if_ppp.h
2399         * sysdeps/unix/sysv/linux/net/if_ppp.h:
2400         Only define struct ifpppstatsreq and struct ifpppcstatsreq
2401         if __USE_MISC is defined, to ensure struct ifreq is declared.
2403         * inet/netinet/ether.h: Condition all function prototypes
2404         on __USE_MISC, to ensure struct ether_addr is declared.
2406         * socket/bits/types/struct_osockaddr.h: New header.
2407         * include/bits/types/struct_osockaddr.h: New wrapper.
2408         * socket/Makefile: Install the new header.
2409         * socket/sys/socket.h, inet/protocols/talkd.h:
2410         Refer to bits/types/struct_osockaddr.h for the definition of
2411         struct osockaddr.
2413 2016-09-23  Zack Weinberg  <zackw@panix.com>
2415         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2416         * inet/protocols/routed.h, inet/protocols/talkd.h
2417         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2418         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2419         * sysdeps/generic/netinet/if_ether.h
2420         * sysdeps/generic/netinet/in_systm.h
2421         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2422         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2423         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2424         * sysdeps/mach/hurd/net/if_arp.h
2425         * sysdeps/mach/hurd/net/if_ppp.h
2426         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2427         * sysdeps/unix/sysv/linux/bits/in.h
2428         * sysdeps/unix/sysv/linux/net/ethernet.h
2429         * sysdeps/unix/sysv/linux/net/if_arp.h
2430         * sysdeps/unix/sysv/linux/net/if_ppp.h
2431         * sysdeps/unix/sysv/linux/net/if_shaper.h
2432         * sysdeps/unix/sysv/linux/net/route.h
2433         * sysdeps/unix/sysv/linux/netinet/if_ether.h
2434         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2435         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2436         * sysdeps/unix/sysv/linux/netipx/ipx.h
2437         * sysdeps/unix/sysv/linux/sys/acct.h
2438         * include/arpa/nameser.h, include/resolv.h:
2439         Change all uses of u_char to unsigned char,
2440         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2441         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2442         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2443         and u_int64_t and u_quad_t to uint64_t.
2445         * mach/sys/reboot.h: Remove two casts of integer literals
2446         to the types they already have.
2448         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2449         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2450         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2451         from referring to 'unsigned char' to 'uint8_t' for consistency with
2452         the macro definition below.
2454         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2455         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2456         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2457         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2458         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2459         * sysdeps/unix/sysv/linux/sys/acct.h
2460         * include/arpa/nameser.h, include/resolv.h:
2461         Fix indentation disrupted by mechanical edits.
2463         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2464         * sysdeps/generic/netinet/in_systm.h
2465         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2466         * sysdeps/gnu/netinet/udp.h
2467         * sysdeps/unix/sysv/linux/net/ethernet.h
2468         * sysdeps/unix/sysv/linux/net/if_arp.h
2469         * sysdeps/unix/sysv/linux/net/if_ppp.h
2470         * sysdeps/unix/sysv/linux/net/if_shaper.h
2471         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2472         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2473         * sysdeps/unix/sysv/linux/netipx/ipx.h
2474         * sysdeps/unix/sysv/linux/sys/acct.h
2475         Include stdint.h for uintNN_t definitions.
2476         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2478 2016-09-23  Zack Weinberg  <zackw@panix.com>
2480         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2481         * sysdeps/unix/sysv/linux/netrose/rose.h:
2482         Include sys/socket.h and netax25/ax25.h.
2484         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2485         * resolv/arpa/nameser_compat.h:
2486         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2488         * sysdeps/unix/sysv/linux/sys/quota.h:
2489         Use __caddr_t instead of caddr_t.
2490         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2491         Use __clockid_t instead of clockid_t.
2493         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2495         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2496         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2497         expanding it.
2499         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2500         Define __glibc_c99_flexarr_available to 1 when the compiler
2501         supports C99-compatible flexible array members, 0 otherwise.
2502         * sysdeps/unix/sysv/linux/bits/socket.h
2503         * sysdeps/mach/hurd/bits/socket.h
2504         * bits/socket.h: Use __glibc_c99_flexarr_available in
2505         definitions of struct cmsghdr and CMSG_DATA.
2507 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2509         * manual/nss.texi (NSS Modules Interface): Adjust function return
2510         type to enum nss_status.  Document errnop argument.  Clarify
2511         h_errnop semantics.  Fix cross-reference formatting.
2512         (NSS Module Function Internals): Mention that *errnop needs to be
2513         set on failure, but not to zero.
2515 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2517         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2518         (get_random_name): New functions.
2519         (check_wrapper_flags_mode): Use linkat to give the new file a name
2520         determined by get_random_name.
2521         (do_test): Add calls to test open64 and openat64.
2523 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2525         * test-skeleton.c: Remove #include <stdarg.h>.
2527 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2529         [BZ #19826]
2530         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2531         initialization of static TLS entries.
2532         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2533         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2535 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2537         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2538         _hurd_malloc_fork_prepare.
2539         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2540         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2541         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2542         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2543         (_hurd_fork_child_hook): Drop malloc_fork_child.
2544         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2545         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2546         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2547         after locking locks (notably hurd_dtable_lock). Call
2548         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2549         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2550         __malloc_fork_unlock_child.
2551         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2553 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2555         * soft-fp/extendhftf2.c: New.
2556         * soft-fp/fixhfti.c: Likewise.
2557         * soft-fp/fixunshfti.c: Likewise.
2558         * soft-fp/floattihf.c: Likewise.
2559         * soft-fp/floatuntihf.c: Likewise.
2560         * soft-fp/half.h: Likewise.
2561         * soft-fp/trunctfhf2.c: Likewise.
2563 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2565         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2566         macro.
2567         * math/libm-test.inc (issubnormal_test_data): New array.
2568         (issubnormal_test): New function.
2569         * manual/arith.texi (Floating Point Classes): Document
2570         issubnormal.
2571         * manual/libm-err-tab.pl: Update comment on interfaces without
2572         ulps tabulated.
2574         * sysdeps/generic/stdint.h: Define
2575         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2576         <bits/libc-header-start.h> instead of including <features.h>.
2577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2589         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2590         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2591         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2593         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2594         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2596         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2597         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2599         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2603         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2606         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2609         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2610         * manual/arith.texi (Integers): Document these macros for types
2611         specified by width properties.
2612         * manual/lang.texi (Width of Type): Document these macros for
2613         other standard typedefs.
2614         * stdlib/tst-width-stdint.c: New file.
2615         * stdlib/Makefile (tests): Add tst-width-stdint.
2617 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2619         [BZ #20016]
2620         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2621         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2622         Move ...
2623         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2624         ... here, as compatibility symbols in a new file.
2625         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2626         * resolv/res_init.c (__res_vinit): Adjust member names.
2627         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2628         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2629         (res_send_rhook): Remove.
2630         (struct __res_state): Rename qhook, rhook members.
2632 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2634         malloc: Use __libc_lock wrappers.
2635         * malloc/arena.c (list_lock, free_list_lock): Define using
2636         __libc_lock_define_initialized.
2637         (arena_lock): Adjust formatting.
2638         * malloc/malloc.c (struct malloc_state): Define mutex using
2639         __libc_lock_define.
2640         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2641         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2642         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2643         (mutex_unlock, mutex_trylock): Remove.
2644         (__pthread_initialize): Remove unused macro.
2645         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2646         (mutex_unlock, mutex_trylock): Remove.
2648 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2650         [BZ #20592]
2651         Remove RR type classification macros.
2652         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2653         (ns_t_udp_p, ns_t_xfr_p): Remove.
2655 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2657         Remove misleading version information.
2658         * resolv/arpa/nameser.h (__NAMESER): Remove.
2659         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2661 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2663         Remove the always-defined BIND_4_COMPAT macro.
2664         * resolv/arpa/nameser.h: Unconditionally include
2665         <arpa/nameser_compat.h>.
2666         (BIND_4_COMPAT): Remove.
2667         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2669 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2671         [BZ #20591]
2672         Remove obsolete DNSSEC support.
2673         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2674         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2675         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2676         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2677         (ns_cert_types): Add comment.
2678         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2679         separately.
2680         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2681         (dst_s_dns_key_id): Remove.
2682         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2683         variables.
2685 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2687         [BZ #20524]
2688         * manual/string.texi (String/Array Comparison): Clarify the
2689         strverscmp behavior.
2691 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2693         * test-skeleton.c (xasprintf): Add function.
2694         * io/tst-open-tmpfile.c: New test.
2695         * io/Makefile (tests): Add it.
2697 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2699         Avoid running $(CXX) during build to obtain header file paths.
2700         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2701         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2702         * Makerules (cstdlib, cmath): Remove variables.  Use
2703         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2704         * configure: Regenerate.
2706 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2708         * Makeconfig (all-object-suffixes): Include .op only if
2709         $(build-profile).
2711 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2713         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2714         conditionals.  Do not define PATH_MAX.
2716 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2718         * posix/Makefile (tests): Add tst-spawn3.
2719         * posix/tst-spawn3.c: New file.
2720         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2721         if it is already opened for open action.
2723         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2724         all signals when executing the clone vfork child.
2725         (SIGALL_SET): Remove macro.
2727         * nptl/Makefile (tests): Add tst-exec5.
2728         * nptl/tst-exec5.c: New file.
2729         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2730         asynchronous cancellation.
2732 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2734         * hurd/exc2signal.c: #include <hurd/signal.h>
2735         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2736         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2737         accordingly.
2738         * mach/mach_error.c (mach_error): Fix old-style function definition.
2739         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2741 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2743         * math/Makefile (libm-calls): Remove s_nanF.
2744         (gen-libm-calls): Add s_nanF.
2746         * math/s_nan.c: Refactor into ...
2747         * math/s_nan_template.c: New file.
2749         * math/s_nanf.c: Removed.
2750         * math/s_nanl.c: Removed.
2751         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2752         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2754         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2755         (LDOUBLE_nanl_libm_version): New macro.
2757         * sysdeps/generic/math-type-macros-double.h:
2758         (M_STRTO_NAN): New macro.
2759         * sysdeps/generic/math-type-macros-float.h: Likewise.
2760         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2762         * sysdeps/generic/math-type-macros.h: Document
2763         M_STRTO_NAN.
2765 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2767         * math/s_nanf.c: Remove __nanf undef.
2768         * math/s_nan.c: Remove __nan undef.
2769         * math/s_nanl.c: Remove __nanl undef.
2771         * sysdeps/generic/math_private.h (__nan): Remove macro
2772         override.
2773         (__nanf): Likewise.
2774         (__nanl): Likewise.
2776 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2778         * math/Makefile (gen-all-calls): New variable.
2779         (generated): Replace gen-libm-calls with gen-all-calls.
2780         (gen-libm-templates.stmp): Likewise.  Also, ensure
2781         the output directory exists or is created and add
2782         dependency on the Makefile.
2783         (calls): Move s_ldexpF into gen-calls.
2784         (gen-calls): New variable.
2786         * math/s_ldexpf.c: Removed.
2787         * math/s_ldexpl.c: Removed.
2788         * math/s_ldexp.c: Refactored into ...
2789         * math/s_ldexp_template.c: New file.
2791         * sysdeps/generic/math-type-macros-double.h: Remove
2792         redundant fall-through definition of declare_mgen_alias.
2793         (declare_mgen_alias_2): New macro.
2795         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2796         New macro for function aliased to two exported symbols.
2798         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2799         new template file.
2800         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2802 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2804         * Makeconfig (all-object-suffixes): Remove .og.
2805         * Makerules (elide-routines.og): Remove.
2806         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2807         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2808         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2810 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2812         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2813         .os objects.
2815 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2817         [BZ #20615]
2818         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2819         fpu directory by non-fpu.
2820         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2821         on non-fpu directory from a fpu directory.
2823 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2825         * include/limits.h: Define
2826         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2827         <bits/libc-header-start.h> instead of including <features.h>.
2828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2839         * manual/lang.texi (Width of Type): Document these macros.
2840         * stdlib/tst-width.c: New file.
2841         * stdlib/Makefile (tests): Add tst-width.
2843 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2845         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2846         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2848 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2850         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2851         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2852         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2854 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2856         [BZ #18243]
2857         * rt/Makefile (test): Add tst-shm-cancel.
2858         * rt/tst-shm-cancel.c: New file.
2859         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2861         [BZ #18243]
2862         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2863         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2864         definition.
2865         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2866         uncontended case.
2867         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2868         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2869         (tf): Fix check for uncontended case.
2870         (do_test): Likewise.
2871         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2872         (tf): Fix check for uncontended case.
2873         (do_test): Likewise.
2874         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2875         (tf): Fix check for uncontended case.
2876         (do_test): Likewise.
2877         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2878         (tf): Fix check for uncontended case.
2879         (do_test): Likewise.
2881         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2882         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2884         [BZ #15765]
2885         * nptl/Makefile (tests): Add tst-sem16.
2886         * nptl/tst-sem16.c: New file.
2887         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2889         * nptl/sem_open.c (sem_open): Init pad value to 0.
2890         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2891         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2893 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2895         [BZ #20611]
2896         * inet/Makefile (routines): Add inet6_scopeid_pton.
2897         (tests): Add tst-inet6_scopeid_pton.
2898         * inet/inet6_scopeid_pton.c: New file.
2899         * inet/net-internal.h: Likewise.
2900         * inet/tst-inet6_scopeid_pton.c: New test.
2901         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2902         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2905 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2907         Remove support for compiling wrappers with PTW.
2908         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2909         * nptl/Makefile (pthread-compat-wrappers): Define.
2910         (libpthread-routines): Use pthread-compat-wrappers.
2911         * sysdeps/unix/sysv/linux/alpha/Makefile
2912         (libpthread-routines, libpthread-shared-only-routines): Remove
2913         ptw- prefix.
2914         * sysdeps/s390/nptl/Makefile
2915         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2916         * sysdeps/ia64/nptl/Makefile
2917         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2918         * sysdeps/nacl/Makefile (libpthread-routines): Use
2919         pthread-compat-wrappers to filter the routines list instead of the
2920         ptw- prefix.
2922 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2924         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2925         with L() and remove explicit suffix, convert real literals
2926         which can be equivalentally substituted with integers, and
2927         transform -L(x) to L(-x).
2929         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2942         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2944         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2946         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2947         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2948         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2950         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2951         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2952         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2954         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2955         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2956         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2957         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2958         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2959         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2961         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2962         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2963         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2964         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2965         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2966         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2968         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2973         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2975         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2977         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2980 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2982         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2984 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2986         * malloc/Makefile (tests): Remove individual static test names
2987         and just add all of tests-static.
2989         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2991 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2993         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2994         file.
2996         * sysdeps/sparc/fpu/fegetmode.c: New file.
2997         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2999         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3000         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3002         * sysdeps/s390/fpu/fegetmode.c: New file.
3003         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3005         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3006         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3007         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3008         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3009         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3010         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3012         * sysdeps/mips/fpu/fegetmode.c: New file.
3013         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3015         * sysdeps/m68k/fpu/fegetmode.c: New file.
3016         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3018         * sysdeps/ia64/fpu/fegetmode.c: New file.
3019         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3021         * sysdeps/hppa/fpu/fegetmode.c: New file.
3022         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3024         * sysdeps/arm/fegetmode.c: New file.
3025         * sysdeps/arm/fesetmode.c: Likewise.
3027         * sysdeps/alpha/fpu/fegetmode.c: New file.
3028         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3030         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3031         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3033         * math/fegetmode.c: New file.
3034         * math/fesetmode.c: Likewise.
3035         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3036         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3037         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3038         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3039         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3041         declaration.
3042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3043         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3044         typedef.
3045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3046         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3047         (femode_t): New typedef.
3048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3049         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3050         (femode_t): New typedef.
3051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3052         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3053         (femode_t): New typedef.
3054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3055         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3056         (femode_t): New typedef.
3057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3058         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3059         (femode_t): New typedef.
3060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3061         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3062         (femode_t): New typedef.
3063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3064         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3065         (femode_t): New typedef.
3066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3067         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3068         (femode_t): New typedef.
3069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3070         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3071         (femode_t): New typedef.
3072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3073         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3074         (femode_t): New typedef.
3075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3076         declaration.
3077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3078         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3079         (femode_t): New typedef.
3080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3081         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3082         (femode_t): New typedef.
3083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3084         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3085         (femode_t): New typedef.
3086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3087         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3088         (femode_t): New typedef.
3089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3090         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3091         (femode_t): New typedef.
3092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3093         * manual/arith.texi (FE_DFL_MODE): Document macro.
3094         (fegetmode): Document function.
3095         (fesetmode): Likewise.
3096         * math/Versions (fegetmode): New libm symbol at version
3097         GLIBC_2.25.
3098         (fesetmode): Likewise.
3099         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3100         (tests): Add test-femode and test-femode-traps.
3101         * math/test-femode-traps.c: New file.
3102         * math/test-femode.c: Likewise.
3103         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3104         alias for __fe_dfl_env.
3105         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3106         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3107         (__fe_dfl_mode): Likewise.
3108         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3109         version GLIBC_2.25.
3110         * sysdeps/nacl/libm.abilist: Update.
3111         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3112         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3113         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3114         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3115         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3116         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3117         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3118         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3119         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3120         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3121         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3122         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3124         Likewise.
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3126         Likewise.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3128         Likewise.
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3130         Likewise.
3131         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3132         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3133         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3134         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3137         Likewise.
3138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3139         Likewise.
3140         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3144 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3146         [BZ #20495]
3147         [BZ #20508]
3148         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3149         processors, set Use_dl_runtime_resolve_slow and set
3150         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3151         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3152         New.
3153         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3154         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3155         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3156         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3157         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3158         if Use_dl_runtime_resolve_opt is set.  Use
3159         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3160         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3161         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3162         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3163         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3164         New.
3165         (_dl_runtime_resolve_opt): Likewise.
3166         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3167         defined.
3169 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3171         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3172         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3174 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3176         Convert malloc to __libc_lock.  Automated part, using this Perl
3177         s/// command:
3178           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3179             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3180         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3181         conversion.
3183 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3185         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3186         (linknamespace-symlists-tests): Likewise.
3187         (linknamespace-header-tests): Likewise.
3189 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3191         [BZ #19810]
3192         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3193         * elf/tst-noload.c: New test case.
3194         * elf/Makefile (tests): Add tst-noload.
3196 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3198         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3200         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3201         not any more.
3203         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3205 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3207         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3208         (do_cos_slow): Likewise.
3209         (do_sin): Likewise.
3210         (do_sin_slow): Likewise.
3211         (slow): Likewise.
3212         (slow1): Likewise.
3213         (slow2): Likewise.
3214         (sloww): Likewise.
3215         (sloww1): Likewise.
3216         (sloww2): Likewise.
3217         (bsloww): Likewise.
3218         (bsloww1): Likewise.
3219         (bsloww2): Likewise.
3220         (cslow2): Likewise.
3222         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3224         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3225         arguments.  Consolidate input partitioning from callers here.
3226         (do_cos_slow): Likewise.
3227         (do_sin): Likewise.
3228         (do_sin_slow): Likewise.
3229         (do_sincos_1): Remove the no longer necessary input partitioning.
3230         (do_sincos_2): Likewise.
3231         (__sin): Likewise.
3232         (__cos): Likewise.
3233         (slow1): Likewise.
3234         (slow2): Likewise.
3235         (sloww1): Likewise.
3236         (sloww2): Likewise.
3237         (bsloww1): Likewise.
3238         (bsloww2): Likewise.
3239         (cslow2): Likewise.
3241 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3243         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3244         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3245         outside of allocated array.
3247 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3249         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3250         instead of MB_CUR_MAX to avoid variable-length array.
3252 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3254         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3255         (type-double-routines): Add k_rem_pio2.
3256         (type-float-routines): Add k_rem_pio2f.
3258         * sysdeps/generic/math_private.h:
3259         (__kernel_rem_pio2l): Removed.
3261         * math/k_rem_pio2l.c: Removed.
3262         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3263         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3264         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3265         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3267 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3269         * math/Makefile (gen-libm-calls): Add s_fmin
3270         (libm-calls): Remove above.
3272         * math/s_fmin.c: Refactor into ...
3273         * math/s_fmin_template.c: New file.
3275         * math/s_fminf.c: Removed.
3276         * math/s_fminl.c: Removed.
3277         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3278         (LDOUBLE_fmin_libm_version): New macro.
3280         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3281         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3283 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3285         * math/Makefile: (gen-libm-calls): Add s_fmax.
3286         (libm-calls): Remove above.
3288         * math/s_fmax.c: Refactor into ...
3289         * math/s_fmax_template.c: New file.
3290         * math/s_fmaxf.c: Removed.
3291         * math/s_fmaxl.c: Removed.
3293         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3294         (LDOUBLE_fmaxl_libm_version): New macro.
3296         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3297         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3299         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3300         s_fmin.c to pick the aarch64 version of the file.
3301         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3302         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3304 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3306         * math/Makefile: (gen-libm-calls): Add s_nextdown.
3307         (libm-calls): Remove above.
3309         * math/s_nextdown.c: Refactor into ...
3310         * math/s_nextdown_template.c: New file.
3311         * math/s_nextdownf.c: Removed.
3312         * math/s_nextdownl.c: Removed.
3314         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3316 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3318         * math/Makefile (gen-libm-calls): Add s_fdim.
3319         (libm-calls): Move to above.
3321         * math/s_fdim.c: Renamed and refactored into to ...
3322         * math/s_fdim_template.c: New file.
3323         * math/s_fdiml.c: Removed.
3324         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3325         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3327         * sysdeps/generic/math-type-macros-double.h:
3328         (declare_mgen_alias): Don't declare if already declared.
3329         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3330         Likewise.
3332         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3333         (declare_mgen_alias): Don't declare if already declared.
3334         (M_LIBM_NEED_COMPAT): Likewise.
3335         (declare_mgen_libm_compat): Likewise.
3336         (LDOUBLE_fdiml_libm_version): New macro.
3338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3339         Include math/s_fdim.c now that ldbl-opt version is not needed.
3340         (declare_mgen_alias): New macro to disable aliasing.
3342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3343         (declare_mgen_alias): Likewise.
3344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3345         (declare_mgen_alias): Likewise.
3346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3347         (declare_mgen_alias): Likewise.
3348         (M_LIBM_NEED_COMPAT): Likewise.
3350 2016-09-01  Florian Weimer  <fweimer@redhat.com>
3352         [BZ #20525]
3353         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3354         Include <linux/quota.h>.
3355         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3356         and btodb.
3357         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3358         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3359         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3360         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3361         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3362         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3363         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3364         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3365         types.
3366         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3367         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3369 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3371         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3372         (gammal_positive): Fix spacing.
3373         (__ieee754_gammal_r): Likewise.
3375 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3377         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3378         (_Float128): Define as long double, always.
3379         (L): Apply long double type suffix, always.
3381         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3382         _Float128, excepting comments.
3384         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3385         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3386         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3387         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3388         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3389         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3390         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3391         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3392         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3393         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3394         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3395         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3396         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3398         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3399         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3400         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3401         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3402         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3403         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3404         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3405         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3406         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3407         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3408         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3409         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3410         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3411         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3412         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3413         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3414         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3415         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3416         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3417         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3418         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3419         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3420         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3421         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3422         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3423         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3424         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3425         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3426         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3427         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3428         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3429         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3430         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3431         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3432         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3433         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3434         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3435         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3436         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3437         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3438         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3439         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3440         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3441         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3442         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3443         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3444         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3445         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3446         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3447         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3448         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3449         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3450         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3451         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3453         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3454         _Float128, and include math_private.h.
3455         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3457         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3458         long double semantics.
3459         (_Float128): Likewise.
3460         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3461         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3462         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3463         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3465 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3467         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3468         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3469         * sysdeps/s390/configure: Regenerated.
3470         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3471         instruction for raising over-/underflow if z196 zarch is supported
3472         by default.
3473         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3475 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3477         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3478         it point to a dumb buffer for RPC to fill it.
3480 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3482         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3483         instead of if/else.
3484         (do_sin_slow): Likewise.
3485         (do_sincos_1): Use fabs instead of if/else.
3486         (do_sincos_2): Likewise.
3487         (__sin): Likewise.
3488         (__cos): Likewise.
3489         (slow2): Likewise.
3490         (sloww): Likewise.
3491         (sloww1): Likewise.  Drop argument M.
3492         (sloww2): Use fabs instead of if/else.
3493         (bsloww): Likewise.
3494         (bsloww1): Likewise.
3495         (bsloww2): Likewise.
3497         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3498         fall through comment.
3499         (do_sincos_1): Likewise.
3501         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3502         Consolidate switch cases 0 and 2.
3504 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3506         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3507         (libm-calls): Remove the above.
3509         * math/s_cexp_template.c: Update using type-generic macros.
3510         * math/s_clog10_template.c: Likewise.
3511         * math/s_cpow_template.c: Likewise.
3512         * math/s_clog_template.c: Likewise.
3513         * math/s_cproj_template.c: Likewise.
3514         * math/s_csqrt_template.c: Likewise.
3516         * math/s_cexp.c: Removed.
3517         * math/s_cexpf.c: Removed.
3518         * math/s_cexpl.c: Removed.
3519         * math/s_clog10.c: Removed.
3520         * math/s_clog10f.c: Removed.
3521         * math/s_clog10l.c: Removed.
3522         * math/s_cpow.c: Removed.
3523         * math/s_cpowf.c: Removed.
3524         * math/s_cpowl.c: Removed.
3525         * math/s_clog.c: Removed.
3526         * math/s_clogf.c: Removed.
3527         * math/s_clogl.c: Removed.
3528         * math/s_cproj.c: Removed.
3529         * math/s_cprojf.c: Removed.
3530         * math/s_cprojl.c: Removed.
3531         * math/s_csqrt.c: Removed.
3532         * math/s_csqrtf.c: Removed.
3533         * math/s_csqrtl.c: Removed.
3535         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3536         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3537         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3538         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3539         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3540         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3542         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3543         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3544         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3545         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3546         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3547         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3548         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3549         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3550         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3551         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3552         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3554         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3555         version.
3557         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3558         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3559         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3560         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3562 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3564         * s_cexp_template.c: Copy of s_cexp.c.
3565         * s_clog_template.c: Copy of s_clog.c.
3566         * s_clog10_template.c: Copy of s_clog10.c.
3567         * s_cpow_template.c: Copy of s_cpow.c.
3568         * s_cproj_template.c: Copy of s_cproj.c.
3569         * s_csqrt_template.c: Copy of s_csqrt.c.
3571 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3573         [BZ #20517]
3574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3575         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3576         exported.
3578 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3580         * math/fetestexceptflag.c: New file.
3581         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3582         Stefan Liebler.
3583         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3584         (fetestexceptflag): New function declaration.
3585         * manual/arith.texi (fetestexceptflag): Document function.
3586         * math/Versions (fetestexceptflag): New libm symbol at version
3587         GLIBC_2.25.
3588         * math/Makefile (libm-support): Add fetestexceptflag.
3589         (tests): Add test-fetestexceptflag.
3590         * math/test-fetestexceptflag.c: New file.
3591         * sysdeps/nacl/libm.abilist: Update.
3592         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3593         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3594         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3595         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3596         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3597         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3598         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3599         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3600         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3601         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3602         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3603         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3605         Likewise.
3606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3607         Likewise.
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3609         Likewise.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3611         Likewise.
3612         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3613         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3614         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3615         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3618         Likewise.
3619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3620         Likewise.
3621         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3622         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3623         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3625 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3627         [BZ #20432]
3628         Avoid strong references to malloc-internal symbols when linking
3629         statically, to support statically interposed mallocs.
3630         * include/libc-symbols.h (call_function_static_weak): New macro.
3631         * malloc/Makefile (tests): Add tst-interpose-nothread,
3632         tst-interpose-thread, tst-interpose-static-nothread,
3633         tst-interpose-static-thread.
3634         (tests-static): Add tst-interpose-static-nothread,
3635         tst-interpose-static-thread.
3636         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3637         tst-interpose-aux-thread.o.
3638         (test-extras): Add tst-interpose-aux-nothread,
3639         tst-interpose-aux-thread.
3640         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3641         tst-interpose-aux-nothread.o.
3642         (tst-interpose-thread, tst-interpose-static-thread): Link with
3643         tst-interpose-aux-thread.o and libthread.
3644         * malloc/tst-interpose-aux-nothread.c: New file.
3645         * malloc/tst-interpose-aux-thread.c: Likewise.
3646         * malloc/tst-interpose-aux.c: Likewise.
3647         * malloc/tst-interpose-aux.h: Likewise.
3648         * malloc/tst-interpose-nothread.c: Likewise.
3649         * malloc/tst-interpose-skeleton.c: Likewise.
3650         * malloc/tst-interpose-static-nothread.c: Likewise.
3651         * malloc/tst-interpose-static-thread.c: Likewise.
3652         * malloc/tst-interpose-thread.c: Likewise.
3653         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3654         * sysdeps/mach/hurd/fork.c (__fork): Only call
3655         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3656         __malloc_fork_unlock_child if defined.
3657         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3659 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3661         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3662         timespec C99 designated initialization.
3664 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3666         [BZ #19946]
3667         Avoid expected SIGALRM signals.
3668         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3669         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3670         (xpthread_create, xpthread_detach, xpthread_join)
3671         (delayed_exit_thread, delayed_exit): New functions.
3672         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3673         (tf): Use xpthread_cond_wait.
3674         (do_test): Likewise.  Replace alarm with delayed_exit.
3675         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3676         (do_test): Call delayed_exit.  Report failure.
3677         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3678         (do_test): Call delayed_exit.
3679         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3680         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3681         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3682         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3683         error.
3684         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3685         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3686         error.
3687         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3688         (do_test): Call delayed_exit.
3689         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3690         (do_test): Call delayed_exit.
3691         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3692         (do_test): Call delayed_exit instead of alarm.  Use
3693         xpthread_mutex_lock.
3694         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3695         (do_test): Call delayed_exit instead of alarm.  Use
3696         xpthread_mutex_lock.
3697         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3698         (do_test): Call delayed_exit instead of alarm.
3699         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3700         (do_test): Call delayed_exit instead of alarm.  Use
3701         xpthread_spin_lock.
3702         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3703         (do_test): Call delayed_exit instead of alarm.  Use
3704         xpthread_join.
3706 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3708         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3709         adjust CFA when allocating register save area on re-aligned
3710         stack.
3712 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3714         * string/tst-cmp.c: New test.
3715         * string/Makefile (tests): Add it.
3717 2016-08-25  Mark Wielaard  <mark@klomp.org>
3719         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3720         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3721         (check_tree_recurse): Use newly defined accessors.
3722         (check_tree): Likewise.
3723         (maybe_split_for_insert): Likewise.
3724         (__tfind): Likewise.
3725         (__tdelete): Likewise.
3726         (trecurse): Likewise.
3727         (tdestroy_recurse): Likewise.
3728         (__tsearch): Likewise. And add asserts for malloc alignment.
3729         (__twalk): Cast root to node in case CHECK_TREE is defined.
3731 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3733         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3735 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3737         * math/Makefile (libm-gen-calls): Add
3738         catan, catanh, ctan, ctanh.
3739         (libm-calls): Remove the above.
3741         * math/s_catan_template.c: Update using type-generic macros.
3742         * math/s_catanh_template.c: Likewise.
3743         * math/s_ctan_template.c: Likewise.
3744         * math/s_ctanh_template.c: Likewise.
3746         * math/s_catanf.c: Removed.
3747         * math/s_catan.c: Removed.
3748         * math/s_catanl.c: Removed.
3749         * math/s_catanhf.c: Removed.
3750         * math/s_catanh.c: Removed.
3751         * math/s_catanhl.c: Removed.
3752         * math/s_ctanf.c: Removed.
3753         * math/s_ctan.c: Removed.
3754         * math/s_ctanl.c: Removed.
3755         * math/s_ctanhf.c: Removed.
3756         * math/s_ctanh.c: Removed.
3757         * math/s_ctanhl.c: Removed.
3759         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3760         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3761         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3762         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3763         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3764         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3766         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3767         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3768         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3769         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3771 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3773         * s_catan_template.c: Copy of s_catan.c.
3774         * s_catanh_template.c: Copy of s_catanh.c.
3775         * s_ctan_template.c: Copy of s_ctan.c.
3776         * s_ctanh_template.c: Copy of s_ctanh.c.
3778 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3780         * math/Makefile (gen-libm-calls): Move
3781         casin, casinh, csin, csinh here.
3782         (libm-calls): Remove the above.
3784         * math/s_casin_template.c: Update using type-generic macros.
3785         * math/s_casinh_template.c: Likewise.
3786         * math/s_csin_template.c: Likewise.
3787         * math/s_csinh_template.c: Likewise.
3788         * math/k_casinh_template.c: Likewise.
3790         * math/s_casinf.c: Removed.
3791         * math/s_casin.c: Removed.
3792         * math/s_casinl.c: Removed.
3793         * math/s_casinh.c: Removed.
3794         * math/s_casinhf.c: Removed.
3795         * math/s_casinhl.c: Removed.
3796         * math/s_csin.c: Removed.
3797         * math/s_csinf.c: Removed.
3798         * math/s_csinl.c: Removed.
3799         * math/s_csinh.c: Removed.
3800         * math/s_csinhf.c: Removed.
3801         * math/s_csinhl.c: Removed.
3802         * math/k_casinh.c: Removed.
3803         * math/k_casinhf.c: Removed.
3804         * math/k_casinhl.c: Removed.
3806         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3807         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3808         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3809         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3811         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3812         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3813         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3814         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3815         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3816         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3817         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3818         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3820         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3821         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3822         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3823         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3825         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3826         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3827         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3828         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3830 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3832         * s_casin_template.c: Copy of s_casin.c.
3833         * s_casinh_template.c: Copy of s_casinh.c.
3834         * s_csin_template.c: Copy of s_csin.c.
3835         * s_csinh_template.c: Copy of s_csinh.c.
3836         * k_casinh_template.c: Copy of k_casinh.c.
3838 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3840         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3842 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3844         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3845         (mul_split) Remove, rename as mul_splitl, remove
3846         redundant float.h include, and include via mul_splitl.h
3848         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3849         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3850         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3851         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3852         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3854         * math/mul_splitl.h: New file.
3856         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3857         Move into mul_split.h, and remove redundant float.h include.
3859         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3860         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3861         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3864         * math/mul_split.h: New file.
3866 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3868         * math/Makefile (libm-gen-calls): Move
3869         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3870         (libm-calls): Remove above.
3872         * math/s_cacos_template.c: Update using type-generic macros.
3873         * math/s_cacosh_template.c: Likewise.
3874         * math/s_ccos_template.c: Likewise.
3875         * math/s_ccosh_template.c: Likwise.
3877         * math/s_cacosf.c: Removed.
3878         * math/s_cacos.c: Removed.
3879         * math/s_cacosl.c: Removed.
3880         * math/s_cacoshf.c: Removed.
3881         * math/s_cacosh.c: Removed.
3882         * math/s_cacoshl.c: Removed.
3883         * math/s_ccosf.c: Removed.
3884         * math/s_ccos.c: Removed.
3885         * math/s_ccosl.c: Removed.
3886         * math/s_ccoshf.c: Removed.
3887         * math/s_ccosh.c: Removed.
3888         * math/s_ccoshl.c: Removed.
3890         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3891         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3892         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3893         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3894         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3895         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3897         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3898         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3899         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3900         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3902         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3903         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3904         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3905         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3907 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3909         * s_cacos_template.c: Copy of s_cacos.c.
3910         * s_cacosh_template.c: Copy of s_cacosh.c.
3911         * s_ccos_template.c: Copy of s_ccos.c.
3912         * s_ccosh_template.c: Copy of s_ccosh.c.
3914 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3916         * stdlib/tst-strtod-round-skeleton.c:
3917         Refactored from tst-strtod-round.c.
3919         (L_): New macro to apply literal modifier.
3920         (FNPFX): New macro to select str or wcs prefix.
3921         (CHAR): New macro to choose wchar_t or char.
3922         (STRM): New macro to choose printf for tested character type.
3924         (STRTO): New macro to choose appropriate string -> real function.
3925         (FNPFXS): Stringitized version of FNPFX.
3926         (STR): Support for above macro.
3927         (STRX): Likewise.
3929         (TEST): Update with above macros.
3930         (test): Likewise.
3931         (GEN_ONE_TEST): Likewise.
3932         (test_in_one_mode): Likewise.
3934         * stdlib/tst-strtod-round.c: New file.
3935         * wcsmbs/tst-wcstod-round.c: New file.
3937         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3938         (tst-wcstod-round): Add libm depencency for fesetround.
3940 2016-08-19  Zack Weinberg  <zackw@panix.com>
3942         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3944 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3946         [BZ #20477]
3947         * resolv/res_hconf.c (do_init): Use atomic access.
3948         * resolv/res_hconf.h: Add comments.
3949         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3950         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3953 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3955         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3956         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3958         Likewise.
3960 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3962         [BZ #16907]
3963         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3964         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3965         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3966         (__attribute__): Remove definition.
3968 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3970         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3971         Remove unused sqrtl declaration.
3973 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3975         * math/Makefile: (gen-libm-templates.stmp): New rule.
3976         (libm-calls): Move carg conj cimag and cabs into ...
3977         (gen-libm-calls): New variable.
3978         (generated): Inform Make objects from gen-libm-calls
3979         may be generated.
3981         * sysdeps/generic/math-type-macros.h: New file.
3982         * sysdeps/generic/math-type-macros-float.h: Likewise.
3983         * sysdeps/generic/math-type-macros-double.h: Likewise.
3984         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3985         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3986         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3988         * math/cabs.c: Refactor into
3989         * math/cabs_template.c: new file.
3990         * math/cabsf.c: Removed.
3991         * math/cabsl.c: Removed.
3992         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3993         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3995         * math/carg.c: Refactor into
3996         * math/carg_template.c: new file.
3997         * math/cargf.c: Removed.
3998         * math/cargl.c: Removed.
3999         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4000         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4002         * math/conj.c: Refactor into
4003         * math/conj_template.c: new file.
4004         * math/conjf.c: Removed.
4005         * math/conjl.c: Removed.
4006         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4007         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4009         * math/cimag.c: Refactor into
4010         * math/cimag_template.c: new file.
4011         * math/cimagf.c: Removed.
4012         * math/cimagl.c: Removed.
4013         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4014         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4016         * math/cimag.c: Refactor into
4017         * math/cimag_template.c: new file.
4018         * math/cimagf.c: Removed.
4019         * math/cimagl.c: Removed.
4020         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4021         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4023 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4025         Reduce time to expected nptl/tst-once5 failure.
4026         * nptl/tst-once5.cc (TIMEOUT): Define.
4028 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4030         [BZ #20452]
4031         Avoid additional copies of objects in libc.a in static libraries.
4032         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4033         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4034         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4035         rt-sysdep.
4036         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4037         Add nptl-sysdep.
4038         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4039         Add ptw-sysdep.
4040         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4041         rt-sysdep.
4042         * sysdeps/unix/sysv/linux/alpha/Makefile
4043         (libpthread-shared-only-routines): Add ptw-sysdep,
4044         ptw-sigprocmask, ptw-rt_sigaction.
4045         * sysdeps/unix/sysv/linux/ia64/Makefile
4046         (librt-shared-only-routines): Add rt-sysdep.
4047         * sysdeps/unix/sysv/linux/i386/Makefile
4048         (libpthread-shared-only-routines): Add libc-do-syscall.
4049         * sysdeps/unix/sysv/linux/microblaze/Makefile
4050         (libpthread-shared-only-routines): Add sysdep.
4051         * sysdeps/unix/sysv/linux/powerpc/Makefile
4052         (librt-shared-only-routines): Add rt-sysdep.
4053         (libpthread-shared-only-routines): Add sysdep.
4054         * sysdeps/unix/sysv/linux/s390/Makefile
4055         (librt-shared-only-routines): Add rt-sysdep.
4056         * sysdeps/unix/sysv/linux/sparc/Makefile
4057         (librt-shared-only-routines): Add rt-sysdep.
4058         (libpthread-shared-only-routines): Add sysdep.
4059         * sysdeps/unix/sysv/linux/tile/Makefile
4060         (libpthread-shared-only-routines): Likewise.
4062 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4064         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4065         Mask implicit bit out of unpacked value.
4066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4070         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4072         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4074         * sysdeps/s390/fpu/fesetexcept.c: New file.
4076         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4077         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4078         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4080         * sysdeps/mips/fpu/fesetexcept.c: New file.
4082         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4084         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4086         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4088         * sysdeps/arm/fesetexcept.c: New file.
4090         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4092         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4094         * math/fesetexcept.c: New file.
4095         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4096         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4097         * math/fenv.h: Define
4098         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4099         <bits/libc-header-start.h> instead of including <features.h>.
4100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4101         declaration.
4102         * manual/arith.texi (fesetexcept): Document function.
4103         * math/Versions (fesetexcept): New libm symbol at version
4104         GLIBC_2.25.
4105         * math/Makefile (libm-support): Add fesetexcept.
4106         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4107         * math/test-fesetexcept.c: New file.
4108         * math/test-fesetexcept-traps.c: Likewise.
4109         * sysdeps/nacl/libm.abilist: Update.
4110         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4111         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4112         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4118         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4119         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4120         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4121         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4123         Likewise.
4124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4125         Likewise.
4126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4127         Likewise.
4128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4131         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4132         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4133         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4134         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4136         Likewise.
4137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4138         Likewise.
4139         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4140         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4141         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4143 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4145         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4146         New.
4147         (do_test): Apply default_stack_size_in_mb if not set.
4148         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4150 2016-08-15  Andreas Schwab  <schwab@suse.de>
4152         [BZ #20435]
4153         CVE-2016-6323
4154         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4155         as .cantunwind.
4157 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4159         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4160         comment from fraiseexcpt.c.
4162         * math/test-fexcept.c (feraiseexcept_exact): New function.
4163         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4164         (test_except): Likewise.
4166 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4168         [BZ #20455]
4169         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4170         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4171         to be restored.
4173         * math/test-fexcept-traps.c: New file.
4174         * math/test-fexcept.c: Likewise.
4175         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4176         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4177         macro.
4178         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4179         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4181 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4183         * include/atomic.h (atomic_fetch_and_relaxed,
4184         atomic_fetch_and_release, atomic_fetch_or_release,
4185         atomic_fetch_xor_release): New.
4187 2016-08-06  Christian Seiler  <christian@iwakd.de>
4189         [BZ #20444]
4190         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4191         MACH_PORT_NULL.
4193 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4195         * math/s_fdim.c: Avoid alias renamed.
4196         * math/s_fdimf.c: Likewise.
4197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4198         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4199         Add s_fdimf-vis3, s_fdim-vis3.
4200         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4201         (CFLAGS-s_fdim-vis3.c): Likewise.
4202         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4203         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4205 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4208         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4209         Remove s_fdimf-vis3, s_fdim-vis3.
4210         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4211         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4218         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4219         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4221 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4223         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4224         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4225         -Wa,-Av9a -mvis.
4227 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4229         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4230         LIT() to individual constants in simple expressions
4231         after splitting on spaces.
4232         (_apply_lit): Rename replaced version, and use it to
4233         apply to what appears to be a token.
4235         * math/libm-test.inc: Fix many, many issues with
4236         spacing.
4238 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4240         * math/math.h: Move comment about <bits/mathdef.h> definitions
4241         above inclusion of <bits/mathdef.h>.  Do not mention
4242         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4244 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4246         * include/atomic.h (atomic_exchange_relaxed): New.
4248 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4250         * math/e_scalb.c: Do not include <fenv.h>.
4251         (invalid_fn): Do calculation resulting in NaN instead of raising
4252         FE_INVALID and returning a NaN explicitly.
4253         * math/e_scalbf.c: Do not include <fenv.h>.
4254         (invalid_fn): Do calculation resulting in NaN instead of raising
4255         FE_INVALID and returning a NaN explicitly.
4256         * math/e_scalbl.c: Do not include <fenv.h>.
4257         (invalid_fn): Do calculation resulting in NaN instead of raising
4258         FE_INVALID and returning a NaN explicitly.
4260 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4262         * po/de.po: Updated from Translation Project.
4263         * po/fi.po: Likewise.
4264         * po/sv.po: Likewise.
4266 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4268         [BZ #20452]
4269         Use sysdep.o from libc.a in static libraries.
4270         * sysdeps/unix/sysv/linux/i386/Makefile
4271         (libpthread-shared-only-routines): Add sysdep.
4272         (librt-shared-only-routines): Likewise.
4274 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4276         * math/tgmath.h (nextdown): Define if
4277         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4278         (nextup): Likewise.
4280         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4281         macro.
4282         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4283         Document.
4284         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4285         Document macro.
4286         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4287         (exp10f): Likewise.
4288         (exp10l): Likewise.
4289         * math/bits/mathcalls.h (exp10): Declare if
4290         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4292         * manual/arith.texi (nextup): Fix typo in last change.
4294 2016-08-03  Zack Weinberg  <zackw@panix.com>
4296         [BZ #19239]
4297         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4298         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4299         define major, minor, and makedev to issue deprecation warnings on use.
4300         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4301         previously-activated deprecation warnings for these macros and prevent
4302         subsequent inclusions of this header from having any effect.
4303         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4304         including <sys/sysmacros.h>, and undefine it again afterward.
4306 2016-08-03  Zack Weinberg  <zackw@panix.com>
4308         * sysdeps/generic/sys/sysmacros.h: Delete file.
4309         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4310         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4311         * bits/sysmacros.h: ... here; this encoding is now the generic
4312         encoding.  Now defines only the following macros:
4313         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4314         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4315         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4317         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4318         bits/sysmacros.h and the above new macros to generate the
4319         public implementations of major, minor, and makedev.
4320         * misc/tst-makedev.c: New test.
4321         * include/sys/sysmacros.h: New wrapper.
4323         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4324         (routines): Add makedev.
4325         (tests): Add tst-makedev.
4326         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4327         gnu_dev_makedev.
4328         * posix/Makefile (headers): Remove sys/sysmacros.h.
4329         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4331         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4332         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4333         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4334         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4335         * sysdeps/unix/sysv/linux/arm/libc.abilist
4336         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4337         * sysdeps/unix/sysv/linux/i386/libc.abilist
4338         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4346         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4351         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4352         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4353         * sysdeps/unix/sysv/linux/sh/libc.abilist
4354         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4355         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4358         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4359         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4360         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4361         Add GLIBC_2.25.
4363         * include/features.h (__glibc_clang_prereq): New macro.
4364         * misc/sys/cdefs.h (__glibc_clang_has_extension)
4365         (__attribute_deprecated_msg__): New macros.
4367 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4369         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4370         macro.
4371         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4372         * manual/arith.texi (issignaling): Document as ISO from TS
4373         18661-1:2014.
4374         (nextup): Likewise.
4375         (nextupf): Likewise.
4376         (nextupl): Likewise.
4377         (nextdown): Likewise.
4378         (nextdownf): Likewise.
4379         (nextdownl): Likewise.
4380         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4381         macro.
4382         * math/math.h: Define
4383         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4384         <bits/libc-header-start.h> instead of including <features.h>.
4385         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4386         [__USE_GNU].
4387         * math/bits/mathcalls.h (nextdown): Declare if
4388         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4389         (nextup): Likewise.
4390         (__issignaling): Likewise.
4392 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4394         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4395         check, and remove __glibc_likely hint
4396         from FP_INFINITE check.
4397         * s_csinhf.c (__csinhf): Likewise.
4399         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4400         hint from FP_INFINITE check.
4401         * s_csinhl.c (__csinhl): Likewise.
4403 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4405         * math/Makefile (libm-calls): Insert F placeholder into
4406         object names.  Move w_lgamma_compat* routines into
4407         (libm-compat-calls): New variable.
4408         (libm-compat-calls-ldouble-yes): New variable.
4409         (calls): Insert F placeholder.
4410         (generated): Redefine using new type-foreach macro call.
4411         (routines): Likewise.
4413         (types): New variable to hold a list of symbolic names
4414         for each type supported by the target machine.
4415         (libm-routines): Redefine using new types variable.
4416         (type-foreach): macro to replace fooF with the
4417         appropriately suffixed foo for each types.
4419         (type-ldouble-suffix): New variable.
4420         (type-ldouble-routines): Likewise.
4421         (type-ldouble-yes): Likewise.
4422         (type-double-suffix): Likewise.
4423         (type-double-routines): Likewise.
4424         (type-float-suffix): Likewise.
4425         (type-float-routines): Likewise.
4427         (dbl-only-routines): Remove.
4428         (long-c-yes): Likewise.
4429         (long-m-routines): Likewise.
4430         (long-m-support): Likewise.
4431         (long-m-yes): Likewise.
4432         (test-longdouble-yes): Likewise.
4434         (test-float.o): Simplify by increasing the scope of the
4435         recipe which adds libm-test.stmp to the vector types.
4436         (test-ifloat.o): Likewise.
4437         (test-float-finite.o): Likewise.
4438         (test-double.o): Likewise
4439         (test-idouble.o): Likewise.
4440         (test-double-finite.o): Likewise.
4441         (test-ldouble.o): Likewise
4442         (test-ildoubl.o): Likewise.
4443         (test-ldouble-finite.o): Likewise.
4445         (libm-tests): Redefine type tests using foreach and the
4446         list of types in types.
4448         (CPPFLAGS-test-ildoubl.c): Rename to
4449         (CPPFLAGS-test-ildouble.c): New variable
4451         * math/test-ildoubl.c: Rename to
4452         * math/test-ildouble.c: New file.
4454 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4456         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4457         Use fabsl instead of fabs.
4458         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4459         Likewise.
4460         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4461         Add long double suffix to constant to ensure proper
4462         promotion to long double.
4464 2016-08-03  Tom Tromey  <tom@tromey.com>
4466         [BZ #20311]
4467         * nptl_db/Makefile (headers): Add proc_service.h.
4468         * nptl_db/proc_service.h: Add include guard.  Use
4469         __BEGIN/__END_DECLS.
4470         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4471         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4472         arguments.
4475 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4477         [BZ #17730]
4478         Avoid using memalign for TCB allocations.
4479         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4480         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4481         Avoid alignment gap in the TLS_DTV_AT_TP case.
4482         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4483         determine the pointer to free.
4484         * nptl/tst-tls3-malloc.c: New test.
4485         * nptl/Makefile (tests): Add it.
4486         (tst-tls3-malloc): Link with libdl, libpthread.
4487         (LDFLAGS-tst-tls3-malloc): Set.
4488         (tst-tls3-malloc.out): Depend on DSO used in test.
4490 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4492         [BZ #17730]
4493         Avoid using memalign for TLS allocations.
4494         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4495         is_static member with to_free member.
4496         (union dtv): Use struct dtv_pointer.
4497         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4498         dtv_pointer instead of is_static.
4499         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4500         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4501         instead of val.
4502         (allocate_dtv_entry): New function.
4503         (allocate_and_init): Return struct dtv_pointer.  Call
4504         allocate_dtv_entry instead of __libc_memalign.
4505         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4506         instead of val.
4507         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4508         instead of is_static.  Adjust call to allocate_and_init.
4509         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4510         struct dtv_pointer instead of val.
4512 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4514         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4515         (MALLOC_ALIGN_MASK): Move ...
4516         * malloc/malloc-internal.h: ... to here.
4517         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4519 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4521         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4522         (UDP_ENCAP_GTP1U): Likewise.
4524         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4525         (PF_MAX): Update value.
4526         (AF_QIPCRTR): New macro.
4528 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4530         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4531         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4532         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4533         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4534         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4535         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4536         s_truncf-vis3, s_trunc-vis3.
4537         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4538         (CFLAGS-s_ceil-vis3.c): Likewise.
4539         (CFLAGS-s_floorf-vis3.c): Likewise.
4540         (CFLAGS-s_floor-vis3.c): Likewise.
4541         (CFLAGS-s_truncf-vis3.c): Likewise.
4542         (CFLAGS-s_trunc-vis3.c): Likewise.
4543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4551         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4552         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4553         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4554         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4556 2016-08-02  David S. Miller  <davem@davemloft.net>
4558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4559         (__nearbyint_vis3): Don't check for sNaN before float register is
4560         loaded with the incoming argument.
4561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4562         (__nearbyintf_vis3): Likewise.
4563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4564         Likewise.
4565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4566         Likewise.
4568         * string/test-strncmp.c (do_test_limit): Make sure the test data
4569         stream is aligned as required for the type "CHAR".
4570         (do_test): Likewise.
4572 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4574         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4575         by beq instructions jumping to the end of the function.
4576         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4577         clobber list. Use "i" constraint instead of "X".
4578         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4579         of "X".
4581 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4583         * bits/libc-header-start.h: New file.
4584         * Makefile (headers): Add bits/libc-header-start.h.
4585         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4586         (__GLIBC_USE): New macro.
4587         * libio/stdio.h: Define
4588         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4589         <bits/libc-header-start.h> instead of including <features.h>.
4590         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4591         (open_memstream): Likewise.
4592         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4593         (__asprintf): Likewise.
4594         (asprintf): Likewise.
4595         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4596         (getdelim): Likewise.
4597         (getline): Likewise.
4598         * string/string.h: Define
4599         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4600         <bits/libc-header-start.h> instead of including <features.h>.
4601         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4602         (strndup): Likewise.
4603         * wcsmbs/wchar.h: Define
4604         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4605         <bits/libc-header-start.h> instead of including <features.h>.
4606         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4607         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4609 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4611         Support linking against compatibility symbols, for use in tests.
4612         * include/libc-symbols.h (symbol_version_reference): New macro.
4613         (symbol_version): Use it.
4614         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4615         (compat_symbol): Use compat_symbol_reference.
4616         (compat_symbol_1, compat_symbol_2): Remove.
4617         (compat_symbol_reference, compat_symbol_reference_1)
4618         (compat_symbol_reference_2): New macro.  Use
4619         symbol_version_reference.
4621 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4623         [BZ #19469]
4624         * malloc/Makefile (CPPFLAGS): Compile tests with
4625         -DTEST_NO_MALLOPT.
4626         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4628 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4630         [BZ #20033]
4631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4632         finite version.
4633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4635         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4636         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4637         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4638         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4640         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4644         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4646         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4650         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4651         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4652         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4653         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4654         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4655         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4656         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4657         in zero power.
4659 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4661         [BZ #20370]
4662         * malloc/arena.c (get_free_list): Update comment.  Assert that
4663         arenas on the free list have no attached threads.
4664         (remove_from_free_list): New function.
4665         (reused_arena): Call it.
4667 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4669         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4670         when it is a NaN.
4671         [_IEEE_FP_INEXACT] Remove.
4672         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4673         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4674         when it is a NaN.
4675         [_IEEE_FP_INEXACT] Remove.
4676         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4677         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4678         when it is a NaN.
4679         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4680         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4681         when its absolute value is greater than 0x1.0p52.
4682         [_IEEE_FP_INEXACT] Remove.
4683         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4684         when its absolute value is greater than 0x1.0p23.
4685         [_IEEE_FP_INEXACT] Remove.
4687 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4689         * version.h (RELEASE): Set to "development"
4690         (VERSION): Set to 2.24.90.
4691         * NEWS: Add 2.25 section.
4693         * version.h (RELEASE): Set to "stable"
4694         (VERSION): Set to 2.24.
4695         * include/features.h (__GLIBC_MINOR__): Set to 24.
4697         * NEWS: Add 2.24 fixed bugs.
4698         * po/libc.pot: Regenerate.
4700 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4703         [$(subdir) = math] (libm-sysdep_routines): Remove.
4704         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4705         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4706         s_truncf-vis3, s_trunc-vis3.
4707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4709         file.
4710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4731         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4743         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4745         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4747         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4748         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4749         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4750         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4751         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4752         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4754 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4756         [BZ #20384]
4757         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4758         test-double-libmvec-sincos-avx-main.o,
4759         test-double-libmvec-sincos-avx2-main.o,
4760         test-double-libmvec-sincos-main.o,
4761         test-float-libmvec-sincosf-avx-main.o,
4762         test-float-libmvec-sincosf-avx2-main.o and
4763         test-float-libmvec-sincosf-main.o.
4764         test-float-libmvec-sincosf-avx512-main.o.
4765         ($(objpfx)test-double-libmvec-sincos): Also link with
4766         $(objpfx)test-double-libmvec-sincos-main.o.
4767         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4768         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4769         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4770         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4771         ($(objpfx)test-float-libmvec-sincosf): Also link with
4772         $(objpfx)test-float-libmvec-sincosf-main.o.
4773         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4774         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4775         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4776         test-double-libmvec-sincos-avx512-main.o and
4777         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4778         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4779         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4780         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4781         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4782         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4783         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4784         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4785         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4786         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4787         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4788         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4789         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4790         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4791         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4792         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4793         -DREQUIRE_AVX2.
4794         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4795         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4796         -DREQUIRE_AVX512F.
4797         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4798         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4799         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4800         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4801         file.
4802         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4803         Likewise.
4804         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4805         Likewise.
4806         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4807         Likewise.
4808         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4809         Likewise.
4810         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4811         Likewise.
4812         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4813         Likewise.
4814         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4815         Likewise.
4817 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4819         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4821 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4823         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4824         and typo in a comment about AT_HWCAP entry.
4826 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4828         * sysdeps/aarch64/libm-test-ulps: Updated.
4830 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4832         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4833         of r13 as it is not restored in mvcle case.
4835 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4837         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4838         Rename "ret" to "__ret".
4839         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4840         inline_syscall5, inline_syscall6): Likewise.
4842 2016-07-19   Will Newton  <will.newton@gmail.com>
4844         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4845         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4846         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4847         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4848         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4850 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4852         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4853         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4854         -mfpmath=387 with $(rtld-CFLAGS).
4855         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4856         $(rtld-CFLAGS).
4858 2016-07-18   Ross Burton  <ross.burton@intel.com>
4859              Khem Raj  <raj.khem@gmail.com>
4861         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4862         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4863         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4864         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4865         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4866         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4867         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4868         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4869         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4870         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4871         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4872         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4873         R_METAG_TLS_DTPOFF): New.
4875 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4876             Matt Clay  <mclay@lycos.com>
4878         [BZ #20357]
4879         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4880         to call __mpsin/__mpcos and to negate values.
4881         * math/auto-libm-test-in: Add test.
4882         * math/auto-libm-test-out: Regenerate.
4884 2016-07-18  Zack Weinberg  <zackw@panix.com>
4886         * grp/Makefile: Don't install the internal header grp-merge.h.
4888 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4890         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4892 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4894         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4896 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4898         [BZ #15368]
4899         * sysdeps/unix/sysv/linux/nptl-signals.h
4900         (__nptl_clear_internal_signals): New function.
4901         (__libc_signal_block_all): Likewise.
4902         (__libc_signal_block_app): Likewise.
4903         (__libc_signal_restore_set): Likewise.
4904         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4905         implementation.
4906         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4907         the cached pid/tid value in pthread structure.
4909 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4911         [BZ #20347]
4912         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4914 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4916         [BZ #20348]
4917         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4918         preadv64, pwrite64 and pwritev64.
4920 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4922         [BZ #20350]
4923         * posix/tst-preadwrite.c: Renamed to ...
4924         * posix/tst-preadwrite-common.c: This.
4925         (PREAD): Removed.
4926         (PWRITE): Likewise.
4927         (STRINGIFY): Likewise.
4928         (STRINGIFY2): Likewise.
4929         (do_prepare): Make it static and remove function arguments.
4930         (do_test): Likewise.
4931         (PREPARE): Updated.
4932         (TEST_FUNCTION): New.
4933         (name): Make it static.
4934         (fd): Likewise.
4935         (do_prepare): Use create_temp_file.
4936         (do_test): Renamed to ...
4937         (do_test_with_offset): This.  Make it static and accept offset.
4938         Properly check return value of PWRITE and PREAD.  Return bytes
4939         read.  Don't close fd nor unlink name.
4940         * posix/tst-preadwrite.c: Rewrite.
4941         * posix/tst-preadwrite64.c: Likewise.
4943 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4945         [BZ #20309]
4946         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4947         -mtls-dialect=gnu2 works.
4948         * configure: Regenerated.
4949         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4950         (tests): Add tst-gnu2-tls1.
4951         (modules-names): Add tst-gnu2-tls1mod.
4952         ($(objpfx)tst-gnu2-tls1): New.
4953         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4954         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4955         * elf/tst-gnu2-tls1.c: New file.
4956         * elf/tst-gnu2-tls1mod.c: Likewise.
4957         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4958         bytes for push in the PLT entry to align the stack.
4960 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4962         [BZ #20349]
4963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4965 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4967         [BZ #18707]
4968         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4969         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4971 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4973         * sysdeps/unix/sysv/linux/sysdep.h
4974         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4975         guards.
4976         * misc/tst-preadvwritev-common.c: New file.
4977         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4978         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4979         a check for files larger than 2GB.
4981         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4982         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4983         * sysdeps/unix/sysv/linux/pread.c
4984         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4985         __OFF_T_MATCHES_OFF64_T.
4986         * sysdeps/unix/sysv/linux/pread64.c
4987         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4988         * sysdeps/unix/sysv/linux/preadv.c
4989         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4990         * sysdeps/unix/sysv/linux/preadv64.c
4991         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4992         * sysdeps/unix/sysv/linux/pwrite.c
4993         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4994         * sysdeps/unix/sysv/linux/pwrite64.c
4995         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4996         * sysdeps/unix/sysv/linux/pwritev.c
4997         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4998         * sysdeps/unix/sysv/linux/pwritev64.c
4999         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5001 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5003         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5004         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5006 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5008         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5010 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5012         [BZ #20240]
5013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5014         (CFLAGS-s_modf-ppc32.c): New variable.
5015         (CFLAGS-s_modff-ppc32.c): Likewise.
5016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5017         (CFLAGS-s_modf-ppc64.c): Likewise.
5018         (CFLAGS-s_modff-ppc64.c): Likewise.
5020 2016-07-07  Andreas Schwab  <schwab@suse.de>
5022         [BZ #20263]
5023         * nptl/tst-robust10.c: New test.
5024         * nptl/Makefile (tests): Add tst-robust10.
5026 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5028         [BZ #20263]
5029         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5031 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5033         * sysdeps/s390/linkmap.h (struct link_map_machine):
5034         Remove member gotplt and add member jmprel.
5035         * sysdeps/s390/s390-32/dl-machine.h
5036         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5037         instead of gotplt with &got[3].
5038         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5039         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5041 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5043         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5045 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5047         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5048         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5049         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5050         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5051         * libio/vtables.c (_IO_vtable_check)
5052         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5053         * libio/libioP.h (IO_set_accept_foreign_vtables)
5054         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5056 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5058         [BZ #20314]
5059         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5060         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5061         $(common-objpfx)cmath.
5062         ($(common-objpfx)cstdlib): New target.
5063         ($(common-objpfx)cmath): Likewise.
5065 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5067         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5069 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5071         [BZ #20327]
5072         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5073         are not part of the string.
5075 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5077         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5078         * nptl/tst-cancel4-common.h (fifoname): New variable.
5079         (fifofd): Likewise.
5080         (cl_fifo): New function.
5081         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5082         SIGINT.
5083         (tf_open): Add early cancel test.
5085 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5087         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5089 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5091         * sysdeps/generic/ldsodefs.h
5092         (dl_symbol_visibility_binds_local_p): New inline function.
5093         * elf/dl-addr.c (determine_info): Treat hidden and internal
5094         symbols as local.
5095         * elf/dl-lookup.c (do_lookup_x): Likewise.
5096         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5098 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5100         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5101         invalid exception for a sNaN input.
5102         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5103         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5104         (__nearbyint_vis3): Likewise
5105         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5106         (__nearbyintf_vis3): Likewise
5107         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5108         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5109         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5110         Likewise.
5111         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5112         Likewise.
5114 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5116         [BZ #20139]
5117         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5118         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5119         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5120         2.24 or above.
5121         (HAVE_AVX512_ASM_SUPPORT): Removed.
5122         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5123         * sysdeps/x86_64/configure: Regenerated.
5124         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5125         check unconditional.
5126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5127         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5128         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5129         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5130         Likewise.
5131         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5132         Likewise.
5133         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5134         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5135         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5136         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5137         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5138         Likewise.
5139         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5140         Likewise.
5141         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5142         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5143         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5144         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5145         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5146         Likewise.
5147         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5148         Likewise.
5149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5150         Likewise.
5151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5152         Likewise.
5153         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5154         Likewise.
5155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5156         Likewise.
5157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5158         Likewise.
5159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5160         Likewise.
5161         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5162         Likewise.
5163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5164         Likewise.
5165         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5166         Likewise.
5168 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5170         [BZ #20024]
5171         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5173         of this implementation of vector function.
5174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5176         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5177         Likewise.
5178         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5180         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5181         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5182         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5183         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5184         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5185         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5186         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5187         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5188         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5189         for testing vector sincos with fixed ABI.
5190         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5191         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5192         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5193         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5194         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5195         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5196         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5197         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5198         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5199         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5200         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5201         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5202         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5203         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5204         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5205         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5207 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5211 2016-06-30  Anton Blanchard  <anton@samba.org>
5213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5214         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5215         s_sinf-ppc64.
5216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5219         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5221 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5225         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5226         e_expf-ppc64.
5227         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5230         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5232 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5234         [BZ #20277]
5235         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5236         when SHARED is defined.
5238 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5240         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5241         (index_arch_Prefer_ERMS): Likewise.
5242         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5243         __memcpy_erms for Prefer_ERMS.
5244         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5245         (__memmove_erms): Enabled for libc.a.
5246         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5247         __memmove_erms or Prefer_ERMS.
5248         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5249         __mempcpy_erms for Prefer_ERMS.
5250         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5251         __memset_erms for Prefer_ERMS.
5253 2016-06-30  Andreas Schwab  <schwab@suse.de>
5255         [BZ #20262]
5256         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5257         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5258         of memory.
5260 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5262         [BZ #18645]
5263         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5264         (test-extras): Add tst-cleanupx4aux.
5265         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5266         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5267         tst-cleanupx4aux.o.
5268         * nptl/tst-cleanupx4aux.c: New file.
5270 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5272         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5274 2016-06-29  Andreas Schwab  <schwab@suse.de>
5276         [BZ #20260]
5277         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5278         address before the beginning of the string as an integer to avoid
5279         array-bounds warning.
5281 2016-06-28  Richard Henderson  <rth@redhat.com>
5283         * elf/elf.h (EM_BPF): New.
5284         (EM_NUM): Update.
5285         (R_BPF_NONE, R_BPF_MAP_FD): New.
5287         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5288         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5289         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5290         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5291         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5292         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5293         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5294         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5295         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5296         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5297         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5298         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5299         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5300         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5301         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5302         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5303         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5304         (EM_NUM): Update.
5306 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
5308         [BZ #18960]
5309         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5310         Set _nl_current_LC_CATEGORY_used to two instead of one.
5312 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
5314         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5315         (do_test): ... this.
5316         (TEST_FUNCTION): New macro.
5317          Include test-skeleton.c.
5318         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5319         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5321 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
5323         [BZ #15479]
5324         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5325         floating-point environment rather than just control word.
5326         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5327         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5328         floating-point environment, with "invalid" exceptions merged in,
5329         rather than just control word.
5330         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5331         * math/libm-test.inc (trunc_test_data): Do not allow spurious
5332         "inexact" exceptions.
5334         [BZ #15479]
5335         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5336         floating-point environment rather than just control word.
5337         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5338         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5339         floating-point environment, with "invalid" exceptions merged in,
5340         rather than just control word.
5341         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5342         * math/libm-test.inc (floor_test_data): Do not allow spurious
5343         "inexact" exceptions.
5345         [BZ #15479]
5346         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5347         floating-point environment rather than just control word.
5348         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5349         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5350         floating-point environment, with "invalid" exceptions merged in,
5351         rather than just control word.
5352         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5353         * math/libm-test.inc (ceil_test_data): Do not allow spurious
5354         "inexact" exceptions.
5356 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
5358         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5359         __libc_vfork.
5360         (__vfork) [IS_IN (libc)]: Remove alias.
5361         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5362         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5363         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5365 2016-06-24  Torvald Riegel  <triegel@redhat.com>
5367         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5368         of atomic_compare_and_exchange_bool_rel.
5369         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5370         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5371         catomic_compare_and_exchange_bool_rel): Remove.
5372         * sysdeps/aarch64/atomic-machine.h
5373         (atomic_compare_and_exchange_bool_rel): Likewise.
5374         * sysdeps/alpha/atomic-machine.h
5375         (atomic_compare_and_exchange_bool_rel): Likewise.
5376         * sysdeps/arm/atomic-machine.h
5377         (atomic_compare_and_exchange_bool_rel): Likewise.
5378         * sysdeps/mips/atomic-machine.h
5379         (atomic_compare_and_exchange_bool_rel): Likewise.
5380         * sysdeps/microblaze/atomic-machine.h
5381         ( __arch_compare_and_exchange_bool_8_rel,
5382         __arch_compare_and_exchange_bool_16_rel): Likewise.
5383         * sysdeps/powerpc/atomic-machine.h
5384         ( __arch_compare_and_exchange_bool_8_rel,
5385         __arch_compare_and_exchange_bool_16_rel): Likewise.
5386         * sysdeps/powerpc/powerpc32/atomic-machine.h
5387         ( __arch_compare_and_exchange_bool_32_rel,
5388         __arch_compare_and_exchange_bool_64_rel): Likewise.
5389         * sysdeps/powerpc/powerpc64/atomic-machine.h
5390         ( __arch_compare_and_exchange_bool_32_rel,
5391         __arch_compare_and_exchange_bool_64_rel): Likewise.
5392         * sysdeps/tile/atomic-machine.h
5393         (atomic_compare_and_exchange_bool_rel): Likewise.
5395 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
5397         [BZ #20296]
5398         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5399         when either argument is a NaN.
5400         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5401         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5403         * math/libm-test.inc (snan_value_ld): New macro.
5404         (isgreater_test_data): Add sNaN tests.
5405         (isgreaterequal_test_data): Likewise.
5406         (isless_test_data): Likewise.
5407         (islessequal_test_data): Likewise.
5408         (islessgreater_test_data): Likewise.
5409         (isunordered_test_data): Likewise.
5410         (nextafter_test_data): Likewise.
5411         (nexttoward_test_data): Likewise.
5412         (remainder_test_data): Likewise.
5413         (remquo_test_data): Likewise.
5414         (significand_test_data): Likewise.
5415         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5417 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5419         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5420         environment macros are defined.
5421         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5423 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5425         [BZ #20191]
5426         Implement vtable verification in libio.
5427         * Makerules (shlib.lds): Place __libc_IO_vtables section.
5428         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5429         * debug/vdprintf_chk.c (__vdprintf_chk): Call
5430         _IO_new_file_init_internal instead of _IO_file_init.
5431         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5432         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5433         * libio/Makefile (routines): Add vtables.
5434         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5435         (_IO_init): Remove, not for internal use.
5436         (_IO_init_internal): Declare, internal replacement for _IO_init.
5437         (_IO_file_init): Remove, not for internal use.
5438         (_IO_new_file_init): Remove, not for internal use.
5439         (_IO_new_file_init_internal): Declare, internal replacement for
5440         _IO_new_file_init.
5441         (_IO_old_file_init): Remove, not for internal use.
5442         (_IO_old_file_init_internal): Declare, internal replacement for
5443         _IO_old_file_init.
5444         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5445         internal use.
5446         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5447         Declare.
5448         (libio_vtable): New macro.
5449         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5450         functions.
5451         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5452         _IO_new_file_init.
5453         (_IO_new_file_init): New externally visible wrapper which disables
5454         vtable verification.
5455         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5456         Define as vtables.
5457         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5458         (_IO_init): New externally visible wrapper which disables
5459         vtable verification.
5460         * libio/iofdopen.c (_IO_new_fdopen): Call
5461         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5462         comment.
5463         * libio/iofopen.c (__fopen_internal): Call
5464         _IO_new_file_init_internal instead of _IO_file_init.
5465         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5466         Define as vtables.
5467         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5468         _IO_new_file_init_internal instead of _IO_file_init.
5469         * libio/iopopen.c (_IO_new_popen): Likewise.
5470         (_IO_proc_jumps): Define as vtable.
5471         * libio/iovdprintf.c (_IO_vdprintf): Call
5472         _IO_new_file_init_internal instead of _IO_file_init.
5473         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5474         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5475         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5476         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5477         _IO_old_file_init.
5478         (_IO_old_file_init): New externally visible wrapper which disables
5479         vtable verification.
5480         (_IO_old_file_jumps): Define as vtable.
5481         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5482         _IO_old_file_init_internal instead of _IO_old_file_init.
5483         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5484         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5485         (_IO_old_proc_jumps): Define as vtable.
5486         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5487         Define as vtables.
5488         * libio/vtables.c: New file.
5489         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5490         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5491         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5492         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5493         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5494         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5495         instead of _IO_init.
5497 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5499         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5501 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5503         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5504         potentially unused.
5506 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5508         * test-skeleton.c (write_message): New function.
5509         * malloc/tst-mallocfork2.c (write_message): Remove.
5510         * debug/tst-longjmp_chk2.c (write_indented): New function.
5511         (write_message): Remove.
5512         (stackoverflow_handler): Call write_indented.
5514 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5516         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5517         "inexact" exceptions after fnstenv.
5518         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5519         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5520         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5522 2015-06-22  Zack Weinberg  <zackw@panix.com>
5524         * sysdeps/generic/bits/hwcap.h: Moved to ...
5525         * bits/hwcap.h: Here.
5527 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5529         * sysdeps/aarch64/memcpy.S (memcpy):
5530         Further tuning for performance.
5532 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5534         [BZ #20284]
5535         * malloc/arena.c (reused_arena): Do not return NULL if we start
5536         out with a non-corrupted arena.
5538 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5540         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5541         * misc/tst-preadvwritev.c: New file.
5542         * misc/tst-preadvwritev64.c: Likewise.
5543         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5544         usage.
5545         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5546         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5547         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5548         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5550 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5552         [BZ #19654]
5553         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5554         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5555         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5556         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5557         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5558         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5559         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5560         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5561         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5562         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5563         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5564         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5565         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5566         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5567         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5568         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5569         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5570         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5571         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5572         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5573         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5574         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5575         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5576         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5577         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5578         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5580 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5582         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5583         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5585 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5587         * sysdeps/aarch64/memcpy.S (memcpy):
5588         Rewrite of optimized memcpy and memmove.
5589         * sysdeps/aarch64/memmove.S (memmove): Remove
5590         memmove code (merged into memcpy.S).
5592 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5594         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5595         * sysdeps/generic/dl-dtv.h: New file.
5596         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5597         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5598         (dtv_t): Remove.
5599         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5600         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5601         (dtv_t): Remove.
5602         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5603         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5604         (dtv_t): Remove.
5605         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5606         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5607         (dtv_t): Remove.
5608         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5609         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5610         (dtv_t): Remove.
5611         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5612         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5613         (dtv_t): Remove.
5614         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5615         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5616         (dtv_t): Remove.
5617         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5618         (dtv_t): Remove.
5619         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5620         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5621         (dtv_t): Remove.
5622         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5623         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5624         (dtv_t): Remove.
5625         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5626         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5627         (dtv_t): Remove.
5628         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5629         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5630         (dtv_t): Remove.
5631         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5632         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5633         (dtv_t): Remove.
5634         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5635         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5636         (dtv_t): Remove.
5637         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5638         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5639         (dtv_t): Remove.
5640         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5641         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5642         (dtv_t): Remove.
5644 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5646         Revert symbol poisoning of  __malloc_initialize_hook.
5647         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5648         poisoning.
5649         * malloc/Makefile: Remove un-poisoning.
5650         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5651         instead of old__malloc_initialize_hook.
5652         * malloc/malloc-hooks.h: Likewise.
5653         * malloc/malloc.c: Likewise.
5654         * malloc/mcheck-init.c: Likewise.
5656 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5658         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5660 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5662         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5663         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5664         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5667 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5669         * NEWS: Mention addition of nextup and nextdown.
5670         * manual/arith.texi: Document nextup and nextdown.
5671         * manual/libm-err-tab.pl: Add nextup and nextdown.
5672         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5673         * math/Versions (libm): Add GLIBC_2.24.
5674         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5675         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5676         Add new test.
5677         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5678         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5679         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5680         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5681         (nextup_test_data): Likewise.
5682         (nextdown_test_data): Likewise.
5683         * math/s_nextdown.c: New file.
5684         * math/s_nextdownf.c: Likewise.
5685         * math/s_nextdownl.c: Likewise.
5686         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5687         F(nextup): New function.
5688         F(nextdown): Likewise.
5689         * math/tgmath.h: Add nextup and nextdown.
5690         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5691         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5692         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5693         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5694         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5695         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5696         Add nextup and nextdown.
5697         (CFLAGS-nldbl-nextup.c): New variable.
5698         (CFLAGS-nldbl-nextdown.c): Likewise.
5699         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5700         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5701         * sysdeps/nacl/libm.abilist: Update.
5702         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5703         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5704         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5706         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5707         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5708         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5709         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5710         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5711         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5712         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5713         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5716         Likewise.
5717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5719         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5720         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5721         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5722         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5723         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5726         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5727         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5728         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5731 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5733         * manual/pattern.texi: Fix typos & grammar errors.
5735 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5737         * manual/search.texi: Fix typos & grammar errors.
5739 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5741         * manual/message.texi: Fix typos & grammar errors.
5743 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5745         * manual/contrib.texi: Fix spelling typos.
5746         * manual/crypt.texi: Likewise.
5747         * manual/filesys.texi: Likewise.
5748         * manual/locale.texi: Likewise.
5749         * manual/message.texi: Likewise.
5750         * manual/nss.texi: Likewise.
5751         * manual/string.texi: Likewise.
5753 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5755         * manual/locale.texi: Fix typos & grammar errors.
5757 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5759         * manual/charset.texi: Fix typos & grammar errors.
5761 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5763         * manual/string.texi: Fix typos.
5765 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5767         * manual/ctype.texi: Fix typos.
5769 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5771         * manual/memory.texi: Fix various typos & grammar errors.
5773 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5775         [BZ #20255]
5776         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5777         * math/libm-test.inc (fdim_test_data): Add another test.
5779         [BZ #6796]
5780         [BZ #20255]
5781         [BZ #20256]
5782         * math/s_fdim.c: Include <math_private.h>.
5783         (__fdim): Use math_narrow_eval on result.
5784         * math/s_fdimf.c: Include <math_private.h>.
5785         (__fdimf): Use math_narrow_eval on result.
5786         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5787         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5788         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5789         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5790         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5791         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5792         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5793         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5794         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5795         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5796         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5797         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5798         overflow.  Add sNaN tests.
5800         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5801         fpclassify.
5802         * math/s_fdimf.c (__fdimf): Likewise.
5803         * math/s_fdiml.c (__fdiml): Likewise.
5805 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5807         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5808         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5810         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5811         ifunc'ed strcasecmp/strncasecmp.
5812         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5813         [EALIGN]: Removed.
5814         [END]: Likewise.
5815         [__strcasecmp]: Define instead of the above to control symbol name.
5816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5817         for __strcasecmp_power8.
5818         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5819         for __strncasecmp_power8.
5820         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5821         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5822         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5823         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5824         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5825         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5827 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5829         [BZ #20252]
5830         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5831         arguments when second argument is a NaN.
5832         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5833         qNaN tests.
5835         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5836         (conj_test_data): Likewise.
5837         (copysign_test_data): Likewise.
5838         (creal_test_data): Likewise.
5839         (fma_test_data): Likewise.
5840         (fmod_test_data): Likewise.
5842         [BZ #20250]
5843         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5844         itself.
5845         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5846         zero input to itself.
5847         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5848         Likewise.
5849         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5850         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5851         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5852         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5853         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5855 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5857         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5858         * nptl/tst-cancel4-common.c: New file.
5859         * nptl/tst-cancel4-common.h: Likewise.
5860         * nptl/tst-cancel4.c: Move common definitions to
5861         tst-cancel4-common.{c,h} file.
5862         * nptl/tst-cancel4_1.c: New test.
5863         * nptl/tst-cancel4_2.c: New test.
5865 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5867         [BZ #20248]
5868         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5869         (write_message): New function.
5870         (stackoverflow_handler): Call it instead of printf, to avoid
5871         excessive stack usage by printf.
5872         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5874 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5876         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5877         (prio_inherit_missing): Remove define.
5878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5879         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5880         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5881         Likewise.
5882         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5883         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5884         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5885         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5886         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5887         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5889 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5891         [BZ #19670]
5892         [BZ #19672]
5894         * io/test-lfs.c (do_prepare): Use xmalloc.
5895         * io/tst-fcntl.c (do_prepare): Likewise.
5896         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5897         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5898         * login/tst-utmp.c (do_prepare): Likewise.
5899         * posix/tst-exec.c (do_prepare): Likewise.
5900         * posix/tst-pathconf.c (prepare): Likewise.
5901         * posix/tst-spawn.c (do_prepare): Likewise.
5902         * posix/tst-truncate.c (do_prepare): Likewise.
5903         * rt/tst-aio.c (do_prepare): Likewise.
5904         * rt/tst-aio64.c (do_prepare): Likewise.
5906 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5908         [BZ #20237]
5909         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5910         (get*ent): Set entidx to NULL during initialization.  If entidx is
5911         NULL, start iteration from the beginning.
5913 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5915         * malloc/malloc.c (musable): Return correct size for dumped fake
5916         mmapped chunk.
5918 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5920         [BZ #20222]
5921         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5922         (_IO_cookie_write): Likewise.
5923         (_IO_cookie_seek): Likewise.
5924         (_IO_cookie_close): Likewise.
5925         (_IO_old_cookie_seek): Likewise.
5926         (set_callbacks): New function.
5927         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5929 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5931         * locale/programs/localedef.c (oldstyle_tables): Remove.
5932         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5934 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #20240]
5937         * math/Makefile (CFLAGS-s_modf.c): New variable.
5938         (CFLAGS-s_modff.c): Likewise.
5939         (CFLAGS-s_modfl.c): Likewise.
5940         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5942 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5944         [BZ #20215]
5945         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5946         [!__GNUC_PREREQ (3,2)]: Likewise.
5948 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5950         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5951         (msghdr.msg_controllen): Likewise.
5952         (cmsghdr.cmsg_len): Likewise.
5953         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5954         ptw-oldsendmsg.
5955         (CFLAGS-oldrecvmsg.c): Remove rule.
5956         (CFLAGS-oldsendmsg.c): Likewise.
5957         (CFLAGS-recvmsg.c): Add rule.
5958         (CFLAGS-sendmsg.c): Likewise.
5959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5960         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5961         (CFLAGS-recvmsg.c): Remove rule.
5962         (CFLAGS-sendmsg.c): Likewise.
5963         (CFLAGS-oldrecvmsg.c): Likewise.
5964         (CFLAGS-oldsendmsg.c): Likewise.
5965         (CFLAGS-recvmmsg.c): Likewise.
5966         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5967         to kernel defined interfaces.
5968         (msghdr.msg_controllen): Likewise.
5969         (cmsghdr.cmsg_len): Likewise.
5970         (msghdr.__glibc_reserved1): Remove member.
5971         (msghdr.__glibc_reserved2): Likewise.
5972         (cmsghdr.__glibc_reserved1): Likewise.
5973         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5974         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5975         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5976         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5977         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5978         version.
5979         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5980         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5981         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5982         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5983         Remove recvmsg and sendmsg.
5984         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5985         Likewise.
5986         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5987         Likewise.
5988         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5989         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5990         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5991         Likewise.
5992         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5993         Likewise.
5994         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5995         [libc] (GLIBC_2.24): Likewise.
5996         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5997         Likewise.
5998         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5999         Likewise.
6000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6001         [libc] (GLIBC_2.24): Likewise.
6002         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6003         Likewise.
6004         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6005         Likewise.
6006         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6007         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6008         Likewise.
6009         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6010         Likewise.
6011         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6012         Likewise.
6013         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6014         Likewise.
6015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6016         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6017         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6018         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6019         version for {recv,send,recm,sendm}msg.
6020         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6022         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6024         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6025         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6026         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6027         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6028         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6029         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6030         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6031         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6038         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6039         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6040         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6041         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6042         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6043         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6046         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6047         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6048         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6050 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6052         [BZ #19564]
6053         Remove __malloc_initialize_hook from the API.
6054         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6055         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6056         #pragma GCC poison.
6057         * malloc/malloc-hooks.h: New file.
6058         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6059         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6060         (old__malloc_initialize_hook): Rename from
6061         __malloc_initialize_hook to evade poisoning.  Turn into compat
6062         symbol.
6063         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6064         __malloc_initialize_hook.
6065         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6066         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6067         * manual/memory.texi (Hooks for Malloc): Remove
6068         __malloc_initialize_hook.  Adjust hook example.
6070 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6072         [BZ #20235]
6073         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6074         itself.
6075         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6076         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6078         [BZ #20234]
6079         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6080         infinity or NaN input to itself.
6082         [BZ #20233]
6083         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6084         to itself.
6086         [BZ #20232]
6087         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6088         itself.
6090 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6092         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6093         __libc_start_main via GOT.
6095 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6097         * sysdeps/x86_64/memcopy.h: New file.
6098         * sysdeps/x86_64/wordcopy.c: Likewise.
6100 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6102         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6103         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6104         <cstdlib>.
6105         (optimization_barrier): New.
6106         (do_test): Use it.  Call quick_exit in the global namespace.
6107         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6108         instead of <cstdlib>, <thread>.
6109         (optimization_barrier): New.
6110         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6111         Call quick_exit in the global namespace.
6112         (do_test): Call optimization_barrier.  Use pthread_create,
6113         pthread_join instead of std::thread.
6115 2016-06-09  Andreas Schwab  <schwab@suse.de>
6117         [BZ #19755]
6118         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6119         new entries in auto-propagate mode.
6120         * nscd/grpcache.c (cache_addgr): Likewise.
6122 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6124         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6125         New functions.
6126         (add_temp_file): Use them.
6128 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6130         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6132 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6134         [BZ #20229]
6135         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6136         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6137         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6139         [BZ #20228]
6140         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6141         itself.
6142         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6143         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6145         [BZ #20227]
6146         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6147         itself.
6148         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6149         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6150         * math/libm-test.inc (log_test_data): Add sNaN tests.
6152         [BZ #20226]
6153         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6154         itself.
6155         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6156         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6157         (exp10_test_data): Likewise.
6158         (expm1_test_data): Likewise.
6160         [BZ #20225]
6161         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6162         itself.
6163         * math/s_ldexpf.c (__ldexpf): Likewise.
6164         * math/s_ldexpl.c (__ldexpl): Likewise.
6165         * math/w_scalbln.c (__w_scalbln): Likewise.
6166         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6167         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6168         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6169         (scalbln_test_data): Likewise.
6171         [BZ #20224]
6172         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6173         argument to itself.
6174         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6176 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6178         [BZ #19776]
6179         * sysdeps/x86_64/memcpy.S: Make it dummy.
6180         * sysdeps/x86_64/mempcpy.S: Likewise.
6181         * sysdeps/x86_64/memmove.S: New file.
6182         * sysdeps/x86_64/memmove_chk.S: Likewise.
6183         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6184         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6185         * sysdeps/x86_64/memmove.c: Removed.
6186         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6187         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6188         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6189         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6190         Likewise.
6191         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6192         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6194         memcpy-sse2-unaligned, memmove-avx-unaligned,
6195         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6197         (__libc_ifunc_impl_list): Replace
6198         __memmove_chk_avx512_unaligned_2 with
6199         __memmove_chk_avx512_unaligned.  Remove
6200         __memmove_chk_avx_unaligned_2.  Replace
6201         __memmove_chk_sse2_unaligned_2 with
6202         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6203         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6204         with __memmove_avx512_unaligned.  Replace
6205         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6206         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6207         with __memcpy_chk_avx512_unaligned.  Remove
6208         __memcpy_chk_avx_unaligned_2.  Replace
6209         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6210         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6211         Replace __memcpy_avx512_unaligned_2 with
6212         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6213         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6214         with __mempcpy_chk_avx512_unaligned.  Remove
6215         __mempcpy_chk_avx_unaligned_2.  Replace
6216         __mempcpy_chk_sse2_unaligned_2 with
6217         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6218         Replace __mempcpy_avx512_unaligned_2 with
6219         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6220         Replace __mempcpy_sse2_unaligned_2 with
6221         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6222         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6223         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6224         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6225         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6226         (ENTRY): Removed.
6227         (END): Likewise.
6228         (ENTRY_CHK): Likewise.
6229         (libc_hidden_builtin_def): Likewise.
6230         Don't include ../memcpy.S.
6231         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6232         __memcpy_chk_avx512_unaligned_erms and
6233         __memcpy_chk_avx512_unaligned.  Use
6234         __memcpy_chk_avx_unaligned_erms and
6235         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6236         Default to __memcpy_chk_sse2_unaligned.
6237         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6238         Change function suffix from unaligned_2 to unaligned.
6239         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6240         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6241         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6242         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6243         (ENTRY): Removed.
6244         (END): Likewise.
6245         (ENTRY_CHK): Likewise.
6246         (libc_hidden_builtin_def): Likewise.
6247         Don't include ../mempcpy.S.
6248         (mempcpy): New.  Add a weak alias.
6249         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6250         __mempcpy_chk_avx512_unaligned_erms and
6251         __mempcpy_chk_avx512_unaligned.  Use
6252         __mempcpy_chk_avx_unaligned_erms and
6253         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6254         Default to __mempcpy_chk_sse2_unaligned.
6256 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6258         [BZ #19881]
6259         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6260         into ...
6261         * sysdeps/x86_64/memset.S: This.
6262         (__bzero): Removed.
6263         (__memset_tail): Likewise.
6264         (__memset_chk): Likewise.
6265         (memset): Likewise.
6266         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6267         defined.
6268         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6269         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6270         (__memset_zero_constant_len_parameter): Check SHARED instead of
6271         PIC.
6272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6273         memset-avx2 and memset-sse2-unaligned-erms.
6274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6275         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6276         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6277         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6278         (__bzero): Enabled.
6279         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6280         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6281         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6282         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6283         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6284         (memset): Removed.
6285         (__memset_chk): Likewise.
6286         (MEMSET_SYMBOL): New.
6287         (libc_hidden_builtin_def): Replace __memset_sse2 with
6288         __memset_sse2_unaligned.
6289         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6290         __memset_chk_sse2 and __memset_chk_avx2 with
6291         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6292         Use __memset_chk_sse2_unaligned_erms or
6293         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6294         __memset_chk_avx512_unaligned_erms and
6295         __memset_chk_avx512_unaligned.
6297 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6299         * math/gen-auto-libm-test.c (fp_format_desc): remove
6300         suffix member.
6301         (output_generic_value): Remove usage of suffix member,
6302         and the resulting unuse of the fp_format argument.
6303         (output_for_one_input_case): Remove unused fp_format
6304         parameter.
6306         * math/auto-libm-test-out: Regenerate.
6308         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6309         usage with TEST_COND_ibm128.
6310         (TEST_COND_flt_32): Remove.
6311         (TEST_COND_dbl_64): Remove.
6312         (TEST_COND_ldbl_96_intel): Remove.
6313         (TEST_COND_ldbl_96_m68k): Remove.
6314         (TEST_COND_ldbl_128): Remove.
6316 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6318         * auto-libm-test-in:
6319         Replace flt-32 usage with binary32.
6320         Replace dbl-64 usage with binary64.
6321         Replace ldbl-intel-96 usage with intel96.
6322         Replace ldbl-m68k-96 usage with m68k96.
6323         Replace ldbl-128ibm usage with ibm128.
6324         Replace ldbl-128 usage with binary128.
6326         * auto-libm-test-out: Regenerate.
6328 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6330         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6331         (parse_ulps): Dynamically generate type name matching
6332         string from all_floats.
6333         (get_ulps): Generate the ulps as an array instead.
6334         (output_ulps): Dynamically compose the type based
6335         on the number of supported formats, and print
6336         the indices as type specific helper macros.
6338         * math/libm-test.inc: Remove comment about CHOOSE.
6339         (ulp_data): Generate the type in libm-test-ulps.h.
6340         (ULP_IDX): New macro.
6341         (find_ulps): Update usage of max_ulp.
6343         * math/test-double-vlen2.h (CHOOSE): Remove.
6344         * math/test-double-vlen4.h (CHOOSE): Likewise.
6345         * math/test-double-vlen8.h (CHOOSE): Likewise.
6346         * math/test-float.c (CHOOSE): Likewise.
6347         * math/test-float-finite.c (CHOOSE): Likewise.
6348         * math/test-double.c (CHOOSE): Likewise.
6349         * math/test-double-finite.c (CHOOSE): Likewise.
6350         * math/test-idouble.c (CHOOSE): Likewise.
6351         * math/test-ifloat.c (CHOOSE): Likewise.
6352         * math/test-ildoubl.c (CHOOSE): Likewise.
6353         * math/test-ldouble-finite.c (CHOOSE): Likewise.
6354         * math/test-ldouble.c (CHOOSE): Likewise.
6356         * math/test-float.h (TEST_FLOAT): Remove.
6357         * math/test-double.h (TEST_DOUBLE): Likewise.
6358         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6360 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6362         * math/gen-libm-test.pl: (apply_lit): New subroutine.
6363         (parse_args): Strip C suffix from floating point literals
6364         typed with 'f' and wrap them with LIT().
6366         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6367         (test_ff_f_data_nexttoward): Rename to
6368         (test_fj_f_data): New struct.
6369         (nexttoward_test_data): Relabel tests as
6370         TEST_fj_f instead of TEST_ff_f.
6372 2016-06-08  Florian Weimer  <fweimer@redhat.com>
6374         Emacs bug 23726.
6375         * malloc/malloc.c (dumped_main_arena_start): Update comment.
6376         (__libc_realloc): Correct size computation for dumped fake mmapped
6377         chunks.
6379 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
6381         [BZ #20219]
6382         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6383         to itself.
6384         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6386         [BZ #20218]
6387         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6388         to itself.
6389         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6391 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
6393         [BZ #20195]
6394         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6395         check to ...
6396         (init_cpu_features): Here.
6398 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
6400         [BZ #20214]
6401         * sysdeps/unix/sysv/linux/bits/in.h
6402         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6403          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6404         Define to 1.
6405         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6406          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6407         Define to 0.
6408         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6409         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6411 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
6413         [BZ #20198]
6414         * stdlib/Makefile (tests): Add tst-quick_exit, and
6415         tst-thread-quick_exit.
6416         [ifeq ($(have-cxx-thread_local),yes)]
6417         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6418         (CFLAGS-tst-thread-quick_exit.o): Likewise.
6419         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6420         (LDLIBS-tst-thread-quick_exit): Likewise.
6421         [ifneq ($(have-cxx-thread_local),yes)]
6422         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6423         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6424         If run_dtors is true call __call_tls_dtors.
6425         (exit): Call __run_exit_handlers with run_dtors set to true.
6426         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6427         definition.
6428         * stdlib/quick_exit.c (quick_exit): Remove function.
6429         (__new_quick_exit): New function.
6430         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6431         function.
6432         * stdlib/tst-quick_exit.cc: New file.
6433         * stdlib/tst-thread-quick_exit.cc: New file.
6434         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6435         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6436         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6437         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6438         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6439         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6440         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6441         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6442         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6443         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6444         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6445         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6446         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6447         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6448         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6449         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6454         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6455         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6456         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6457         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6458         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6461         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6462         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6463         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6465 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6467         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6468         a typo in comments.
6470 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6472         [BZ #20213]
6473         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6474         argument to itself.
6475         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6477 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6479         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6480         required flags.
6481         (CFLAGS-pwritev64.c): Likewise.
6482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6484         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6485         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6486         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6487         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6488         syscall from auto-generation.
6489         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6490         [WORDSIZE == 64] (pwritev64): Remove macro.
6491         [!PWRITEV] (PWRITEV): Likewise.
6492         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6493         [!PWRITEV] (PWRITE): Likewise.
6494         [!PWRITEV] (OFF_T): Likewise.
6495         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6496         (LO_HI_LONG): Remove macro.
6497         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6498         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6499         (PWRITEV): Remove macro.
6500         (PWRITEV_REPLACEMENTE): Likewise.
6501         (PWRITE): Likewise.
6502         (OFF_T): Likewise.
6503         (pwritev64): New function.
6504         * nptl/tst-cancel4.c (tf_writev): Add test.
6506         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6507         required flags.
6508         (CFLAGS-preadv64.c): Likewise.
6509         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6510         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6511         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6512         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6513         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6514         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6515         syscall from auto-generation.
6516         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6517         [WORDSIZE == 64] (preadv64): Remove macro.
6518         [!PREADV] (PREADV): Likewise.
6519         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6520         [!PREADV] (PREAD): Likewise.
6521         [!PREADV] (OFF_T): Likewise.
6522         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6523         (LO_HI_LONG): Remove macro.
6524         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6525         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6526         (PREADV): Remove macro.
6527         (PREADV_REPLACEMENTE): Likewise.
6528         (PREAD): Likewise.
6529         (OFF_T): Likewise.
6530         (preadv64): New function.
6531         * nptl/tst-cancel4.c (tf_preadv): Add test.
6533 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6535         [BZ #20212]
6536         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6537         argument to itself.
6538         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6540 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6542         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6543         New symbol defined as libc_hidden_def.
6544         (strcasestr): Became a weak alias to __strcasestr.
6545         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6546         according to multi-arch support.  Move __stpncpy hidden
6547         definition from here to...
6548         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6549         symbol stpncpy.
6550         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6551         libc_hidden_builtin_def.
6552         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6553         memset symbol to use when multi-arch support is available.
6555 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6557         * dlfcn/tst-rec-dlopen.c: Include string.h.
6559 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6561         * manual/install.texi: Remove mention of --without-tls
6562         * INSTALL: Regenerate.
6564 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6566         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6567         Remove.
6568         (call_function, interposed_malloc_called): New variables.
6569         (malloc): New function.
6570         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6571         and clear call_function as needed.
6573 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6575         * include/wchar.h (__wmemset): Use __typeof.
6577 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6579         * include/wchar.h (__wmemset): Declare function without typeof.
6581 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #20205]
6584         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6585         exponent when incrementing negative subnormal with low mantissa
6586         word zero.
6587         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6588         Add another test.
6590 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6592         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6593         __wmemset instead of wmemset.
6595 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6597         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6598         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6599         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6600         __USE_KERNEL_IPV6_DEFS to 0.
6601         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6602         Update comment.
6604 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6606         [BZ #19861]
6607         Do not use IFUNC resolver with potentially unrelocated symbol.
6608         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6609         (DEFINE_FORK): Remove macro and inline definition.
6610         (fork_alias): Renamed from fork_ifunc.
6611         (__fork_alias): Renamed from __fork_ifunc.
6613 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6615         [BZ 19653]
6616         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6617         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6619 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6621         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6622         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6623         i386-linux-gnu).
6624         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6625         Set to no.
6626         * sysdeps/mach/hurd/configure: Refresh.
6628 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6630         [BZ #20178]
6631         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6632         on failure instead of exit.
6634 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6636         [BZ #3629]
6637         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6638         of POSIX.1-2008.
6640 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6642         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6643           Use PLT entry for calling _hurd_self_sigstate.
6645 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6647         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6648         available logical processors with SMT level type sharing L2
6649         cache for Intel processors.
6651 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6653         [BZ #20160]
6654         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6655         argument to itself before returning the result.
6656         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6657         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6658         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6660         Likewise.
6661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6662         Likewise.
6663         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6664         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6665         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6666         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6667         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6668         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6670         [BZ #20160]
6671         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6672         argument to itself before returning the result.
6673         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6674         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6675         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6676         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6677         Likewise.
6678         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6679         Likewise.
6680         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6681         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6682         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6683         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6684         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6685         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6687 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6689         * libm-test.inc: Replace usage of M_El with
6690         (lit_e): New macro.
6692 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6694         * libm-test.inc: Replace usage of M_PI_4l with
6695         (lit_pi_4_d): New macro.
6697 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6699         * libm-test.inc: Replace usage of M_PIl with
6700         (lit_pi): New macro.
6702 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6704         * libm-test.inc: Replace usage of M_PI2l with
6705         (lit_pi_2_d): New macro.
6707         * math/test-double.h (LITM): New macro.
6708         * math/test-float.h (LITM): Likewise.
6709         * math/test-ldouble.h (LITM): Likewise.
6711 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6713         * libm-test.inc (M_PI_34l): Rename to
6714         (lit_pi_3_m_4_d): New Macro.
6715         (M_PI_34_LOG10El): Rename to
6716         (lit_pi_3_m_4_ln10_m_d): New Macro.
6717         (M_PI2_LOG10El): Rename to
6718         (lit_pi_2_ln10_m_d):  New Macro.
6719         (M_PI4_LOG10El): Rename to
6720         (lit_pi_4_ln10_m_d):  New Macro.
6721         (M_PI_LOG10El): Rename to
6722         (lit_pi_ln10_d):  New Macro.
6724 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6726         [BZ #20157]
6727         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6728         determine whether to negate low half if [_ARCH_PPCGR], and integer
6729         comparison otherwise.
6730         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6731         determine whether to negate low half.
6733         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6734         (NO_TEST_INLINE_DOUBLE): Likewise.
6735         (TEST_COND_x86_64): Likewise.
6736         (TEST_COND_x86): Likewise.
6737         (M_PI_6l): Likewise.
6739 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6741         * math/libm-test.inc:
6742         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6743         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6744         (TEST_LDOUBLE): Update usage to evaluate as true if
6745         the guarded tests match the property being tested.
6746         (LDBL_MAX_EXP): Change to MAX_EXP.
6747         (LDBL_MIN_EXP): Change to MIN_EXP.
6748         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6749         nexttoward tests.
6751 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6753         * math/libm-test.inc:
6754         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6755         (TYPE_MIN): Likewise.
6756         (TYPE_TRUE_MIN): Likewise.
6757         (TYPE_MAX): Likewise.
6758         (MIN_EXP): Likewise.
6759         (MAX_EXP): Likewise.
6760         (MANT_DIG): Likewise.
6762         (FSTR_MAX): New macro.
6763         (__CONCATX): Likewise.
6764         (QTYPE_STR): Likewise.
6765         (TEST_COND_binary32): Likewise.
6766         (TEST_COND_binary64): Likewise.
6767         (TEST_COND_binary128): Likewise.
6768         (TEST_COND_ibm128): Likewise.
6769         (TEST_COND_intel96): Likewise.
6770         (TEST_COND_m68k96): Likewise.
6772         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6773         (TEST_COND_dbl_64): Likewise.
6774         (TEST_COND_ldbl_96_intel): Likewise.
6775         (TEST_COND_ldbl_96_m68k): Likewise.
6776         (TEST_COND_ldbl_128): Likewise.
6777         (TEST_COND_ldbl_128ibm): Likewise.
6779         (plus_zero): Redefine using LIT macro.
6780         (minus_zero): Likewise.
6781         (plus_infty): Redefine as (INF).
6782         (minux_infty): Redefine as (-INF).
6783         (max_value): Redefine as TYPE_MAX.
6784         (min_value): Redefine as TYPE_MIN.
6785         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6787         (print_float): Refactor to use snprintf to convert FLOAT values
6788         to string. This brings it closer to dropin replacement of strtof
6789         for the TS 18661 defined types.
6790         (update_stats): Likewise.
6791         (print_complex_function_ulps): Likewise.
6792         (print_max_error): Likewise.
6793         (print_complex_max_error): Likewise.
6794         (check_float_internal): Likewise.
6796         * math/test-float.h (PREFIX): New macro.
6797         (LIT): Likewise.
6798         (TYPE_STR): Likewise.
6799         (FTOSTR): Likewise.
6801         * math/test-double.h (PREFIX): New macro.
6802         (LIT): Likewise.
6803         (TYPE_STR): Likewise.
6804         (FTOSTR): Likewise.
6806         * math/test-ldouble.h (PREFIX): New macro.
6807         (LIT): Likewise.
6808         (TYPE_STR): Likewise.
6809         (FTOSTR): Likewise.
6811 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6813         [BZ #20156]
6814         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6815         to itself when zero or not finite.
6816         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6817         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6818         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6819         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6821 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #20153]
6824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6825         x * x + x for infinities and NaNs.
6827         [BZ #20151]
6828         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6829         argument to itself before returning result.
6830         (__ieee754_y0l): Likewise.
6831         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6832         (__ieee754_y1l).
6834         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6835         (atan_test_data): Likewise.
6836         (ceil_test_data): Likewise.
6837         (cos_test_data): Likewise.
6838         (cosh_test_data): Likewise.
6839         (erf_test_data): Likewise.
6840         (exp2_test_data): Likewise.
6841         (fabs_test_data): Likewise.
6842         (floor_test_data): Likewise.
6843         (ilogb_test_data): Likewise.
6844         (j0_test_data): Likewise.
6845         (j1_test_data): Likewise.
6846         (jn_test_data): Likewise.
6847         (lgamma_test_data): Likewise.
6848         (lrint_test_data): Likewise.
6849         (llrint_test_data): Likewise.
6850         (logb_test_data): Likewise.
6851         (lround_test_data): Likewise.
6852         (llround_test_data): Likewise.
6853         (nearbyint_test_data): Likewise.
6854         (rint_test_data): Likewise.
6855         (round_test_data): Likewise.
6856         (sin_test_data): Likewise.
6857         (sincos_test_data): Likewise.
6858         (sinh_test_data): Likewise.
6859         (sqrt_test_data): Likewise.
6860         (tan_test_data): Likewise.
6861         (tanh_test_data): Likewise.
6862         (tgamma_test_data): Likewise.
6863         (trunc_test_data): Likewise.
6864         (y0_test_data): Likewise.
6865         (y1_test_data): Likewise.
6866         (yn_test_data): Likewise.
6868         * math/libm-test.inc: Update comment about NaN testing.
6869         (TEST_SNAN): New macro.
6870         (snan_value): Likewise.
6871         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6872         (fpclassify_test_data): Add sNaN tests.
6873         (isfinite_test_data): Likewise.
6874         (isinf_test_data): Likewise.
6875         (isnan_test_data): Likewise.
6876         (isnormal_test_data): Likewise.
6877         (issignaling_test_data): Likewise.
6878         (signbit_test_data): Likewise.
6879         * math/gen-libm-test.pl (%beautify): Add snan_value.
6880         (show_exceptions): Add argument $test_snan.
6881         (parse_args): Handle snan_value as non-finite.  Update call to
6882         show_exceptions.
6883         * math/Makefile (libm-test-no-inline-cflags): Add
6884         -fsignaling-nans.
6886 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6888         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6889         (CFLAGS-oldsendmsg.c): Add rule.
6890         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6891         Correct recvmsg symbol name.
6892         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6893         Likewise.
6895 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6897         * sysdeps/unix/sysv/linux/Makefile
6898         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6899         oldsendmmsg.
6900         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6901         sendmmsg.
6902         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6905         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6910         Likewise.
6911         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6913         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6914         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6915         iovlen and controllen fields to adjust to POSIX specification.
6916         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6918         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6919         and change to correct expected type.
6920         (msghdr.msg_controllen): Likewise.
6921         (cmsghdr.cmsg_len): Likewise.
6922         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6923         expected POSIX assumption about the size.
6924         (msghdr.msg_controllen): Likewise.
6925         (msghdr.__glibc_reserved1): Likewise.
6926         (msghdr.__glibc_reserved2): Likewise.
6927         (cmsghdr.cmsg_len): Likewise.
6928         (cmsghdr.__glibc_reserved1): Likewise.
6929         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6930         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6931         (CFLAGS-sendmsg.c): Remove rule.
6932         (CFLAGS-recvmsg.c): Likewise.
6933         (CFLAGS-oldsendmsg.c): Add rule.
6934         (CFLAGS-oldrecvmsg.c): Likewise.
6935         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6936         recvmsg and sendmsg.
6937         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6938         Likewise.
6939         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6940         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6941         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6942         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6943         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6944         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6951         Likewise.
6952         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6953         Likewise.
6954         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6955         Likewise.
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6957         (GLIBC_2.24): Likewise.
6958         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6959         Likewise.
6960         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6961         Likewise.
6962         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6963         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6964         Likewise.
6965         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6966         Likewise.
6967         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6968         Likewise.
6969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6970         (GLIBC_2.24): Likewise.
6971         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6972         Likewise.
6973         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6974         Likewise.
6975         * sysdeps/unix/sysv/linux/Makefile
6976         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6977         (CFLAGS-sendmsg.c): Add rule.
6978         (CFLAGS-recvmsg.c): Likewise.
6979         (CFLAGS-oldsendmsg.c): Likewise.
6980         (CFLAGS-oldrecvmsg.c): Likewise.
6981         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6982         initialization.
6983         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6984         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6985         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6986         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6987         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6988         iovlen and controllen fields to adjust to POSIX specification.
6989         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6990         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6991         added recvmsg and sendmsg.
6992         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6993         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6994         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6995         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6996         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6997         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6998         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6999         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7000         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7001         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7002         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7003         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7005         Likewise.
7006         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7008         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7009         Likewise.
7010         Likewise.
7011         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7012         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7013         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7014         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7015         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7016         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7018         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7020         Likewise.
7021         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7022         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7024         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7025         from auto-generation.
7026         (sendmsg): Likewise.
7027         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7028         (sendmsg): Likewise.
7029         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7030         (sendmsg): Likewise.
7031         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7032         (sendmsg): Likewise.
7033         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7034         (sendmsg): Likewise.
7035         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7036         (sendmsg): Likewise.
7037         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7038         Likewise.
7039         (sendmsg): Likewise.
7040         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7041         (sendmsg): Likewise.
7042         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7043         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7044         Remove.
7045         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7046         Likewise.
7047         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7048         Undefine.
7049         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7050         Likewise.
7051         * sysdeps/unix/sysv/linux/kernel-features.h
7052         (__ASSUME_SENDMSG_SYSCALL): Define.
7053         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7054         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7055         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7056         Remove.
7057         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7058         Likewise.
7059         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7060         Undefine.
7061         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7062         Likewise.
7063         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7065         Remove.
7066         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7067         Likewise.
7068         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7069         Undefine.
7070         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7071         Likewise.
7072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7073         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7074         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7075         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7076         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7077         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7078         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7079         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7080         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7082 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7084         * stdlib/gen-tst-strtod-round.c: Add backslash to
7085         compile command in comment.
7086         (printfp): Remove the literal suffix, and define an infinite
7087         value as INF to avoid expansion clash with INFINITY.
7088         (round_str): Remove the literal suffix.
7089         (round_for_all): Likewise, remove the now duplicate ldbl-64
7090         entry, and remove some magic constants.
7092         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7093         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7094         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7095         (_CONCAT): New macro.
7096         (CONCAT): Likewise.
7097         (CHOOSE_ld): Likewise.
7098         (CHOOSE_f): Likewise.
7099         (CHOOSE_d): Likewise.
7100         (FTYPE_MEMBER): Likewise.
7101         (BOOL_MEMBER): Likewise.
7102         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7103         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7104         (_XNTRY): Likewise.
7105         (XNTRY): Likewise.
7106         (_ENTRY): Likewise.
7107         (ENTRY): Likewise.
7108         (test_exactness): Generate members via macro.
7109         (test_results): Likewise.
7110         (test): Update members.
7111         (TEST): Redefine using new macros.
7112         (INF): New macro.
7113         (fetestmodes): New structure.
7114         (do_test): Refactor to be type generic.
7115         (test_in_one_mode): Refactor duplicate code into
7116         (GEN_ONE_TEST): New macro.
7118         * stdlib/tst-strtod-round-data.h: Regenerate.
7120         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7121         Extend to pass additional arbitrary parameters to
7122         generators.
7124 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7126         [BZ #15479]
7127         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7128         floating-point state after first floating-point operation on
7129         input.  Restore full floating-point state instead of just rounding
7130         mode.
7131         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7132         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7133         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7134         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7135         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7137         [BZ #15479]
7138         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7139         floating-point state after first floating-point operation on
7140         input.  Restore full floating-point state instead of just rounding
7141         mode.
7142         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7143         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7144         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7145         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7146         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7148 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7150         [BZ #19727]
7151         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7152         valid high surrogate.
7153         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7154         of an utf16 surrogate.
7155         * iconv/gconv_simple.c (BODY): Likewise.
7156         * iconvdata/bug-iconv12.c: New file.
7157         * iconvdata/Makefile (tests): Add bug-iconv12.
7159 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7161         [BZ #19726]
7162         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7163         outptrp in case of an illegal input.
7164         * iconv/tst-iconv6.c: New file.
7165         * iconv/Makefile (tests): Add tst-iconv6.
7167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7169         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7170         an error in case of a value in range of an utf16 low surrogate.
7172 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7174         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7175         an error in case of a value in range of an utf16 low surrogate.
7177 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7179         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7180         Move to ...
7181         * sysdeps/s390/Makefile: ... here.
7182         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7183         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7184         (BRANCH_ON_COUNT): New define.
7185         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7186         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7187         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7188         run on s390-32, too.
7189         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7190         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7191         run on s390-32, too.
7192         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7193         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7194         run on s390-32, too.
7196 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7198         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7199         etf3eh or new vector loop-variant.
7201 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7203         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7204         etf3eh or new vector loop-variant.
7206 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7208         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7209         or new vector loop-variant.
7211 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7213         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7214         Rename to TR_LOOP and usage of tr instead of troo instruction.
7216 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7218         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7221 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7223         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7224         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7225         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7226         New override define.
7227         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7229 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7231         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7232         * sysdeps/s390/configure.ac: Add test for S390 vector register
7233         support in gcc.
7234         * sysdeps/s390/configure: Regenerated.
7236 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7238         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7239         Install file from $(objpfx)gconv-modules.
7240         ($(objpfx)gconv-modules): Concatenate architecture specific file
7241         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7242         * sysdeps/s390/gconv-modules: New file.
7243         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7244         Deleted.
7245         ($(objpfx)gconv-modules-s390): Deleted.
7246         (sysdeps-gconv-modules): New variable.
7248 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7250         [BZ #15479]
7251         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7252         of immediate operand to rounding instruction.
7253         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7254         Likewise.
7255         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7256         Likewise.
7257         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7258         Likewise.
7260 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7262         * math/libm-test.inc (MIN_EXP): Directly define as
7263         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7265 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7267         * math/libm-test.inc (MANT_DIG): Directly define as
7268         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7270 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7272         * stdlib/gen-tst-strtod-round.c (main):
7273           Change usage to more closely match the generated
7274           output.  Add usage and compilation instructions.
7275           (string_to_fp): Add and use FILE* parameter as
7276           output target.
7277           (print_fp): Likewise.
7278           (round_str): Likewise.
7279           (round_for_all): Likewise.
7280         * stdlib/tst-strtod-round.c (tests): Move into
7281         * stdlib/tst-strtod-round-data.h: New file.
7283 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7285         [BZ #15479]
7286         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7287         (__round): Do not force "inexact" exception.
7288         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7289         variable.
7290         (__round): Do not force "inexact" exception.
7291         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7292         (__roundf): Do not force "inexact" exception.
7293         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7294         (__roundl): Do not force "inexact" exception.
7295         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7296         (__roundl): Do not force "inexact" exception.
7297         * math/libm-test.inc (round_test_data): Do not allow spurious
7298         "inexact" exceptions.
7300         [BZ #15479]
7301         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7302         exception in comment.
7303         (huge): Remove variable.
7304         (__floor): Do not force "inexact" exception.
7305         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7306         "inexact" exception in comment.
7307         (huge): Remove variable.
7308         (__floor): Do not force "inexact" exception.
7309         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7310         exception in comment.
7311         (huge): Remove variable.
7312         (__floorf): Do not force "inexact" exception.
7313         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7314         exception in comment.
7315         (huge): Remove variable.
7316         (__floorl): Do not force "inexact" exception.
7318         [BZ #15479]
7319         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7320         exception in comment.
7321         (huge): Remove variable.
7322         (__ceil): Do not force "inexact" exception.
7323         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7324         "inexact" exception in comment.
7325         (huge): Remove variable.
7326         (__ceil): Do not force "inexact" exception.
7327         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7328         (__ceilf): Do not force "inexact" exception.
7329         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7330         exception in comment.
7331         (huge): Remove variable.
7332         (__ceill): Do not force "inexact" exception.
7334 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7336         * config.h.in (BIND_NOW): New.
7337         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
7338         * configure: Regenerated.
7339         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7340         indirect branch via the GOT slot.
7342 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7344         [BZ #19765]
7345         * sysdeps/s390/mempcpy.S: New File.
7346         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7348         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7349         Add mempcpy variants.
7350         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7351         (memcpy): Adjust to be usable from mempcpy entry point.
7352         (__memcpy_mvcle): Likewise.
7353         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7354         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7355         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7356         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7357         (__memcpy_z10): Likewise.
7358         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7360 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7362         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7363         Remove __GI_ symbol.
7364         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7365         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7366         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7367         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7368         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7369         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7371 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7373         * sysdeps/s390/s390-64/memcpy.S (memcpy):
7374         Use cghi instead of chi to compare 64bit value.
7376 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7378         * sysdeps/s390/s390-32/memcpy.S (memcpy):
7379         Jump to 1MB check before executing mvc-loop.
7381 2016-05-24  Florian Weimer  <fweimer@redhat.com>
7383         [BZ #6527]
7384         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7385         unconditionally.
7386         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7388 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7390         * stdlib/tst-strtod6.c (do_test): Use new type generic
7391         invocation of the test function.
7392         (test): Refactor into ...
7393         (TEST_STRTOD): New macro base function.
7395 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7397         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7398         (TEST_STRTOD): New macro.
7399         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7401 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7403         * stdlib/tst-strtod6.c (do_test): Use new type generic
7404         invocation of the test function.
7405         (test): Refactor into ...
7406         (TEST_STRTOD): New macro base function.
7408 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7410         CVE-2016-4429
7411         [BZ #20112]
7412         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7413         payload.
7415 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7417         [BZ #20111]
7418         * bits/sockaddr.h (_SS_SIZE): Define.
7419         * bits/socket.h (_SS_SIZE): Remove.
7420         (_SS_PADSIZE): Adjust to account for all padding.
7421         (struct sockaddr_storage): Update comment.  Avoid implicit
7422         padding.
7423         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7424         (_SS_PADSIZE): Adjust to account for all padding.
7425         (struct sockaddr_storage): Update comment.  Avoid implicit
7426         padding.
7427         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7428         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
7429         (_SS_PADSIZE): Adjust to account for all padding.
7430         (struct sockaddr_storage): Update comment.  Avoid implicit
7431         padding.
7432         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
7433         __SS_SIZE is 126 in this version.
7434         * inet/tst-sockaddr.c: New file.
7435         * inet/Makefile (tests): Add tst-sockaddr.c
7436         (tst-sockaddr.c): Compile with non-strict aliasing.
7438 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7440         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7441         [XPG3 || XPG4].
7442         (NL_ARGMAX): Also expect for [XPG3].
7443         (NL_LANGMAX): Likewise.
7444         (NL_MSGMAX): Likewise.
7445         (NL_NMAX): Likewise.
7446         (NL_SETMAX): Likewise.
7447         (NL_TEXTMAX): Likewise.
7448         (NZERO): Likewise.
7449         (TMP_MAX): Likewise.
7450         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7451         variable.
7453         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7454         (PF_MAX): Update value.
7455         (AF_KCM): New macro.
7456         (SOL_NETBEUI): Likewise.
7457         (SOL_LLC): Likewise.
7458         (SOL_DCCP): Likewise.
7459         (SOL_NETLINK): Likewise.
7460         (SOL_TIPC): Likewise.
7461         (SOL_RXRPC): Likewise.
7462         (SOL_PPPOL2TP): Likewise.
7463         (SOL_BLUETOOTH): Likewise.
7464         (SOL_PNPIPE): Likewise.
7465         (SOL_RDS): Likewise.
7466         (SOL_IUCV): Likewise.
7467         (SOL_CAIF): Likewise.
7468         (SOL_ALG): Likewise.
7469         (SOL_NFC): Likewise.
7470         (SOL_KCM): Likewise.
7471         (MSG_BATCH): New enum value and macro.
7473 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7475         [BZ #18185]
7476         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7477         sharing L2 cache to 2 for Knights Landing.
7479 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7481         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7482         (FTW_DP): Do not expect for [XPG3 || XPG4].
7483         (FTW_SL): Do not expect for [XPG3].
7484         (FTW_SLN): Likewise.
7485         (FTW_PHYS): Likewise.
7486         (FTW_MOUNT): Likewise.
7487         (FTW_DEPTH): Likewise.
7488         (FTW_CHDIR): Likewise.
7489         (nftw): Likewise.
7490         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7491         variable.
7493 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7495         * manual/errno.texi: Fix various typos & grammar errors.
7497 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7499         * manual/intro.texi: Fix duplicated typo.
7501 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7503         [BZ #13304]
7504         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7505         <float.h>, <math_private.h> and <stdlib.h>.
7506         (add_split): New function.
7507         (mul_split): Likewise.
7508         (ext_val): New typedef.
7509         (store_ext_val): New function.
7510         (mul_ext_val): New function.
7511         (compare): New function.
7512         (add_split_ext): New function.
7513         (__fmal): After checking for Inf, NaN and zero, compute result as
7514         an exact sum of scaled double values in round-to-nearest before
7515         adding those up and adjusting for other rounding modes.
7516         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7517         tests of fma.
7518         * math/auto-libm-test-out: Regenerated.
7520 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7522         [BZ #20119]
7523         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7524         processor level type mask for CPUID with EAX == 11.
7526 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7528         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7529         logical threads if the HTT bit is 0.
7530         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7531         (index_cpu_HTT): Likewise.
7532         (reg_HTT): Likewise.
7534 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7536         [BZ #20115]
7537         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7538         Remove alignments on jump targets.
7540 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7542         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7543         (getpwent): Likewise.
7544         (setpwent): Likewise.
7545         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7546         variable.
7548         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7549         (remque): Likewise.
7550         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7551         variable.
7553 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7555         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7556         not being tested.
7558 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7561         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7562         call.
7563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7564         (__condvar_cleanup1): Likewise.
7566 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7568         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7569         New
7570         (__pthread_unwind): Renamed to ...
7571         (PTHREAD_UNWIND): This.
7572         (__pthread_enable_asynccancel): Replace
7573         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7575 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7577         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7578         (CLONE_NEWCGROUP): New macro.
7580         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7581         (Q_GETNEXTQUOTA): New macro.
7583 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7585         [BZ #19907]
7586         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7587         buffer updated by the previous run.
7588         * string/test-memcpy.c (do_one_test): Likewise.
7589         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7590         * string/test-memmove.c (do_one_test): Likewise.
7592 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7594         [BZ #20094]
7595         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7596         not [__USE_XOPEN].
7597         (unlockpt): Likewise.
7598         (ptsname): Likewise.
7599         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7600         variable.
7602         [BZ #20076]
7603         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7604         instead of [__USE_UNIX98].
7605         (S_ISSOCK): Likewise.
7606         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7607         variable.
7609         [BZ #20074]
7610         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7611         [__USE_POSIX].
7612         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7613         variable.
7615         [BZ #20051]
7616         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7617         (ttyslot): Do not declare.
7618         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7619         (ttyslot): New prototype.
7620         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7621         variable.
7622         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7624 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7626         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7628 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7630         Fix race condition in tst-mallocfork2, use fewer resources.
7631         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7632         to current process group.
7633         (signal_sender): Yield in the non-sleeping case.
7635 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7637         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7638         (ecvt): Likewise.
7639         (fcvt): Likewise.
7640         (gcvt): Likewise.
7641         (getsubopt): Likewise.
7642         (grantpt): Likewise.
7643         (initstate): Likewise.
7644         (l64a): Likewise.
7645         (mktemp): Likewise.
7646         (mkstemp): Likewise.
7647         (ptsname): Likewise.
7648         (random): Likewise.
7649         (realpath): Likewise.
7650         (setstate): Likewise.
7651         (srandom): Likewise.
7652         (ttyslot): Likewise.
7653         (unlockpt): Likewise.
7654         (valloc): Likewise.
7656         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7657         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7658         variable.
7660 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7662         [BZ #20072]
7663         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7664         init_cpu_features only if SHARED is defined.
7665         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7667 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7669         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7670         non-inclusive caches on Intel processors.
7672 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7674         * malloc/malloc.c (dumped_main_arena_start)
7675         (dumped_main_arena_end): New variables.
7676         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7677         (do_check_chunk): Skip dumped fake mmapped chunks.
7678         (munmap_chunk): Likewise.
7679         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7680         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7681         mmapped chunks.
7682         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7683         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7684         and dumped_main_arena_end to cover the dumped heap.
7686 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7688         * conform/data/time.h-data (getdate_err): Do not expect for
7689         [XPG3].
7690         (getdate): Likewise.
7691         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7692         variable.
7694         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7695         (F_ULOCK): Likewise.
7696         (F_TEST): Likewise.
7697         (F_TLOCK): Likewise.
7698         (useconds_t): Likewise.
7699         (intptr_t): Do not expect for [XPG3] or [XPG4].
7700         (brk): Do not expect for [XPG3]
7701         (fchown): Likewise.
7702         (fchdir): Likewise.
7703         (ftruncate): Likewise.
7704         (getdtablesize): Likewise.
7705         (gethostid): Likewise.
7706         (getpagesize): Likewise.
7707         (getpgid): Likewise.
7708         (getsid): Likewise.
7709         (getwd): Likewise.
7710         (lchown): Likewise.
7711         (lockf): Likewise.
7712         (readlink): Likewise.
7713         (sbrk): Likewise.
7714         (setpgrp): Likewise.
7715         (setregid): Likewise.
7716         (setreuid): Likewise.
7717         (symlink): Likewise.
7718         (sync): Likewise.
7719         (truncate): Likewise.
7720         (ualarm): Likewise.
7721         (usleep): Likewise.
7722         (vfork): Likewise.
7723         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7724         variable.
7726         [BZ #20054]
7727         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7728         not [__USE_UNIX98].
7729         * conform/data/unistd.h-data (gethostname): Do not expect for
7730         [XPG3].
7732         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7733         [!POSIX] (S_IFBLK): Likewise.
7734         [!POSIX] (S_IFCHR): Likewise.
7735         [!POSIX] (S_IFIFO): Likewise.
7736         [!POSIX] (S_IFREG): Likewise.
7737         [!POSIX] (S_IFDIR): Likewise.
7738         [!POSIX] (S_IFLNK): Likewise.
7739         [!POSIX] (S_IFSOCK): Likewise.
7740         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7741         variable.
7742         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7744 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7746         * sysdeps/aarch64/memset.S (__memset):
7747         Rewrite of optimized memset.
7749 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7751         [BZ #19703]
7752         Partially async-signal-safe fork for single-threaded processes.
7753         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7754         variable.  Do not acquire and reset/release malloc and libio locks
7755         in single-threaded processes.
7756         * malloc/tst-mallocfork2.c: New file.
7757         * malloc/Makefile (tests): Add it.
7759 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7761         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7762         argument.  Use scratch buffer instead of extend_alloca.
7763         (gethosts): Use scratch buffer instead of extend_alloca.
7764         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7765         extend_alloca.
7766         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7768 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7770         [BZ #20055]
7771         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7772         instead of [__USE_UNIX98].
7773         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7774         [__USE_UNIX98].
7775         * conform/data/termios.h-data (tcgetsid): Do not expect for
7776         [XPG3].
7777         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7778         variable.
7779         (test-xfail-XPG4/termios.h/conform): Likewise.
7781 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7783         Do not use mcheck in localedef.
7784         * locale/programs/localedef.c (turn_on_mcheck)
7785         (__malloc_initialize_hook): Remove.
7787 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7789         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7790         * sysdeps/s390/s390-64/Makefile: Likewise.
7792 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7794         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7795         Remove ifunc-defines.sym.
7796         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7797         Likewise.
7798         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7799         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7800         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7801         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7802         rtld-global-offsets.sym.
7803         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7804         * sysdeps/x86/cpu-features-offsets.sym: This.
7805         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7806         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7808 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7810         [BZ #20073]
7811         * io/sys/stat.h (fchmod): Declare for
7812         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7813         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7814         variable.
7816         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7817         [XPG3] (S_IFSOCK): Likewise.
7818         [XPG3] (S_ISVTX): Likewise.
7819         [XPG3] (S_ISLNK): Likewise.
7820         [XPG3] (S_ISSOCK): Likewise.
7821         [XPG3] (fchmod): Likewise.
7822         [XPG3] (lstat): Likewise.
7823         [XPG3] (mknod): Likewise.
7825         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7826         [XPG3].  Expect type long and XFAIL for [XPG4].
7827         (st_blocks): Likewise.
7829         [BZ #20044]
7830         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7831         (pthread_atfork): New prototype.
7832         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7833         variable.
7835         [BZ #20043]
7836         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7837         prototype.
7839 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7841         [BZ #20017]
7842         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7843         gmtime.
7845 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7847         [BZ #19994]
7848         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7849         flag in _res.options.
7851 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7853         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7854         [XPG3 || XPG4].
7855         (blksize_t): Likewise.
7856         (clockid_t): Likewise.
7857         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7858         variable.
7859         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7861 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7863         * sysdeps/unix/sysv/linux/s390/init-first.c:
7864         Add VDSO_SYMBOL(getcpu).
7865         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7866         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7867         Add VDSO_SYMBOL(getcpu).
7868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7869         New define HAVE_GETCPU_VSYSCALL.
7870         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7872 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7874         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7875         instead of <sysdeps/x86_64/cacheinfo.c>.
7876         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7877         * sysdeps/x86/cacheinfo.c: Here.
7879 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7881         * malloc/malloc-internal.h: Adjust header file guard.
7883 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7885         [BZ #19787]
7886         * inet/getnameinfo.c (check_sprintf_result): New function.
7887         (CHECKED_SNPRINTF): New macro.
7888         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7889         to the host buffer.
7890         (gni_host_local): Use checked_copy to copy the host name.
7891         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7892         (gni_serv_local): Use checked_copy to copy the service name.
7893         (getnameinfo): Remove unnecessary truncation of result buffers.
7895 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7897         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7898         in case of inet_ntop failure.
7900 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7902         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7903         avoid long lines.
7904         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7905         variables.
7906         (gni_host_inet, gni_host_local): Add comment.
7907         (gni_host): Add comment.  Use temporary to avoid long lines.
7909 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7911         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7912         registers specifiers where general purpose registers specifiers should
7913         have been used.
7915 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7917         [BZ #19779]
7918         CVE-2016-1234
7919         Avoid copying names of directory entries.
7920         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7921         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7922         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7923         (struct readdir_result): New type.
7924         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7925         (GL_READDIR): New macros.
7926         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7927         (convert_dirent, convert_dirent64): New functions.
7928         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7929         convert_dirent64.  Adjust references to the readdir result.
7930         * sysdeps/unix/sysv/linux/i386/glob64.c:
7931         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7932         * posix/bug-glob2.c (LONG_NAME): Define.
7933         (filesystem): Add LONG_NAME.
7934         (my_DIR): Increase the size of room_for_dirent.
7936 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7938         [BZ #20041]
7939         * misc/sys/select.h (__need_timespec): Only define if
7940         [__USE_XOPEN2K].
7941         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7942         variable.
7943         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7944         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7945         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7947 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7948             Segher Boessenkool  <segher@gcc.gnu.org>
7950         [BZ #20004]
7951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7952         (__novec_swapcontext): Add missing load.
7954 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7956         [BZ #20023]
7957         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7958         <time.h>.
7959         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7960         variable.
7961         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7963 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7966         flags CLONE_VM compare.
7968 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7970         [BZ #20031]
7971         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7972         completely empty.
7974 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7976         [BZ #19573]
7977         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7978         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7979         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7980         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7981         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7982         (hesiod_free_list): Mark as hidden.
7983         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7984         res_set, res_get.
7985         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7986         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7987         (hesiod_init): Remove obsolete res_ninit call.
7988         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7989         (hesiod_bind): Do not call init.
7990         (get_txt_records): Use res_mkquery, res_send instead of
7991         res_nmkquery, res_nsend.
7992         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7993         instead of _nss_hesiod_init.
7994         (_nss_hesiod_initgroups_dyn): Likewise.
7995         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7996         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7997         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7999 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8001         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8002         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8004 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8006         * hesiod/hesiod.h: Remove RCS keyword.
8007         * hesiod/hesiod_p.h: Likewise.
8009         * hesiod/hesiod.c: Likewise.
8011 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8013         [BZ #12450]
8014         * locale/iso-639.def: Add Samogitian/sgs.
8016 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8018         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8020         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8022 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8023             Carlos O'Donell  <carlos@redhat.com>
8025         [BZ #19072]
8026         * grp/Makefile (headers): Add grp-merge.h
8027         (routines): Add grp-merge.
8028         * grp/getgrgid_r.c: Include grp-merge.h.
8029         (DEEPCOPY_FN): Define.
8030         (MERGE_FN): Define.
8031         * grp/getgrname_r.c: Include grp-merge.h.
8032         (DEEPCOPY_FN): Define.
8033         (MERGE_FN): Define.
8034         * grp/grp-merge.c: New file.
8035         * grp/grp-merge.h: New file.
8036         * include/grp-merge.h: New file.
8037         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8038         __copy_grp@GLIBC_PRIVATE.
8039         * manual/nss.texi (Actions in the NSS configuration): Describe
8040         return, continue, and merge.
8041         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8042         (DEEPCOPY_FN): Define.
8043         (MERGE_FN): Define.
8044         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8045         (DEEPCOPY_FN): Define.
8046         (MERGE_FN): Define.
8047         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8048         [!MERGE_FN]: Define __merge_einval.
8049         (CHECK_MERGE): Define.
8050         (REENTRANT_NAME): Process merge if do_merge is true.
8051         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8052         (__nss_getent_r): Likewise.
8053         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8054         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8056 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8058         [BZ #20012]
8059         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8060         length to calculate the buffer to read.
8061         (fmemopen_write): Set the buffer position based on bytes written.
8062         (fmemopen_seek): Return EINVAL for invalid whence modes.
8064         [BZ #19957]
8065         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8066         tst-getpid2.
8067         (test): Add tst-clone2.
8068         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8069         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8070         pid/tid fields for CLONE_VM.
8071         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8072         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8073         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8074         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8075         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8076         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8077         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8078         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8080         Likewise.
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8082         Likewise.
8083         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8084         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8085         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8086         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8087         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8088         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8089         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8090         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8092 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8094         [BZ #19642]
8095         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8096         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8097         (gni_serv_local, gni_serv): New functions extracted from
8098         getnameinfo.
8099         (getnameinfo): Call gni_host and gni_serv to perform the
8100         processing.  Always free scratch buffer.
8102 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8104         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8105         remaining bytes in the dest string, with zeros.
8107 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8109         [BZ #20010]
8110         CVE-2016-3706
8111         * sysdeps/posix/getaddrinfo.c
8112         (convert_hostent_to_gaih_addrtuple): New function.
8113         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8114         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8115         AF_INET data.
8117 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8119         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8120         callback function gl_readdir.
8121         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8122         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8123         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8124         memcpy to copy the name.
8125         * manual/pattern.texi (Calling Glob): Document requirements for
8126         implementations of the gl_readdir callback function.
8127         * manual/examples/mkdirent.c: New example.
8128         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8129         per the manual guidance.
8130         * posix/tst-gnuglob.c (my_readdir): Likewise.
8132 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8134         [BZ #20014]
8135         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8136         not [__USE_POSIX].
8137         (getchar_unlocked): Likewise.
8138         (putc_unlocked): Likewise.
8139         (putchar_unlocked): Likewise.
8140         (flockfile): Likewise.
8141         (ftrylockfile): Likewise.
8142         (funlockfile): Likewise.
8143         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8144         variable.
8145         (test-xfail-XPG4/stdio.h/conform): Likewise.
8147         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8148         Expect constant.
8149         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8150         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8151         variable.
8152         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8153         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8155         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8156         [__USE_LARGEFILE64] (off64_t): Likewise.
8157         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8158         variable.
8160 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8162         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8164 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8166         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8167         * resolv/res_init.c: Likewise.
8168         * resolv/res_mkquery.c: Likewise.
8170 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8172         * resolv/res_init.c (isascii): Do not define.  Use definition in
8173         <ctype.h>.
8174         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8175         (LOG_AUTH): Remove.
8176         (SPRINTF): Remove, adjust caller.
8177         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8179 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8181         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8182         SUNSECURITY conditional.
8183         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8185 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8187         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8188         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8189         Remove BSD-related preprocessor conditionals.
8190         * conf/portability.h: Remove.
8192 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8194         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8195         * resolv/res_data.c: Likewise.
8197 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8199         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8200         * resolv/res_data.c: Remove code conditional on ultrix.
8202 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8204         * resolv/res_init.c (RFC1535): Do not define.  Remove
8205         RFC1535 preprocessor conditionals.
8206         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8207         because there configuration options which make the resolver
8208         behavior different.
8210 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8212         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8213         RESOLVSORT preprocessor conditionals.
8214         * resolv/nss_dns/dns-host.c: Likewise.
8215         * resolv/res_init.c: Likewise.
8217 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8219         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8220         is never defined.
8222 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8224         * inet/inet_lnaof.c: Remove SCSS keyword.
8225         * inet/inet_mkadr.c: Likewise.
8226         * inet/inet_net.c: Likewise.
8227         * inet/inet_netof.c: Likewise.
8228         * inet/rcmd.c: Likewise.
8229         * inet/rexec.c: Likewise.
8230         * inet/ruserpass.c: Likewise.
8232 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8234         * resolv/inet_addr.c: Remove _LIBC conditionals.
8235         * resolv/res_data.c: Likewise.
8236         * resolv/res_init.c: Likewise.
8237         * resolv/res_mkquery.c: Likewise.
8238         * resolv/res_libc.c: Update comment.
8239         * resolv/README: Update.
8241 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8243         * resolv/gethnamaddr.c: Remove SCSS keyword.
8244         * resolv/herror.c: Likewise.
8245         * resolv/inet_addr.c: Likewise.
8246         * resolv/inet_net_ntop.c: Likewise.
8247         * resolv/inet_net_pton.c: Likewise.
8248         * resolv/inet_neta.c: Likewise.
8249         * resolv/inet_ntop.c: Likewise.
8250         * resolv/inet_pton.c: Likewise.
8251         * resolv/ns_date.c: Remove RCS keyword.
8252         * resolv/ns_name.c: Likewise.
8253         * resolv/ns_netint.c: Likewise.
8254         * resolv/ns_parse.c: Likewise.
8255         * resolv/ns_print.c: Likewise.
8256         * resolv/ns_samedomain.c: Likewise.
8257         * resolv/ns_ttl.c: Likewise.
8258         * resolv/nsap_addr.c: Likewise.
8259         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8260         * resolv/res_data.c: Remove RCS keyword.
8261         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8262         * resolv/res_init.c: Likewise.
8263         * resolv/res_mkquery.c: Likewise.
8264         * resolv/res_query.c: Likewise.
8265         * resolv/res_send.c: Likewise.
8267 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8269         * conform/data/stdio.h-data (fdopen): Expect also for
8270         [XPG3 || XPG4].
8272         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8273         (fseeko): Likewise.
8274         (ftello): Likewise.
8275         (ftrylockfile): Likewise.
8276         (funlockfile): Likewise.
8277         (getc_unlocked): Likewise.
8278         (getchar_unlocked): Likewise.
8279         (putc_unlocked): Likewise.
8280         (putchar_unlocked): Likewise.
8282 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8284         [BZ #19868]
8285         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8286         DNS packet syntax checks (which were not needed before).  Skip
8287         over non-PTR records.
8289 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8291         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8292         definition.  Include <stddef.h> instead.
8294 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8296         [BZ #19831]
8297         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8298         function.
8299         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8300         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8302 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8304         [BZ #19862]
8305         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8306         (getanswer_r): Do not call syslog.
8307         (gaih_getanswer_slice): Likewise.
8308         * resolv/gethnamaddr.c (AskedForGot): Remove.
8309         (getanswer): Do not call syslog.
8310         (gethostbyaddr): Likewise.
8312 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8314         * conform/data/signal.h-data (union sigval): Expect also if
8315         [XOPEN2K].
8316         (struct sigevent): Likewise.
8317         (SIGEV_NONE): Likewise.
8318         (SIGEV_SIGNAL): Likewise.
8319         (SIGEV_THREAD): Likewise.
8320         (SIGRTMIN): Likewise.
8321         (SIGRTMAX): Likewise.
8322         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8323         variable.
8324         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8326 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8328         [BZ #19830]
8329         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8330         (gaih_getanswer_slice): Likewise.
8331         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8332         Also check for availability of RR metadata.
8334 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8336         [BZ #19825]
8337         * resolv/res_send.c (send_vc): Remove early *resplen2
8338         initialization.  Set *resplen2 on socket error.  Call
8339         close_and_return_error for other errors.
8341 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8343         * sysdeps/unix/sysv/linux/netiucv/iucv.h
8344         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8345         (SCM_IUCV_TRGCLS): New define.
8347 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8349         [BZ #20005]
8350         * libio/fmemopen.c (fmemopen_write): Update internal position after
8351         write.
8352         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8353         * stdio-common/tst-fmemopen4.c: New file..
8355 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
8357         [BZ #19996]
8358         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8359         not [__USE_XOPEN2K].
8360         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8361         variable.
8363         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8364         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8365         variable.
8367         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8368         [__USE_XOPEN2K8].
8369         [__USE_LARGEFILE64] (off64_t): Likewise.
8370         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8371         variable.
8373 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
8375         [BZ #19989]
8376         * libio/stdio.h (cuserid): Do not declare if
8377         [__USE_XOPEN2K && !__USE_GNU].
8378         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8379         variable.
8381 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8383         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8384         (sysdep_routines): Add P8 and PPC64 strcspn targets.
8385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8386         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8387         ifunc'ed strcspn.
8388         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8389         [EALIGN]: Removed.
8390         [END]: Likewise
8391         [STRSPN]: Define instead of the above to control symbol name.
8392         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8393         New file.
8394         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8395         Likewise.
8396         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8397         Likewise.
8398         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8399         Likewise.
8400         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8401         [INITIAL_MASK]: New macro.
8402         [STRCSPN]: Likewise.
8403         [UPDATE_MASK]: Likewise.
8404         [USE_AS_STRCSPN]: Lisewise.
8406 2016-04-25  Florian Weimer  <fweimer@redhat.com>
8408         [BZ #19931]
8409         * stdio-common/tst-vfprintf-width-prec.c: New file.
8410         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8411         (tests-special): Add tst-vfprintf-width-prec-mem.out.
8412         (generated): Add mtrace-related files.
8413         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8414         (tst-%-mem.out): New pattern rule, replaces
8415         tst-printf-bz18872-mem.out.
8416         * stdio-common/vfprintf.c (vfprintf): When handling a precision
8417         specifier, deallocate any previously allocated work buffer.
8419 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8421         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8422         Add nop before __startcontext, add explaining comments.
8424 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
8426         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8427         any more. Notably since IPV6_PKTINFO has been reintroduced with a
8428         completely different API.
8430         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8431         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8432         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8433         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8434         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8435         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8436         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8437         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8438         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8439         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8441 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8443         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8445 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8447         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8448         when it is the default of 0.
8450 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8452         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8453         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8454         (sysdep_routines): Add new strcasestr targets.
8455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8456         (__libc_ifunc_impl_list): Likewise.
8457         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8458         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8459         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8460         * sysdeps/powerpc/powerpc64/power8/Makefile:
8461         New file to add strcasestr-ppc64 to sysdep_routines.
8462         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8463         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8465 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8467         * benchtests/Makefile (wcsmbs-benchset): Include only for
8468         native builds and runs.
8469         (LOCALES): Likewise.
8470         (bench-build): Build timing-type here instead of the bench
8471         target.  Generate locale only for native builds.
8472         * benchtests/README: Add note for cross-building.
8474         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8476         * benchtests/README: Update README to include instructions on
8477         using bench-build.
8479         * Makefile.in (bench-build): New target.
8480         * Rules (PHONY): Add bench-build target.
8481         * benchtests/Makefile (bench): Depend on bench-build.
8482         (bench-build): New target.
8484 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8486         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8487         profil_reply_port.
8488         (profile_waiter): Do not initialize profil_reply_port.
8489         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8490         frequency instead of tick length in us.
8492 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8494         [BZ #18712]
8495         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8496         (__old_mempcpy_small): Likewise.
8497         (__old_strcpy_small): Likewise.
8498         (__old_stpcpy_small): Likewise.
8499         (__old_strpbrk_c2): Fix compat symbol name.
8500         (__old_strpbrk_c3): Likewise.
8501         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8502         (__mempcpy_small): Remove.
8503         (__strcpy_small): Remove.
8504         (__stpcpy_small): Remove.
8506 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8508         [BZ #19400]
8509         * locale/iso-639.def: Add the Talossan/tzl language.
8511 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8513         [BZ #16983]
8514         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8515         comment.  Add "ln" to strchr check on postal_fmt.
8517 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8519         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8520         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8521         tel_dom_fmt.
8523 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8525         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8526         (sysdep_routines): Added __strlen_power8.
8527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8528         __strlen_power8 entry.
8529         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8530         Implementation for POWER8.
8531         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8532         for __strlen_power8.
8533         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8534         Implementation for POWER8.
8536 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8538         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8540 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8542         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8543         Goldmont and Airmont processors.
8545 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8547         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8548         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8549         (__STRING2_SMALL_GET32): Remove.
8550         (memset): Remove.
8551         (__memset_1): Remove.
8552         (__memset_gc): Remove.
8553         (__mempcpy): Remove.
8554         (mempcpy): Remove.
8555         (__mempcpy_args): Remove.
8556         (strchr): Remove.
8557         (strcpy): Remove.
8558         (strcpy_args): Remove.
8559         (__stpcpy_args): Remove.
8560         (__strcmp_cc): Remove.
8561         (__strcmp_gc): Remove.
8562         (strstr): Remove.
8564 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8566         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8567         * nis/nis_call.c (nis_server_cache_add): Likewise.
8569 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8571         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8573 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8575         * malloc/arena.c (__malloc_fork_lock_parent)
8576         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8577         internal_function attribute.
8579 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8581         * stdio-common/printf_fp.c (__printf_fp_l):
8582         Rename ___printf_fp_l to __printf_fp_l and
8583         remove strong alias. Use libc_hidden_def instead
8584         of ldbl_hidden_def macro.
8586 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8588         Remove malloc hooks from fork handler.  They are no longer needed
8589         because malloc runs right before fork, and no malloc calls from
8590         other fork handlers are not possible anymore.
8591         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8592         declarations.
8593         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8594         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8595         (atfork_recursive_cntr): Remove.
8596         (__malloc_fork_lock_parent): Do not override malloc hooks and
8597         thread_arena.
8598         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8599         thread_arena.
8600         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8601         thread_arena instead of save_arena.
8603 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8605         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8606         (thread_atfork, thread_atfork_static): Remove.
8607         * sysdeps/mach/hurd/malloc-machine.h:
8608         (thread_atfork, thread_atfork_static): Remove.
8610 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8612         [BZ #19431]
8613         Run the malloc fork handler as late as possible to avoid deadlocks.
8614         * malloc/malloc-internal.h: New file.
8615         * malloc/malloc.c: Include it.
8616         * malloc/arena.c (ATFORK_MEM): Remove.
8617         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8618         Update comment.
8619         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8620         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8621         Remove outdated comment.
8622         (ptmalloc_init): Do not call thread_atfork.  Remove
8623         thread_atfork_static.
8624         * malloc/tst-malloc-fork-deadlock.c: New file.
8625         * Makefile (tests): Add tst-malloc-fork-deadlock.
8626         (tst-malloc-fork-deadlock): Link against libpthread.
8627         * manual/memory.texi (Aligned Memory Blocks): Update safety
8628         annotation comments.
8629         * sysdeps/nptl/fork.c (__libc_fork): Call
8630         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8631         __malloc_fork_unlock_child.
8632         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8634 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8636         [BZ #19613]
8637         Remove union wait.
8638         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8639         (w_stopsig, w_stopval): Remove.
8640         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8641         stat_loc argument.
8642         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8643         (__WAIT_STATUS_DEFN): Remove.
8644         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8645         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8646         (wait, wait3, wait4): Use int * for the stat_loc argument.
8647         * posix/wait.c (__wait): Likewise.
8648         * posix/wait3.c (__wait3): Likewise.
8649         * posix/wait4.c (__wait4): Likewise.
8650         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8651         (__WAIT_STATUS_DEFN): Remove.
8652         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8653         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8654         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8655         argument.
8656         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8657         * sysdeps/posix/wait3.c (__wait3): Likewise.
8658         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8659         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8660         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8661         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8662         stat_loc argument.
8663         * manual/process.texi (BSD Wait Functions): Remove union wait.
8665 2016-04-13  Andreas Schwab  <schwab@suse.de>
8667         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8668         (test-extras): Add tst-tlsalign-vars.
8669         * math/Makefile: Wrap long lines.
8670         (libm-vec-test-wrappers): Define.
8671         (test-extras): Add $(libm-vec-test-wrappers).
8672         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8673         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8674         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8675         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8676         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8677         (extra-test-objs): Add corresponding objects.
8679 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8681         [BZ #19928]
8682         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8683         New.
8684         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8685         times of shared cache size.
8686         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8687         (VMOVNT): New.
8688         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8689         (VMOVNT): Likewise.
8690         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8691         (VMOVNT): Likewise.
8692         (VMOVU): Changed to movups for smaller code sizes.
8693         (VMOVA): Changed to movaps for smaller code sizes.
8694         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8695         comments.
8696         (PREFETCH): New.
8697         (PREFETCH_SIZE): Likewise.
8698         (PREFETCHED_LOAD_SIZE): Likewise.
8699         (PREFETCH_ONE_SET): Likewise.
8700         Rewrite to use forward and backward loops, which move 4 vector
8701         registers at a time, to support overlapping addresses and use
8702         non temporal store if size is above the threshold and there is
8703         no overlap between destination and source.
8705 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8707         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8708         Include dl-vdso.
8709         * sysdeps/unix/sysv/linux/mips/Versions: Add
8710         __vdso_clock_gettime.
8711         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8712         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8713         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8714         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8715         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8716         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8717         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8718         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8719         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8721 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8723         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8724         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8727         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8728         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8731         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8733         syscalls generation.
8734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8735         [__NR_pwrite64] (__NR_write): Remove define.
8736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8737         [__NR_pwrite64] (__NR_write): Remove define.
8738         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8739         Remove define.
8740         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8741         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8742         Remove define.
8743         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8744         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8745         Linux implementation as base.
8746         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8748         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8749         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8750         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8751         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8754         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8756         syscall generation.
8757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8758         [__NR_pread64] (__NR_pread): Remove define.
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8760         [__NR_pread64] (__NR_pread): Likewise.
8761         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8762         define.
8763         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8764         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8765         Remove define.
8766         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8767         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8768         Linux implementation as base.
8769         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8770         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8771         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8773         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8774         definition.
8775         (__ALIGNMENT_COUNT): Likewise.
8776         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8777         (__ALIGNMENT_COUNT): Likewise.
8778         (SYSCALL_LL): New define.
8779         (SYSCALL_LL64): Likewise.
8780         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8781         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8782         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8783         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8786         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8787         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8788         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8789         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8790         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8792 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8794         [BZ #19865]
8795         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8796         original buffer before retry.
8798 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8800         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8801         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8802         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8803         GLRO(dl_auxv) list.
8804         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8805         including <ldsodefs.h>.
8806         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8808 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8810         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8811         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8812         $(CPPFLAGS).
8814 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8816         [BZ #17950]
8817         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8818         Add -mfpmath=387.
8820 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8822         * sysdeps/i386/configure.ac: Change == to = when calling test.
8823         * sysdeps/x86_64/configure.ac: Likewise.
8824         * sysdeps/i386/configure: Regenerated.
8825         * sysdeps/x86_64/configure: Likewise.
8827 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8829         [BZ #16137]
8830         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8831         * benchtests/bench-strcoll.c (input_files): Likewise.
8832         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8833         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8834         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8836 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8838         [BZ #19929]
8839         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8840         [__USE_XOPEN2K8 && !__USE_GNU].
8841         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8842         variable.
8844         [BZ #19925]
8845         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8846         define if [!__USE_MISC && __USE_XOPEN2K].
8847         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8848         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8849         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8850         Likewise.
8851         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8852         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8853         variable.
8854         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8856 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8858         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8859         (sysdep_routines): Add new strspn targets.
8860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8861         (__libc_ifunc_impl_list): Add strspn.
8862         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8863         New file.
8864         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8865         Likewise.
8866         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8867         Likewise.
8868         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8869         Likewise.
8871 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8873         * misc/hsearch_r.c: Include <limits.h>.
8875 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8877         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8879 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8881         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8882         (MEMCPY_SYMBOL): New.
8883         (MEMPCPY_SYMBOL): Likewise.
8884         (MEMMOVE_CHK_SYMBOL): Likewise.
8885         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8886         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8887         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8888         Provide alias for memcpy in libc.a and ld.so.
8890 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8892         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8893         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8894         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8895         Disabled fro now.
8896         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8897         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8899 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8901         * benchtests/Makefile (string-benchset): Add memcpy-large,
8902         memmove-large and memset-large.
8903         * benchtests/bench-memcpy-large.c: New file.
8904         * benchtests/bench-memmove-large.c: Likewise.
8905         * benchtests/bench-memmove-large.c: Likewise.
8906         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8908 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8910         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8911         32-bit displacement to avoid long nop between instructions.
8913 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8915         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8916         a comment on VMOVU and VMOVA.
8918 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8920         [BZ #19633]
8921         Use specified locale for number formatting in strfmon_l.
8922         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8923         (__nl_lookup_word): New inline functions.
8924         * include/printf.h (__print_fp_l): Declare.
8925         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8926         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8927         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8928         (___printf_fp): New function.
8929         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8930         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8931         * stdlib/tst-strfmon_l.c (do_test): New test.
8932         * stdlib/Makefile (tests): Add kt.
8933         (LOCALES): Build additional locales.
8934         (tst-strfmon_l.out): Require locales.
8936 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8938         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8939         if not in libc.
8940         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8941         Likewise.
8942         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8943         Likewise.
8944         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8945         Likewise.
8947 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8949         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8950         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8951         with unaligned_erms.
8952         (__memmove_erms): Skip if source == destination.
8953         (__memmove_unaligned_erms): Don't check source == destination
8954         first.
8956 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8958         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8959         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8961 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8963         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8964         * string/strspn.c (strspn): Likewise.
8966 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8968         * benchtests/bench-memset.c (do_test): Support 64-byte
8969         alignment.
8970         (test_main): Test 64-byte alignment.
8972 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8974         * benchtests/bench-memmove.c (test_main): Test 64-byte
8975         alignment.
8977 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8979         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8981 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8983         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8984         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8985         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8987         * string/strpbrk.c (strpbrk): Rewrite function.
8988         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8989         (__strpbrk_c2): Likewise.
8990         (__strpbrk_c3): Likewise.
8991         * string/string-inlines.c
8992         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8993         Likewise.
8994         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8995         Likewise.
8997         * string/strspn.c (strcspn): Rewrite function.
8998         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8999         (__strspn_c1): Remove inline function.
9000         (__strspn_c2): Likewise.
9001         (__strspn_c3): Likewise.
9002         * string/string-inlines.c
9003         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9004         compatibility symbol.
9005         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9006         Likewise.
9007         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9008         Likewise.
9009         * string/string-inlines.c: Include generic version.
9011 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9012             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9014         * string/Version (libc): Add GLIBC_2.24.
9015         * string/strcspn.c (strcspn): Rewrite function.
9016         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9017         (__strcspn_c1): Remove inline function.
9018         (__strcspn_c2): Likewise.
9019         (__strcspn_c3): Likewise.
9020         * string/string-inline.c
9021         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9022         compatibility symbol.
9023         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9024         Likewise.
9025         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9026         Likewise.
9027         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9029 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9031         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9032         Use ahi instead of aghi to adjust stack pointer.
9034 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9036         [BZ #19853]
9037         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9038         TEST to take significant digits as second parameter.
9039         [TEST]: Redefine in terms of TEST_N taking 30
9040         significant digits.
9041         (do_test): Add test case to demonstrate precision
9042         failure in the ldbl-128ibm printf.
9043         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9044         (__mpn_extract_long_double): Carry 7 extra intermediate
9045         bits of precision to aide computing difference when
9046         signs differ.
9048 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9050         [BZ #19881]
9051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9052         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9053         memset-avx512-unaligned-erms.
9054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9055         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9056         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9057         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9058         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9059         __memset_sse2_unaligned_erms, __memset_erms,
9060         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9061         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9062         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9063         file.
9064         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9065         Likewise.
9066         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9067         Likewise.
9068         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9069         Likewise.
9071 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9073         [BZ #19776]
9074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9075         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9076         memmove-avx512-unaligned-erms.
9077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9078         (__libc_ifunc_impl_list): Test
9079         __memmove_chk_avx512_unaligned_2,
9080         __memmove_chk_avx512_unaligned_erms,
9081         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9082         __memmove_chk_sse2_unaligned_2,
9083         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9084         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9085         __memmove_avx512_unaligned_erms, __memmove_erms,
9086         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9087         __memcpy_chk_avx512_unaligned_2,
9088         __memcpy_chk_avx512_unaligned_erms,
9089         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9090         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9091         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9092         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9093         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9094         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9095         __mempcpy_chk_avx512_unaligned_erms,
9096         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9097         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9098         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9099         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9100         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9101         __mempcpy_erms.
9102         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9103         file.
9104         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9105         Likwise.
9106         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9107         Likwise.
9108         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9109         Likwise.
9111 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9113         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9114         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9115         (La_s390_64_regs): Likewise.
9116         (La_s390_32_retval): Append vector register lrv_v24.
9117         (La_s390_64_retval): Likeweise.
9118         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9119         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9120         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9121         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9123 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9125         [BZ #19916]
9126         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9127         to create a non-vector/vector version for _dl_runtime_resolve and
9128         _dl_runtime_profile. Move implementation to ...
9129         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9130         (_dl_runtime_resolve) Save and restore fpr/vrs.
9131         (_dl_runtime_profile) Save and restore vrs and fix some issues
9132         if _dl_call_pltexit is called.
9133         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9134         Choose the correct resolver function if running on a machine with vx.
9135         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9136         to create a non-vector/vector version for _dl_runtime_resolve and
9137         _dl_runtime_profile. Move implementation to ...
9138         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9139         (_dl_runtime_resolve) Save and restore fpr/vrs.
9140         (_dl_runtime_profile) Save and restore vrs and fix some issues
9141         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9142         Choose the correct resolver function if running on a machine with vx.
9144 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9146         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9148 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9150         [BZ #19509]
9151         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9152         skip_map != NULL.
9153         * elf/tst-dlsym-error.c: New file.
9154         * elf/Makefile (tests): Add tst-dlsym-error.
9155         (tst-dlsym-error): Link against libdl.
9157 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9159         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9160         (__ASSUME_FUTIMESAT): Remove macro.
9161         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9163 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9165         [BZ #19879]
9166         CVE-2016-3075
9167         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9168         copy name.
9170 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9172         [BZ #19837]
9173         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9174         error if parse_line fails.
9176 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9178         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9179         (index_cpu_ERMS): Likewise.
9180         (reg_ERMS): Likewise.
9182 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9184         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9185         PER_LINUX_FDPIC): Add.
9187 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9190         memcpy-avx512-no-vzeroupper.
9191         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9192         to ...
9193         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9194         (MEMCPY): Don't define.
9195         (MEMCPY_CHK): Likewise.
9196         (MEMPCPY): Likewise.
9197         (MEMPCPY_CHK): Likewise.
9198         (MEMPCPY_CHK): Renamed to ...
9199         (__mempcpy_chk_avx512_no_vzeroupper): This.
9200         (MEMPCPY_CHK): Renamed to ...
9201         (__mempcpy_chk_avx512_no_vzeroupper): This.
9202         (MEMCPY_CHK): Renamed to ...
9203         (__memmove_chk_avx512_no_vzeroupper): This.
9204         (MEMCPY): Renamed to ...
9205         (__memmove_avx512_no_vzeroupper): This.
9206         (__memcpy_avx512_no_vzeroupper): New alias.
9207         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9209 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9211         [BZ #18858]
9212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9213         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9214         and mempcpy-avx512-no-vzeroupper.
9215         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9216         New.
9217         (MEMPCPY): Likewise.
9218         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9219         (MEMPCPY_CHK): New.
9220         (MEMPCPY): Likewise.
9221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9222         (MEMPCPY): Likewise.
9223         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9224         (MEMPCPY): Likewise.
9225         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9226         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9227         Likewise.
9228         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9229         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9231 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9232              Amit Pawar  <Amit.Pawar@amd.com>
9234         [BZ #19583]
9235         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9236         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9237         processors.  Set Fast_Copy_Backward for AMD Excavator
9238         processors.
9239         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9240         New.
9241         (index_arch_Fast_Unaligned_Copy): Likewise.
9242         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9243         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9245 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9247         [BZ #19791]
9248         * resolv/res_send.c (close_and_return_error): New function.
9249         (send_dg): Initialize *resplen2 after reopen failure.  Call
9250         close_and_return_error for error returns.  On error paths without
9251         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9252         successful return.
9254 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9256         [BZ# 19860]
9257         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9258         zero if the compiler does not provide the AVX512F bit.
9260 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9262         [BZ #19848]
9263         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9264         from 8 to 4.
9265         (__ieee754_powl): Compare integer exponent against 4 not 8.
9266         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9267         from 8 to 4.
9268         (__ieee754_powl): Compare integer exponent against 4 not 8.
9269         * math/auto-libm-test-in: Add more tests of pow.
9270         * math/auto-libm-test-out: Regenerated.
9271         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9274 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9276         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9277         Make code unconditional.
9278         [!__NR_utimensat]: Remove conditional code.
9279         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9280         Make code unconditional.
9281         [!__NR_utimensat]: Remove conditional code.
9282         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9283         Make code unconditional.
9284         [!__NR_utimensat]: Remove conditional code.
9286 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9288         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9289         Make code unconditional.
9291 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9293         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9294         call-clobbered %eax on retry path.
9295         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9297 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9299         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9300         Don't set %rcx twice before "rep movsb".
9302 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9304         [BZ #19583]
9305         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9306         inline.  Check family before setting family, model and
9307         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
9308         bits here.
9309         (init_cpu_features): Replace HAS_CPU_FEATURE and
9310         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9311         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
9312         for Intel processors with usable AVX2.  Call get_common_indeces
9313         for other processors with family == NULL.
9314         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9315         (CPU_FEATURES_ARCH_P): Likewise.
9316         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9317         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9319 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9321         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9322         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9323         $(shared-thread-library) instead of hardcoding the path to libpthread.
9325 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9327         * sysdeps/unix/sysv/linux/kernel-features.h
9328         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9329         * sysdeps/unix/sysv/linux/getdents.c
9330         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9331         [!have_no_getdents64_defined]: Likewise.
9332         (__GETDENTS): Remove __have_no_getdents64 conditional.
9334 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
9336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9337         Remove macro.
9338         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9339         <kernel-features.h>.
9340         (signalfd) [__NR_signalfd4]: Make code unconditional.
9341         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9343 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9345         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9346         style.
9348 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9350         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9351         (__pthread_enable_asynccancel): Use JUMPTARGET to call
9352         __pthread_unwind.
9353         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9354         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9355         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9356         (__condvar_cleanup1): Likewise.
9358 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
9360         [BZ #19822]
9361         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9362         move it to the final $@ location.
9364 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9366         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9367         access where posix_spawn success and pid argument is null.
9368         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9369         success case.
9371 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
9373         * sysdeps/mach/hurd/i386/c++-types.data: New file.
9375         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9377         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9378         and __fcntl.
9379         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9380         __fcntl only.
9381         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9382         adding attribute_hidden to __open and __fcntl.
9384         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9385         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9386         depend on libc-modules.h,
9387         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9389 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
9391         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9392         Remove macro.
9393         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9394         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9395         entry.
9397         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9398         Remove macro.
9399         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9400         include <kernel-features.h>.
9401         [!__ASSUME_FALLOCATE]: Remove conditional code.
9402         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9404 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9406         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9407         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9408         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9409         (_ZGVdN4v_cos_avx2): Likewise.
9410         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9411         (_ZGVdN4v_cos): Likewise.
9412         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9413         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9414         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9415         (_ZGVdN4v_exp_avx2): Likewise.
9416         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9417         (_ZGVdN4v_exp): Likewise.
9418         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9419         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9420         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9421         (_ZGVdN4v_log_avx2): Likewise.
9422         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9423         (_ZGVdN4v_log): Likewise.
9424         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9425         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9426         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9427         (_ZGVdN4vv_pow_avx2): Likewise.
9428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9429         (_ZGVdN4vv_pow): Likewise.
9430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9431         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9433         (_ZGVdN4v_sin_avx2): Likewise.
9434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9435         (_ZGVdN4v_sin): Likewise.
9436         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9437         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9439         (_ZGVdN4vvv_sincos_avx2): Likewise.
9440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9441         (_ZGVdN4vvv_sincos): Likewise.
9442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9443         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9444         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9445         (_ZGVbN4v_cosf_sse4): Likewise.
9446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9447         (_ZGVdN8v_cosf_avx2): Likewise.
9448         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9449         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9450         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9451         (_ZGVbN4v_expf_sse4): Likewise.
9452         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9453         (_ZGVdN8v_expf_avx2): Likewise.
9454         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9455         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9456         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9457         (_ZGVbN4v_logf_sse4): Likewise.
9458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9459         (_ZGVdN8v_logf_avx2): Likewise.
9460         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9461         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9462         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9463         (_ZGVbN4vv_powf_sse4): Likewise.
9464         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9465         (_ZGVdN8vv_powf_avx2): Likewise.
9466         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9467         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9469         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9470         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9471         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9472         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9473         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9474         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9475         (_ZGVbN4v_sinf_sse4): Likewise.
9476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9477         (_ZGVdN8v_sinf_avx2): Likewise.
9478         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9479         Use JUMPTARGET to call callee.
9480         (WRAPPER_IMPL_SSE2_ff): Likewise.
9481         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9482         (WRAPPER_IMPL_AVX): Likewise.
9483         (WRAPPER_IMPL_AVX_ff): Likewise.
9484         (WRAPPER_IMPL_AVX_fFF): Likewise.
9485         (WRAPPER_IMPL_AVX512): Likewise.
9486         (WRAPPER_IMPL_AVX512_ff): Likewise.
9487         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9488         Likewise.
9489         (WRAPPER_IMPL_SSE2_ff): Likewise.
9490         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9491         (WRAPPER_IMPL_AVX): Likewise.
9492         (WRAPPER_IMPL_AVX_ff): Likewise.
9493         (WRAPPER_IMPL_AVX_fFF): Likewise.
9494         (WRAPPER_IMPL_AVX512): Likewise.
9495         (WRAPPER_IMPL_AVX512_ff): Likewise.
9496         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9498 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9500         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9501         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9502         qualifier.
9503         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9504         internal_function qualifiers.
9506 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9508         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9509         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9510         * math/atest-exp.c (exp_mpn): Mark chk unused.
9511         * math/atest-exp2.c (exp_mpn): Likwise.
9512         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9513         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9515 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9517         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9518         Remove macro.
9519         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9520         <kernel-features.h>.
9521         [__NR_ppoll]: Make code unconditional.
9522         [!__ASSUME_PPOLL]: Remove conditional code.
9524         * sysdeps/unix/sysv/linux/kernel-features.h
9525         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9526         (__ASSUME_ACCEPT4): Likewise.
9527         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9528         Define.
9529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9530         Likewise.
9531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9532         Likewise.
9533         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9536         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9538         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9539         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9540         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9541         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9542         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9543         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9544         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9545         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9546         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9547         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9548         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9549         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9550         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9551         Likewise.
9552         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9553         Likewise.
9554         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9555         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9556         0x040300].
9557         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9558         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9559         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9560         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9561         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9562         0x030300].
9563         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9564         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9565         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9566         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9567         0x040300].
9568         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9569         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9571         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9572         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9573         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9574         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9575         0x030300].
9576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9577         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9578         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9579         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9580         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9581         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9582         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9583         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9584         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9585         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9586         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9587         0x040300].
9588         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9589         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9590         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9591         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9592         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9593         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9594         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9595         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9596         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9597         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9598         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9599         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9600         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9601         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9602         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9603         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9604         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9605         Likewise.
9606         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9607         Likewise.
9609 2016-03-15  Andreas Schwab  <schwab@suse.de>
9611         [BZ #19257]
9612         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9613         statp->_u._ext.nscount as loop count.
9615 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9617         * math/test-signgam-finite-c99.c: Also #undef
9618         __LIBC_INTERNAL_MATH_INLINES.
9619         * math/test-signgam-main.c: Likewise.
9621 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9623         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9624         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9625         (MADV_FREE): Likewise.
9626         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9627         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9628         EPOLLEXCLUSIVE.
9630 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9632         * timezone/README: Remove mention of checktab.awk. Mention wiki
9633         SharedSourceFiles.
9635 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9637         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9638         WUNTRACED.
9640 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9642         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9643         order to match the type of p when calling atomic_exchange_acq().
9645 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9647         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9648         cfi_offset calls.
9649         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9650         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9651         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9652         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9653         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9655 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9657         * timezone/checktab.awk: Removed.
9659 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9661         * manual/math.texi (Errors in Math Functions): Document relaxed
9662         accuracy goals for IBM long double.
9663         * math/libm-test.inc (test_exceptions): Always allow spurious
9664         "underflow" and "inexact" exceptions for IBM long double.
9666 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9668         [BZ #19762]
9669         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9670         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9671         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9672         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9673         (bit_arch_*): This for feature array.
9674         (bit_*): Renamed to ...
9675         (bit_cpu_*): This for cpu array.
9676         (index_*): Renamed to ...
9677         (index_arch_*): This for feature array.
9678         (index_*): Renamed to ...
9679         (index_cpu_*): This for cpu array.
9680         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9681         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9682         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9683         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9684         bit_##name with index_cpu_##name and bit_cpu_##name.
9685         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9686         bit_##name with index_arch_##name and bit_arch_##name.
9688 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9690         [BZ #19792]
9691         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9692         Terminate FDE before return label.
9694 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9696         [BZ #19790]
9697         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9698         (rintl): Define as macro.
9699         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9700         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9701         of fesetround.  Ensure results are evaluated before end of scope.
9702         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9703         USE_AS_NEARBYINTL and include s_rintl.c.
9704         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9705         Disable exception traps in new environment.
9706         (libc_feholdsetround_ppc_ctx): Likewise.
9708 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9710         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9711         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9712         (tst_audit10_aux) [__AVX512F__]: ... here.
9714 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9716         * include/sys/auxv.h: New file.
9718 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9720         [BZ #19759]
9721         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9723 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9725         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9726         operand modifier.
9727         (feclearexcept): Likewise.
9729 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9731         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9732         to reflect the entire 32-bit HWCAP.
9733         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9734         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9736 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9738         [BZ #19783]
9739         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9740         $(test-via-rtld-prefix).
9741         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9743 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9745         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9746         union wait.  Report any non-zero exit status as error.
9748 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9750         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9751         configured with --enable-hardcoded-path-in-tests.
9753 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9755         [BZ #19677]
9756         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9757         (__ieee754_remainderl): Put zero low parts in canonical form.
9758         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9759         file.  Based on
9760         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9761         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9762         with wrapper round test-fmodrem-ldbl-128ibm.c.
9763         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9764         file.
9765         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9766         Likewise.
9767         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9768         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9770 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9772         [BZ #19610]
9773         * elf/ldconfig.c (opt_link): Update comment.
9774         (options): Update help string for option -X.
9775         (search_dir): Unlink stale symbolic link only if updating symbolic
9776         links.
9777         * elf/tst-ldconfig-X.sh: New file.
9778         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9779         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9781 2016-03-07  Andreas Schwab  <schwab@suse.de>
9783         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9784         needed arguments.
9786 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9788         [BZ #15333]
9789         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9790         to lstat64.
9792 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9794         * libio/filedoalloc.c (isatty): Remove.
9795         (local_isatty): Add comment.  Call __isatty directly.
9796         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9797         * libio/wfiledoalloc.c (isatty): Remove.
9798         (_IO_wfile_doallocate): Update comment.
9800 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9802         [BZ #19269]
9803         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9804         tst-audit4-aux.o.
9805         (tst-audit10): Depend on tst-audit10-aux.o.
9806         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9807         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9808         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9809         instead of inline AVX code.
9810         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9811         instead of inline AVX512 code.
9812         * sysdeps/x86_64/tst-audit4-aux.c: New file
9813         * sysdeps/x86_64/tst-audit10-aux.c: New file
9815         [BZ #19648]
9816         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9818 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9820         [BZ #14750]
9821         [BZ #10354]
9822         [BZ #18433]
9823         * include/sched.h (__clone): Add hidden prototype.
9824         (__clone2): Likewise.
9825         * include/unistd.h (__dup): Likewise.
9826         * posix/Makefile (tests): Add tst-spawn2.
9827         * posix/tst-spawn2.c: New file.
9828         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9829         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9830         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9831         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9832         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9833         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9834         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9835         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9836         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9837         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9838         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9840         Likewise.
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9842         Likewise.
9843         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9844         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9845         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9846         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9847         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9848         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9849         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9850         * sysdeps/unix/sysv/linux/nptl-signals.h
9851         (____nptl_is_internal_signal): New function.
9852         * sysdeps/unix/sysv/linux/spawni.c: New file.
9854         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9855         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9856         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9857         * posix/tst-execvp2.c (do_test): Likewise.
9858         * posix/tst-execvp3.c (do_test): Likewise.
9859         * posix/tst-execvp4.c (do_test): Likewise.
9860         * posix/tst-execvpe1.c: New file.
9861         * posix/tst-execvpe2.c: Likewise.
9862         * posix/tst-execvpe3.c: Likewise.
9863         * posix/tst-execvpe4.c: Likewise.
9864         * posix/tst-execvpe5.c: Likewise.
9865         * posix/tst-execvpe6.c: Likewise.
9867         [BZ #19534]
9868         * posix/execl.c (execl): Remove dynamic memory allocation.
9869         * posix/execle.c (execle): Likewise.
9870         * posix/execlp.c (execlp): Likewise.
9872 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9874         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9875         Replace .text with .text.avx512.
9876         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9877         Likewise.
9879 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9881         * sysdeps/generic/libnsl.abilist: New file.
9882         * sysdeps/generic/libutil.abilist: New file.
9884 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9886         [BZ #19762]
9887         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9888         HAS_ARCH_FEATURE with Fast_Rep_String.
9889         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9890         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9891         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9892         Likewise.
9893         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9894         Likewise.
9895         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9896         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9897         Likewise.
9898         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9899         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9900         Likewise.
9902 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9904         [BZ #19745]
9905         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9906         with *%rax in call.
9908 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9910         [BZ #19745]
9911         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9912         with *__libc_start_main@GOTPCREL(%rip) in call.
9914 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9916         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9917         inside conditional for nonempty $(CXX).
9919         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9920         nonempty.
9922         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9923         to test for empty $(CXX) rather than $(CXX) of "no".
9925 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9927         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9929 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9930             H.J. Lu  <hongjiu.lu@intel.com>
9932         [BZ #18880]
9933         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9934         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9935         enable __memcpy_ssse3_back.
9937 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9939         [BZ #19758]
9940         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9941         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9943 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9945         [BZ #19490]
9946         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9947         (__fentry__): Likewise.
9949 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9951         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9952         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9954 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9956         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9957         __mcount_internal directly.
9958         (C_LABEL(__fentry__)): Likewise.
9959         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9960         directly.
9962 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9964         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9965         (__start_context): Call __setcontext directly.
9967 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9970         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9971         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9972         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9973         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9974         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9975         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9976         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9977         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9978         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9979         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9980         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9981         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9982         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9983         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9984         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9985         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9986         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9987         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9988         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9989         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9990         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9991         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9992         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9993         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9994         Remove conditional code.
9995         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9996         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9997         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9998         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9999         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10000         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10001         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10002         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10003         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10004         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10005         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10006         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10008 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10010         * NEWS (2.23): Fix typo in bug 19048 text.
10012 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10014         [BZ #14259]
10015         * Makeconfig: Rename msgcatdir to localedir.
10016         Rename inst_msgcatdir to inst_localedir.
10017         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10018         * config.make.in: Add localedir.
10019         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10020         (ldd-rewrite): Likewise.
10021         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10022         (install-others): Use inst_localedir.
10023         (CPPFLAGS): Use localedir.
10024         * locale/Makefile (locale-CPPFLAGS): Likewise.
10025         * po/Makefile (mo-installed): Use inst_localedir.
10027         [BZ #19575]
10028         * localedata/charmaps/GB18030: Update comments regarding PAU to
10029         non-PUA mappings.
10031 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10033         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10034         test for header.
10035         * sysdeps/unix/sysv/linux/configure: Regenerated.
10036         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10037         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10038         Remove conditional code.
10039         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10041         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10042         Define to 3.2.0.
10043         (arch_minimum_kernel): Likewise.
10044         * sysdeps/unix/sysv/linux/configure: Regenerated.
10045         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10046         Define to 2.6.32.
10047         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10048         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10049         (arch_minimum_kernel): Define to 2.6.32.
10050         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10051         * README: Document Linux 3.2 requirement.
10052         * manual/install.texi (Linux): Document Linux 3.2 headers
10053         requirement.
10054         * INSTALL: Regenerated.
10056 2016-02-24  Andreas Schwab  <schwab@suse.de>
10058         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10059         if !NO_LONG_DOUBLE.
10061 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10063         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10064         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10066 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10068         [BZ #19512]
10069         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10071 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10073         * posix/tst-dir.c: Include libc-internal.h.
10075 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10077         [BZ #19056]
10078         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10079         * manual/filesys.texi (Reading/Closing Directory): Mention
10080         deprecaion.
10081         * posix/tst-dir.c (main): Disable deprecation warning in test.
10083 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10085         [BZ #19679]
10086         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10087         Renamed to ...
10088         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10089         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10090         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10091         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10092         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10093         * sysdeps/x86_64/dl-trampoline.h
10094         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10095         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10097 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10099         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10101 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10103         * elf/elf.h (R_386_GOT32X): New.
10104         (R_386_NUM): Update.
10105         (R_X86_64_GOTPCRELX: New.
10106         (R_X86_64_REX_GOTPCRELX): New.
10107         (R_X86_64_NUM): Update.
10109 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10111         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10113 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10115         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10116         assign attr->stackaddr to it, and adjust it down when
10117         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10118         [_STACK_GROWS_UP]: Delete assert.
10119         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10120         Implement stack grows up logic.
10121         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10122         stack grows up logic.
10124 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10126         * NEWS: Update with 2.24 template.
10128 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10130         [BZ #19678]
10131         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10132         Ensure +0.0 is returned when taking the next value below the least
10133         positive value.
10135 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10137         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10138         available.  Do not define NO_THREADS.
10139         * malloc/malloc.c: Do not check NO_THREADS.
10140         * malloc/arena.c: Likewise.
10142 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10144         * malloc/malloc.c (__libc_mallinfo): Update comment.
10145         (struct malloc_par): Remove max_total_mem member, it was always 0.
10146         (int_mallinfo): Store 0 into usmblks (no functional change).
10147         * malloc/hooks.c (struct malloc_state): Document that
10148         max_total_mem is always 0.
10149         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10150         always 0.
10151         * manual/memory.texi (Statistics of Malloc): Likewise.
10153 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10155         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10156         * malloc/arena.c (arena_max): Remove.
10157         (heap_trim, _int_new_arena): Do not update arena_max.
10159 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10161         * resolv/res_init.c (res_ninit): Update comment.
10163 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10165         [BZ #19505]
10166         * posix/spawn_int.h: Add headers and include guard.
10167         (__spawn_valid_fd): New function.
10168         * posix/spawn_faction_addopen.c
10169         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10170         * posix/spawn_faction_addclose.c
10171         (posix_spawn_file_actions_addclose): Likewise.
10172         * posix/spawn_faction_adddup2.c
10173         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10174         second file descriptor.
10175         * posix/spawn_valid_fd.c: New file.
10176         * posix/tst-posix_spawn-fd.c: New file.
10177         * posix/Makefile (routines): Add spawn_valid_fd.
10178         (tests): Add tst-posix_spawn-fd.
10180 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10182         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10183         (do_test): Limit the number of arenas, so that we can use fewer
10184         outer threads.  Limit timeout to 3 seconds, in preparation for a
10185         larger TIMEOUT value.
10187 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10189         [BZ #19674]
10190         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10191         sign in overflowing and underflowing results when overflow or
10192         underflow is detected early.  Include sign in result before rather
10193         than after scaling.
10195         [BZ #19603]
10196         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10197         (__ieee754_remainderl): Adjust sign of integer version of low part
10198         when taking absolute value of high part.
10199         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10200         * math/libm-test.inc (remainder_test_data): Add another test.
10201         (remquo_test_data): Likewise.
10203 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10205         [BZ #19602]
10206         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10207         equal high parts and both low parts zero specially.
10208         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10209         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10210         Add test-fmodl-ldbl-128ibm.
10212         [BZ #19595]
10213         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10214         common logic for all cases of shifting subnormal results.  Do not
10215         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10216         exponent to ldbl_insert_mantissa in subnormal case.
10218         [BZ #19594]
10219         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10220         on high and low parts then adjust result and use
10221         ldbl_canonicalize_int if needed.
10223         [BZ #19593]
10224         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10225         on high part and __floor or __ceil on low part then use
10226         ldbl_canonicalize_int if needed.
10228         [BZ #19592]
10229         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10230         high and low parts then use ldbl_canonicalize_int if needed.
10232         [BZ #17899]
10233         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10234         New function.
10235         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10236         on high and low parts then use ldbl_canonicalize_int if needed.
10238 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10240         * configure: Regenerated.
10242         * po/libc.pot: Regenerated.
10244         * po/be.po: Updated translation.
10245         * po/bg.po: Likewise.
10246         * po/ca.po: Likewise.
10247         * po/cs.po: Likewise.
10248         * po/da.po: Likewise.
10249         * po/el.po: Likewise.
10250         * po/eo.po: Likewise.
10251         * po/es.po: Likewise.
10252         * po/fi.po: Likewise.
10253         * po/fr.po: Likewise.
10254         * po/gl.po: Likewise.
10255         * po/hr.po: Likewise.
10256         * po/hu.po: Likewise.
10257         * po/ia.po: Likewise.
10258         * po/id.po: Likewise.
10259         * po/it.po: Likewise.
10260         * po/ja.po: Likewise.
10261         * po/lt.po: Likewise.
10262         * po/nb.po: Likewise.
10263         * po/nl.po: Likewise.
10264         * po/pt_BR.po: Likewise.
10265         * po/rw.po: Likewise.
10266         * po/sk.po: Likewise.
10267         * po/sl.po: Likewise.
10268         * po/sv.po: Likewise.
10269         * po/tr.po: Likewise.
10270         * po/zh_CN.po: Likewise.
10271         * po/zh_TW.po: Likewise.
10273         * version.h (RELEAES): Set to "development".
10274         (VERSION): Set to 2.23.90.
10276         * version.h (RELEASE): Set to "stable".
10277         (VERSION): Set to 2.23.
10278         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10280         * NEWS: Updated fixed bugs.
10282 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10283             Wilco Dijkstra  <wdijkstr@arm.com>
10285         [BZ #19462]
10286         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10287         (_STRING_INLINE_unaligned): This.
10288         * include/string.h: Include <string_private.h>.
10289         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10290         _STRING_INLINE_unaligned.
10291         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10292         (_STRING_INLINE_unaligned): New.
10293         * sysdeps/aarch64/string_private.h: New file.
10294         * sysdeps/generic/string_private.h: Likewise.
10295         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10296         * sysdeps/s390/string_private.h: Likewise.
10297         * sysdeps/x86/string_private.h: Likewise.
10298         * sysdeps/m68k/m680x0/m68020/bits/string.h
10299         (_STRING_ARCH_unaligned): Renamed to ...
10300         (_STRING_INLINE_unaligned): This.
10301         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10302         to ...
10303         (_STRING_INLINE_unaligned): This.
10304         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10305         to ...
10306         (_STRING_INLINE_unaligned): This.
10307         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10308         to ...
10309         (_STRING_INLINE_unaligned): This.
10311 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10312             H.J. Lu  <hongjiu.lu@intel.com>
10314         [BZ #19590]
10315         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10316         relocation.
10318 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
10320         [BZ #18665]
10321         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10322         *herrno_p.
10323         (gaih_getanswer): Document functional behviour. Return tryagain
10324         if any result is tryagain.
10325         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10326         when freed.
10327         * resolv/res_send.c: Add copyright text.
10328         (__libc_res_nsend): Document that MAXPACKET is expected.
10329         (send_vc): Document. Remove buffer reuse.
10330         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10331         size of the buffer. Add Dprint for truncated UDP buffer.
10333 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
10335         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10336         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10337         * INSTALL: Regenerate.
10339 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
10340             Jonathan Wakely  <jwakely@redhat.com>
10341             Carlos O'Donell  <carlos@redhat.com>
10343         [BZ 19439]
10344         * math/Makefile (tests): Add test-math-isinff.
10345         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10346         * math/bits/mathcalls.h [__USE_MISC]: Use
10347         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10348         functions not in C++11 and which don't conflict e.g. isinff,
10349         isinfl etc.
10350         * math/test-math-isinff.cc: New file.
10352 2016-02-12  Florian Weimer  <fweimer@redhat.com>
10354         * misc/bug18240.c (do_test): Set RLIMIT_AS.
10356 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10358         [BZ #19529]
10359         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10361 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10363         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10365 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #19550]
10368         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10369         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10370         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10371         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10372         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10373         New syscall entry.
10374         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10375         New syscall entry.
10376         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10377         syscall entry.
10379 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
10381         [BZ #18240]
10382         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10383         unsigned int wraparound.
10385 2016-01-27  Florian Weimer  <fweimer@redhat.com>
10387         [BZ #18240]
10388         * misc/bug18240.c: New test.
10389         * misc/Makefile (tests): Add it.
10391 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
10392             Joseph Myers  <joseph@codesourcery.com>
10394         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10395         load in branch delay slot when less than a word of input left.
10397 2016-01-27  Andreas Schwab  <schwab@suse.de>
10399         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10400         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10401         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10402         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10404 2016-01-26  David S. Miller  <davem@davemloft.net>
10406         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10408 2016-01-25  David S. Miller  <davem@davemloft.net>
10410         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10411         __sqrtl_finite.
10412         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10413         instead using versioned_symbol.
10414         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10415         of entries.
10417         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10418         __sqrtl_finite to GLIBC_2.23
10420 2016-01-25  Ricchard Henderson  <rth@redhat.com>
10422         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10424 2016-01-25  Andreas Schwab  <schwab@suse.de>
10426         [BZ #17514]
10427         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10428         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10429         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10430         * nptl/tst-mutex-errorcheck.c: New file.
10432 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10434         [BZ #18560]
10435         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10436         (IPCOP_semop): Likewise.
10437         (IPCOP_semget): Likewise.
10438         (IPCOP_semctl): Likewise.
10439         (IPCOP_msgsnd): Likewise.
10440         (IPCOP_msgrcv): Likewise.
10441         (IPCOP_msgget): Likewise.
10442         (IPCOP_msgctl): Likewise.
10443         (IPCOP_shmat): Likewise.
10444         (IPCOP_shmdt): Likewise.
10445         (IPCOP_shmget): Likewise.
10446         (IPCOP_shmctl): Likewise.
10448 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10450         * string/tst-endian.c: Include <libc-internal.h>.
10451         (do_test): Ignore tautological-compare warnings around
10452         "htobeXX (beXXtoh (i)) != i" and
10453         "htoleXX (leXXtoh (i)) != i" if-statements.
10455 2016-01-24  David S. Miller  <davem@davemloft.net>
10457         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10458         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10459         alias.
10460         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10461         __sqrtl_finite.
10463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10465 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10467         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10468         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10469         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10471 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10473         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10474         (thread_func): Use new function to simplify barrier check.
10475         (do_test): Use new function to simplify checking barrier exit
10476         code, and actually join the child thread.
10478 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10480         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10481         semicolon.
10482         (__libc_tend): Likewise.
10483         (__libc_tabort): Likewise.
10485 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10487         * sysdeps/nios2/libm-test-ulps: Update.
10488         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10489         (__gtsf2): Likewise.
10490         (__unorddf2): Likewise.
10491         (__unordsf2): Likewise.
10492         (__ledf2): Likewise.
10494 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10496         * nis/nis_table.c (__follow_path): Disable diagnostic for
10497         uninitialized variable that is a false positive for gcc 4.7.
10498         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10500 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10502         * sysdeps/nacl/lowlevellock-futex.h
10503         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10504         Always evaluate PRIVATE argument.
10506 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10508         [BZ #19490]
10509         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10510         (pthread_cond_broadcast): Use ENTRY/END
10511         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10512         (pthread_cond_signal): Likewise.
10513         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10514         Likewise.
10515         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10516         Likewise.
10517         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10518         Likewise.
10520 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10522         * sysdeps/ieee754/dbl-64/s_finite.c
10523         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10524         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10525         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10526         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10527         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10530         (__gtsf2): Add as optional for libc.so.
10531         (__unordsf2): Likewise.
10532         (__signbit): Remove for libc.so.
10533         (__signbitl): Likewise.
10535 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10537         * iconvdata/bug-iconv11.c (test_ibm93x):
10538         Use %zu printf format specifier for size_t argument.
10540 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10542         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10543         already-recorded ulps.
10544         * sysdeps/arm/libm-test-ulps: Regenerated.
10545         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10546         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10547         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10549 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10550             Paul Pluzhnikov  <ppluzhnikov@google.com>
10552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10553         assembler not supporting AVX-512.
10555 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10557         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10559 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10561         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10562         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10564         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10566         * sysdeps/arm/libm-test-ulps: Regenerated.
10568 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10570         [BZ #19451]
10571         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10573 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10575         [BZ #19486]
10576         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10577         * sysdeps/generic/fix-fp-int-convert-overflow.h
10578         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10579         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10580         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10581         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10582         Likewise.
10583         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10584         Avoid conversions to long int where inexact exceptions
10585         could be raised.
10586         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10587         Likewise.
10588         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10589         Avoid conversions to long long int where inexact exceptions
10590         could be raised.
10591         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10592         Likewise.
10594 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10596         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10597         * configure: Regenerated.
10599 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10601         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10603 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10606         outside of comment.
10608 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10610         * nptl/tst-barrier1.c: Add description on first line.
10611         * nptl/tst-barrier2.c: Likewise.
10612         * nptl/tst-barrier3.c: Likewise.
10613         * nptl/tst-barrier4.c: Likewise.
10614         * nptl/tst-barrier5.c: Likewise.
10616 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10618         [BZ #18868]
10619         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10621 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10625         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10626         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10627         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10628         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10629         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10630         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10631         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10632         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10633         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10635 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10637         [BZ #13065]
10638         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10639         new implementation.
10640         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10641         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10642         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10643         (BARRIER_IN_THRESHOLD): New macro.
10644         * nptl/pthread_barrierattr_setpshared.c
10645         (pthread_barrierattr_setpshared): Clean up.
10646         * nptl/tst-barrier4.c: Correct comment.
10647         * nptl/tst-barrier5.c: New file.
10648         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10649         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10650         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10651         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10652         * nptl/lowlevelbarrier.sym: Remove.
10653         * nptl/DESIGN-barrier.txt: Remove.
10654         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10655         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10656         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10657         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10658         error.
10659         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10660         implementation.
10662 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10664         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10665         (do_child): Mask SIGRTMIN while thr is running.
10667 2016-01-15  Martin Sebor  <msebor@redhat.com>
10669         [BZ #19432]
10670         * iconvdata/Makefile: Add bug-iconv11.
10671         * iconvdata/bug-iconv11.c: New test.
10672         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10673         * iconvdata/ibm933.c: Same.
10674         * iconvdata/ibm935.c: Same.
10675         * iconvdata/ibm937.c: Same.
10676         * iconvdata/ibm939.c: Same.
10678 2016-01-15  Martin Sebor  <msebor@redhat.com>
10680         [BZ #19443]
10681         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10682         [DEBUG] (_ufc_set_bits): Declare used.
10683         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10684         [DEBUG] (print_all): Declare used.
10685         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10686         operands of the ternary ?: expression to target type.
10687         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10688         calling the undeclared abort.
10689         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10691 2016-01-15  Martin Sebor  <msebor@redhat.com>
10693         [BZ #18755]
10694         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10695         warnings.
10696         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10697         (__gai_create_helper_thread): Same.
10698         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10699         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10700         to suppress -Wmaybe-uninitialized warnings.
10702 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10704         [BZ #19465]
10705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10706         inside if.
10707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10708         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10711 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10713         [BZ #19466]
10714         * time/tst-mktime2.c (time_t_max): Removed.
10715         (time_t_min): Likewise.
10716         (TYPE_SIGNED): New.
10717         (TYPE_MINIMUM): Likewise.
10718         (TYPE_MAXIMUM): Likewise.
10719         (TIME_T_MIN): Likewise.
10720         (TIME_T_MAX): Likewise.
10721         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10722         and TIME_T_MIN.
10723         (do_test): Likewise.
10725 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10727         [BZ #19467]
10728         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10729         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10731 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10733         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10735 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10737         * benchtests/Makefile (PYTHON): Define.
10738         (bench-func): Use $(PYTHON) to run python scripts.
10739         ($(objpfx)bench-%.c): Likewise.
10741 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10743         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10744         leading slash when `file_name' is "/".
10746 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10748         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10749         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10750         Likewise.
10751         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10752         Likewise.
10753         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10754         Likewise.
10755         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10756         enum constant and macro.
10757         (PTRACE_SETSIGMASK): Likewise.
10758         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10759         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10760         (PTRACE_GETSIGMASK): Likewise.
10761         (PTRACE_SETSIGMASK): Likewise.
10762         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10763         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10764         Likewise.
10765         (PTRACE_SETSIGMASK): Likewise.
10766         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10767         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10768         (PTRACE_GETSIGMASK): Likewise.
10769         (PTRACE_SETSIGMASK): Likewise.
10770         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10772         Likewise.
10773         (PTRACE_SETSIGMASK): Likewise.
10774         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10776         Likewise.
10777         (PTRACE_SETSIGMASK): Likewise.
10778         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10779         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10780         Likewise.
10781         (PTRACE_SETSIGMASK): Likewise.
10782         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10784 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10785             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10787         [BZ #19439]
10788         * math/bits/mathcalls.h
10789         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10790         prototype.
10791         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10793 2016-01-11  Andreas Schwab  <schwab@suse.de>
10795         [BZ #19253]
10796         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10797         cache when TZDEFRULES was used.
10798         * time/tst-tzname.c: New file.
10799         * time/Makefile (test): Add tst-tzname.
10800         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10801         * timezone/Makefile (test-zones): Add $(posixrules-file).
10802         ($(testdata)/$(posixrules-file)): New rule.
10804 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10806         Fix doc quoting problems with Texinfo 5
10807         Without this change, in the info file output, Texinfo 5 quotes code
10808         in text with undirected single quotes 'like this' and generates
10809         code examples that with many PDF readers cannot be cut out of PDFs
10810         and pasted into code.
10811         * manual/libc.texinfo: Configure the libc manual like the GNU
10812         Emacs manual, by using @documentencoding and setting
10813         txicodequoteundirected and txicodequotebacktick.  This way,
10814         Texinfo 5 quotes code in text with directed single quotes ‘like
10815         this’ and produces examples that can be cut out of PDFs.  This
10816         change causes Texinfo 5 to generate info files that contain UTF-8
10817         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10818         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10820 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10822         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10823         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10824         barriers to their respective compiler built-ins.
10825         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10826         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10827         * sysdeps/powerpc/sysdep.h: Likewise.
10828         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10829         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10830         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10832 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10834         * scripts/config.guess: Revert previous shebang change.
10835         * scripts/config.sub: Likewise.
10836         * scripts/mkinstalldirs: Likewise.
10838 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10840         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10841         PPC_FEATURE2_HAS_IEEE128.
10842         * sysdeps/powerpc/dl-procinfo.c:
10843         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10845 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10847         [BZ #19415]
10848         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10849         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10850         (_dl_lookup_address): Rewrite using function resolver trampoline.
10851         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10852         two bits in address.
10854 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10856         * longlong.h: Change !__SHMEDIA__ to
10857         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10858         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10860 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10861             Joseph Myers  <joseph@codesourcery.com>
10862             Mark Shinwell  <shinwell@codesourcery.com>
10863             Andrew Stubbs  <ams@codesourcery.com>
10864             Rich Felker <dalias@libc.org>
10866         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10868 2016-01-07  Richard Henderson  <rth@redhat.com>
10870         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10872 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10874         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10875         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10876         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10877         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10878         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10880 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10881             Joseph Myers  <joseph@codesourcery.com>
10883         * timezone/private.h: Update from tzcode 2015g.
10884         * timezone/tzfile.h: Likewise.
10885         * timezone/tzselect.ksh: Likewise.
10886         * timezone/zdump.c: Likewise.
10887         * timezone/zic.c: Likewise.
10888         * timezone/ialloc.c: Remove file.
10889         * timezone/scheck.c: Likewise.
10890         * timezone/Makefile (extra-objs): Remove variable.
10891         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10892         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10893         -Wno-maybe-uninitialized.
10894         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10895         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10896         (CFLAGS-ialloc.c): Remove variable.
10897         (CFLAGS-scheck.c): Likewise.
10898         * timezone/README: Update list of files from tzcode.
10900 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10902         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10903         instead of __fxprintf when _LIBC is undefined.
10905 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10907         * catgets/test-gencat.sh: Remove space after shebang.
10908         * conform/GlibcConform.pm: Likewise.
10909         * conform/check-header-lists.sh: Likewise.
10910         * conform/conformtest.pl: Likewise.
10911         * conform/linknamespace.pl: Likewise.
10912         * conform/list-header-symbols.pl: Likewise.
10913         * debug/catchsegv.sh: Likewise.
10914         * elf/genrtldtbl.awk: Likewise.
10915         * elf/tst-pathopt.sh: Likewise.
10916         * elf/tst-rtld-load-self.sh: Likewise.
10917         * grp/tst_fgetgrent.sh: Likewise.
10918         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10919         * iconvdata/gen-8bit-gap.sh: Likewise.
10920         * iconvdata/gen-8bit.sh: Likewise.
10921         * iconvdata/run-iconv-test.sh: Likewise.
10922         * intl/tst-gettext.sh: Likewise.
10923         * intl/tst-gettext2.sh: Likewise.
10924         * intl/tst-gettext4.sh: Likewise.
10925         * intl/tst-gettext6.sh: Likewise.
10926         * intl/tst-translit.sh: Likewise.
10927         * io/ftwtest-sh: Likewise.
10928         * libio/test-freopen.sh: Likewise.
10929         * locale/gen-translit.pl: Likewise.
10930         * malloc/tst-mtrace.sh: Likewise.
10931         * manual/check-safety.sh: Likewise.
10932         * manual/libc-texinfo.sh: Likewise.
10933         * manual/tsort.awk: Likewise.
10934         * manual/xtract-typefun.awk: Likewise.
10935         * nptl/tst-cancel-wrappers.sh: Likewise.
10936         * nptl/tst-tls6.sh: Likewise.
10937         * posix/globtest.sh: Likewise.
10938         * posix/tst-getconf.sh: Likewise.
10939         * posix/wordexp-tst.sh: Likewise.
10940         * scripts/check-c++-types.sh: Likewise.
10941         * scripts/check-local-headers.sh: Likewise.
10942         * scripts/config.guess: Likewise.
10943         * scripts/config.sub: Likewise.
10944         * scripts/cpp: Likewise.
10945         * scripts/cross-test-ssh.sh: Likewise.
10946         * scripts/documented.sh: Likewise.
10947         * scripts/evaluate-test.sh: Likewise.
10948         * scripts/gen-libc-abis: Likewise.
10949         * scripts/gen-sorted.awk: Likewise.
10950         * scripts/list-fixed-bugs.py: Likewise.
10951         * scripts/merge-test-results.sh: Likewise.
10952         * scripts/mkinstalldirs: Likewise.
10953         * scripts/rellns-sh: Likewise.
10954         * scripts/test-installation.pl: Likewise.
10955         * scripts/update-copyrights: Likewise.
10956         * stdio-common/tst-printf.sh: Likewise.
10957         * stdio-common/tst-unbputc.sh: Likewise.
10958         * stdlib/tst-fmtmsg.sh: Likewise.
10959         * stdlib/tst-setcontext3.sh: Likewise.
10960         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10961         * sysdeps/unix/make-syscalls.sh: Likewise.
10963 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10965         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10966         asm stw with atomic_exchange_rel.  Add explanatory comment.
10967         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10968         Likewise.
10970 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10972         [BZ #19122]
10973         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10974         * sysdeps/generic/dl-unistd.h: New file.
10975         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10977 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10979          [BZ #19122]
10980          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10981          * sysdeps/generic/dl-mman.h: New file.
10982          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10984 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10986         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10987         trailing whitespace removed.
10988         * scripts/config.guess: Update to version 2016-01-01.
10989         * scripts/config.sub: Update to version 2016-01-01.
10990         * scripts/move-if-change: Update from gnulib.
10992 2016-01-04  Anton Blanchard  <anton@samba.org>
10994         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10995         for array indices.
10996         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10998 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11000         * NEWS: Update copyright dates.
11001         * catgets/gencat.c (print_version): Likewise.
11002         * csu/version.c (banner): Likewise.
11003         * debug/catchsegv.sh: Likewise.
11004         * debug/pcprofiledump.c (print_version): Likewise.
11005         * debug/xtrace.sh (do_version): Likewise.
11006         * elf/ldconfig.c (print_version): Likewise.
11007         * elf/ldd.bash.in: Likewise.
11008         * elf/pldd.c (print_version): Likewise.
11009         * elf/sotruss.sh: Likewise.
11010         * elf/sprof.c (print_version): Likewise.
11011         * iconv/iconv_prog.c (print_version): Likewise.
11012         * iconv/iconvconfig.c (print_version): Likewise.
11013         * locale/programs/locale.c (print_version): Likewise.
11014         * locale/programs/localedef.c (print_version): Likewise.
11015         * login/programs/pt_chown.c (print_version): Likewise.
11016         * malloc/memusage.sh (do_version): Likewise.
11017         * malloc/memusagestat.c (print_version): Likewise.
11018         * malloc/mtrace.pl: Likewise.
11019         * manual/libc.texinfo: Likewise.
11020         * nptl/version.c (banner): Likewise.
11021         * nscd/nscd.c (print_version): Likewise.
11022         * nss/getent.c (print_version): Likewise.
11023         * nss/makedb.c (print_version): Likewise.
11024         * posix/getconf.c (main): Likewise.
11025         * scripts/test-installation.pl: Likewise.
11026         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11028         * All files with FSF copyright notices: Update copyright dates
11029         using scripts/update-copyrights.
11030         * intl/plural.c: Regenerated.
11031         * locale/programs/charmap-kw.h: Likewise.
11032         * locale/programs/locfile-kw.h: Likewise.
11034 2016-01-02  Helge Deller  <deller@gmx.de>
11036         [BZ #19285]
11037         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11038         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11039         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11040         (MADV_xxK_PAGES): Remove.
11042 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11044         [BZ #15421]
11045         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11046         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11047         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11048         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11050 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11052         [BZ #19408]
11053         * sysdeps/unix/sysv/linux/personality.c: New file.
11054         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11055         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11056         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11057         (sysdep_routines): Add personality.
11058         (tests): Add tst-personality.
11059         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11060         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11061         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11062         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11063         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11064         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11065         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11066         Likewise.
11067         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11068         Likewise.
11069         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11072         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11073         Likewise.
11075 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11077         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11078         (PATH_ARM_SYSTYPE): Remove.
11079         (PATH_CPUINFO): Likewise.
11080         (IO_BASE_FOOTBRIDGE): Likewise.
11081         (IO_SHIFT_FOOTBRIDGE): Likewise.
11082         (struct platform): Likewise.
11083         (init_iosys): Remove compatibility code for 2.4 kernels.
11084         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11086 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11088         * malloc/tst-malloc-thread-fail.c: New file.
11089         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11090         (tst-malloc-thread-fail): Link against libpthread.
11092 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11094         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11095         (get_parser): New function.
11096         (main): New function.
11098 2015-12-29  Rob Wu  <rob@robwu.nl>
11100         [BZ #19369]
11101         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11103 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11105         [BZ #19270]
11106         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11108 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11110         [BZ #15421]
11111         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11113 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11115         [BZ #13690]
11116         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11117         after releasing it.
11118         (__lll_robust_unlock): Likewise.
11119         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11120         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11121         (lll_robust_unlock): Likewise.
11122         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11123         Prevent warnings in callers.
11125 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11127         * malloc/arena.c (list_lock): Update comment.
11129 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11131         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11132         __parse_hwcap_and_convert_at_platform to libc.a.
11134 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11136         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11137         platform and feature support for POWER9.
11138         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11139         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11140         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11141         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11142         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11143         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11144         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11145         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11147 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11149         Harmonize generic stdio-lock support with nptl
11151         This fixes build when _IO_funlockfile is a macro, fixes build where
11152         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11153         stack unwind.
11155         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11156         _IO_release_lock ): Use cleanup attribute on new
11157         _IO_acquire_lock_file variable instead of assuming that
11158         _IO_release_lock will be called.
11159         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11160         _IO_acquire_lock_needs_exceptions_enabled.
11161         (_IO_acquire_lock_clear_flags2): New macro.
11163 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11165         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11167 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11169         [BZ #19182]
11170         * malloc/arena.c (list_lock): Document lock ordering requirements.
11171         (free_list_lock): New lock.
11172         (ptmalloc_lock_all): Comment on free_list_lock.
11173         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11174         (detach_arena): Update comment.  free_list_lock is now needed.
11175         (_int_new_arena): Use free_list_lock around detach_arena call.
11176         Acquire arena lock after list_lock.  Add comment, including FIXME
11177         about incorrect synchronization.
11178         (get_free_list): Switch to free_list_lock.
11179         (reused_arena): Acquire free_list_lock around detach_arena call
11180         and attached threads counter update.  Add two FIXMEs about
11181         incorrect synchronization.
11182         (arena_thread_freeres): Switch to free_list_lock.
11183         * malloc/malloc.c (struct malloc_state): Update comments to
11184         mention free_list_lock.
11186 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11188         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11189         Remove functions.
11190         (sloww, sloww1): Accept argument to offset quadrant.
11191         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11192         quadrant.
11193         (__sin, __cos): Consolidate common code into new functions.
11194         (reduce_sincos_1, do_sincos_1): New functions.
11195         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11197         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11198         code to new functions.
11199         (reduce_sincos_2, do_sincos_2): New functions.
11200         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11203         common code for sincos.
11204         (__cos) [!IN_SINCOS]: Likewise.
11205         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11206         New function.
11207         (__sincos): Use it.
11209 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11211         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11212         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11213         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11215 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11217         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11218         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11220         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11222         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11223         index_Prefer_No_VZEROUPPER): New feature.
11224         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11225         Prefer_No_VZEROUPPER for Knights Landing.
11227 015-12-18  Torvald Riegel  <triegel@redhat.com>
11229         * math/atest-exp2.c (mp_exp_m1): Remove.
11231 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11233         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11234         syscalls.
11235         (__SYSCALL0): New macro.
11236         (__SYSCALL1): Likewise.
11237         (__SYSCALL2): Likewise.
11238         (__SYSCALL3): Likewise.
11239         (__SYSCALL4): Likewise.
11240         (__SYSCALL5): Likewise.
11241         (__SYSCALL6): Likewise.
11242         (__SYSCALL_CONCAT_X): Likewise.
11243         (__SYSCALL_CONCAT): Likewise.
11244         (__SYSCALL_DIST): Likewise.
11245         (__SYSCALL_CALL): Likewise.
11247 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11249         [BZ #19363]
11250         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11252 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11254         [BZ #19375]
11255         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11256         negative subnormals.
11258 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11261         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11262         (INTERNAL_SYSCALL_NCS): Use it.
11263         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11265 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11267         [BZ #19243]
11268         * malloc/arena.c (get_free_list): Remove assert and adjust
11269         reference count handling.  Add comment about reused_arena
11270         interaction.
11271         (reused_arena): Add comments abount get_free_list interaction.
11272         * malloc/tst-malloc-thread-exit.c: New file.
11273         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11274         (tst-malloc-thread-exit): Link against libpthread.
11276 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11278         [BZ #19367]
11279         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11280         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11281         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11282         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11283         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11285 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11287         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11288         Silvermont optimizations for Knights Landing.
11290 2015-12-15  Andreas Schwab  <schwab@suse.de>
11292         [BZ #17197]
11293         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11294         immediately after emitting SI.
11295         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11296         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11297         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11298         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11299         * iconvdata/bug-iconv10.c: New file.
11300         * iconvdata/Makefile (tests): Add bug-iconv10.
11301         ($(objpfx)bug-iconv10.out): New rule.
11303 2015-12-15  Florian Weimer  <fweimer@redhat.com>
11305         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11306         aliasing violation.
11308 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
11310         [BZ #18472]
11311         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11312         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11313         conditionals for them.
11314         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11315         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11317         sys/kdaemon.h.
11318         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11319         compat-only syscall, obsoleted in glibc 2.23.
11320         (create_module): Likewise.
11321         (get_kernel_syms): Likewise.
11322         (query_module): Likewise.
11323         (uselib): Likewise.
11324         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11326 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
11328         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11329         <linux/version.h>.
11330         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11331         conditional code.
11332         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11333         and ioshift_name initialization.
11335 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11337         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11338         Fix indentation.
11340 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11342         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11344 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11346         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11348 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
11349             Jakub Wilk  <jwilk@debian.org>
11351         [BZ #19347]
11352         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11353         to change the group of the device to the tty group.
11355 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
11357         Split large string section; add truncation advice
11358         * manual/examples/strncat.c: Remove.
11359         This example was misleading, as the code would have undefined
11360         behavior if "hello" was longer than SIZE.  Anyway, the manual
11361         shouldn't encourage strncpy+strncat for this sort of thing.
11362         * manual/string.texi (Copying Strings and Arrays): Split into
11363         three sections Copying Strings and Arrays, Concatenating Strings,
11364         and Truncating Strings, as this section was way too long.  All
11365         cross-referenced changed.  Add advice about string-truncation
11366         functions.  Remove misleading strncat example.
11368 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
11370         * manual/nss.texi (NSS Modules Interface): Document
11371         NSS_STATUS_NOTFOUND and SUCCESS.
11373 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11375         [BZ 18568]
11376         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11377         201505L, for Unicode 8.
11379 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
11381         * locale/C-translit.h: Regenerate.
11383 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11385         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11386         and U+0153.
11388 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
11390         [BZ #19351]
11391         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11392         expanding log(1+z), compare z rather than its square with epsilon
11393         to determine when to avoid evaluating the expansion.
11395         [BZ #19350]
11396         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11397         Increase overflow threshold.
11399         [BZ #19349]
11400         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11401         when small.
11403         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11405         New macro.
11406         [__LINUX_KERNEL_VERSION >= 0x040300]
11407         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11408         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11409         Likewise.
11410         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11411         Likewise.
11412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11413         Likewise.
11414         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11415         Likewise.
11416         [__LINUX_KERNEL_VERSION >= 0x040300]
11417         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11418         [__LINUX_KERNEL_VERSION >= 0x040300]
11419         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11420         [__LINUX_KERNEL_VERSION >= 0x040300]
11421         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11422         [__LINUX_KERNEL_VERSION >= 0x040300]
11423         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11424         [__LINUX_KERNEL_VERSION >= 0x040300]
11425         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11426         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11427         Likewise.
11428         [__LINUX_KERNEL_VERSION >= 0x040300]
11429         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11430         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11431         Likewise.
11432         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11433         Likewise.
11434         [__LINUX_KERNEL_VERSION >= 0x040300]
11435         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11436         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11437         Likewise.
11438         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11439         Likewise.
11440         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11441         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11442         Likewise.
11443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11444         Likewise.
11445         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11446         Likewise.
11447         [__LINUX_KERNEL_VERSION >= 0x040300]
11448         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11449         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11450         Likewise.
11451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11452         Likewise.
11453         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11454         Likewise.
11455         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11456         Likewise.
11457         [__LINUX_KERNEL_VERSION >= 0x040300]
11458         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11459         [__LINUX_KERNEL_VERSION >= 0x040300]
11460         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11461         [__LINUX_KERNEL_VERSION >= 0x040300]
11462         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11463         [__LINUX_KERNEL_VERSION >= 0x040300]
11464         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11465         [__LINUX_KERNEL_VERSION >= 0x040300]
11466         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11467         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11468         Likewise.
11469         [__LINUX_KERNEL_VERSION >= 0x040300]
11470         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11471         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11472         Likewise.
11473         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11474         Likewise.
11475         [__LINUX_KERNEL_VERSION >= 0x040300]
11476         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11478         Likewise.
11479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11480         Likewise.
11481         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11482         (__ASSUME_SOCKET_SYSCALL): Likewise.
11483         (__ASSUME_BIND_SYSCALL): Likewise.
11484         (__ASSUME_CONNECT_SYSCALL): Likewise.
11485         (__ASSUME_LISTEN_SYSCALL): Likewise.
11486         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11487         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11488         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11489         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11490         (__ASSUME_SEND_SYSCALL): Likewise.
11491         (__ASSUME_SENDTO_SYSCALL): Likewise.
11492         (__ASSUME_RECV_SYSCALL): Likewise.
11493         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11494         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11495         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11496         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11497         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11498         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11499         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11500         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11501         Likewise.
11502         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11503         Likewise.
11504         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11505         Likewise.
11506         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11507         Likewise.
11508         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11509         Likewise.
11510         [__LINUX_KERNEL_VERSION >= 0x020625]
11511         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11512         [__LINUX_KERNEL_VERSION >= 0x020625]
11513         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11514         [__LINUX_KERNEL_VERSION >= 0x020625]
11515         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11516         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11517         Likewise.
11518         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11519         Likewise.
11520         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11521         Likewise.
11522         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11523         Likewise.
11524         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11525         Likewise.
11526         [__LINUX_KERNEL_VERSION >= 0x020625]
11527         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11528         [__LINUX_KERNEL_VERSION >= 0x020625]
11529         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11530         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11531         Likewise.
11532         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11533         Likewise.
11535 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11537         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11538         record the current if the current ABI and CPU support the FP64
11539         extension.
11540         (has-modd-spreg): Define to record the current if the current ABI and
11541         CPU support 32-bit floating point values in odd FPU registers.
11542         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11543         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11544         $(has-modd-spreg) equals yes.
11545         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11546         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11547         $(has-modd-spreg) equal yes.
11549 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11551         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11552         basename.
11554 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11556         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11557         (bench-string): ... here.
11558         (bench): Add bench-string.
11559         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11560         to *-benchset to reflect what they are.
11561         (benchset): Adjust.
11563         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11564         cos-inputs.
11566 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11568         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11569         __attribute__ ((__simd__)) for vector math function declarations.
11571 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11573         Fix typo in strncat, wcsncat manual entries
11574         * manual/string.texi (Copying and Concatenation): Fix typos in
11575         sample implementations of strncat and wcsncat, by having them use
11576         the old value of the destination length, not the new one.
11578 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11580         [BZ #16961]
11581         [BZ #16962]
11582         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11583         string on the stack for strtod.
11584         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11585         a string on the stack for strtof.
11586         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11587         constructing a string on the stack for strtold.
11588         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11589         __strtold_nan to GLIBC_PRIVATE.
11590         * math/test-nan-overflow.c: New file.
11591         * math/test-nan-payload.c: Likewise.
11592         * math/Makefile (tests): Add test-nan-overflow and
11593         test-nan-payload.
11595 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11597         Consistency about byte vs character in string.texi
11598         * manual/string.texi (String and Array Utilities):
11599         Distinguish more carefully among bytes, multibyte characters,
11600         and wide characters.  Use "byte" when talking about C 'char',
11601         to distinguish it more clearly from multibyte characters.
11602         Say "wide character" or "multibyte character" instead of
11603         "character", when a wide or multibyte character is intended.
11604         Similarly for "multibyte string" versus "string".
11605         Define these terms more carefully.
11607 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11609         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11610         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11611         Likewise.
11612         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11613         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11614         * sysdeps/sh/math_private.h: New file.
11615         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11616         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11617         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11618         long double function name.
11619         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11620         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11621         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11622         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11623         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11625         Remove __finitel, __isinfl, and __isnanl.
11626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11627         Likewise.
11628         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11630         Remove __finitel.
11631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11632         Likewise.
11633         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11635 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11637         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11638         installed libmvec_nonshared.a.
11640 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11642         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11643         (sysdep_routines): Likewise.
11644         (sysdep-rtld-routines): Likewise.
11645         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11646         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11647         * sysdeps/powerpc/Versions: Added new
11648         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11649         * sysdeps/powerpc/hwcapinfo.c: New file.
11650         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11651         and parse hwcap, hwcap2 and platform number information.
11652         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11653         to store HWCAP+HWCAP2 and platform number.
11654         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11655         for HWCAP+HWCAP2 and platform number in the TCB.
11656         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11657         the HWCAP, HWCAP2 and platform number in the TCB.
11658         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11659         (TLS_INIT_TP): Included calls to add the hwcap and
11660         at_platform values in the TCB in TP initialization.
11661         (TLS_DEFINE_INIT_TP): Likewise.
11662         (THREAD_GET_HWCAP): New macro.
11663         (THREAD_SET_HWCAP): Likewise.
11664         (THREAD_GET_AT_PLATFORM): Likewise.
11665         (THREAD_SET_AT_PLATFORM): Likewise.
11666         * sysdeps/powerpc/powerpc32/dl-machine.h:
11667         (dl_platform_init): New function that calls
11668         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11669         powerpc32.
11670         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11671         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11672         this functionality, static linking case.
11673         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11674         linking case.
11675         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11676         __parse_hwcap_and_convert_at_platform for the static linking case.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11678         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11679         ABI list for GLIBC 2.23.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11681         Likewise.
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11683         Likewise.
11685 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11687         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11688         * configure: Regenerate.
11689         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11690         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11692 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11694         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11695         * iconvdata/ibm933.c: Likewise.
11696         * iconvdata/ibm935.c: Likewise.
11697         * iconvdata/ibm937.c: Likewise.
11698         * iconvdata/ibm939.c: Likewise.
11700 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11702         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11703         pthread_join.
11704         * nptl/tst-cancel21.c (tf): Likewise.
11706 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11708         [BZ #19313]
11709         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11710         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11711         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11712         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11713         Likewise.
11714         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11715         Likewise.
11716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11717         Likewise.
11718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11719         Likewise.
11720         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11721         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11722         unsigned long int with __CPU_MASK_TYPE.
11724 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11726         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11728 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11731         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11732         t512.x.
11733         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11735 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11737         [BZ #19214]
11738         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11739         argument to return extended model.  Update family and model
11740         with extended family and model when family == 0x0f.
11741         (init_cpu_features): Updated.
11743 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11745         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11746         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11748         * sysdeps/mach/hurd/mmap64.c: New file.
11750 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11752         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11753         rights for its main user thread in NEWTASK.
11755 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11757         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11758         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11760 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11762         [BZ #14259]
11763         * Makeconfig: Rename localedir to complocaledir.
11764         Rename inst_localedir to inst_complocaledir.
11765         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11766         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11767         * configure.ac: Use libc_cv_complocaledir.
11768         * configure: Regenerate.
11769         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11770         -DCOMPLOCALEDIR.
11771         * locale/findlocale.c: Use COMPLOCALEDIR.
11772         * locale/loadarchive.c: Likewise.
11773         * locale/programs/locale.c: Likewise.
11774         * locale/programs/localedef.c: Likewise.
11775         * locale/programs/locarchive.c: Likewise.
11776         * localedata/Makefile: Use inst_complocaledir.
11777         * sysdeps/gnu/configure: Regenerate.
11778         * sysdeps/hppa/configure: Regenerate.
11779         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11780         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11782         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11783         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11784         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11785         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11787 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11789         [BZ #19058]
11790         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11791         AS_NEEDED.
11792         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11793         workaround.
11794         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11795         libmvec-static-only-routines): Added new file.
11796         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11798 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11800         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11801         of interrupted RPC instead of restoring it.
11803         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11804         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11805         libc_hidden_def.
11806         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11807         into initialized data instead of common. Define rtld_hidden_data_def.
11808         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11809         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11810         libc_hidden_def.
11811         (if_freenameindex): Add libc_hidden_weak.
11812         (if_nameindex): Add libc_hidden_weak.
11813         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11814         __open64.
11815         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11816         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11817         * sysdeps/mach/nanosleep.c: Include <time.h>
11818         (__nanosleep): Rename to __libc_nanosleep.
11819         (__nanosleep): Add weak_alias.
11820         (nanosleep): Update alias.
11822 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11824         * stdlib/strtod_nan.c: New file.
11825         * stdlib/strtod_nan_double.h: Likewise.
11826         * stdlib/strtod_nan_float.h: Likewise.
11827         * stdlib/strtod_nan_main.c: Likewise.
11828         * stdlib/strtod_nan_narrow.h: Likewise.
11829         * stdlib/strtod_nan_wide.h: Likewise.
11830         * stdlib/strtof_nan.c: Likewise.
11831         * stdlib/strtold_nan.c: Likewise.
11832         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11833         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11834         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11835         * wcsmbs/wcstod_nan.c: Likewise.
11836         * wcsmbs/wcstof_nan.c: Likewise.
11837         * wcsmbs/wcstold_nan.c: Likewise.
11838         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11839         strtold_nan.
11840         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11841         wcstof_nan.
11842         * include/stdlib.h (__strtof_nan): Declare and use
11843         libc_hidden_proto.
11844         (__strtod_nan): Likewise.
11845         (__strtold_nan): Likewise.
11846         (__wcstof_nan): Likewise.
11847         (__wcstod_nan): Likewise.
11848         (__wcstold_nan): Likewise.
11849         * include/wchar.h (____wcstoull_l_internal): Declare.
11850         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11851         (____strtoull_l_internal): Remove declaration.
11852         (STRTOF_NAN): Define macro.
11853         (SET_MANTISSA): Remove macro.
11854         (STRTOULL): Likewise.
11855         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11856         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11857         (STRTOF_NAN): Define macro.
11858         (SET_MANTISSA): Remove macro.
11859         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11860         (SET_MANTISSA): Remove macro.
11861         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11862         macro.
11863         (SET_MANTISSA): Remove macro.
11864         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11865         macro.
11866         (SET_MANTISSA): Remove macro.
11867         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11868         (SET_MANTISSA): Remove macro.
11869         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11870         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11871         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11873         [BZ #19266]
11874         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11875         upper case and lower case letters inside NAN(), not using TOLOWER.
11876         * stdlib/tst-strtod-nan-locale-main.c: New file.
11877         * stdlib/tst-strtod-nan-locale.c: Likewise.
11878         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11879         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11880         Depend on $(gen-locales).
11881         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11882         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11883         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11884         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11885         Depend on $(gen-locales).
11886         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11888 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11890         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11892         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11894         __finitel, __isinfl, and __isnanl.
11895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11896         Likewise.
11897         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11899         __finitel.
11900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11901         Likewise.
11902         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11904 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11906         * malloc/memusage.c (me): Remove redundant getenv call.
11908 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11910         [BZ #19143]
11911         [BZ #19164]
11912         * nptl/check-cpuset.h: Remove.
11913         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11914         Remove CPU set size check.
11915         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11916         Likewise.
11917         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11918         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11919         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11920         (__pthread_setaffinity_new): Remove CPU set size check.
11921         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11922         (__kernel_cpumask_size): Remove.
11923         (__sched_setaffinity_new): Remove CPU set size check.
11924         * manual/threads.texi (Default Thread Attributes): Remove stale
11925         reference to check_cpuset_attr, determine_cpumask_size in comment.
11926         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11927         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11928         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11929         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11930         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11931         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11932         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11933         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11934         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11935         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11936         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11937         skeleton test file.
11938         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11939         tst-affinity-pid.
11941 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11943         * scripts/update-abilist.sh: New file.
11944         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11945         * Makerules (update-all-abi-%, update-all-abi)
11946         (subdir_update-all-abi): New targets.
11947         * elf/Makefile (update-all-abi): New target.
11949 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11951         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11952         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11953         (__libc_lock_define_initialized): Use it.
11954         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11955         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11956         * malloc/malloc.c (main_arena): Likewise.
11957         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11958         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11960 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11962         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11963         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11964         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11965         (PTRACE_O_MASK): Update value.
11966         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11967         New value in enum __ptrace_setoptions.
11968         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11969         (PTRACE_O_MASK): Update value.
11970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11971         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11972         (PTRACE_O_MASK): Update value.
11973         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11974         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11975         (PTRACE_O_MASK): Update value.
11976         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11977         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11978         (PTRACE_O_MASK): Update value.
11979         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11980         New value in enum __ptrace_setoptions.
11981         (PTRACE_O_MASK): Update value.
11982         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11983         New value in enum __ptrace_setoptions.
11984         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11985         (PTRACE_O_MASK): Update value.
11987         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11988         New macro.
11989         (PACKET_AUXDATA): Likewise.
11990         (PACKET_ORIGDEV): Likewise.
11991         (PACKET_VERSION): Likewise.
11992         (PACKET_HDRLEN): Likewise.
11993         (PACKET_RESERVE): Likewise.
11994         (PACKET_TX_RING): Likewise.
11995         (PACKET_LOSS): Likewise.
11996         (PACKET_VNET_HDR): Likewise.
11997         (PACKET_TX_TIMESTAMP): Likewise.
11998         (PACKET_TIMESTAMP): Likewise.
11999         (PACKET_FANOUT): Likewise.
12000         (PACKET_TX_HAS_OFF): Likewise.
12001         (PACKET_QDISC_BYPASS): Likewise.
12002         (PACKET_ROLLOVER_STATS): Likewise.
12003         (PACKET_FANOUT_DATA): Likewise.
12004         (PACKET_MR_UNICAST): Likewise.
12006         [BZ #19242]
12007         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12008         (TOUPPER): Likewise.
12009         * stdlib/tst-strtol-locale-main.c: New file.
12010         * stdlib/tst-strtol-locale.c: Likewise.
12011         * stdlib/Makefile (tests): Add tst-strtol-locale.
12012         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12013         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12014         Depend on $(gen-locales).
12015         * wcsmbs/tst-wcstol-locale.c: New file.
12016         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12017         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12018         tr_TR.ISO-8859-9.
12019         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12020         Depend on $(gen-locales).
12022 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12024         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12025         __glibc_likely instead of __builtin_expect.  After falling back to
12026         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12027         system interface to register the code pages as occupied.
12029 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12031         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12032         [!ARM_MATH_PRIVATE_H].
12033         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12034         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12035         [!HPPA_MATH_PRIVATE_H].
12036         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12037         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12038         to [!I386_MATH_PRIVATE_H].
12039         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12040         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12041         Change guard to [!M68K_MATH_PRIVATE_H].
12042         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12043         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12044         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12045         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12046         macro.
12047         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12048         [!MIPS_MATH_PRIVATE_H].
12049         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12050         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12051         [!NIO2_MATH_PRIVATE_H].
12052         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12053         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12054         [!TILE_MATH_PRIVATE_H].
12055         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12057         [BZ #15421]
12058         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12059         initialize with 0 and define as weak alias of __signgam.
12060         * include/math.h [!_ISOMAC] (__signgam): Declare.
12061         * math/Makefile (libm-calls): Add w_lgamma_compat.
12062         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12063         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12064         test-signgam-ullong-init.
12065         (tests-static): Add test-signgam-uchar-static,
12066         test-signgam-uchar-init-static, test-signgam-uint-static,
12067         test-signgam-uint-init-static, test-signgam-ullong-static and
12068         test-signgam-ullong-init-static.
12069         (CFLAGS-test-signgam-uchar.c): New variable.
12070         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12071         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12072         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12073         (CFLAGS-test-signgam-uint.c): Likewise.
12074         (CFLAGS-test-signgam-uint-init.c): Likewise.
12075         (CFLAGS-test-signgam-uint-static.c): Likewise.
12076         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12077         (CFLAGS-test-signgam-ullong.c): Likewise.
12078         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12079         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12080         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12081         * math/Versions (libm): Add GLIBC_2.23.
12082         * math/lgamma-compat.h: New file.
12083         * math/test-signgam-main.c: Likewise.
12084         * math/test-signgam-uchar-init-static.c: Likewise.
12085         * math/test-signgam-uchar-init.c: Likewise.
12086         * math/test-signgam-uchar-static.c: Likewise.
12087         * math/test-signgam-uchar.c: Likewise.
12088         * math/test-signgam-uint-init-static.c: Likewise.
12089         * math/test-signgam-uint-init.c: Likewise.
12090         * math/test-signgam-uint-static.c: Likewise.
12091         * math/test-signgam-uint.c: Likewise.
12092         * math/test-signgam-ullong-init-static.c: Likewise.
12093         * math/test-signgam-ullong-init.c: Likewise.
12094         * math/test-signgam-ullong-static.c: Likewise.
12095         * math/test-signgam-ullong.c: Likewise.
12096         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12097         wrapper of w_lgamma_main.c.
12098         * math/w_lgamma_compat.c: New file.
12099         * math/w_lgamma_compatf.c: Likewise.
12100         * math/w_lgamma_compatl.c: Likewise.
12101         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12102         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12103         defining compatibility symbols.
12104         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12105         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12106         wrapper of w_lgammaf_main.c.
12107         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12108         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12109         defining compatibility symbols.
12110         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12111         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12112         wrapper of w_lgammal_main.c.
12113         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12114         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12115         defining compatibility symbols.
12116         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12117         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12118         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12119         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12120         <lgamma-compat.h>.
12121         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12122         (__ieee754_gamma): Define as alias.
12123         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12124         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12125         <lgamma-compat.h>.
12126         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12127         (__ieee754_gammaf): Define as alias.
12128         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12129         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12130         <lgamma-compat.h>.
12131         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12132         (__ieee754_gammal): Define as alias.
12133         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12134         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12135         <math/w_lgamma_compat.c>.
12136         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12137         Define as alias of __lgamma_compat and use in defining lgammal.
12138         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12139         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12140         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12141         (USE_AS_COMPAT): New macro.
12142         (LGAMMA_OLD_VER): Undefine and redefine.
12143         (lgammal): Do not define here.
12144         (gammal): Only define here if [GAMMA_ALIAS].
12145         * conform/linknamespace.pl (@whitelist): Remove signgam.
12146         * sysdeps/nacl/libm.abilist: Update.
12147         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12150         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12151         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12154         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12157         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12160         Likewise.
12161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12162         Likewise.
12163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12164         Likewise.
12165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12166         Likewise.
12167         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12169         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12170         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12171         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12175         Likewise.
12176         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12177         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12178         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12180 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12182         [BZ #16364]
12183         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12184         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12186 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12188         * sysdeps/s390/fpu/bits/mathinline.h:
12189         Use __asm__ [__volatile__] instead of asm [volatile].
12190         * sysdeps/s390/abort-instr.h: Likewise.
12191         * sysdeps/s390/atomic-machine.h: Likewise.
12192         * sysdeps/s390/bits/string.h: Likewise.
12193         * sysdeps/s390/dl-tls.h: Likewise.
12194         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12195         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12196         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12197         * sysdeps/s390/fpu/fesetround.c: Likewise.
12198         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12199         * sysdeps/s390/fpu/s_fma.c: Likewise.
12200         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12201         * sysdeps/s390/memusage.h: Likewise.
12202         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12203         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12204         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12205         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12206         * sysdeps/s390/nptl/tls.h: Likewise.
12207         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12208         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12209         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12210         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12211         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12212         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12213         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12214         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12215         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12216         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12217         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12218         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12219         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12220         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12221         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12222         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12223         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12224         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12225         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12226         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12227         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12228         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12229         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12231 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12232             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12234         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12235         Add lwarx hint, and use macro for acquire instruction.
12236         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12237         Likewise.
12238         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12239         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12240         update to use new atomic macros.
12242 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12244         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12245         (__lll_trylock_elision): Fix setting of adapt_count.
12246         * sysdeps/unix/sysv/linux/powerpc/htm.h
12247         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12248         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12249         (_ABORT_SYSCALL): Renumber, and clarify definition.
12250         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12252 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12254         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12255         after system headers to prevent MIN/MAX redefinition.  Define
12256         HAVE_ALLOCA to preserve builtin alloca usage.
12258 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12261         static and don't set or restore rounding.
12262         (__cos)[IN_SINCOS]: Likewise.
12263         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12264         (__sincos): Set and restore rounding mode.  Remove check for infinite
12265         or NaN input.
12267         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12269         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12270         as used.
12272 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12274         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12276 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12278         * config.make.in (have-glob-dat-reloc): New.
12279         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12280         target supports GLOB_DAT relocaton. AC_SUBST.
12281         * configure: Regenerated.
12282         * elf/Makefile (tests): Add tst-prelink.
12283         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12284         (tst-prelink-ENV): New.
12285         ($(objpfx)tst-prelink-conflict.out): Likewise.
12286         ($(objpfx)tst-prelink-cmp.out): Likewise.
12287         * sysdeps/x86/tst-prelink.c: Moved to ...
12288         * elf/tst-prelink.c: Here.
12289         * sysdeps/x86/tst-prelink.exp: Moved to ...
12290         * elf/tst-prelink.exp: Here.
12291         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12292         (tst-prelink-ENV): Removed.
12293         ($(objpfx)tst-prelink-conflict.out): Likewise.
12294         ($(objpfx)tst-prelink-cmp.out): Likewise.
12295         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12297 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12299         [BZ #14551]
12300         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12301         (__mpn_construct_long_double): If high part overflows to infinity,
12302         set errno and recompute overflowed result of the correct sign.
12303         * sysdeps/ieee754/ldbl-128ibm/Makefile
12304         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12305         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12306         $(libm).
12307         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12309 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
12311         [BZ #15479]
12312         [BZ #19238]
12313         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12314         floating-point state after first operation on input.  Restore full
12315         state rather than just rounding mode.
12316         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12317         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12318         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12320         [BZ #19235]
12321         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12322         add 0.5 to integer arguments.
12323         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12324         Likewise.
12325         (.LC2): New object.
12327 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
12329         * scripts/pylintrc (reports): Set to no.
12331 2015-11-10  Roland McGrath  <roland@hack.frob.com>
12333         * elf/dl-load.c (open_verify): Take new argument FD.
12334         Skip __open call if passed FD is not -1.
12335         (_dl_map_object, open_path): Update callers.
12336         * elf/dl-sysdep-open.h: New file.
12337         * elf/dl-load.c: Include it.
12338         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12339         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12340         * sysdeps/nacl/dl-sysdep-open.h: New file.
12341         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12342         from libc to rtld.
12344 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12346         [BZ #19228]
12347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12348         and restore full floating-point state.
12349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12350         Likewise.
12351         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12352         Likewise.
12353         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12354         Likewise.
12355         * math/test-nearbyint-except-2.c: New file.
12356         * math/Makefile (tests): Add test-nearbyint-except-2.
12358 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
12360         [BZ #19178]
12361         * sysdeps/x86/Makefile (tests): Add tst-prelink.
12362         (tst-prelink-ENV): New.
12363         ($(objpfx)tst-prelink-conflict.out): Likewise.
12364         ($(objpfx)tst-prelink-cmp.out): Likewise.
12365         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12366         * sysdeps/x86/tst-prelink.c: New file.
12367         * sysdeps/x86/tst-prelink.exp: Likewise.
12369 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12371         * math/auto-libm-test-in: Add another test of pow.
12372         * math/auto-libm-test-out: Regenerated.
12373         * math/libm-test.inc (pow_test_data): Add another test.
12375 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12377         [BZ #19219]
12378         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12379         weak_alias to nearbyintl.
12381 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12383         * sysdeps/aarch64/bits/string.h: New file.
12384         (_STRING_ARCH_unaligned): Define.
12386 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12388         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12389         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12390         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12391         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12394 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
12396         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12397         for original name of the DSO.  Add it to the name list of the DSO
12398         if it is actually given.
12399         (_dl_map_object): Keep track of whether an audit module rewrote
12400         the file name.  If yes, pass the original name to
12401         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
12402         debugging is enabled, log the change of the file name.
12403         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12404         _dl_map_object_from_fd.
12405         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12406         * elf/tst-audit11.c: New file
12407         * elf/tst-auditmod11.c: New file.
12408         * elf/tst-audit11mod1.c: New file.
12409         * elf/tst-audit11mod2.c: New file.
12410         * elf/tst-audit11mod2.map: New file.
12411         * elf/tst-audit12.c: New file
12412         * elf/tst-auditmod12.c: New file.
12413         * elf/tst-audit12mod1.c: New file.
12414         * elf/tst-audit12mod2.c: New file.
12415         * elf/tst-audit12mod2.map: New file.
12416         * elf/tst-audit12mod3.c: New file.
12418 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12420         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12421         Don't create weak aliases,
12422         because versioned symbols are created later.
12423         * sysdeps/s390/s390-32/setjmp.S
12424         (setjmp, _setjmp): Remove weak and rename to an unique name
12425         in SHARED case due to existing versioned symbols.
12426         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12427         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12428         (getcontext): Create weak alias only in non SHARED case.
12429         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12431 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12433         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12434         (__ASSUME_*_SYSCALL) Define new macros.
12435         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12436         Remove socketcall syscalls.
12437         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12438         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12439         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12440         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12441         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12442         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12444 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12446         [BZ #12926]
12447         Terminate process on invalid netlink response.
12448         * sysdeps/unix/sysv/linux/netlinkaccess.h
12449         (__netlink_assert_response): Declare.
12450         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12451         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12452         (sysdep_routines): Add netlink_assert_response.
12453         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12454         __netlink_assert_response.
12455         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12456         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12457         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12458         __netlink_assert_response.
12460 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12462         [BZ #19178]
12463         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12464         (RTYPE_CLASS_PLT): Likewise.
12465         (RTYPE_CLASS_COPY): Likewise.
12466         (RTYPE_CLASS_TLS): Likewise.
12467         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12468         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12469         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12470         DL_DEBUG_PRELINK.
12472 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12474         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12475         calls with argument -0.5.
12476         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12478         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12479         (libc_cv_z_nodlopen): Likewise.
12480         (libc_cv_z_initfirst): Likewise.
12481         * configure: Regenerated.
12483 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12485         Simplify abilist format to be line-based.
12486         * scripts/abilist.awk: Collect descriptors in the descs variable.
12487         (emit): Write descs variable and sort it
12488         externally, with sort.
12489         * sysdeps/**/*.abilist: Convert to new format.
12491 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12493         [BZ #11460]
12494         * io/Makefile (routines): Add fts64.
12495         (tests): Add tst-fts and tst-fts-lfs.
12496         (CFLAGS-fts64.c): New.
12497         * io/Versions (GLIBC_2.23): New.
12498         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12499         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12500         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12501         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12502         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12503         (FTSENT64): Likewise.
12504         (fts64_children): Likewise.
12505         (fts64_close): Likewise.
12506         (fts64_open): Likewise.
12507         (fts64_read): Likewise.
12508         (fts64_set): Likewise.
12509         * io/fts64.c: New file.
12510         * io/tst-fts.c: New test.
12511         * io/tst-fts-lfs.c: Likewise.
12512         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12513         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12514         fts64_set.
12515         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12516         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12517         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12518         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12520         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12521         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12522         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12524         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12525         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12526         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12527         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12529         Likewise.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12531         Likewise.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12534         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12535         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12536         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12537         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12538         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12541         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12543         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12544         * sysdeps/wordsize-64/fts.c: New file.
12545         * sysdeps/wordsize-64/fts64.c: Likewise.
12546         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12547         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12548         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12549         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12551 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12553         * math/libm-test.inc (NON_FINITE): New macro.
12554         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12555         * math/gen-libm-test.pl (show_exceptions): Add argument
12556         $non_finite.
12557         (parse_args): Update call to show_exceptions.
12558         * math/test-math-finite.h: New file.
12559         * math/test-math-no-finite.h: Likewise.
12560         * math/test-double-finite.c: Likewise.
12561         * math/test-float-finite.c: Likewise.
12562         * math/test-ldouble-finite.c: Likewise.
12563         * math/test-double.c: Include "test-math-no-finite.h".
12564         * math/test-float.c: Include "test-math-no-finite.h".
12565         * math/test-ldouble.c: Include "test-math-no-finite.h".
12566         * math/test-math-inline.h (TEST_FINITE): New macro.
12567         * math/test-math-vector.h (TEST_FINITE): Likewise.
12568         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12569         (libm-tests): Add test-float-finite and test-double-finite.
12570         ($(objpfx)test-float-finite.o): New dependency on
12571         $(objpfx)libm-test.stmp.
12572         ($(objpfx)test-double-finite.o): Likewise.
12573         ($(objpfx)test-ldouble-finite.o): Likewise.
12574         (libm-test-no-inline-cflags): New variable.
12575         (libm-test-finite-cflags): Likewise.
12576         (CFLAGS-test-float-finite.c): Likewise.
12577         (CFLAGS-test-double-finite.c): Likewise.
12578         (CFLAGS-test-ldouble-finite.c): Likewise.
12579         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12580         (CFLAGS-test-double.c): Likewise.
12581         (CFLAGS-test-ldouble.c): Likewise.
12583 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12585         * io/fcntl.c (__fcntl): Add ... to prototype.
12586         * misc/ioctl.c (__ioctl): Likewise.
12587         * misc/syscall.c (syscall): Likewise.
12589 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12591         * scripts/list-fixed-bugs.py: New file.
12593         [BZ #19213]
12594         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12595         returned for argument 1.
12596         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12597         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12598         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12599         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12600         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12601         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12603         [BZ #19211]
12604         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12605         __USE_XOPEN], not if [!__USE_ISOC99].
12606         (lgammaf): Likewise.
12607         (lgammal): Likewise.
12608         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12609         (gammaf): Likewise.
12610         (gammal): Likewise.
12611         * math/test-signgam-finite-c11.c: New file.
12612         * math/test-signgam-finite-c99.c: Likewise.
12613         * math/test-signgam-finite.c: Likewise.
12614         * math/Makefile (tests): Add test-signgam-finite,
12615         test-signgam-finite-c99 and test-signgam-finite-c11.
12616         (CFLAGS-test-signgam-finite.c): New variable.
12617         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12618         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12620         [BZ #19212]
12621         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12622         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12623         500].
12624         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12625         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12626         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12627         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12628         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12629         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12630         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12631         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12632         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12633         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12635         [BZ #19209]
12636         * math/bits/math-finite.h (ldexp): Remove declaration.
12637         (ldexpf): Likewise.
12638         (ldexpl): Likewise.
12640         [BZ #19205]
12641         * math/bits/math-finite.h (acosf): Condition declaration on
12642         [__USE_ISOC99].
12643         (acosl): Likewise.
12644         (acoshf): Likewise.
12645         (acoshl): Likewise.
12646         (asinf): Likewise.
12647         (asinl): Likewise.
12648         (atan2f): Likewise.
12649         (atan2l): Likewise.
12650         (atanhf): Likewise.
12651         (atanhl): Likewise.
12652         (coshf): Likewise.
12653         (coshl): Likewise.
12654         (expf): Likewise.
12655         (expl): Likewise.
12656         (fmodf): Likewise.
12657         (fmodl): Likewise.
12658         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12659         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12660         (j0l): Likewise.
12661         (y0f): Likewise.
12662         (y0l): Likewise.
12663         (j1f): Likewise.
12664         (j1l): Likewise.
12665         (y1f): Likewise.
12666         (y1l): Likewise.
12667         (jnf): Likewise.
12668         (jnl): Likewise.
12669         (ynf): Likewise.
12670         (ynl): Likewise.
12671         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12672         (lgammal_r): Likewise.
12673         (__lgamma_r_finite): New declaration.
12674         (__lgammaf_r_finite): Likewise.
12675         (__lgammal_r_finite): Likewise.
12676         (lgamma): Use __lgamma_r_finite.
12677         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12678         __lgammaf_r_finite.
12679         (lgammal): Condition definition on [__USE_ISOC99].  Use
12680         __lgammal_r_finite.
12681         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12682         __lgamma_r_finite.
12683         (gammaf): Condition definition on [__USE_ISOC99].  Use
12684         __lgammaf_r_finite.
12685         (gammal): Condition definition on [__USE_ISOC99].  Use
12686         __lgammal_r_finite.
12687         (logf): Condition declaration on [__USE_ISOC99].
12688         (logl): Likewise.
12689         (log10f): Likewise.
12690         (log10l): Likewise.
12691         (ldexpf): Likewise.
12692         (ldexpl): Likewise.
12693         (powf): Likewise.
12694         (powl): Likewise.
12695         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12696         __USE_ISOC99].
12697         (remainderf): Condition declaration on [__USE_ISOC99].
12698         (remainderl): Likewise.
12699         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12700         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12701         (scalbl): Likewise.
12702         (sinhf): Condition declaration on [__USE_ISOC99].
12703         (sinhl): Likewise.
12704         (sqrtf): Likewise.
12705         (sqrtl): Likewise.
12707 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12709         * sysdeps/arm/atomic-machine.h
12710         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12711         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12712         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12713         Remove conditional code.
12714         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12715         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12716         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12717         Change conditional to [__ASSEMBLER__].
12718         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12719         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12720         [!__ASSEMBLER__].
12721         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12722         code.
12723         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12724         conditional macro definitions.
12725         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12726         (__arch_compare_and_exchange_val_16_acq): Likewise.
12727         (__arch_compare_and_exchange_val_32_acq): Likewise.
12728         (atomic_exchange_and_add): Likewise.
12729         (atomic_add): Likewise.
12730         (atomic_add_negative): Likewise.
12731         (atomic_add_zero): Likewise.
12732         (atomic_bit_set): Likewise.
12733         (atomic_bit_test_set): Likewise.
12734         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12735         code unconditional.
12736         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12738         * math/test-math-errno.h: New file.
12739         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12740         empty.
12741         (TEST_ERRNO): New macro.
12742         (TEST_EXCEPTIONS): Likewise.
12743         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12744         (TEST_EXCEPTIONS): Likewise.
12745         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12746         * math/test-double.c: Include "test-math-errno.h".
12747         * math/test-float.c: Likewise.
12748         * math/test-ldouble.c: Likewise.
12749         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12750         code unconditional.
12751         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12752         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12753         unconditional.
12754         (test_errno): Only run code if TEST_ERRNO.
12755         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12757 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12759         * nptl/tst-once5.cc: Remove attribution.
12761 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12763         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12764         sqrt, tan, tanh, y0, y1 and yn.
12765         * math/auto-libm-test-out: Regenerated.
12766         * math/libm-test.inc (scalb_test_data): Add more tests.
12767         (scalbn_test_data): Likewise.
12768         (scalbln_test_data): Likewise.
12769         (signbit_test_data): Likewise.
12770         (sin_test_data): Likewise.
12771         (sincos_test_data): Likewise.
12772         (sinh_test_data): Likewise.
12773         (sqrt_test_data): Likewise.
12774         (tan_test_data): Likewise.
12775         (tanh_test_data): Likewise.
12776         (tgamma_test_data): Likewise.
12777         (y0_test_data): Likewise.
12778         (y1_test_data): Likewise.
12779         (yn_test_data): Likewise.
12780         (significand_test_data): Likewise.
12781         * sysdeps/i386/fpu/libm-test-ulps: Update.
12783 2015-11-03  David Kastrup  <dak@gnu.org>
12785         [BZ #18604]
12786         * assert/assert.h (assert): Don't macro-expand failed assertion
12787         expression in error message.
12788         * malloc/malloc.c (assert): Likewise.
12790 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12792         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12793         test.
12794         * configure: Regenerated.
12796 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12798         * math/libm-test.inc (modf_test_data): Add more tests.
12799         (nearbyint_test_data): Likewise.
12800         (nextafter_test_data): Likewise.
12801         (nexttoward_test_data): Likewise.
12802         (pow_test_data): Likewise.
12803         (remainder_test_data): Likewise.
12804         (remquo_test_data): Likewise.
12805         (rint_test_data): Likewise.
12807         [BZ #19201]
12808         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12809         Check for zero remainder in case of large exponents and ensure
12810         correct sign of result in that case.
12811         * math/libm-test.inc (remainder_test_data): Add more tests.
12813         [BZ #6799]
12814         * math/s_nextafter.c: Include <errno.h>.
12815         (__nextafter): Set errno on overflow and underflow.
12816         * math/s_nexttowardf.c: Include <errno.h>.
12817         (__nexttowardf): Set errno on overflow and underflow.
12818         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12819         (__nextafterl): Set errno on overflow and underflow.
12820         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12821         (__nexttoward): Set errno on overflow and underflow.
12822         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12823         (__nexttowardf): Set errno on overflow and underflow.
12824         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12825         (__nextafterf): Set errno on overflow and underflow.
12826         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12827         (__nextafterl): Set errno on overflow and underflow.
12828         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12829         (__nexttoward): Set errno on overflow and underflow.
12830         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12831         (__nexttowardf): Set errno on overflow and underflow.
12832         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12833         (__nextafterl): Set errno on overflow and underflow.
12834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12835         (__nexttoward): Set errno on overflow and underflow.
12836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12837         (__nexttowardf): Set errno on overflow and underflow.
12838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12839         (__nexttoward): Set errno on overflow and underflow.
12840         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12841         (__nexttowardf): Set errno on overflow and underflow.
12842         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12843         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12844         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12845         (__nextafterl): Set errno on overflow and underflow.
12846         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12847         setting to be missing on overflow.  Add more tests.
12848         (nexttoward_test_data): Likewise.
12850         * configure.ac (libc_cv_initfini_array): Remove configure test.
12851         * configure: Regenerated.
12853 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12855         [BZ #19189]
12856         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12857         non-finite argument handle arguments with negative sign.
12859         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12860         result from infinite argument.
12861         (j1_test_data): Likewise.
12862         (jn_test_data): Likewise.
12863         (y0_test_data): Likewise.
12864         (y1_test_data): Likewise.
12865         (yn_test_data): Likewise.
12867         [BZ #16171]
12868         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12869         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12870         * math/w_remainderf.c (dremf): Define as weak alias of
12871         __remainderf.
12872         * math/w_remainderl.c (dreml): Define as weak alias of
12873         __remainderl.
12874         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12875         __remainder.
12876         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12877         __remainderf.
12878         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12879         __remainderl.
12880         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12881         weak alias of remainderl.
12882         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12883         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12884         alias of __remainder.
12885         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12886         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12887         strong alias of __remainderl.
12888         (dreml): Use long_double_symbol.
12889         * math/Makefile (libm-calls): Remove w_drem.
12890         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12891         (CFLAGS-nldbl-drem.c): Remove variable.
12892         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12893         * math/w_drem.c: Remove file.
12894         * math/w_dremf.c: Likewise.
12895         * math/w_dreml.c: Likewise.
12896         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12897         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12898         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12900         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12901         * sysdeps/i386/configure: Regenerated.
12902         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12903         * sysdeps/x86_64/configure: Regenerated.
12905         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12906         test.
12907         (libc_cv_visibility_attribute): Likewise.
12908         (libc_cv_protected_data): Test unconditionally.
12909         (libc_cv_broken_visibility_attribute): Remove configure test.
12910         (libc_cv_have_sdata_section): Test unconditionally.
12911         * configure: Regenerated.
12913         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12914         * include/scratch_buffer.h: Include <stddef.h> instead of
12915         <libc-internal.h>.
12916         (struct scratch_buffer): Use max_align_t instead of
12917         libc_max_align_t.
12919 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12921         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12922         instead of extend_alloca.  Change control flow to avoid a goto.
12923         Remove assert which is trivially always true.
12925 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12927         [BZ #16068]
12928         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12929         (FE_ALL_EXCEPT_X86): New macro.
12930         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12931         FE_ALL_EXCEPT.  Ensure precision control is included in
12932         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12933         handle "denormal operand exception" and clear FZ and DAZ bits.
12934         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12935         (FE_ALL_EXCEPT_X86): New macro.
12936         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12937         FE_ALL_EXCEPT.  Ensure precision control is included in
12938         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12939         handle "denormal operand exception" and clear FZ and DAZ bits.
12940         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12941         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12942         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12943         test-fenv-x87 and test-fenv-sse-2.
12944         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12946         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12947         * math/test-double.h (BUILD_COMPLEX): New macro.
12948         * math/test-float.h (BUILD_COMPLEX): Likewise.
12949         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12951         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12952         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12953         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12955         instead of DBL_DENORM_MIN in comment.
12956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12957         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12958         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12959         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12960         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12961         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12963 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12965         [BZ# 19048]
12966         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12967         attached_threads member.
12968         (main_arena): Initialize attached_threads.
12969         * malloc/arena.c (list_lock): Update comment.
12970         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12971         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12972         (deattach_arena): New function.
12973         (_int_new_arena): Initialize arena reference count and deattach
12974         replaced arena.
12975         (get_free_list, reused_arena): Update reference count and deattach
12976         replaced arena.
12977         (arena_thread_freeres): Update arena reference count and only put
12978         unreferenced arenas on the free list.
12980 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12982         [BZ #19181]
12983         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12984         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12985         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12986         * math/test-fenv-clear-main.c: New file.
12987         * math/test-fenv-clear.c: Likewise.
12988         * math/Makefile (tests): Add test-fenv-clear.
12989         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12990         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12991         test-fenv-clear-sse.
12992         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12994         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12995         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12996         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12998 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13000         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13001         static libc.
13003 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13005         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13006         test.
13007         * sysdeps/i386/configure: Regenerated.
13008         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13009         test.
13010         * sysdeps/x86_64/configure: Regenerated.
13011         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13013         memset-avx2 unconditionally instead of conditionally on
13014         [$(config-cflags-avx2) = yes].
13015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13016         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13017         unconditional.
13018         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13019         * sysdeps/x86_64/multiarch/memset_chk.S
13020         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13021         to [IS_IN (libc) && SHARED].
13023 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13025         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13026         configure test.
13027         * sysdeps/arm/configure: Regenerated.
13028         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13029         Define variable if not already defined.
13031         [BZ #17404]
13032         * sysdeps/mips/atomic-machine.h
13033         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13034         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13035         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13037         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13038         unconditional.
13039         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13040         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13041         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13042         unconditional.
13043         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13044         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13045         unconditional.
13046         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13047         * stdlib/setenv.c
13048         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13049         code unconditional.
13050         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13051         Remove conditional code.
13052         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13053         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13054         unconditional.
13055         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13056         code.
13057         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13058         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13059         unconditional.
13060         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13061         code.
13062         * sysdeps/ieee754/ldbl-128/k_tanl.c
13063         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13064         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13065         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13066         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13067         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13068         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13069         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13070         unconditional.
13071         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13072         code.
13073         * sysdeps/ieee754/ldbl-96/k_tanl.c
13074         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13075         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13077         * nptl/tst-initializers1-c11.c: New file.
13078         * nptl/tst-initializers1-gnu11.c: Likewise.
13079         * nptl/Makefile (tests): Add these new tests.
13080         (CFLAGS-tst-initializers1-c11.c): New variable.
13081         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13083         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13084         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13085         instead of -std=gnu99.
13086         * configure.ac (systemtap): Test with -std=gnu11 instead of
13087         -std=gnu99.
13088         * configure: Regenerated.
13089         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13090         in compilation command in comment.
13092         * sysdeps/nptl/configure.ac: Remove file.
13093         * sysdeps/nptl/configure: Remove generated file.
13094         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13095         * configure: Regenerated.
13096         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13097         * config.make.in (have-forced-unwind): Remove variable.
13098         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13099         unconditional.
13100         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13101         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13102         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13103         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13104         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13105         unconditional.
13107 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13109         [BZ #19174]
13110         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13111         .skip_lock_out_of_tbegin_retries.
13112         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13113         (__lll_lock_elision): Likewise, and respect a value of
13114         try_tbegin <= 0.
13116 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13118         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13119         statement.
13121 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13123         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13124         variable.
13125         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13126         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13128         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13129         of -std=c1x -D_ISOC11_SOURCE.
13131         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13132         * configure: Regenerated.
13133         * manual/install.texi (Tools for Compilation): Document
13134         requirement for GCC 4.7 or later.
13135         * INSTALL: Regenerated.
13137 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13139         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13140         on CNT to a conditional jump to 'puntdata'.
13142 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13144         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13145         (libc_cv_gcc_tls_model_attr): Likewise.
13146         * configure: Regenerated.
13148         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13149         * configure: Regenerated.
13150         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13152 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13154         * configure.ac (old_glibc_headers): Remove configure test.
13155         * configure: Regenerated.
13156         * config.make.in (old-glibc-headers): Remove variable.
13157         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13158         (install): Remove dependency on remove-old-headers.
13159         (headers2_0): Remove variable.
13160         (remove-old-headers): Remove rule.
13162         * configure.ac (libc_cv_dot_text): Remove configure test.
13163         (libc_cv_asm_set_directive): Use .text instead of
13164         ${libc_cv_dot_text} in configure test.
13165         * configure: Regenerated.
13167 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13169         [BZ #19168]
13170         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13172 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13174         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13175         not support static linking.
13176         * configure: Regenerate.
13178 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13180         * math/libm-test.inc (check_float_internal): Do not special-case
13181         errors up to 0.5 ulp.
13183         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13184         log2.
13185         * math/auto-libm-test-out: Regenerated.
13186         * math/libm-test.inc (MAX_EXP): New macro.
13187         (ilogb_test_data): Add more tests.
13188         (isfinite_test_data): Likewise.
13189         (isgreater_test_data): Likewise.
13190         (isgreaterequal_test_data): Likewise.
13191         (isinf_test_data): Likewise.
13192         (isless_test_data): Likewise.
13193         (islessequal_test_data): Likewise.
13194         (islessgreater_test_data): Likewise.
13195         (isnan_test_data): Likewise.
13196         (isnormal_test_data): Likewise.
13197         (issignaling_test_data): Likewise.
13198         (isunordered_test_data): Likewise.
13199         (j0_test_data): Likewise.
13200         (j1_test_data): Likewise.
13201         (jn_test_data): Likewise.
13202         (lgamma_test_data): Likewise.
13203         (log_test_data): Likewise.
13204         (log10_test_data): Likewise.
13205         (log1p_test_data): Likewise.
13206         (log2_test_data): Likewise.
13207         (logb_test_data): Likewise.
13208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13210         [BZ #18611]
13211         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13212         avoid excess range and precision on underflow.
13213         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13214         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13215         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13216         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13217         underflow.
13218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13220         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13221         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13222         * math/auto-libm-test-in: Do not allow missing errno setting for
13223         tests of j1 and jn.
13224         * math/auto-libm-test-out: Regenerated.
13226 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #15491]
13229         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13230         floating-point environment instead of clearing all exceptions.
13231         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13232         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13233         merging in "invalid" exceptions from frndint.
13234         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13235         * math/test-nearbyint-except.c: New file.
13236         * math/Makefile (tests): Add test-nearbyint-except.
13238 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13240         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13242         * sysdeps/tile/libm-test-ulps: Regenerated.
13244 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13247         (__NR_sync_file_range2): Assume it is always defined.
13248         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13249         (__NR_sync_file_range): Assume it is always defined.
13251 2015-10-22  Andreas Schwab  <schwab@suse.de>
13253         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13254         INTERNAL_SYSCALL_ERRNO.
13255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13256         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13257         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13258         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13259         Likewise.
13260         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13262 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13264         * io/tst-fcntl.c (fd): New static variable.
13265         (do_prepare): Open temporary file here....
13266         (do_test): ...not here.
13268         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13270 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13272         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13273         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13274         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13275         Moved before "#ifdef __ASSEMBLER__".
13277 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13279         [BZ #19156]
13280         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13281         arguments very close to 0.
13283 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13285         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13286         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13288 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13290         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13291         New.  Defined for GCC 5 and above when not compiling for
13292         profiling.
13293         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13295         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13296         Renamed to ...
13297         (CFLAGS-epoll_pwait.o): This.
13298         (CFLAGS-mmap.c): Renamed to ...
13299         (CFLAGS-mmap.o): This.
13300         (CFLAGS-mmap64.c): Renamed to ...
13301         (CFLAGS-mmap64.o): This.
13302         (CFLAGS-epoll_pwait.os): New.
13303         (CFLAGS-mmap.os): Likewise.
13304         (CFLAGS-mmap64.os): Likewise.
13305         (CFLAGS-semtimedop.os): Likewise.
13306         (CFLAGS-semtimedop.c): Renamed to ...
13307         (CFLAGS-semtimedop.o): This.
13309 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13311         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13312         warning message.
13314 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13316         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13317         * Makefile ($(objpfx)c++-types-check.out): Filter out
13318         $(+gccwarn-c) instead of -Wstrict-prototypes.
13320         * io/fts.c (fts_open): Convert to prototype-style function
13321         definition.
13322         * malloc/mcheck.c (mcheck): Likewise.
13323         (mcheck_pedantic): Likewise.
13324         * posix/regexec.c (re_search_2_stub): Likewise.  Use
13325         internal_function.
13326         (re_search_internal): Likewise.
13327         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13328         prototype-style function definition.
13329         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13330         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13331         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13332         (xdr_utmpptr): Likewise.
13333         (xdr_utmparr): Likewise.
13334         (xdr_utmpidle): Likewise.
13335         (xdr_utmpidleptr): Likewise.
13336         (xdr_utmpidlearr): Likewise.
13338         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13339         log, log10 and log2.
13340         * math/auto-libm-test-out: Regenerated.
13341         * math/libm-test.inc (fmod_test_data): Add more tests.
13342         (fpclassify_test_data): Likewise.
13343         (frexp_test_data): Likewise.
13344         (hypot_test_data): Likewise.
13345         (ilogb_test_data): Likewise.
13347 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
13349         * debug/fortify_fail.c (__fortify_fail): Convert to
13350         prototype-style function definition.  Use internal_function.
13351         * libio/genops.c (save_for_backup): Convert to prototype-style
13352         function definition.
13353         * libio/wgenops.c (save_for_wbackup): Likewise.
13354         * login/grantpt.c (grantpt): Likewise.
13355         * login/ptsname.c (ptsname): Likewise.
13356         (__ptsname_r): Likewise.
13357         * login/unlockpt.c (unlockpt): Likewise.
13358         * mach/msgserver.c (__mach_msg_server): Likewise.
13359         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13360         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13361         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13362         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13363         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13364         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13365         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13366         Likewise.
13367         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
13368         internal_function.
13369         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13370         prototype-style function definition.
13371         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13372         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13373         (__pthread_create_2_0): Likewise.
13374         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13375         * nptl/register-atfork.c (__register_atfork): Likewise.
13376         * posix/glob.c (glob): Likewise.
13377         * posix/regcomp.c (re_comp): Likewise.
13378         * posix/regexec.c (re_exec): Likewise.
13379         * stdlib/add_n.c [__STDC__]: Make code unconditional.
13380         [!__STDC__]: Remove conditional code.
13381         * stdlib/cmp.c [__STDC__]: Make code unconditional.
13382         [!__STDC__]: Remove conditional code.
13383         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13384         [!__STDC__]: Remove conditional code.
13385         * stdlib/divrem.c [__STDC__]: Make code unconditional.
13386         [!__STDC__]: Remove conditional code.
13387         * stdlib/lshift.c [__STDC__]: Make code unconditional.
13388         [!__STDC__]: Remove conditional code.
13389         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13390         [!__STDC__]: Remove conditional code.
13391         * stdlib/mul.c [__STDC__]: Make code unconditional.
13392         [!__STDC__]: Remove conditional code.
13393         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13394         [!__STDC__]: Remove conditional code.
13395         * stdlib/rshift.c [__STDC__]: Make code unconditional.
13396         [!__STDC__]: Remove conditional code.
13397         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13398         function definition.
13399         (STRTOF): Likewise.
13400         * stdlib/strtod_l.c (__STRTOF): Likewise.
13401         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13402         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13403         (__strtol_l): Likewise.
13404         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13405         [!__STDC__]: Remove conditional code.
13406         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13407         definition.
13408         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13409         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13410         type.
13411         (__strcasecmp): Convert to prototype-style function definition.
13412         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13413         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13414         type.
13415         (__strncasecmp): Convert to prototype-style function definition.
13416         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13417         * sunrpc/xdr.c (xdr_union): Likewise.
13418         * sunrpc/xdr_array.c (xdr_array): Likewise.
13419         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13420         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13421         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13422         Likewise.
13423         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13424         Likewise.
13425         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13426         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13427         Likewise.
13428         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13429         (LOCALE_PARAM_PROTO): Likewise.
13430         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13431         argument type.
13432         (ut_argument_spec): Remove macro.
13433         (ut_argument_spec_iso): Rename to ut_argument_spec.
13434         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
13435         prototype-style function definition.
13436         (memcpy_uppcase): Likewise.
13437         (__strftime_internal): Likewise.
13438         (my_strftime): Likewise.
13439         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13440         (LOCALE_PARAM_DECL): Likewise.
13441         [_LIBC] (LOCALE_PARAM): Include argument type.
13442         (__strptime_internal): Convert to prototype-style function
13443         definition.
13444         (strptime): Likewise.
13445         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13446         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13447         type.
13448         (__wcscasecmp): Convert to prototype-style function definition.
13449         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13450         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13451         type.
13452         (__wcsncasecmp): Convert to prototype-style function definition.
13454         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13455         function definition.
13456         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13457         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13458         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13459         * elf/dl-minimal.c (_itoa): Likewise.
13460         * hurd/hurdmalloc.c (malloc): Likewise.
13461         (free): Likewise.
13462         (realloc): Likewise.
13463         * inet/inet6_option.c (inet6_option_space): Likewise.
13464         (inet6_option_init): Likewise.
13465         (inet6_option_append): Likewise.
13466         (inet6_option_alloc): Likewise.
13467         (inet6_option_next): Likewise.
13468         (inet6_option_find): Likewise.
13469         * io/ftw.c (FTW_NAME): Likewise.
13470         (NFTW_NAME): Likewise.
13471         (NFTW_NEW_NAME): Likewise.
13472         (NFTW_OLD_NAME): Likewise.
13473         * libio/iofwide.c (_IO_fwide): Likewise.
13474         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13475         (_IO_str_init_static): Likewise.
13476         (_IO_str_init_readonly): Likewise.
13477         (_IO_str_overflow): Likewise.
13478         (_IO_str_underflow): Likewise.
13479         (_IO_str_count): Likewise.
13480         (_IO_str_seekoff): Likewise.
13481         (_IO_str_pbackfail): Likewise.
13482         (_IO_str_finish): Likewise.
13483         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13484         (_IO_wstr_overflow): Likewise.
13485         (_IO_wstr_underflow): Likewise.
13486         (_IO_wstr_count): Likewise.
13487         (_IO_wstr_seekoff): Likewise.
13488         (_IO_wstr_pbackfail): Likewise.
13489         (_IO_wstr_finish): Likewise.
13490         * locale/programs/localedef.c (normalize_codeset): Likewise.
13491         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13492         (add_locales_to_archive): Likewise.
13493         (delete_locales_from_archive): Likewise.
13494         * malloc/malloc.c (__libc_mallinfo): Likewise.
13495         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13496         * misc/tsearch.c (__tfind): Likewise.
13497         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13498         * nptl/pthread_attr_getdetachstate.c
13499         (__pthread_attr_getdetachstate): Likewise.
13500         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13501         Likewise.
13502         * nptl/pthread_attr_getinheritsched.c
13503         (__pthread_attr_getinheritsched): Likewise.
13504         * nptl/pthread_attr_getschedparam.c
13505         (__pthread_attr_getschedparam): Likewise.
13506         * nptl/pthread_attr_getschedpolicy.c
13507         (__pthread_attr_getschedpolicy): Likewise.
13508         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13509         Likewise.
13510         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13511         Likewise.
13512         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13513         Likewise.
13514         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13515         Likewise.
13516         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13517         (__pthread_attr_init_2_0): Likewise.
13518         * nptl/pthread_attr_setdetachstate.c
13519         (__pthread_attr_setdetachstate): Likewise.
13520         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13521         Likewise.
13522         * nptl/pthread_attr_setinheritsched.c
13523         (__pthread_attr_setinheritsched): Likewise.
13524         * nptl/pthread_attr_setschedparam.c
13525         (__pthread_attr_setschedparam): Likewise.
13526         * nptl/pthread_attr_setschedpolicy.c
13527         (__pthread_attr_setschedpolicy): Likewise.
13528         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13529         Likewise.
13530         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13531         Likewise.
13532         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13533         Likewise.
13534         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13535         Likewise.
13536         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13537         Likewise.
13538         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13539         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13540         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13541         use internal_function.
13542         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13543         prototype-style function definition.
13544         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13545         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13546         internal_function.
13547         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13548         Convert to prototype-style function definition.
13549         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13550         Likewise.
13551         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13552         Likewise.
13553         (__pthread_mutex_unlock): Likewise.
13554         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13555         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13556         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13557         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13558         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13559         * nss/makedb.c (process_input): Likewise.
13560         * posix/fnmatch.c (__strchrnul): Likewise.
13561         (__wcschrnul): Likewise.
13562         (fnmatch): Likewise.
13563         * posix/fnmatch_loop.c (FCT): Likewise.
13564         * posix/glob.c (globfree): Likewise.
13565         (__glob_pattern_type): Likewise.
13566         (__glob_pattern_p): Likewise.
13567         * posix/regcomp.c (re_compile_pattern): Likewise.
13568         (re_set_syntax): Likewise.
13569         (re_compile_fastmap): Likewise.
13570         (regcomp): Likewise.
13571         (regerror): Likewise.
13572         (regfree): Likewise.
13573         * posix/regexec.c (regexec): Likewise.
13574         (re_match): Likewise.
13575         (re_search): Likewise.
13576         (re_match_2): Likewise.
13577         (re_search_2): Likewise.
13578         (re_search_stub): Likewise.  Use internal_function
13579         (re_copy_regs): Likewise.
13580         (re_set_registers): Convert to prototype-style function
13581         definition.
13582         (prune_impossible_nodes): Likewise.  Use internal_function.
13583         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13584         prototype-style function definition.
13585         (inet_net_pton_ipv4): Likewise.
13586         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13587         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13588         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13589         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13590         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13591         Make variadic.
13592         * time/strptime_l.c (localtime_r): Convert to prototype-style
13593         function definition.
13594         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13595         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13596         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13597         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13599         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13600         definition.
13601         (_ufc_doit_r): Likewise.
13602         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13603         (_ufc_output_conversion_r): Likewise.
13604         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13605         * inet/rcmd.c (rcmd_af): Likewise.
13606         (rcmd): Likewise.
13607         (ruserok_af): Likewise.
13608         (ruserok): Likewise.
13609         (ruserok2_sa): Likewise.
13610         (ruserok_sa): Likewise.
13611         (iruserok_af): Likewise.
13612         (iruserok): Likewise.
13613         (__ivaliduser): Likewise.
13614         (__validuser2_sa): Likewise.
13615         * inet/rexec.c (rexec_af): Likewise.
13616         (rexec): Likewise.
13617         * inet/ruserpass.c (ruserpass): Likewise.
13618         * locale/programs/xmalloc.c (xcalloc): Likewise.
13619         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13620         * math/w_drem.c (__drem): Likewise.
13621         * math/w_dremf.c (__dremf): Likewise.
13622         * math/w_dreml.c (__dreml): Likewise.
13623         * misc/daemon.c (daemon): Likewise.
13624         * resolv/res_debug.c (p_fqnname): Likewise.
13625         * stdlib/div.c (div): Likewise.
13626         * string/memcmp.c (memcmp_bytes): Likewise.
13627         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13628         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13630         * crypt/cert.c (main): Convert to prototype-style function
13631         definition.
13632         * io/pipe.c (__pipe): Likewise.
13633         * io/pipe2.c (__pipe2): Likewise.
13634         * misc/futimesat.c (futimesat): Likewise.
13635         * misc/utimes.c (__utimes): Likewise.
13636         * posix/execve.c (__execve): Likewise.
13637         * posix/execvp.c (execvp): Likewise.
13638         * posix/execvpe.c (__execvpe): Likewise.
13639         * posix/fexecve.c (fexecve): Likewise.
13640         * socket/socketpair.c (socketpair): Likewise.
13641         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13642         * stdlib/erand48.c (erand48): Likewise.
13643         * stdlib/erand48_r.c (__erand48_r): Likewise.
13644         * stdlib/jrand48.c (jrand48): Likewise.
13645         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13646         * stdlib/lcong48.c (lcong48): Likewise.
13647         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13648         * stdlib/nrand48.c (nrand48): Likewise.
13649         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13650         * stdlib/seed48.c (seed48): Likewise.
13651         * stdlib/seed48_r.c (__seed48_r): Likewise.
13652         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13653         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13654         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13656 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13658         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13659         * configure: Regenerated.
13660         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13661         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13662         unconditional.
13663         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13664         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13665         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13666         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13667         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13668         unconditional.
13669         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13671         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13672         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13674         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13675         function definition.
13676         * crypt/crypt_util.c (__encrypt_r): Likewise.
13677         * libio/genops.c (_IO_no_init): Likewise.
13678         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13679         (_IO_old_fopencookie): Likewise.
13680         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13681         * libio/iogetline.c (_IO_getline): Likewise.
13682         (_IO_getline_info): Likewise.
13683         * libio/iogetwline.c (_IO_getwline): Likewise.
13684         (_IO_getwline_info): Likewise.
13685         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13686         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13687         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13688         (find_entry): Likewise.
13689         (iterate_table): Likewise.
13690         (lookup): Likewise.
13691         * login/forkpty.c (forkpty): Likewise.
13692         * misc/hsearch_r.c (__hsearch_r): Likewise.
13693         * misc/select.c (__select): Likewise.
13694         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13695         Likewise.
13696         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13697         Likewise.
13698         * nptl/old_pthread_cond_timedwait.c
13699         (__pthread_cond_timedwait_2_0): Likewise.
13700         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13701         * nptl/pthread_barrierattr_getpshared.c
13702         (pthread_barrierattr_getpshared): Likewise.
13703         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13704         Likewise.
13705         * nptl/pthread_mutex_setprioceiling.c
13706         (pthread_mutex_setprioceiling): Likewise.
13707         * nptl/pthread_mutexattr_getprioceiling.c
13708         (pthread_mutexattr_getprioceiling): Likewise.
13709         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13710         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13711         Likewise.
13712         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13713         Likewise.
13714         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13715         Likewise.
13716         * socket/recvfrom.c (__recvfrom): Likewise.
13717         * socket/sendto.c (__sendto): Likewise.
13718         * socket/setsockopt.c (__setsockopt): Likewise.
13719         * stdio-common/_itoa.c (_itoa): Likewise.
13720         * stdio-common/_itowa.c (_itowa): Likewise.
13721         * stdio-common/reg-printf.c (__register_printf_specifier):
13722         Likewise.
13723         (__register_printf_function): Likewise.
13724         * stdio-common/tempname.c (__path_search): Likewise.
13725         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13726         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13727         * stdlib/random_r.c (__initstate_r): Likewise.
13728         * stdlib/setenv.c (__add_to_environ): Likewise.
13729         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13730         * streams/getpmsg.c (getpmsg): Likewise.
13731         * streams/putmsg.c (putmsg): Likewise.
13732         * streams/putpmsg.c (putpmsg): Likewise.
13733         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13734         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13735         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13736         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13737         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13738         * sunrpc/svc_udp.c (cache_get): Likewise.
13739         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13740         * sysdeps/mach/hurd/getcwd.c
13741         (__canonicalize_directory_name_internal): Likewise.
13742         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13743         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13744         * sysdeps/mach/hurd/select.c (__select): Likewise.
13745         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13746         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13747         * sysdeps/sparc/nptl/pthread_barrier_init.c
13748         (__pthread_barrier_init): Likewise.
13749         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13750         (__pthread_cond_timedwait): Likewise.
13751         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13752         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13753         Likewise.
13754         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13755         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13756         Likewise.
13757         * sysvipc/semtimedop.c (semtimedop): Likewise.
13758         * time/setitimer.c (__setitimer): Likewise.
13759         * time/strftime_l.c (emacs_strftime): Likewise.
13761 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13763         * config.make.in (have-ssp): Delete.
13764         (stack-protector): New variable.
13765         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13766         cache test for -fstack-protector-strong.  Export stack_protector to
13767         the best ssp flag.
13768         * configure: Regenerated.
13769         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13770         * nscd/Makefile (CFLAGS-nscd): Likewise.
13771         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13773 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13775         [BZ #19122]
13776         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13777         attribute_hidden.
13779 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13781         [BZ #18743]
13782         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13783         code to...
13784         (ELIDE_LOCK): ...here.
13785         (__get_new_count): New function with part of the code from
13786         __elide_lock that updates the value of adapt_count after a
13787         transaction abort.
13788         (__elided_trylock): Moved this code to...
13789         (ELIDE_TRYLOCK): ...here.
13791 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13793         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13794         * configure: Regenerate.
13795         * INSTALL: Regenerate.
13796         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13797         and tweak grammar.
13799 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13801         * login/programs/pt_chown.c: Include signal.h
13802         (main): Clear any signal mask from the parent process.
13804 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13806         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13807         * configure: Regenerated.
13808         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13809         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13810         $(gnu89-inline-CFLAGS).
13812         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13813         test.
13814         (libc_cv_asm_weakext_directive): Likewise.
13815         * configure: Regenerated.
13816         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13817         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13818         * include/libc-symbols.h
13819         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13820         #error.
13821         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13822         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13824         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13825         prototype-style function definition.
13826         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13827         * sysdeps/i386/ffs.c (__ffs): Likewise.
13828         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13829         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13830         Likewise.
13831         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13832         Likewise.
13833         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13834         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13835         Likewise.
13836         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13837         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13838         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13839         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13840         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13841         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13842         * sysdeps/mach/hurd/access.c (__access): Likewise.
13843         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13844         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13845         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13846         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13847         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13848         (cthread_getspecific): Likewise.
13849         (cthread_setspecific): Likewise.
13850         (__libc_getspecific): Likewise.
13851         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13852         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13853         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13854         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13855         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13856         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13857         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13858         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13859         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13860         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13861         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13862         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13863         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13864         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13865         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13866         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13867         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13868         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13869         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13870         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13871         * sysdeps/mach/hurd/link.c (__link): Likewise.
13872         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13873         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13874         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13875         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13876         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13877         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13878         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13879         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13880         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13881         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13882         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13883         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13884         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13885         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13886         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13887         * sysdeps/mach/hurd/send.c (__send): Likewise.
13888         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13889         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13890         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13891         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13892         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13893         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13894         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13895         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13896         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13897         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13898         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13899         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13900         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13901         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13902         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13903         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13904         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13905         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13906         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13907         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13908         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13909         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13910         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13911         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13912         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13913         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13914         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13915         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13916         * sysdeps/posix/alarm.c (alarm): Likewise.
13917         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13918         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13919         * sysdeps/posix/dup.c (__dup): Likewise.
13920         * sysdeps/posix/dup2.c (__dup2): Likewise.
13921         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13922         (main): Likewise.
13923         * sysdeps/posix/flock.c (__flock): Likewise.
13924         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13925         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13926         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13927         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13928         * sysdeps/posix/isatty.c (__isatty): Likewise.
13929         * sysdeps/posix/killpg.c (killpg): Likewise.
13930         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13931         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13932         * sysdeps/posix/raise.c (raise): Likewise.
13933         * sysdeps/posix/remove.c (remove): Likewise.
13934         * sysdeps/posix/rename.c (rename): Likewise.
13935         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13936         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13937         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13938         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13939         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13940         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13941         * sysdeps/posix/sigset.c (sigset): Likewise.
13942         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13943         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13944         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13945         * sysdeps/posix/time.c (time): Likewise.
13946         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13947         (ttyname): Likewise.
13948         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13949         * sysdeps/posix/utime.c (utime): Likewise.
13950         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13951         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13952         Likewise.
13953         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13954         (pthread_spin_trylock): Likewise.
13955         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13956         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13957         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13958         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13959         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13960         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13961         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13962         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13963         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13964         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13965         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13966         * sysdeps/s390/ffs.c (__ffs): Likewise.
13967         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13968         Likewise.
13969         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13970         Likewise.
13971         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13972         Likewise.
13973         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13974         (pthread_barrier_destroy): Likewise.
13975         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13976         (__pthread_barrier_wait): Likewise.
13977         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13978         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13979         (__pthread_barrier_wait): Likewise.
13980         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13981         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13982         (memcmp_not_common_alignment): Likewise.
13983         (MEMCMP): Likewise.
13984         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13985         (_wordcopy_fwd_dest_aligned): Likewise.
13986         (_wordcopy_bwd_aligned): Likewise.
13987         (_wordcopy_bwd_dest_aligned): Likewise.
13988         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13989         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13990         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13991         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13992         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13993         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13994         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13995         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13996         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13997         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13998         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13999         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14000         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14001         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14002         * sysdeps/unix/stime.c (stime): Likewise.
14003         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14004         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14005         Likewise.  Use internal_function.
14006         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14007         Convert to prototype-style function definition.
14008         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14009         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14010         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14011         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14012         Likewise.  Use internal_function.
14013         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14014         prototype-style function definition
14015         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14016         Likewise.
14017         (__getlogin_r): Likewise.
14018         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14019         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14020         (__pthread_cond_broadcast): Likewise.
14021         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14022         (__pthread_cond_destroy): Likewise.
14023         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14024         (__pthread_cond_init): Likewise.
14025         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14026         (__pthread_cond_signal): Likewise.
14027         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14028         (__pthread_cond_wait): Likewise.
14029         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14030         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14031         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14032         Likewise.
14033         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14034         Likewise.
14035         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14036         Likewise.
14037         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14038         Likewise.
14039         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14041         (__ftruncate64): Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14043         (truncate64): Likewise.
14044         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14045         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14046         (pthread_getcpuclockid): Likewise.
14047         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14048         Likewise.
14049         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14050         Likewise.
14051         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14052         Likewise.
14053         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14054         Likewise.
14055         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14056         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14057         (__libc_sigaction): Likewise.
14058         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14059         Likewise.
14060         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14061         (__sigprocmask): Likewise.
14062         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14063         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14064         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14065         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14066         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14067         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14068         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14069         Likewise.
14070         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14071         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14072         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14073         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14074         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14075         Likewise.
14076         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14077         (__sigprocmask): Likewise.
14078         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14079         (cfgetispeed): Likewise.
14080         (cfsetospeed): Likewise.
14081         (cfsetispeed): Likewise.
14082         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14083         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14084         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14085         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14086         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14087         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14088         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14089         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14090         Likewise.
14091         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14092         Likewise.
14093         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14094         Likewise.
14095         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14096         Likewise.
14097         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14099 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14101         sunrpc: Rewrite with explicit TLS access using __thread.
14102         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14103         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14104         directly.
14105         (__rpc_thread_variables): Access thread_rpc_vars directly.
14106         Eliminate redundant assignment of the tvp variable.
14108 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14110         malloc: Rewrite with explicit TLS access using __thread.
14111         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14112         (tsd_setspecific, tsd_getspecific): Remove.
14113         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14114         (tsd_setspecific, tsd_getspecific): Likewise.
14115         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14116         (tsd_setspecific, tsd_getspecific): Likewise.
14117         * malloc/arena.c (thread_arena): New TLS variable.
14118         (arena_key): Remove variable.
14119         (arena_get): Use thread_arena.
14120         (arena_lookup): Remove macro.
14121         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14122         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14123         (_int_new_arena, get_free_list, reused_arena)
14124         (arena_thread_freeres): Use thread_arena.
14125         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14126         tsd_getspecific, tsd_setspecific from safety annotations.
14127         (Allocating Cleared Space): Remove arena_lookup from safety
14128         annotations.
14130 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14132         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14133         struct scratch_buffer instead of extend_alloca.
14135 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14137         * sysdeps/unix/sysv/linux/kernel-features.h
14138         (__ASSUME_SOCK_CLOEXEC): Remove.
14139         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14140         (__have_paccept): Remove unused macro.
14141         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14142         * misc/syslog.c (openlog_internal): Remove fallback code for
14143         !__ASSUME_SOCK_CLOEXEC.
14144         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14145         missing SOCK_CLOEXEC.
14146         * nscd/connections.c (have_sock_cloexec): Remove definition.
14147         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14148         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14149         !__ASSUME_SOCK_CLOEXEC.
14150         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14151         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14152         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14153         definition.
14154         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14155         code for !__ASSUME_SOCK_CLOEXEC.
14157 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14159         [BZ #18982]
14160         * manual/stdio.texi (Variable Arguments Output): Add portability
14161         note, explaining that vfprintf clobbers the va_list pointer.
14163 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14165         * math/libm-test.inc (fabs_test_data): Add more tests.
14166         (fdim_test_data): Likewise.
14167         (fma_test_data): Likewise.
14168         (fmax_test_data): Likewise.
14169         (fmin_test_data): Likewise.
14170         (fmod_test_data): Likewise.
14172 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14174         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14175         data.
14177 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14179         * math/libm-test.inc (ceil_test_data): Add more tests and more
14180         expectations for "inexact".
14181         (floor_test_data): Add more tests.
14182         (round_test_data): Likewise.
14183         (trunc_test_data): Likewise.
14185         * crypt/cert.c (good_bye): Convert to prototype-style function
14186         definition.
14187         (get8): Likewise.
14188         (put8): Likewise.
14189         * crypt/crypt-entry.c (crypt): Likewise.
14190         (__fcrypt): Likewise.
14191         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14192         (_ufc_set_bits): Likewise.
14193         (_ufc_clearmem): Likewise.
14194         (__init_des_r): Likewise.
14195         (shuffle_sb): Likewise.
14196         (shuffle_sb): Likewise.
14197         (_ufc_setup_salt_r): Likewise.
14198         (_ufc_mk_keytab_r): Likewise.
14199         (_ufc_dofinalperm_r): Likewise.
14200         (encrypt): Likewise.
14201         (__setkey_r): Likewise.
14202         (setkey): Likewise.
14203         * crypt/md5.c (md5_init_ctx): Likewise.
14204         (md5_read_ctx): Likewise.
14205         (md5_finish_ctx): Likewise.
14206         (md5_stream): Likewise.
14207         (md5_buffer): Likewise.
14208         (md5_process_bytes): Likewise.
14209         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14210         (__sha256_finish_ctx): Likewise.
14211         (__sha256_process_bytes): Likewise.
14212         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14213         (__sha512_finish_ctx): Likewise.
14214         (__sha512_process_bytes): Likewise.
14215         * ctype/isctype.c (__isctype): Likewise.
14216         * debug/backtrace.c (__backtrace): Likewise.
14217         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14218         * debug/fgets_chk.c (__fgets_chk): Likewise.
14219         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14220         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14221         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14222         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14223         * debug/memset_chk.c (__memset_chk): Likewise.
14224         * debug/strcat_chk.c (__strcat_chk): Likewise.
14225         * debug/strncat_chk.c (__strncat_chk): Likewise.
14226         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14227         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14228         * dirent/dirfd.c (dirfd): Likewise.
14229         * dirent/getdents.c (__getdirentries): Likewise.
14230         * dirent/getdents64.c (getdirentries64): Likewise.
14231         * dirent/rewinddir.c (__rewinddir): Likewise.
14232         * dirent/seekdir.c (seekdir): Likewise.
14233         * dirent/telldir.c (telldir): Likewise.
14234         * elf/sln.c (makesymlinks): Likewise.
14235         (makesymlink): Likewise.
14236         * gmon/gmon.c (__moncontrol): Likewise.
14237         (__monstartup): Likewise.
14238         (write_hist): Likewise.
14239         (write_call_graph): Likewise.
14240         (write_bb_counts): Likewise.
14241         * grp/setgroups.c (setgroups): Likewise.
14242         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14243         * inet/inet_net.c (inet_network): Likewise.
14244         * inet/inet_netof.c (inet_netof): Likewise.
14245         * inet/rcmd.c (rresvport_af): Likewise.
14246         (rresvport): Likewise.
14247         * io/access.c (__access): Likewise.
14248         * io/chdir.c (__chdir): Likewise.
14249         * io/chmod.c (__chmod): Likewise.
14250         * io/chown.c (__chown): Likewise.
14251         * io/close.c (__close): Likewise.
14252         * io/creat.c (creat): Likewise.
14253         * io/creat64.c (creat64): Likewise.
14254         * io/dup.c (__dup): Likewise.
14255         * io/dup2.c (__dup2): Likewise.
14256         * io/dup3.c (__dup3): Likewise.
14257         * io/euidaccess.c (__euidaccess): Likewise.
14258         * io/faccessat.c (faccessat): Likewise.
14259         * io/fchmod.c (__fchmod): Likewise.
14260         * io/fchmodat.c (fchmodat): Likewise.
14261         * io/fchown.c (__fchown): Likewise.
14262         * io/fchownat.c (fchownat): Likewise.
14263         * io/fcntl.c (__fcntl): Likewise.
14264         * io/flock.c (__flock): Likewise.
14265         * io/fts.c (fts_load): Likewise.
14266         (fts_close): Likewise.
14267         (fts_read): Likewise.
14268         (fts_set): Likewise.
14269         (fts_children): Likewise.
14270         (fts_build): Likewise.
14271         (fts_stat): Likewise.
14272         (fts_sort): Likewise.
14273         (fts_alloc): Likewise.
14274         (fts_lfree): Likewise.
14275         (fts_palloc): Likewise.
14276         (fts_padjust): Likewise.
14277         (fts_maxarglen): Likewise.
14278         (fts_safe_changedir): Likewise.
14279         * io/getwd.c (getwd): Likewise.
14280         * io/isatty.c (__isatty): Likewise.
14281         * io/lchown.c (__lchown): Likewise.
14282         * io/link.c (__link): Likewise.
14283         * io/linkat.c (linkat): Likewise.
14284         * io/lseek.c (__libc_lseek): Likewise.
14285         * io/mkdir.c (__mkdir): Likewise.
14286         * io/mkdirat.c (mkdirat): Likewise.
14287         * io/mkfifo.c (mkfifo): Likewise.
14288         * io/mkfifoat.c (mkfifoat): Likewise.
14289         * io/open.c (__libc_open): Likewise.
14290         * io/open64.c (__libc_open64): Likewise.
14291         * io/readlink.c (__readlink): Likewise.
14292         * io/readlinkat.c (readlinkat): Likewise.
14293         * io/rmdir.c (__rmdir): Likewise.
14294         * io/symlink.c (__symlink): Likewise.
14295         * io/symlinkat.c (symlinkat): Likewise.
14296         * io/ttyname.c (ttyname): Likewise.
14297         * io/ttyname_r.c (__ttyname_r): Likewise.
14298         * io/umask.c (__umask): Likewise.
14299         * io/unlink.c (__unlink): Likewise.
14300         * io/unlinkat.c (unlinkat): Likewise.
14301         * io/utime.c (utime): Likewise.
14302         * libio/clearerr.c (clearerr): Likewise.
14303         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14304         * libio/feof.c (_IO_feof): Likewise.
14305         * libio/feof_u.c (feof_unlocked): Likewise.
14306         * libio/ferror.c (_IO_ferror): Likewise.
14307         * libio/ferror_u.c (ferror_unlocked): Likewise.
14308         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14309         * libio/fileno.c (__fileno): Likewise.
14310         * libio/fputc.c (fputc): Likewise.
14311         * libio/fputc_u.c (fputc_unlocked): Likewise.
14312         * libio/fputwc.c (fputwc): Likewise.
14313         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14314         * libio/freopen.c (freopen): Likewise.
14315         * libio/freopen64.c (freopen64): Likewise.
14316         * libio/fseek.c (fseek): Likewise.
14317         * libio/fseeko.c (fseeko): Likewise.
14318         * libio/fseeko64.c (fseeko64): Likewise.
14319         * libio/ftello.c (__ftello): Likewise.
14320         * libio/ftello64.c (ftello64): Likewise.
14321         * libio/fwide.c (fwide): Likewise.
14322         * libio/genops.c (_IO_un_link): Likewise.
14323         (_IO_link_in): Likewise.
14324         (_IO_least_marker): Likewise.
14325         (_IO_switch_to_main_get_area): Likewise.
14326         (_IO_switch_to_backup_area): Likewise.
14327         (_IO_switch_to_get_mode): Likewise.
14328         (_IO_free_backup_area): Likewise.
14329         (_IO_switch_to_put_mode): Likewise.
14330         (__overflow): Likewise.
14331         (__underflow): Likewise.
14332         (__uflow): Likewise.
14333         (_IO_setb): Likewise.
14334         (_IO_doallocbuf): Likewise.
14335         (_IO_default_underflow): Likewise.
14336         (_IO_default_uflow): Likewise.
14337         (_IO_default_xsputn): Likewise.
14338         (_IO_sgetn): Likewise.
14339         (_IO_default_xsgetn): Likewise.
14340         (_IO_sync): Likewise.
14341         (_IO_default_setbuf): Likewise.
14342         (_IO_default_seekpos): Likewise.
14343         (_IO_default_doallocate): Likewise.
14344         (_IO_init): Likewise.
14345         (_IO_old_init): Likewise.
14346         (_IO_default_sync): Likewise.
14347         (_IO_default_finish): Likewise.
14348         (_IO_default_seekoff): Likewise.
14349         (_IO_sputbackc): Likewise.
14350         (_IO_sungetc): Likewise.
14351         (_IO_set_column): Likewise.
14352         (_IO_set_column): Likewise.
14353         (_IO_adjust_column): Likewise.
14354         (_IO_get_column): Likewise.
14355         (_IO_init_marker): Likewise.
14356         (_IO_remove_marker): Likewise.
14357         (_IO_marker_difference): Likewise.
14358         (_IO_marker_delta): Likewise.
14359         (_IO_seekmark): Likewise.
14360         (_IO_unsave_markers): Likewise.
14361         (_IO_nobackup_pbackfail): Likewise.
14362         (_IO_default_pbackfail): Likewise.
14363         (_IO_default_seek): Likewise.
14364         (_IO_default_stat): Likewise.
14365         (_IO_default_read): Likewise.
14366         (_IO_default_write): Likewise.
14367         (_IO_default_showmanyc): Likewise.
14368         (_IO_default_imbue): Likewise.
14369         (_IO_iter_next): Likewise.
14370         (_IO_iter_file): Likewise.
14371         * libio/getc.c (_IO_getc): Likewise.
14372         * libio/getwc.c (_IO_getwc): Likewise.
14373         * libio/iofclose.c (_IO_new_fclose): Likewise.
14374         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14375         * libio/iofflush.c (_IO_fflush): Likewise.
14376         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14377         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14378         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14379         * libio/iofgets.c (_IO_fgets): Likewise.
14380         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14381         * libio/iofgetws.c (fgetws): Likewise.
14382         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14383         * libio/iofopen64.c (_IO_fopen64): Likewise.
14384         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14385         (_IO_cookie_write): Likewise.
14386         (_IO_cookie_seek): Likewise.
14387         (_IO_cookie_close): Likewise.
14388         (_IO_cookie_seekoff): Likewise.
14389         (_IO_old_cookie_seek): Likewise.
14390         * libio/iofputs.c (_IO_fputs): Likewise.
14391         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14392         * libio/iofputws.c (fputws): Likewise.
14393         * libio/iofputws_u.c (fputws_unlocked): Likewise.
14394         * libio/iofread.c (_IO_fread): Likewise.
14395         * libio/iofread_u.c (__fread_unlocked): Likewise.
14396         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14397         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14398         * libio/ioftell.c (_IO_ftell): Likewise.
14399         * libio/iofwrite.c (_IO_fwrite): Likewise.
14400         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14401         * libio/iogets.c (_IO_gets): Likewise.
14402         * libio/iopadn.c (_IO_padn): Likewise.
14403         * libio/iopopen.c (_IO_new_proc_open): Likewise.
14404         (_IO_new_popen): Likewise.
14405         (_IO_new_proc_close): Likewise.
14406         * libio/ioputs.c (_IO_puts): Likewise.
14407         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14408         (_IO_seekoff): Likewise.
14409         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14410         (_IO_seekpos): Likewise.
14411         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14412         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14413         * libio/ioungetc.c (_IO_ungetc): Likewise.
14414         * libio/ioungetwc.c (ungetwc): Likewise.
14415         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14416         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14417         * libio/iowpadn.c (_IO_wpadn): Likewise.
14418         * libio/libc_fatal.c (__libc_fatal): Likewise.
14419         * libio/memstream.c (__open_memstream): Likewise.
14420         (_IO_mem_sync): Likewise.
14421         (_IO_mem_finish): Likewise.
14422         * libio/oldfileops.c (_IO_old_file_init): Likewise.
14423         (_IO_old_file_close_it): Likewise.
14424         (_IO_old_file_finish): Likewise.
14425         (_IO_old_file_fopen): Likewise.
14426         (_IO_old_file_attach): Likewise.
14427         (_IO_old_file_setbuf): Likewise.
14428         (_IO_old_do_write): Likewise.
14429         (old_do_write): Likewise.
14430         (_IO_old_file_underflow): Likewise.
14431         (_IO_old_file_overflow): Likewise.
14432         (_IO_old_file_sync): Likewise.
14433         (_IO_old_file_seekoff): Likewise.
14434         (_IO_old_file_write): Likewise.
14435         (_IO_old_file_xsputn): Likewise.
14436         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14437         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14438         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14439         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14440         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14441         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14442         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14443         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14444         (_IO_old_popen): Likewise.
14445         (_IO_old_proc_close): Likewise.
14446         * libio/oldpclose.c (__old_pclose): Likewise.
14447         * libio/pclose.c (__new_pclose): Likewise.
14448         * libio/peekc.c (_IO_peekc_locked): Likewise.
14449         * libio/putc.c (_IO_putc): Likewise.
14450         * libio/putc_u.c (putc_unlocked): Likewise.
14451         * libio/putchar.c (putchar): Likewise.
14452         * libio/putchar_u.c (putchar_unlocked): Likewise.
14453         * libio/putwc.c (putwc): Likewise.
14454         * libio/putwc_u.c (putwc_unlocked): Likewise.
14455         * libio/putwchar.c (putwchar): Likewise.
14456         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14457         * libio/rewind.c (rewind): Likewise.
14458         * libio/setbuf.c (setbuf): Likewise.
14459         * libio/setlinebuf.c (setlinebuf): Likewise.
14460         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14461         * libio/vscanf.c (_IO_vscanf): Likewise.
14462         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14463         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14464         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14465         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14466         (_IO_switch_to_main_wget_area): Likewise.
14467         (_IO_switch_to_wbackup_area): Likewise.
14468         (_IO_wsetb): Likewise.
14469         (_IO_wdefault_pbackfail): Likewise.
14470         (_IO_wdefault_finish): Likewise.
14471         (_IO_wdefault_uflow): Likewise.
14472         (__woverflow): Likewise.
14473         (__wuflow): Likewise.
14474         (__wunderflow): Likewise.
14475         (_IO_wdefault_xsputn): Likewise.
14476         (_IO_wdefault_xsgetn): Likewise.
14477         (_IO_wdoallocbuf): Likewise.
14478         (_IO_wdefault_doallocate): Likewise.
14479         (_IO_switch_to_wget_mode): Likewise.
14480         (_IO_free_wbackup_area): Likewise.
14481         (_IO_switch_to_wput_mode): Likewise.
14482         (_IO_sputbackwc): Likewise.
14483         (_IO_sungetwc): Likewise.
14484         (_IO_adjust_wcolumn): Likewise.
14485         (_IO_init_wmarker): Likewise.
14486         (_IO_wmarker_delta): Likewise.
14487         (_IO_seekwmark): Likewise.
14488         (_IO_unsave_wmarkers): Likewise.
14489         * libio/wmemstream.c (open_wmemstream): Likewise.
14490         (_IO_wmem_sync): Likewise.
14491         (_IO_wmem_finish): Likewise.
14492         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14493         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14494         * locale/programs/simple-hash.c (init_hash): Likewise.
14495         (delete_hash): Likewise.
14496         (insert_entry): Likewise.
14497         (set_entry): Likewise.
14498         (next_prime): Likewise.
14499         (is_prime): Likewise.
14500         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14501         (xmalloc): Likewise.
14502         (xrealloc): Likewise.
14503         * locale/programs/xstrdup.c (xstrdup): Likewise.
14504         * localedata/collate-test.c (xstrcoll): Likewise.
14505         * localedata/xfrm-test.c (xstrcmp): Likewise.
14506         * login/getlogin_r.c (__getlogin_r): Likewise.
14507         * login/getpt.c (__posix_openpt): Likewise.
14508         * login/login_tty.c (login_tty): Likewise.
14509         * login/setlogin.c (setlogin): Likewise.
14510         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14511         (mach_msg_destroy_port): Likewise.
14512         (mach_msg_destroy_memory): Likewise.
14513         * malloc/mcheck.c (flood): Likewise.
14514         * misc/acct.c (acct): Likewise.
14515         * misc/brk.c (__brk): Likewise.
14516         * misc/chflags.c (chflags): Likewise.
14517         * misc/chroot.c (chroot): Likewise.
14518         * misc/fchflags.c (fchflags): Likewise.
14519         * misc/fstab.c (getfsspec): Likewise.
14520         (getfsfile): Likewise.
14521         * misc/fsync.c (fsync): Likewise.
14522         * misc/ftruncate.c (__ftruncate): Likewise.
14523         * misc/ftruncate64.c (__ftruncate64): Likewise.
14524         * misc/getdomain.c (getdomainname): Likewise.
14525         (getdomainname): Likewise.
14526         * misc/gethostname.c (__gethostname): Likewise.
14527         * misc/getpass.c (getpass): Likewise.
14528         * misc/getttyent.c (skip): Likewise.
14529         (value): Likewise.
14530         * misc/gtty.c (gtty): Likewise.
14531         * misc/hsearch.c (hsearch): Likewise.
14532         (hcreate): Likewise.
14533         * misc/hsearch_r.c (__hcreate_r): Likewise.
14534         (__hdestroy_r): Likewise.
14535         * misc/ioctl.c (__ioctl): Likewise.
14536         * misc/mkdtemp.c (mkdtemp): Likewise.
14537         * misc/mkostemp.c (mkostemp): Likewise.
14538         * misc/mkostemp64.c (mkostemp64): Likewise.
14539         * misc/mkostemps.c (mkostemps): Likewise.
14540         * misc/mkostemps64.c (mkostemps64): Likewise.
14541         * misc/mkstemp.c (mkstemp): Likewise.
14542         * misc/mkstemp64.c (mkstemp64): Likewise.
14543         * misc/mkstemps.c (mkstemps): Likewise.
14544         * misc/mkstemps64.c (mkstemps64): Likewise.
14545         * misc/mktemp.c (__mktemp): Likewise.
14546         * misc/preadv.c (preadv): Likewise.
14547         * misc/preadv64.c (preadv64): Likewise.
14548         * misc/pwritev.c (pwritev): Likewise.
14549         * misc/pwritev64.c (pwritev64): Likewise.
14550         * misc/readv.c (__readv): Likewise.
14551         * misc/revoke.c (revoke): Likewise.
14552         * misc/setdomain.c (setdomainname): Likewise.
14553         * misc/setegid.c (setegid): Likewise.
14554         * misc/seteuid.c (seteuid): Likewise.
14555         * misc/sethostid.c (sethostid): Likewise.
14556         * misc/sethostname.c (sethostname): Likewise.
14557         * misc/setregid.c (__setregid): Likewise.
14558         * misc/setreuid.c (__setreuid): Likewise.
14559         * misc/sstk.c (sstk): Likewise.
14560         * misc/stty.c (stty): Likewise.
14561         * misc/syscall.c (syscall): Likewise.
14562         * misc/syslog.c (setlogmask): Likewise.
14563         * misc/truncate.c (__truncate): Likewise.
14564         * misc/truncate64.c (truncate64): Likewise.
14565         * misc/ualarm.c (ualarm): Likewise.
14566         * misc/usleep.c (usleep): Likewise.
14567         * misc/ustat.c (ustat): Likewise.
14568         * misc/writev.c (__writev): Likewise.
14569         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14570         * nptl/old_pthread_cond_broadcast.c
14571         (__pthread_cond_broadcast_2_0): Likewise.
14572         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14573         Likewise.
14574         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14575         Likewise.
14576         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14577         Likewise.
14578         * nptl/pt-raise.c (raise): Likewise.
14579         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14580         Likewise.
14581         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14582         * nptl/pthread_barrierattr_destroy.c
14583         (pthread_barrierattr_destroy): Likewise.
14584         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14585         Likewise.
14586         * nptl/pthread_barrierattr_setpshared.c
14587         (pthread_barrierattr_setpshared): Likewise.
14588         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14589         Likewise.
14590         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14591         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14592         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14593         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14594         Likewise.
14595         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14596         Likewise.
14597         * nptl/pthread_condattr_getpshared.c
14598         (pthread_condattr_getpshared): Likewise.
14599         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14600         Likewise.
14601         * nptl/pthread_condattr_setpshared.c
14602         (pthread_condattr_setpshared): Likewise.
14603         * nptl/pthread_detach.c (pthread_detach): Likewise.
14604         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14605         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14606         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14607         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14608         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14609         Likewise.
14610         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14611         Likewise.
14612         * nptl/pthread_mutex_getprioceiling.c
14613         (pthread_mutex_getprioceiling): Likewise.
14614         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14615         Likewise.
14616         * nptl/pthread_mutexattr_getprotocol.c
14617         (pthread_mutexattr_getprotocol): Likewise.
14618         * nptl/pthread_mutexattr_getpshared.c
14619         (pthread_mutexattr_getpshared): Likewise.
14620         * nptl/pthread_mutexattr_getrobust.c
14621         (pthread_mutexattr_getrobust): Likewise.
14622         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14623         Likewise.
14624         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14625         Likewise.
14626         * nptl/pthread_mutexattr_setprioceiling.c
14627         (pthread_mutexattr_setprioceiling): Likewise.
14628         * nptl/pthread_mutexattr_setprotocol.c
14629         (pthread_mutexattr_setprotocol): Likewise.
14630         * nptl/pthread_mutexattr_setpshared.c
14631         (pthread_mutexattr_setpshared): Likewise.
14632         * nptl/pthread_mutexattr_setrobust.c
14633         (pthread_mutexattr_setrobust): Likewise.
14634         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14635         Likewise.
14636         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14637         Likewise.
14638         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14639         Likewise.
14640         * nptl/pthread_rwlockattr_getkind_np.c
14641         (pthread_rwlockattr_getkind_np): Likewise.
14642         * nptl/pthread_rwlockattr_getpshared.c
14643         (pthread_rwlockattr_getpshared): Likewise.
14644         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14645         Likewise.
14646         * nptl/pthread_rwlockattr_setkind_np.c
14647         (pthread_rwlockattr_setkind_np): Likewise.
14648         * nptl/pthread_rwlockattr_setpshared.c
14649         (pthread_rwlockattr_setpshared): Likewise.
14650         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14651         Likewise.
14652         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14653         Likewise.
14654         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14655         Likewise.
14656         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14657         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14658         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14659         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14660         * nptl/sem_close.c (sem_close): Likewise.
14661         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14662         * nptl/sem_init.c (__old_sem_init): Likewise.
14663         * nptl/sigaction.c (__sigaction): Likewise.
14664         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14665         * posix/_exit.c (_exit): Likewise.
14666         * posix/alarm.c (alarm): Likewise.
14667         * posix/confstr.c (confstr): Likewise.
14668         * posix/fpathconf.c (__fpathconf): Likewise.
14669         * posix/getgroups.c (__getgroups): Likewise.
14670         * posix/getpgid.c (__getpgid): Likewise.
14671         * posix/group_member.c (__group_member): Likewise.
14672         * posix/pathconf.c (__pathconf): Likewise.
14673         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14674         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14675         * posix/setgid.c (__setgid): Likewise.
14676         * posix/setpgid.c (__setpgid): Likewise.
14677         * posix/setuid.c (__setuid): Likewise.
14678         * posix/sleep.c (__sleep): Likewise.
14679         * posix/sysconf.c (__sysconf): Likewise.
14680         * posix/times.c (__times): Likewise.
14681         * posix/uname.c (__uname): Likewise.
14682         * posix/waitid.c (__waitid): Likewise.
14683         * pwd/getpw.c (__getpw): Likewise.
14684         * resolv/base64.c (b64_pton): Likewise.
14685         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14686         * resolv/gethnamaddr.c (Dprintf): Likewise.
14687         (gethostbyname): Likewise.
14688         (gethostbyname2): Likewise.
14689         (gethostbyaddr): Likewise.
14690         (_sethtent): Likewise.
14691         (_gethtbyname): Likewise.
14692         (_gethtbyname2): Likewise.
14693         (_gethtbyaddr): Likewise.
14694         (map_v4v6_address): Likewise.
14695         (map_v4v6_hostent): Likewise.
14696         (addrsort): Likewise.
14697         (ht_sethostent): Likewise.
14698         (ht_gethostbyname): Likewise.
14699         (ht_gethostbyaddr): Likewise.
14700         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14701         (inet_net_ntop_ipv4): Likewise.
14702         * resolv/inet_neta.c (inet_neta): Likewise.
14703         * resolv/inet_ntop.c (inet_ntop): Likewise.
14704         (inet_ntop4): Likewise.
14705         (inet_ntop6): Likewise.
14706         * resolv/inet_pton.c (__inet_pton): Likewise.
14707         (inet_pton4): Likewise.
14708         (inet_pton6): Likewise.
14709         * resolv/res_debug.c (loc_aton): Likewise.
14710         (loc_ntoa): Likewise.
14711         * resource/getpriority.c (__getpriority): Likewise.
14712         * resource/getrusage.c (__getrusage): Likewise.
14713         * resource/nice.c (nice): Likewise.
14714         * resource/setpriority.c (__setpriority): Likewise.
14715         * resource/setrlimit64.c (setrlimit64): Likewise.
14716         * resource/vlimit.c (vlimit): Likewise.
14717         * resource/vtimes.c (vtimes): Likewise.
14718         * rt/aio_error.c (aio_error): Likewise.
14719         * rt/aio_return.c (aio_return): Likewise.
14720         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14721         * signal/kill.c (__kill): Likewise.
14722         * signal/killpg.c (killpg): Likewise.
14723         * signal/raise.c (raise): Likewise.
14724         * signal/sigaction.c (__sigaction): Likewise.
14725         * signal/sigaddset.c (sigaddset): Likewise.
14726         * signal/sigaltstack.c (sigaltstack): Likewise.
14727         * signal/sigandset.c (sigandset): Likewise.
14728         * signal/sigblock.c (__sigblock): Likewise.
14729         * signal/sigdelset.c (sigdelset): Likewise.
14730         * signal/sigempty.c (sigemptyset): Likewise.
14731         * signal/sigfillset.c (sigfillset): Likewise.
14732         * signal/sighold.c (sighold): Likewise.
14733         * signal/sigignore.c (sigignore): Likewise.
14734         * signal/sigintr.c (siginterrupt): Likewise.
14735         * signal/sigisempty.c (sigisemptyset): Likewise.
14736         * signal/sigismem.c (sigismember): Likewise.
14737         * signal/signal.c (signal): Likewise.
14738         * signal/sigorset.c (sigorset): Likewise.
14739         * signal/sigpause.c (__sigpause): Likewise.
14740         * signal/sigpending.c (sigpending): Likewise.
14741         * signal/sigprocmask.c (__sigprocmask): Likewise.
14742         * signal/sigrelse.c (sigrelse): Likewise.
14743         * signal/sigreturn.c (__sigreturn): Likewise.
14744         * signal/sigset.c (sigset): Likewise.
14745         * signal/sigsetmask.c (__sigsetmask): Likewise.
14746         * signal/sigstack.c (sigstack): Likewise.
14747         * signal/sigsuspend.c (__sigsuspend): Likewise.
14748         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14749         * signal/sysv_signal.c (__sysv_signal): Likewise.
14750         * socket/accept.c (accept): Likewise.
14751         * socket/accept4.c (__libc_accept4): Likewise.
14752         * socket/bind.c (__bind): Likewise.
14753         * socket/connect.c (__connect): Likewise.
14754         * socket/getpeername.c (getpeername): Likewise.
14755         * socket/getsockname.c (__getsockname): Likewise.
14756         * socket/getsockopt.c (getsockopt): Likewise.
14757         * socket/listen.c (__listen): Likewise.
14758         * socket/recv.c (__recv): Likewise.
14759         * socket/recvmsg.c (__recvmsg): Likewise.
14760         * socket/send.c (__send): Likewise.
14761         * socket/sendmsg.c (__sendmsg): Likewise.
14762         * socket/shutdown.c (shutdown): Likewise.
14763         * socket/sockatmark.c (sockatmark): Likewise.
14764         * socket/socket.c (__socket): Likewise.
14765         * stdio-common/ctermid.c (ctermid): Likewise.
14766         * stdio-common/cuserid.c (cuserid): Likewise.
14767         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14768         * stdio-common/remove.c (remove): Likewise.
14769         * stdio-common/rename.c (rename): Likewise.
14770         * stdio-common/renameat.c (renameat): Likewise.
14771         * stdio-common/tempname.c (__gen_tempname): Likewise.
14772         * stdio-common/xbug.c (InitBuffer): Likewise.
14773         (AppendToBuffer): Likewise.
14774         (ReadFile): Likewise.
14775         * stdlib/a64l.c (a64l): Likewise.
14776         * stdlib/drand48_r.c (drand48_r): Likewise.
14777         * stdlib/getcontext.c (getcontext): Likewise.
14778         * stdlib/getenv.c (getenv): Likewise.
14779         * stdlib/l64a.c (l64a): Likewise.
14780         * stdlib/llabs.c (llabs): Likewise.
14781         * stdlib/lldiv.c (lldiv): Likewise.
14782         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14783         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14784         * stdlib/putenv.c (putenv): Likewise.
14785         * stdlib/random.c (__srandom): Likewise.
14786         (__initstate): Likewise.
14787         (__setstate): Likewise.
14788         * stdlib/random_r.c (__srandom_r): Likewise.
14789         (__setstate_r): Likewise.
14790         (__random_r): Likewise.
14791         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14792         * stdlib/setcontext.c (setcontext): Likewise.
14793         * stdlib/setenv.c (setenv): Likewise.
14794         (unsetenv): Likewise.
14795         * stdlib/srand48.c (srand48): Likewise.
14796         * stdlib/srand48_r.c (__srand48_r): Likewise.
14797         * stdlib/swapcontext.c (swapcontext): Likewise.
14798         * stdlib/system.c (__libc_system): Likewise.
14799         * stdlib/tst-strtod.c (expand): Likewise.
14800         * stdlib/tst-strtol.c (expand): Likewise.
14801         * stdlib/tst-strtoll.c (expand): Likewise.
14802         * streams/fattach.c (fattach): Likewise.
14803         * streams/fdetach.c (fdetach): Likewise.
14804         * streams/getmsg.c (getmsg): Likewise.
14805         * streams/isastream.c (isastream): Likewise.
14806         * string/ffs.c (__ffs): Likewise.
14807         * string/ffsll.c (ffsll): Likewise.
14808         * string/memcmp.c (memcmp_common_alignment): Likewise.
14809         (memcmp_not_common_alignment): Likewise.
14810         (MEMCMP): Likewise.
14811         * string/memcpy.c (memcpy): Likewise.
14812         * string/memmove.c (MEMMOVE): Likewise.
14813         * string/memset.c (memset): Likewise.
14814         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14815         * string/strchrnul.c (STRCHRNUL): Likewise.
14816         * string/strerror.c (strerror): Likewise.
14817         * string/strndup.c (__strndup): Likewise.
14818         * string/strverscmp.c (__strverscmp): Likewise.
14819         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14820         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14821         (clnttcp_freeres): Likewise.
14822         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14823         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14824         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14825         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14826         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14827         (xdr_callhdr): Likewise.
14828         * sunrpc/rpcinfo.c (udpping): Likewise.
14829         (tcpping): Likewise.
14830         (pstatus): Likewise.
14831         (pmapdump): Likewise.
14832         (brdcst): Likewise.
14833         (deletereg): Likewise.
14834         (getprognum): Likewise.
14835         (getvers): Likewise.
14836         (get_inet_address): Likewise.
14837         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14838         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14839         (svcudp_stat): Likewise.
14840         (svcudp_recv): Likewise.
14841         (svcudp_reply): Likewise.
14842         (svcudp_getargs): Likewise.
14843         (svcudp_freeargs): Likewise.
14844         (svcudp_destroy): Likewise.
14845         * sunrpc/xdr.c (xdr_bytes): Likewise.
14846         (xdr_netobj): Likewise.
14847         (xdr_string): Likewise.
14848         (xdr_wrapstring): Likewise.
14849         * sunrpc/xdr_float.c (xdr_float): Likewise.
14850         (xdr_double): Likewise.
14851         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14852         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14853         * sysvipc/ftok.c (ftok): Likewise.
14854         * sysvipc/msgctl.c (msgctl): Likewise.
14855         * sysvipc/msgget.c (msgget): Likewise.
14856         * sysvipc/msgrcv.c (msgrcv): Likewise.
14857         * sysvipc/msgsnd.c (msgsnd): Likewise.
14858         * sysvipc/semget.c (semget): Likewise.
14859         * sysvipc/semop.c (semop): Likewise.
14860         * sysvipc/shmat.c (shmat): Likewise.
14861         * sysvipc/shmctl.c (shmctl): Likewise.
14862         * sysvipc/shmdt.c (shmdt): Likewise.
14863         * sysvipc/shmget.c (shmget): Likewise.
14864         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14865         * termios/speed.c (cfgetospeed): Likewise.
14866         (cfgetispeed): Likewise.
14867         (cfsetospeed): Likewise.
14868         (cfsetispeed): Likewise.
14869         * termios/tcflow.c (tcflow): Likewise.
14870         * termios/tcflush.c (tcflush): Likewise.
14871         * termios/tcgetattr.c (__tcgetattr): Likewise.
14872         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14873         * termios/tcgetsid.c (tcgetsid): Likewise.
14874         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14875         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14876         * time/adjtime.c (__adjtime): Likewise.
14877         * time/dysize.c (dysize): Likewise.
14878         * time/ftime.c (ftime): Likewise.
14879         * time/getitimer.c (__getitimer): Likewise.
14880         * time/gettimeofday.c (__gettimeofday): Likewise.
14881         * time/gmtime.c (__gmtime_r): Likewise.
14882         (gmtime): Likewise.
14883         * time/localtime.c (__localtime_r): Likewise.
14884         (localtime): Likewise.
14885         * time/offtime.c (__offtime): Likewise.
14886         * time/settimeofday.c (__settimeofday): Likewise.
14887         * time/stime.c (stime): Likewise.
14888         * time/strftime_l.c (tm_diff): Likewise.
14889         (iso_week_days): Likewise.
14890         * time/strptime.c (strptime): Likewise.
14891         * time/time.c (time): Likewise.
14892         * time/timespec_get.c (timespec_get): Likewise.
14893         * time/tzset.c (tzset_internal): Likewise.
14894         (compute_change): Likewise.
14895         (__tz_compute): Likewise.
14896         * wcsmbs/btowc.c (__btowc): Likewise.
14897         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14898         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14899         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14900         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14901         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14902         * wcsmbs/wcscat.c (__wcscat): Likewise.
14903         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14904         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14905         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14906         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14907         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14908         * wcsmbs/wcslen.c (__wcslen): Likewise.
14909         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14910         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14911         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14912         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14913         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14914         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14915         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14916         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14917         * wcsmbs/wcstok.c (wcstok): Likewise.
14918         * wcsmbs/wctob.c (wctob): Likewise.
14919         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14920         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14921         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14922         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14923         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14924         * wcsmbs/wmemset.c (__wmemset): Likewise.
14925         * wctype/wcfuncs.c (__towlower): Likewise.
14926         (__towupper): Likewise.
14928         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14929         (lll_unlock_elision): Add adapt_count parameter.
14931 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14933         * sysdeps/nptl/configure.ac: Do not give errors based on the
14934         results of top-level configure tests.
14935         * sysdeps/nptl/configure: Regenerated.
14937         * configure.ac (libc_cv_Bgroup): Remove configure test.
14938         * configure: Regenerated.
14939         * config.make.in (have-Bgroup): Remove variable.
14941         * configure.ac (sizeof_long_double): Remove configure test.
14942         * configure: Regenerated.
14943         * config.make.in (sizeof-long-double): Remove variable.
14945         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14946         * configure: Regenerated.
14947         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14948         variable.
14949         (exceptions): Likewise.
14950         * sysdeps/arm/configure: Regenerated.
14951         * config.make.in (exceptions): Remove variable.
14952         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14953         $(exceptions).
14954         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14955         (CFLAGS-vdprintf_chk.c): Likewise.
14956         (CFLAGS-printf_chk.c): Likewise.
14957         (CFLAGS-fprintf_chk.c): Likewise.
14958         (CFLAGS-vprintf_chk.c): Likewise.
14959         (CFLAGS-vfprintf_chk.c): Likewise.
14960         (CFLAGS-gets_chk.c): Likewise.
14961         (CFLAGS-fgets_chk.c): Likewise.
14962         (CFLAGS-fgets_u_chk.c): Likewise.
14963         (CFLAGS-fread_chk.c): Likewise.
14964         (CFLAGS-fread_u_chk.c): Likewise.
14965         (CFLAGS-wprintf_chk.c): Likewise.
14966         (CFLAGS-fwprintf_chk.c): Likewise.
14967         (CFLAGS-vwprintf_chk.c): Likewise.
14968         (CFLAGS-vfwprintf_chk.c): Likewise.
14969         (CFLAGS-fgetws_chk.c): Likewise.
14970         (CFLAGS-fgetws_u_chk.c): Likewise.
14971         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14972         (CFLAGS-fputc.c): Likewise.
14973         (CFLAGS-fputwc.c): Likewise.
14974         (CFLAGS-freopen64.c): Likewise.
14975         (CFLAGS-freopen.c): Likewise.
14976         (CFLAGS-fseek.c): Likewise.
14977         (CFLAGS-fseeko64.c): Likewise.
14978         (CFLAGS-fseeko.c): Likewise.
14979         (CFLAGS-ftello64.c): Likewise.
14980         (CFLAGS-ftello.c): Likewise.
14981         (CFLAGS-fwide.c): Likewise.
14982         (CFLAGS-genops.c): Likewise.
14983         (CFLAGS-getc.c): Likewise.
14984         (CFLAGS-getchar.c): Likewise.
14985         (CFLAGS-getwc.c): Likewise.
14986         (CFLAGS-getwchar.c): Likewise.
14987         (CFLAGS-iofclose.c): Likewise.
14988         (CFLAGS-iofflush.c): Likewise.
14989         (CFLAGS-iofgetpos64.c): Likewise.
14990         (CFLAGS-iofgetpos.c): Likewise.
14991         (CFLAGS-iofgets.c): Likewise.
14992         (CFLAGS-iofgetws.c): Likewise.
14993         (CFLAGS-iofputs.c): Likewise.
14994         (CFLAGS-iofputws.c): Likewise.
14995         (CFLAGS-iofread.c): Likewise.
14996         (CFLAGS-iofsetpos64.c): Likewise.
14997         (CFLAGS-iofsetpos.c): Likewise.
14998         (CFLAGS-ioftell.c): Likewise.
14999         (CFLAGS-iofwrite.c): Likewise.
15000         (CFLAGS-iogetdelim.c): Likewise.
15001         (CFLAGS-iogetline.c): Likewise.
15002         (CFLAGS-iogets.c): Likewise.
15003         (CFLAGS-iogetwline.c): Likewise.
15004         (CFLAGS-ioputs.c): Likewise.
15005         (CFLAGS-ioseekoff.c): Likewise.
15006         (CFLAGS-ioseekpos.c): Likewise.
15007         (CFLAGS-iosetbuffer.c): Likewise.
15008         (CFLAGS-iosetvbuf.c): Likewise.
15009         (CFLAGS-ioungetc.c): Likewise.
15010         (CFLAGS-ioungetwc.c): Likewise.
15011         (CFLAGS-oldfileops.c): Likewise.
15012         (CFLAGS-oldiofclose.c): Likewise.
15013         (CFLAGS-oldiofgetpos64.c): Likewise.
15014         (CFLAGS-oldiofgetpos.c): Likewise.
15015         (CFLAGS-oldiofsetpos64.c): Likewise.
15016         (CFLAGS-oldiofsetpos.c): Likewise.
15017         (CFLAGS-peekc.c): Likewise.
15018         (CFLAGS-putc.c): Likewise.
15019         (CFLAGS-putchar.c): Likewise.
15020         (CFLAGS-putwc.c): Likewise.
15021         (CFLAGS-putwchar.c): Likewise.
15022         (CFLAGS-rewind.c): Likewise.
15023         (CFLAGS-wfileops.c): Likewise.
15024         (CFLAGS-wgenops.c): Likewise.
15025         (CFLAGS-oldiofopen.c): Likewise.
15026         (CFLAGS-iofopen.c): Likewise.
15027         (CFLAGS-iofopen64.c): Likewise.
15028         (CFLAGS-oldtmpfile.c): Likewise.
15029         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15030         (CFLAGS-fprintf.c): Likewise.
15031         (CFLAGS-printf.c): Likewise.
15032         (CFLAGS-vfwprintf.c): Likewise.
15033         (CFLAGS-vfscanf.c): Likewise.
15034         (CFLAGS-vfwscanf.c): Likewise.
15035         (CFLAGS-fscanf.c): Likewise.
15036         (CFLAGS-scanf.c): Likewise.
15037         (CFLAGS-isoc99_vfscanf.c): Likewise.
15038         (CFLAGS-isoc99_vscanf.c): Likewise.
15039         (CFLAGS-isoc99_fscanf.c): Likewise.
15040         (CFLAGS-isoc99_scanf.c): Likewise.
15041         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15042         (CFLAGS-isoc99_fwscanf.c): Likewise.
15043         (CFLAGS-isoc99_vwscanf.c): Likewise.
15044         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15046         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15047         after mkstemp64.
15048         * login/tst-utmp.c (do_prepare): Likewise.
15049         * rt/tst-aio.c (do_prepare): Likewise.
15050         * rt/tst-aio64.c (do_prepare): Likewise.
15052 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15054         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15055         (__lll_lock_elision): Remove adapt_count decrement...
15056         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15057         (__lll_trylock_elision): Likewise.
15058         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15059         (__lll_unlock_elision): ... to here. And utilize
15060         new adapt_count parameter.
15061         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15062         (__lll_unlock_elision): Update to include adapt_count
15063         parameter.
15064         (lll_unlock_elision): Pass pointer to adapt_count
15065         variable.
15067 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15069         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15070         Add elision adapt_count parameter to list of arguments.
15071         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15072         (lll_unlock_elision): Update with new parameter list
15073         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15074         (lll_unlock_elision): Likewise.
15075         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15076         (lll_unlock_elision): Likewise.
15078 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15080         [BZ #19122]
15081         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15082         attribute_hidden.
15084         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15085         attribute_hidden.
15086         [IS_IN (rtld)] (__strdup): Likewise.
15087         [IS_IN (rtld)] (__strerror_r): Likewise.
15088         [IS_IN (rtld)] (__strsep_g): Likewise.
15089         [IS_IN (rtld)] (memchr): Likewise.
15090         [IS_IN (rtld)] (memcmp): Likewise.
15091         [IS_IN (rtld)] (memcpy): Likewise.
15092         [IS_IN (rtld)] (memmove): Likewise.
15093         [IS_IN (rtld)] (memset): Likewise.
15094         [IS_IN (rtld)] (rawmemchr): Likewise.
15095         [IS_IN (rtld)] (stpcpy): Likewise.
15096         [IS_IN (rtld)] (strchr): Likewise.
15097         [IS_IN (rtld)] (strcmp): Likewise.
15098         [IS_IN (rtld)] (strlen): Likewise.
15099         [IS_IN (rtld)] (strnlen): Likewise.
15100         [IS_IN (rtld)] (strsep): Likewise.
15102         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15103         attribute_hidden.
15104         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15106         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15107         attribute_hidden.
15108         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15110         * include/setjmp.h (__longjmp): Add attribute_hidden.
15111         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15113         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15114         Add attribute_hidden.
15116         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15117         [IS_IN (rtld)] (__open): Likewise.
15118         [IS_IN (rtld)] (__fcntl): Likewise.
15120         * include/dirent.h (__opendirat): Add attribute_hidden.
15121         (__getdents): Likewise.
15122         (__getdents64): Likewise.
15123         (__alloc_dir): Likewise.
15124         [IS_IN (rtld)] (__closedir): Likewise.
15125         [IS_IN (rtld)] (__fdopendir): Likewise.
15126         [IS_IN (rtld)] (__readdir): Likewise.
15127         [IS_IN (rtld)] (__readdir64): Likewise.
15128         [IS_IN (rtld)] (__rewinddir): Likewise.
15130         * include/dlfcn.h (_dl_catch_error): Moved to ...
15131         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15132         attribute_hidden.
15134         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15135         (_itoa_word): Likewise.
15137         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15138         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15139         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15140         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15141         (_dl_higher_prime_number): Likewise.
15142         (_dl_debug_printf_c): Likewise.
15143         (_dl_signal_cerror): Likewise.
15144         (_dl_receive_error): Likewise.
15145         (_dl_reloc_bad_type): Likewise.
15146         (_dl_resolve_conflicts): Likewise.
15147         (_dl_check_all_versions): Likewise.
15148         (_dl_check_map_versions): Likewise.
15149         (_dl_sort_fini): Likewise.
15150         (_dl_debug_initialize): Likewise.
15151         (_dl_init_paths): Likewise.
15152         (_dl_show_auxv): Likewise.
15153         (_dl_next_ld_env_entry): Likewise.
15154         (_dl_important_hwcaps): Likewise.
15155         (_dl_load_cache_lookup): Likewise.
15156         (_dl_update_slotinfo): Likewise.
15157         (_dl_show_scope): Likewise.
15159         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15160         attribute_hidden.
15161         (_wordcopy_fwd_dest_aligned): Likewise.
15162         (_wordcopy_bwd_aligned): Likewise.
15163         (_wordcopy_bwd_dest_aligned): Likewise.
15165         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15166         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15167         Likewise.
15168         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15169         Likewise.
15170         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15172 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15174         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15175         GCC 5 requirement.
15177 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15179         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15180         test.
15181         * sysdeps/i386/configure: Regenerated.
15182         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15183         code unconditional.
15185         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15186         test.
15187         (libc_cv_asm_popsection_directive): Likewise.
15188         * configure: Regenerated.
15189         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15190         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15191         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15192         (__make_section_unallocated): Make definition unconditional.
15193         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15194         Remove conditional definition.
15195         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15196         (__make_section_unallocated): Likewise.
15198         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15199         * configure: Regenerated.
15200         * config.make.in (static-libgcc): Remove variable.
15201         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15202         $(static-libgcc).
15203         (build-module-helper): Likewise.
15205         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15206         * configure: Regenerated.
15208 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15210         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15211         (struct char_buffer): New type.
15212         (char_buffer_start, char_buffer_size, char_buffer_error)
15213         (char_buffer_rewind, char_buffer_add): New functions.
15214         (ADDW): Remove macro, replaced by the char_buffer_add function.
15215         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15216         of extend_alloca.  Make control flow more explicit.
15218 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15220         [BZ #19137]
15221         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15222         Add -fomit-frame-pointer.
15223         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15225 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15227         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15228         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15230         only if !__GNUC_PREREQ (5,0).
15231         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15232         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15233         (INTERNAL_SYSCALL_NCS): Likewise.
15234         (LOADREGS_0): New macro for GCC 5.
15235         (ASMARGS_0): Likewise.
15236         (LOADREGS_1): Likewise.
15237         (ASMARGS_1): Likewise.
15238         (LOADREGS_2): Likewise.
15239         (ASMARGS_2): Likewise.
15240         (LOADREGS_3): Likewise.
15241         (ASMARGS_3): Likewise.
15242         (LOADREGS_4): Likewise.
15243         (ASMARGS_4): Likewise.
15244         (LOADREGS_5): Likewise.
15245         (ASMARGS_5): Likewise.
15246         (LOADREGS_6): Likewise.
15247         (ASMARGS_6): Likewise.
15249 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15251         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15252         -fomit-frame-pointer.
15253         (CFLAGS-mmap64.c): Likewise.
15254         (CFLAGS-semtimedop.c): Likewise.
15255         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15256         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15257         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15258         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15260 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15262         [BZ #18928]
15263         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15264         _dl_pointer_guard member.
15265         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15266         initializer.
15267         (security_init): Always set up pointer guard.
15268         (process_envvars): Do not process LD_POINTER_GUARD.
15270 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15272         [BZ #19134]
15273         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15274         (.LC2): Likewise.
15275         (.LC3): Likewise.
15276         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15278 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15280         [BZ #19129]
15281         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15282         r0 and r1.
15284 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15286         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15288 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15290         * include/stap-probe.h: Fix macro definition formatting.
15292 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15294         [BZ #19074]
15295         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15296         load and store num_ifs.
15298 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15300         [BZ #18822]
15301         * sysdeps/unix/sysv/linux/sched_getaffinity.c
15302         (__sched_getaffinity_new): Add libc_hidden_proto and
15303         libc_hidden_def.
15305 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15307         [BZ #19007]
15308         * scripts/localplt.awk: Also allow GOT references.
15309         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15310         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15311         with "+ REL R_386_GLOB_DAT".
15312         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15313         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15315 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15317         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15318         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15319         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15320         Likewise.
15321         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15322         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15323         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15324         INTERNAL_SYSCALLINTERNAL_SYSCALL and
15325         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15326         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15327         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15328         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15329         Likewise.
15330         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15332 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15334         [BZ #19125]
15335         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15336         <math_private.h> and <stdint.h>.
15337         (__llround): Avoid conversions to and from long long int, and
15338         subtractions, where those might raise spurious exceptions.
15339         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15340         <math_private.h> and <stdint.h>.
15341         (__llroundf): Avoid conversions to and from long long int, and
15342         subtractions, where those might raise spurious exceptions.
15344 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15346         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15347         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15348         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15349         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15350         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15351         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15352         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15353         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15354         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15355         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15356         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15357         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15358         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15359         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15360         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15361         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15362         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15363         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15364         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15365         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15366         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15367         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15368         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15369         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15370         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15371         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15372         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15373         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15374         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15375         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15376         (__xstat64_conv): Likewise.
15377         (__xstat32_conv): Likewise.
15379 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15381         * sysdeps/unix/sysv/linux/sysdep.h: New file.
15382         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15383         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15384         <sysdeps/unix/sysv/linux/sysdep.h>.
15385         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15386         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15387         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15388         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15389         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15390         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15391         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15392         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15393         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15398         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15399         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15401         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15402         (sysdep-dl-routines): Add sysdep.
15403         [$(subdir) == nptl] (libpthread-routines): Likewise.
15404         [$(subdir) == rt] (librt-routines): Likewise.
15405         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15406         PIC when branching to SYSCALL_ERROR_LABEL.
15407         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15409         <sysdeps/unix/sysv/linux/sysdep.h>.
15410         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15411         (SYSCALL_ERROR_ERRNO): Removed.
15412         (SYSCALL_ERROR_HANDLER): Changed to empty.
15413         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15414         (__syscall_error): New prototype.
15415         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15416         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15418 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15420         [BZ #19124]
15421         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15422         (_dl_runtime_resolve_avx512): Make it a hidden alias of
15423         _dl_runtime_resolve_avx.
15424         (_dl_runtime_profile_avx512): Make it a hidden alias of
15425         _dl_runtime_profile_avx.
15427 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15429         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15430         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15431         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15432         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15434         [BZ #16422]
15435         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15436         New configure test.
15437         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15438         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15439         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15440         <math_private.h> and <stdint.h>.
15441         (__llrint): Avoid conversions to long long int where those might
15442         raise spurious exceptions.
15443         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15444         <math_private.h> and <stdint.h>.
15445         (__llrintf): Avoid conversions to long long int where those might
15446         raise spurious exceptions.
15448 2015-10-12  Andreas Schwab  <schwab@suse.de>
15450         [BZ #18969]
15451         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15452         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15453         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15454         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15455         $(gen-locales).
15456         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15457         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15458         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15459         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15460         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15461         $(gen-locales).
15462         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15463         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15464         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15465         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15466         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15467         ($(objpfx)tst-ftell-active-handler.out)
15468         ($(objpfx)tst-ftell-append.out)
15469         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15470         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15471         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15472         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15473         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15474         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15475         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15476         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15477         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15478         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15479         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15480         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15481         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15482         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15483         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15484         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15485         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15486         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15487         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15488         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15489         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15490         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15491         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15492         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15493         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15494         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15495         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15496         $(gen-locales).
15497         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15498         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15499         $(gen-locales).
15500         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15501         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15502         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15503         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15504         $(gen-locales).
15505         * libio/tst_wprintf2.c (main): Use explicit locale.
15506         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15508 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15510         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15511         __msg_sig_post.
15512         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15514 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15517         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15519         * sysdeps/arm/libm-test-ulps: Regenerated.
15521         [BZ #15470]
15522         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15524         [BZ #16399]
15525         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15526         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15527         and <fix-fp-int-convert-overflow.h>.
15528         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15529         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15530         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15531         and <fix-fp-int-convert-overflow.h>.
15532         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15533         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15534         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15535         <fix-fp-int-convert-overflow.h>.
15536         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15537         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15538         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15539         <fix-fp-int-convert-overflow.h>.
15540         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15541         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15542         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15543         and <fix-fp-int-convert-overflow.h>.
15544         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15545         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15546         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15547         <limits.h> and <fix-fp-int-convert-overflow.h>.
15548         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15549         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15550         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15551         and <fix-fp-int-convert-overflow.h>.
15552         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15553         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15554         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15555         and <fix-fp-int-convert-overflow.h>.
15556         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15557         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15558         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15560 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15562         [BZ #18589]
15563         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15564         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15565         $(gen-locales).
15567 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15568             Phil Blundell <pb@pbcl.net>
15570         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15571         * nptl/tst-cancel26.c: New file.
15572         * nptl/tst-cancel27.c: Likewise.
15574 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15576         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15577         __ILP32__ isn't defined.
15578         (lrint): Likewise.
15579         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15580         (lrintf): Likewise.
15581         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15582         (lrintl): Likewise.
15583         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15584         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15585         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15587 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15589         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15592         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15593         file.
15594         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15595         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15597 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15599         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15600         configure test.
15601         * sysdeps/i386/configure: Regenerated.
15602         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15603         configure test.
15604         * sysdeps/x86_64/configure: Regenerated.
15605         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15606         Make code unconditional.
15608         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15609         test.
15610         * sysdeps/i386/configure: Regenerated.
15611         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15612         test.
15613         * sysdeps/x86_64/configure: Regenerated.
15614         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15615         Make code unconditional.
15616         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15617         Likewise.
15618         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15619         Likewise.
15620         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15621         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15622         code unconditional.
15623         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15624         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15625         code unconditional.
15626         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15627         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15628         code unconditional.
15629         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15630         code unconditional.
15631         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15632         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15633         code unconditional.
15634         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15635         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15636         code unconditional.
15637         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15638         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15639         code unconditional.
15640         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15641         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15642         code unconditional.
15643         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15644         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15646         [BZ #19095]
15647         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15648         mantissa to long int before shifting left.
15650 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15652         [BZ #19094]
15653         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15654         <limits.h>.
15655         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15656         when result overflows but exception would not result from cast.
15657         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15658         <limits.h>.
15659         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15660         when result overflows but exception would not result from cast.
15661         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15662         <limits.h>.
15663         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15664         when result overflows but exception would not result from cast.
15665         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15666         <limits.h>.
15667         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15668         when result overflows but exception would not result from cast.
15669         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15670         <limits.h>.
15671         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15672         when result overflows but exception would not result from cast.
15673         * math/libm-test.inc (lrint_test_data): Add more tests.
15674         (llrint_test_data): Likewise.
15676 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15678         [BZ #18872]
15679         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15680         Move out from under [$(run-built-tests) = yes] conditional.
15681         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15682         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15684 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15686         [BZ #18589]
15687         * string/Makefile (tests): Add bug-strcoll2.
15688         (LOCALES): Add cs_CZ.UTF-8.
15689         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15691         [BZ #18589]
15692         * string/bug-strcoll2.c: New file.
15693         * locale/categories.def: Revert commit
15694         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15695         * locale/langinfo.h: Likewise.
15696         * locale/localeinfo.h: Likewise.
15697         * locale/C-collate.c: Likewise.
15698         * locale/programs/ld-collate.c (collate_output): Likewise.
15699         * string/strcoll_l.c (STRDIFF): Likewise.
15700         (STRCOLL): Likewise.
15701         * wcsmbs/wcscoll_l.c: Likewise.
15703 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15705         * math/libm-test.inc (lround_test_data): Do not expect the absence
15706         of "inexact" for some tests with non-integer arguments.
15707         (llround_test_data): Likewise.
15709         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15710         test.
15711         (libc_cv_cc_sse2avx): Likewise.
15712         * sysdeps/i386/configure: Regenerated.
15713         * sysdeps/i386/i686/multiarch/Makefile
15714         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15715         [$(subdir) = math].
15716         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15717         code unconditional.
15718         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15719         Likewise.
15720         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15721         Likewise.
15722         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15723         Likewise.
15724         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15725         test.
15726         (libc_cv_cc_sse2avx): Likewise.
15727         * sysdeps/x86_64/configure: Regenerated.
15728         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15729         unconditional.
15730         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15731         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15732         unconditional.
15733         (_dl_runtime_profile)
15734         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15735         conditional code.
15736         * sysdeps/x86_64/fpu/multiarch/Makefile
15737         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15739         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15740         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15741         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15742         * sysdeps/x86_64/fpu/multiarch/e_log.c
15743         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15744         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15745         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15746         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15747         Likewise.
15748         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15749         Likewise.
15750         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15751         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15752         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15753         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15754         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15755         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15756         (HAVE_SSE2AVX_SUPPORT): Likewise.
15758 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15760         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15761         instead of #pragma optimize.
15763 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15765         [BZ #17195]
15766         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15767         as is similarly done in systrim and _int_free already.
15769 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15771         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15773 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15775         [BZ #19088]
15776         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15777         <limits.h>.
15778         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15779         overflows but exception would not result from cast.
15780         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15781         and <limits.h>.
15782         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15783         overflows but exception would not result from cast.
15784         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15785         <limits.h>.
15786         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15787         overflows but exception would not result from cast.
15788         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15789         <limits.h>.
15790         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15791         overflows but exception would not result from cast.
15792         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15793         <limits.h>.
15794         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15795         overflows but exception would not result from cast.
15796         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15797         <limits.h>.
15798         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15799         overflows but exception would not result from cast.
15800         * math/libm-test.inc (lround_test_data): Add more tests.
15801         (llround_test_data): Likewise.
15803 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15805         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15806         (CFLAGS-ialloc.c): Ditto.
15807         (CFLAGS-scheck.c): Ditto.
15809 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15811         [BZ #19086]
15812         * manual/filesys.texi (Storage Allocation): Fix argument order for
15813         posix_fallocate64.
15815 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15817         [BZ #19085]
15818         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15819         exponent below 48 inside case for non-overflowing exponent.
15820         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15822 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15824         * iconvdata/cp737.h (from_idx): Add const.
15825         * iconvdata/cp775.h (from_idx): Likewise.
15827 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15829         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15830         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15831         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15833         [BZ #19079]
15834         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15835         file, conditioned on [!_LP64].
15836         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15837         [!_LP64] (__lround): Do not define as function or alias.
15838         [!_LP64] (lround): Likewise.
15839         [!_LP64] (__lroundl): Likewise.
15840         [!_LP64] (lroundl): Likewise.
15841         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15842         macro.
15843         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15844         Likewise.
15846 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15848         * math/libm-test.inc (lrint_test_data): Add more tests.
15849         (llrint_test_data): Likewise.
15850         (lround_test_data): Likewise.
15851         (llround_test_data): Likewise.
15853         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15854         (llrint_test_data): Add tests used for lrint.
15856         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15857         test.
15858         * sysdeps/i386/configure: Regenerated.
15859         * sysdeps/i386/i686/multiarch/Makefile
15860         [$(config-cflags-sse4) = yes]: Make code unconditional.
15861         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15862         Likewise.
15863         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15864         Likewise.
15865         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15866         test.
15867         * sysdeps/x86_64/configure: Regenerated.
15868         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15869         Make code unconditional.
15870         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15871         Likewise.
15872         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15873         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15875         * scripts/rpm2dynsym.sh: Remove file.
15877 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15879         * configure.ac (libc_cv_cxx_thread_local): Define.
15880         * configure: Regenerate.
15881         * config.make.in (have-cxx-thread_local): Define.
15882         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15883         (LDLIBS-tst-thread_local1): Define.
15884         (tests): Add tst-thread_local1.
15885         [have-cxx-thread_local != yes] (tests-unsupported): Add
15886         tst-thread_local1.
15887         * nptl/tst-thread_local1.cc: New file.
15889 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15891         [BZ #19078]
15892         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15893         (u_thres): Likewise.
15894         (__expl): Determine whether to call __kernel_standard_l based on
15895         value of result, not argument.
15897         * math/libm-test.inc (scalb_test_data): Add more expectations for
15898         the "inexact" exception.
15900         [BZ #19077]
15901         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15902         0.0L for argument 1.0L.
15904         [BZ #19076]
15905         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15906         constant 0.0L when computing infinite result.
15908 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15910         [BZ #10432]
15911         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15912         malloc_usable_size.
15914 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15916         [BZ #19018]
15917         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15918         Mangle function pointer before storing it.
15919         (__call_tls_dtors): Demangle function pointer before calling it.
15921 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15923         [BZ #19012]
15924         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15925         Clean up on failure.
15927 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15929         [BZ #19071]
15930         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15931         long int variable to store possibly incremented high part of
15932         mantissa.
15933         * math/libm-test.inc (lround_test_data): Add tests used for
15934         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15935         for tests requiring 64-bit long.  Do not condition tests on
15936         [TEST_FLOAT] unnecessarily.
15937         (llround_test_data): Add tests used for lround.  Add another
15938         expectation for the "inexact" exception.  Do not condition tests
15939         on [TEST_FLOAT] unnecessarily.
15941         [BZ #887]
15942         [BZ #19049]
15943         [BZ #19050]
15944         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15945         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15946         <fix-int-fp-convert-zero.h>.
15947         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15948         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15949         <fix-int-fp-convert-zero.h>.
15950         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15951         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15952         <fix-int-fp-convert-zero.h>.
15953         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15954         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15955         <fix-int-fp-convert-zero.h>.
15956         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15957         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15958         <fix-int-fp-convert-zero.h>.
15959         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15960         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15961         <fix-int-fp-convert-zero.h>.
15962         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15963         * sysdeps/ieee754/flt-32/s_erff.c: Include
15964         <fix-int-fp-convert-zero.h>.
15965         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15966         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15967         <fix-int-fp-convert-zero.h>.
15968         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15969         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15970         <fix-int-fp-convert-zero.h>.
15971         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15973         <fix-int-fp-convert-zero.h>.
15974         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15975         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15976         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15977         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15978         file.
15979         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15981 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15985 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15987         [BZ #19059]
15988         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15989         overflowing computation.
15990         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15991         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15992         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15993         Likewise.
15994         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15995         Likewise.
15996         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15997         Likewise.
15998         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15999         Likewise.
16000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16002         Likewise.
16003         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16004         Likewise.
16005         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16007         * nss/rewrite_field.c (__nss_rewrite_field): Use
16008         internal_function.
16009         * nss/valid_field.c (__nss_valid_field): Likewise.
16010         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16012 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16014         [BZ #18724]
16015         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16016         (__nss_invalid_field_characters, __nss_valid_field)
16017         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16018         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16019         tst-field.c: New file.
16020         * nss/Makefile (routines): Add valid_field, rewrite_field.
16021         (tests-static): Define unconditionally.
16022         (tests): Include tests-static.
16023         [build-static-nss] (tests-static): Use append.
16024         [build-static-nss] (tests): Remove modification.
16025         * nss/getent.c (print_group): Call putgrent.  Report error.
16026         (print_gshadow): Call putsgent.  Report error.
16027         (print_passwd): Call putpwent.  Report error.
16028         (print_shadow): Call putspent.  Report error.
16029         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16030         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16031         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16032         name, password, directory, shell fields for valid syntax.  Rewrite
16033         GECOS field to match syntax.
16034         * pwd/Makefile (tests): Add tst-putpwent.
16035         * pwd/tst-putpwent.c: New file.
16036         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16037         Check grName, grpasswd, gr_mem fields for valid syntax.
16038         Change loop variable i to size_t.
16039         * grp/Makefile (tests): Add tst-putgrent.
16040         * grp/tst-putgrent.c: New file.
16041         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16042         valid syntax.
16043         * shadow/Makefile (tests): Add tst-putspent.
16044         * shadow/tst-putspent.c: New file.
16045         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16046         sg_mem fields for valid syntax.
16047         * gshadow/Makefile (tests): Add tst-putsgent.
16048         * gshadow/tst-putsgent.c: New file.
16050 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16052         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16053         assembly instructions.
16055 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16057         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16058         prefix from operands.
16060 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16062         [BZ #16347]
16063         [BZ #19046]
16064         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16065         <libc-internal.h>.
16066         (MAXLGM): Do not use diagnostic control macros.
16067         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16068         threshold for ldbl-128ibm.
16069         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16070         instead of multiplying by log then subtracting.
16071         * math/auto-libm-test-in: Add more tests of lgamma.
16072         * math/auto-libm-test-out: Regenerated.
16074         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16075         (TYPE_HEX_DIG): Likewise.
16076         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16077         precisions when printing floating-point numbers.
16078         (check_float_internal): Likewise.
16080 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16082         [BZ #16620]
16083         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16084         of log (10) rounded downward to 48 bits.
16085         (log10_low): Use corresponding low part of log (10).
16087         [BZ #19032]
16088         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16089         compute result as (x - x) / (x - x) not as 0 / 0.
16090         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16091         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16093         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16094         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16095         and expm1.
16096         * math/auto-libm-test-out: Regenerated.
16097         * math/libm-test.inc (acos_test_data): Add more tests.
16098         (asin_test_data): Likewise.
16099         (asinh_test_data): Likewise.
16100         (atan_test_data): Likewise.
16101         (atanh_test_data): Likewise.
16102         (atan2_test_data): Likewise.
16103         (cbrt_test_data): Likewise.
16104         (ceil_test_data): Likewise.
16105         (copysign_test_data): Likewise.
16106         (cos_test_data): Likewise.
16107         (cosh_test_data): Likewise.
16108         (erf_test_data): Likewise.
16109         (erfc_test_data): Likewise.
16110         (exp_test_data): Likewise.
16111         (exp10_test_data): Likewise.
16112         (exp2_test_data): Likewise.
16113         (expm1_test_data): Likewise.
16114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16116 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16118         [BZ #19006]
16119         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16120         to ...
16121         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16122         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16123         to ...
16124         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16125         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16126         to ...
16127         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16128         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16129         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16130         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16131         to ...
16132         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16133         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16134         Moved to ...
16135         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16136         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16137         Moved to ...
16138         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16139         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16140         to ...
16141         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16143         Moved to ...
16144         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16145         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16146         to ...
16147         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16148         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16149         Removed.
16150         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16151         Likewise.
16152         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16153         Likewise.
16154         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16155         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16156         Likewise.
16157         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16158         Likewise.
16159         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16160         Likewise.
16161         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16162         Likewise.
16163         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16164         Likewise.
16165         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16166         Likewise.
16167         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16168         Likewise.
16169         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16170         Likewise.
16171         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16172         Likewise.
16173         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16174         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16175         Likewise.
16176         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16177         Likewise.
16178         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16179         Likewise.
16180         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16181         Likewise.
16182         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16183         Likewise.
16184         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16185         Replace ../i486/pthread_cond_timedwait.S with
16186         ../pthread_cond_timedwait.S.
16188 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16190         * math/libm-test.inc (acos_test_data): Refine expectations for
16191         errno and "inexact" exceptions.
16192         (acosh_test_data): Likewise.
16193         (asin_test_data): Likewise.
16194         (asinh_test_data): Likewise.
16195         (atan_test_data): Likewise.
16196         (atanh_test_data): Likewise.
16197         (atan2_test_data): Likewise.
16198         (cbrt_test_data): Likewise.
16199         (ceil_test_data): Likewise.
16200         (copysign_test_data): Likewise.
16201         (cosh_test_data): Likewise.
16202         (erf_test_data): Likewise.
16203         (erfc_test_data): Likewise.
16204         (exp_test_data): Likewise.
16205         (exp10_test_data): Likewise.
16206         (exp2_test_data): Likewise.
16207         (expm1_test_data): Likewise.
16208         (fabs_test_data): Likewise.
16209         (floor_test_data): Likewise.
16210         (fma_test_data): Likewise.
16211         (fmax_test_data): Likewise.
16212         (fmin_test_data): Likewise.
16213         (fmod_test_data): Likewise.
16214         (fpclassify_test_data): Likewise.
16215         (frexp_test_data): Likewise.
16216         (hypot_test_data): Likewise.
16217         (ilogb_test_data): Likewise.
16218         (isgreater_test_data): Likewise.
16219         (isgreaterequal_test_data): Likewise.
16220         (isinf_test_data): Likewise.
16221         (isless_test_data): Likewise.
16222         (islessequal_test_data): Likewise.
16223         (islessgreater_test_data): Likewise.
16224         (isnan_test_data): Likewise.
16225         (isnormal_test_data): Likewise.
16226         (issignaling_test_data): Likewise.
16227         (isunordered_test_data): Likewise.
16228         (j0_test_data): Likewise.
16229         (j1_test_data): Likewise.
16230         (jn_test_data): Likewise.
16231         (lgamma_test_data): Likewise.
16232         (lrint_test_data): Likewise.
16233         (llrint_test_data): Likewise.
16234         (log_test_data): Likewise.
16235         (log10_test_data): Likewise.
16236         (log1p_test_data): Likewise.
16237         (log2_test_data): Likewise.
16238         (logb_test_data): Likewise.
16239         (lround_test_data): Likewise.
16240         (llround_test_data): Likewise.
16241         (modf_test_data): Likewise.
16242         (nearbyint_test_data): Likewise.
16243         (nextafter_test_data): Likewise.
16244         (nexttoward_test_data): Likewise.
16245         (pow_test_data): Likewise.
16246         (remainder_test_data): Likewise.
16247         (remquo_test_data): Likewise.
16248         (rint_test_data): Likewise.
16249         (round_test_data): Likewise.
16250         (signbit_test_data): Likewise.
16251         (sinh_test_data): Likewise.
16252         (sqrt_test_data): Likewise.
16253         (tanh_test_data): Likewise.
16254         (tgamma_test_data): Likewise.
16255         (trunc_test_data): Likewise.
16256         (y0_test_data): Likewise.
16257         (y1_test_data): Likewise.
16258         (yn_test_data): Likewise.
16259         (significand_test_data): Likewise.
16261 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16263         * manual/filesys.texi (Storage Allocation): Document that
16264         posix_fallocate emulation fails when fd is open with O_WRONLY.
16266 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16268         [BZ #19016]
16269         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16270         allow more cases with X^2 + Y^2 >= 0.5.
16271         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16272         normal element in sum instead of special-casing based on values of
16273         arguments.
16274         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16275         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16276         -1 as normal element in sum instead of special-casing based on
16277         values of arguments.
16278         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16279         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16280         (__x2y2m1): Update comment.
16281         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16282         as normal element in sum instead of special-casing based on values
16283         of arguments.
16284         * math/s_clog.c (__clog): Handle more cases using log1p without
16285         hypot.
16286         * math/s_clog10.c (__clog10): Likewise.
16287         * math/s_clog10f.c (__clog10f): Likewise.
16288         * math/s_clog10l.c (__clog10l): Likewise.
16289         * math/s_clogf.c (__clogf): Likewise.
16290         * math/s_clogl.c (__clogl): Likewise.
16291         * math/auto-libm-test-in: Add more tests of clog and clog10.
16292         * math/auto-libm-test-out: Regenerated.
16293         * sysdeps/i386/fpu/libm-test-ulps: Update.
16294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16296 2015-09-28  Martin Sebor  <msebor@redhat.com>
16298         [BZ #18969]
16299         * string/Makefile (LOCALES): Define.
16300         (gen-locales.mk): Include.
16301         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16302         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16303         * string/tst-strxfrm2.c (do_test): Print the name of the locale
16304         on setlocale failure.
16306 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16308         [BZ #18985]
16309         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16310         (__strftime_internal): Likewise.
16311         * time/tst-strftime.c (do_bz18985): New test.
16312         (do_test): Call it.
16314 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
16316         [BZ #18956]
16317         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16318         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
16319         extracting high part.
16320         * math/auto-libm-test-in: Add another test of pow.
16321         * math/auto-libm-test-out: Regenerated.
16322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16324 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16326         [BZ #18825]
16327         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16328         New macro.
16329         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16330         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16331         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16332         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16333         DBL_NARROW_EVAL, reloading the PIC register as needed.
16334         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16335         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16336         FLT_NARROW_EVAL.  Use separate return path for case when first
16337         argument is NaN.
16338         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
16339         DEFINE_LDBL_MIN.
16340         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16341         PIC register.
16342         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16343         math_check_force_underflow_nonneg.
16344         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16345         underflow for subnormal result.
16346         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16347         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16348         math_check_force_underflow_nonneg.
16349         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16350         math_check_force_underflow.
16351         * sysdeps/x86_64/fpu/x86_64-math-asm.h
16352         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16353         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
16354         DEFINE_LDBL_MIN.
16355         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16356         * math/auto-libm-test-in: Add more tests of pow.
16357         * math/auto-libm-test-out: Regenerated.
16359 2015-09-25  Florian Weimer  <fweimer@redhat.com>
16361         * nss/bug17079.c (init_test_items): Add diagnostic for
16362         inconsistent entries.
16363         (test_buffer_size): Skip inconsistent entries.
16365 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16367         [BZ #13304]
16368         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16369         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16370         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16372         [BZ #13304]
16373         * sysdeps/microblaze/s_fma.c: New file.
16374         * sysdeps/microblaze/s_fmaf.c: Likewise.
16375         * sysdeps/microblaze/sfp-machine.h: Likewise.
16377 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
16379         [BZ #17250]
16380         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16381         member.
16383 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16385         [BZ #18803]
16386         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16387         (MO): New macro.
16388         (__ieee754_hypot) [PIC]: Load PIC register.
16389         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16390         DBL_NARROW_EVAL.
16391         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16392         math_check_force_underflow_nonneg in case where result might be
16393         tiny.
16394         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16395         Likewise.
16396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16397         Likewise.
16398         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16399         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16400         * math/auto-libm-test-in: Add more tests of hypot.
16401         * math/auto-libm-test-out: Regenerated.
16403 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
16405         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16407 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16409         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16410         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16411         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16412         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16413         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16414         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16415         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16417         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16418         LOAD_PIC_REG.
16420         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16421         (FLT_CHECK_FORCE_UFLOW): Likewise.
16422         (DBL_CHECK_FORCE_UFLOW): Likewise.
16423         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16424         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16425         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16426         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16427         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16428         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16429         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16430         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16431         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16432         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16433         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16434         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16435         (flt_min): Replace with use of DEFINE_FLT_MIN.
16436         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16437         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16438         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16439         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16440         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16441         (flt_min): Replace with use of DEFINE_FLT_MIN.
16442         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16443         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16444         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16445         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16446         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16447         (flt_min): Replace with use of DEFINE_FLT_MIN.
16448         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16449         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16450         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16451         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16452         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16453         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16454         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16455         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16456         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16457         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16458         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16459         (flt_min): Replace with use of DEFINE_FLT_MIN.
16460         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16461         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16462         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16463         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16464         main computation.
16465         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16466         (flt_min): Replace with use of DEFINE_FLT_MIN.
16467         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16468         main computation.
16469         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16470         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16471         (MO): New macro.
16472         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16473         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16474         (flt_min): Replace with use of DEFINE_FLT_MIN.
16475         (MO): New macro.
16476         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16477         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16478         (__log1pl): Use MO.
16480         [BZ #19003]
16481         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16482         $(config-cflags-nofma).
16484 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16486         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16488 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16490         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16491         (TWO127): Likewise.
16493         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16494         (min_of_type): Likewise.
16495         (math_check_force_underflow): Likewise.
16496         (math_check_force_underflow_nonneg): Likewise.
16497         (math_check_force_underflow_complex): Likewise.
16498         * math/e_exp2l.c (__ieee754_exp2l): Use
16499         math_check_force_underflow_nonneg.
16500         * math/k_casinh.c (__kernel_casinh): Likewise.
16501         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16502         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16503         * math/s_catan.c (__catan): Use
16504         math_check_force_underflow_complex.
16505         * math/s_catanf.c (__catanf): Likewise.
16506         * math/s_catanh.c (__catanh): Likewise.
16507         * math/s_catanhf.c (__catanhf): Likewise.
16508         * math/s_catanhl.c (__catanhl): Likewise.
16509         * math/s_catanl.c (__catanl): Likewise.
16510         * math/s_ccosh.c (__ccosh): Likewise.
16511         * math/s_ccoshf.c (__ccoshf): Likewise.
16512         * math/s_ccoshl.c (__ccoshl): Likewise.
16513         * math/s_cexp.c (__cexp): Likewise.
16514         * math/s_cexpf.c (__cexpf): Likewise.
16515         * math/s_cexpl.c (__cexpl): Likewise.
16516         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16517         * math/s_clog10.c (__clog10): Likewise.
16518         * math/s_clog10f.c (__clog10f): Likewise.
16519         * math/s_clog10l.c (__clog10l): Likewise.
16520         * math/s_clogf.c (__clogf): Likewise.
16521         * math/s_clogl.c (__clogl): Likewise.
16522         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16523         * math/s_csinf.c (__csinf): Likewise.
16524         * math/s_csinh.c (__csinh): Likewise.
16525         * math/s_csinhf.c (__csinhf): Likewise.
16526         * math/s_csinhl.c (__csinhl): Likewise.
16527         * math/s_csinl.c (__csinl): Likewise.
16528         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16529         * math/s_csqrtf.c (__csqrtf): Likewise.
16530         * math/s_csqrtl.c (__csqrtl): Likewise.
16531         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16532         * math/s_ctanf.c (__ctanf): Likewise.
16533         * math/s_ctanh.c (__ctanh): Likewise.
16534         * math/s_ctanhf.c (__ctanhf): Likewise.
16535         * math/s_ctanhl.c (__ctanhl): Likewise.
16536         * math/s_ctanl.c (__ctanl): Likewise.
16537         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16538         instead of volatile.
16539         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16540         math_check_force_underflow.
16541         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16542         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16543         volatile when forcing underflow.
16544         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16545         math_check_force_underflow_nonneg.
16546         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16547         Likewise.
16548         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16549         math_check_force_underflow.
16550         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16551         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16552         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16553         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16554         math_check_force_underflow_nonneg.
16555         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16556         math_check_force_underflow.
16557         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16559         instead of volatile.
16560         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16561         math_check_force_underflow.
16562         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16563         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16564         math_check_force_underflow_nonneg.
16565         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16566         math_check_force_underflow.
16567         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16568         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16569         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16570         math_check_force_underflow_nonneg.
16571         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16572         Likewise.
16573         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16574         math_check_force_underflow.
16575         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16576         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16577         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16578         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16579         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16580         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16581         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16582         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16583         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16584         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16585         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16586         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16587         Likewise.
16588         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16589         math_check_force_underflow_nonneg.
16590         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16591         Likewise.
16592         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16593         math_check_force_underflow.
16594         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16595         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16596         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16597         Likewise.
16598         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16599         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16600         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16601         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16602         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16603         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16605         instead of volatile.
16606         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16607         math_check_force_underflow.
16608         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16609         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16610         math_check_force_underflow.
16611         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16612         Likewise.
16613         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16614         Use math_check_force_underflow_nonneg.
16615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16616         math_check_force_underflow.
16617         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16618         Likewise.
16619         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16620         Likewise.
16621         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16624         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16625         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16626         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16627         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16628         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16629         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16630         math_check_force_underflow_nonneg.
16631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16632         math_check_force_underflow.
16633         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16634         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16635         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16636         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16637         math_check_force_underflow_nonneg.
16638         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16639         math_check_force_underflow.
16640         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16642         instead of volatile.
16643         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16644         math_check_force_underflow.
16646         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16647         * stdlib/strtod_l.c: Include <math_private.h>.
16648         (overflow_value): Use math_narrow_eval.
16649         (underflow_value): Likewise.
16650         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16651         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16652         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16653         (__ieee754_gamma_r): Likewise.
16654         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16655         Likewise.
16656         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16657         Likewise.
16658         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16659         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16660         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16661         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16662         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16663         (__ieee754_gammaf_r): Likewise.
16664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16665         Likewise.
16666         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16667         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16668         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16669         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16670         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16671         volatile.
16672         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16673         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16674         math_narrow_eval.
16675         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16676         Likewise.
16677         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16678         Likewise.
16679         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16680         Likewise.
16681         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16682         volatile.
16683         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16684         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16685         math_narrow_eval.
16686         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16687         Likewise.
16688         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16689         Likewise.
16691 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16693         * nptl/Versions: Remove ignored symbols.
16695 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16697         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16698         * nss/Makefile (tests): Update.
16700 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16702         * nss/bug18287.c: New file.
16703         * nss/Makefile (tests): Add bug18287.
16705 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16707         * mach/Versions (__mach_host_self_): Add symbol.
16709 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16711         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16712         vm_page_size.
16714 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16716         Really fix sysdeps/i386/fpu/s_scalbn.S build
16718         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16719         (libc: GLIBC_2_22): Remove unused version set.
16721 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16723         * config.make.in (enable-timezone-tools): New variable.
16724         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16725         (enable_timezone_tools): Export to generated files.
16726         * configure: Regenerate.
16727         * INSTALL: Regenerate.
16728         * manual/install.texi (--disable-timezone-tools): Document new flag.
16729         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16730         ifeq ($(enable-timezone-tools),yes) check.
16732 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16734         * timezone/Makefile: Revert previous change.
16736         [BZ #18980]
16737         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16738         (DEFINE_DBL_MIN): Likewise.
16739         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16740         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16741         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16742         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16743         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16744         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16745         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16746         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16747         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16748         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16749         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16750         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16751         (flt_min): Replace with use of DEFINE_FLT_MIN.
16752         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16753         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16754         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16755         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16756         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16757         (flt_min): Replace with use of DEFINE_FLT_MIN.
16758         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16759         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16760         (flt_min): Replace with use of DEFINE_FLT_MIN.
16761         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16762         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16763         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16764         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16765         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16766         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16767         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16768         (__ieee754_pow): Use DBL_NARROW_EVAL.
16769         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16770         (__ieee754_powf): Use FLT_NARROW_EVAL.
16771         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16772         (__ieee754_expf_sse2): Convert double-precision result to single
16773         precision.
16774         * sysdeps/i386/fpu/libm-test-ulps: Update.
16776 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16778         * timezone/Makefile: Ignore unused variable errors due to private.h
16779         (time_t_min) and (time_t_max).
16780         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16781         Likewise.
16783 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16785         [BZ #18981]
16786         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16787         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16788         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16789         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16790         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16791         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16792         (__scalbn): Use DBL_NARROW_EVAL.
16793         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16794         (__scalbnf): Use FLT_NARROW_EVAL.
16796 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16798         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16799         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16800         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16801         * stdio-common/printf_fp.c (___printf_fp):
16802         Use signbit to get the sign. Use isinf macro to allow inlining.
16803         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16804         * stdio-common/printf_size.c (__printf_size): Likewise.
16806 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16808         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16810 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16812         [BZ #18980]
16813         * sysdeps/generic/math_private.h: Include <float.h>.
16814         (math_narrow_eval): New macro.
16815         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16816         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16817         math_narrow_eval on overflowing return value.
16818         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16819         Likewise.
16820         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16821         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16822         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16823         Likewise.
16824         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16826 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16828         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16829         * math/Makefile: Remove isinf_ns.c.
16830         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16831         * math/multc3.c (__multc3): Likewise.
16832         * math/s_casin.c (__casin): Likewise.
16833         * math/s_casinf.c (__casinf): Likewise.
16834         * math/s_casinl.c (__casinl): Likewise.
16835         * math/s_cproj.c (__cproj): Likewise.
16836         * math/s_cprojf.c (__cprojf): Likewise.
16837         * math/s_cprojl.c (__cprofl): Likewise.
16838         * math/s_ctan.c (__ctan): Likewise.
16839         * math/s_ctanf.c (__ctanf): Likewise.
16840         * math/s_ctanh.c (__ctanh): Likewise.
16841         * math/s_ctanhf.c (__ctanhf): Likewise.
16842         * math/s_ctanhl.c (__ctanhl): Likewise.
16843         * math/s_ctanl.c (__ctanl): Likewise.
16844         * math/w_fmod.c (__fmod): Likewise.
16845         * math/w_fmodf.c (__fmodf): Likewise.
16846         * math/w_fmodl.c (_fmodl): Likewise.
16847         * math/w_remainder.c (__remainder): Likewise.
16848         * math/w_remainderf.c (__remainderf): Likewise.
16849         * math/w_remainderl.c (__remainderl): Likewise.
16850         * math/w_scalb.c (__scalb): Likewise.
16851         * math/w_scalbf.c (__scalbf): Likewise.
16852         * math/w_scalbl.c (__scalbl): Likewise.
16853         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16854         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16855         with isinf.
16856         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16857         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16858         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16859         __isinf_nsf with isinf.
16860         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16861         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16862         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16863         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16864         with isinf.
16865         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16866         __isinf_nsl with isinf.
16867         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16868         with isinf.
16869         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16870         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16871         __isinf_nsl with isinf.
16872         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16873         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16874         with isinf.
16876 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16878         * resolv/base64.c (rcsid): Remove unused static.
16879         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16880         static.  (tqpi1): Likewise.
16881         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16882         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16883         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16884         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16886         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16887         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16888         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16889         Likewise.
16891 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16893         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16894         <nptl/pthreadP.h>.
16895         (_longjmp_unwind): Use __libc_ptf_call.
16896         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16898 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16900         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16901         * sysdeps/arm/__longjmp.S: Likewise.
16903 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16905         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16906         Use __builtin_signbit.
16907         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16908         Use __builtin_signbitf.
16909         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16910         Use __builtin_signbitl.
16911         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16912         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16914 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16916         [BZ #15367]
16917         [BZ #17441]
16919         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16920         * math/math.h (fpclassify): Use __builtin_fpclassify when
16921         available.  (signbit): Use __builtin_signbit(f/l).
16922         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16923         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16924         (isinf): Use __builtin_isinf_sign.
16926 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16928         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16929         * benchtests/bench-math-inlines.c: New benchmark.
16930         * benchtests/bench-util.h: New file.
16931         * benchtests/bench-util.c: New file.
16932         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16934 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16936         * elf/tst-dlmopen1.c: Define TEST_SO.
16937         (do_test): Use TEST_SO.
16939         * elf/dl-load.c: Include libc-internal.h.
16940         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16942 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16944         [BZ #17887]
16945         * time/strptime_l.c (__strptime_internal): Make %z accept
16946         [+-]HH:MM time zones.
16948 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16950         [BZ #17886]
16951         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16952         valid time zone.
16954 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16956         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16957         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16958         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16959         (__ASSUME_FDATASYNC): Delete.
16961 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16963         * conform/linknamespace.pl: Require weak undefined symbols to be
16964         in the standard namespace.
16965         (%strong_syms): Rename to %seen_syms.
16966         (%strong_seen): Rename to %seen_where.
16968 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16970         [BZ #18970]
16971         * misc/error.c (error): Replace pthread_setcancelstate with
16972         __pthread_setcancelstate.
16973         (error_at_line): Likewise.
16974         * posix/wordexp.c (parse_comm): Likewise.
16975         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16976         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16977         (__pthread_setcancelstate): This.
16978         (pthread_setcancelstate): Add an alias.
16979         * nptl/nptl-init.c (pthread_functions): Replace
16980         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16981         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16982         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16983         hidden_proto.
16984         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16985         it with hidden_def.
16986         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16987         (pthread_setcancelstate): Renamed to ...
16988         (__pthread_setcancelstate): This.
16989         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16990         __libc_ptf_call with __pthread_setcancelstate.
16992 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16993             Andreas Schwab  <schwab@suse.de>
16995         [BZ #17118]
16996         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16997         result when imaginary part of argument is infinite using sine and
16998         cosine.
16999         * math/s_ctanf.c (__ctanf): Likewise.
17000         * math/s_ctanl.c (__ctanl): Likewise.
17001         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17002         of result when real part of argument is infinite using sine and
17003         cosine.
17004         * math/s_ctanhf.c (__ctanhf): Likewise.
17005         * math/s_ctanhl.c (__ctanhl): Likewise.
17006         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17007         (ctanh_test_data): Add more tests of ctanh.
17009 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17011         [BZ #15384]
17012         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17013         bit-mask as in subtraction.
17014         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17015         Likewise.
17016         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17017         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17018         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17020         [BZ #18951]
17021         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17022         underflow exception for small results.
17023         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17024         Likewise.
17025         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17026         Likewise.
17027         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17028         Likewise.
17029         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17030         Likewise.
17031         * math/auto-libm-test-in: Add more tests of tgamma.
17032         * math/auto-libm-test-out: Regenerated.
17034 2015-09-17  Andreas Schwab  <schwab@suse.de>
17036         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17038 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17040         [BZ #18977]
17041         * math/bits/mathcalls.h
17042         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17043         not declare.
17044         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17045         Likewise.
17046         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17047         Likewise.
17048         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17049         Likewise.
17050         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17051         Likewise.
17052         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17053         Likewise.
17054         * conform/data/math.h-data
17055         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17056         function.
17057         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17058         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17059         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17060         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17061         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17062         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17063         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17064         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17065         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17066         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17067         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17069         [BZ #6803]
17070         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17071         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17072         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17073         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17074         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17075         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17076         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17077         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17078         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17080         Likewise.
17081         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17082         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17083         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17085         long_double_symbol calls.
17086         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17087         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17088         strong alias of __ldexpl.
17089         (scalbnl): Define using long_double_symbol.
17090         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17091         Remove alias.
17092         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17093         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17094         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17095         (scalbln_test_data): Add more errno expectations.
17097 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17099         Cache the host port like we cache the task port.  This way we do not
17100         need to call the kernel just to get the port.  Furthermore, we no
17101         longer increase the reference count on every invocation of
17102         `mach_host_self'.
17104         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17105         Protect declarations against the macro expansion.
17106         * mach/mach_init.c (__mach_host_self_): New variable.
17107         (mach_init): Initialize `__mach_host_self_'.
17108         * mach/mach_init.h (__mach_host_self_): New declaration.
17109         (__mach_host_self, mach_host_self): New macros.
17110         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17111         Release reference.
17113 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17115         [BZ #4404]
17116         * po/de.po: Update from Translation Project.
17118         [BZ #16415]
17119         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17120         (__expm1l): Remove code to handle positive infinity and overflow.
17121         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17122         variable.
17123         (__expm1l): Remove code to handle positive infinity and overflow.
17125 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17126             Paul Pluzhnikov  <ppluzhnikov@google.com>
17128         [BZ #18872]
17129         * stdio-common/Makefile (tst-printf-bz18872): New test.
17130         (tst-printf-bz18872-mem.out): Likewise.
17131         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17132         * stdio-common/vfprintf.c: Fix memory leaks.
17134 2015-09-16  Andreas Schwab  <schwab@suse.de>
17136         [BZ #17244]
17137         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17138         Remove extra va_start/va_end calls.
17140         [BZ #17243]
17141         * posix/execl.c (execl): Add missing va_end.
17142         * posix/execle.c (execle): Likewise.
17143         * posix/execlp.c (execlp): Likewise.
17145 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17147         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17148         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17150 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17152         [BZ #18967]
17153         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17154         undefine around includes of <bits/mathcalls.h>.
17155         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17156         not declare function.
17157         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17158         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17159         (scalb): Likewise.
17160         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17161         not define macro.
17162         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17163         variable.
17164         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17165         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17166         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17168         [BZ #18857]
17169         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17170         return non-finite argument without doing ordered comparisons on
17171         it.
17173         [BZ #16296]
17174         * math/fenv.h (fegetround): Use __attribute_pure__.
17175         * include/fenv.h (__fegetround): Likewise.
17177         [BZ #18595]
17178         * math/s_ctan.c (__ctan): Force underflow exception for results
17179         whose real or imaginary part has small absolute value.
17180         * math/s_ctanf.c (__ctanf): Likewise.
17181         * math/s_ctanh.c (__ctanh): Likewise.
17182         * math/s_ctanhf.c (__ctanhf): Likewise.
17183         * math/s_ctanhl.c (__ctanhl): Likewise.
17184         * math/s_ctanl.c (__ctanl): Likewise.
17185         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17186         and ctanh.  Add more tests of ctan and ctanh.
17188         [BZ #15918]
17189         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17190         handling of cases where one argument is an infinity.
17192         [BZ #18875]
17193         [BZ #18966]
17194         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17195         (MO): New macro.
17196         (__ieee754_exp10): For small results, force underflow exception
17197         and remove excess range and precision from return value.
17198         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17199         (MO): New macro.
17200         (__ieee754_exp10f): For small results, force underflow exception
17201         and remove excess range and precision from return value.
17202         * math/auto-libm-test-in: Add more tests of exp10.
17203         * math/auto-libm-test-out: Regenerated.
17205 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17207         [BZ #18875]
17208         [BZ #18961]
17209         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17210         (MO): New macro.
17211         (__ieee754_exp): For small results, force underflow exception and
17212         remove excess range and precision from return value.
17213         (__exp_finite): Likewise.
17214         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17215         (MO): New macro.
17216         (__ieee754_expf): For small results, force underflow exception and
17217         remove excess range and precision from return value.
17218         (__expf_finite): Likewise.
17219         * math/auto-libm-test-in: Add more tests of exp.
17220         * math/auto-libm-test-out: Regenerated.
17222         [BZ #16521]
17223         [BZ #18875]
17224         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17225         small results.
17226         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17227         (MO): New macro.
17228         (__ieee754_exp2): For small results, force underflow exception and
17229         remove excess range and precision from return value.
17230         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17231         (MO): New macro.
17232         (__ieee754_exp2f): For small results, force underflow exception
17233         and remove excess range and precision from return value.
17234         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17235         (MO): New macro.
17236         (__ieee754_exp2l): Force underflow exception for small results.
17237         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17238         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17239         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17240         (MO): New macro.
17241         (__ieee754_exp2l): Force underflow exception for small results.
17242         * math/auto-libm-test-in: Add more tests or exp2.
17243         * math/auto-libm-test-out: Regenerated.
17245 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17247         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17249         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17250         /dev/null.
17252 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17254         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17255         io fs process)): Drop spurious backslash.
17257 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17259         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17260         Use sysinfo system call instead of parsing /proc/meminfo.
17261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17262         Likewise.
17264 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17266         [BZ #16985]
17267         * programs/localedef.c (main): Display argv[remaining] when
17268         output_path is NULL.
17270 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17272         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17273         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17274         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17275         tanh.
17276         * math/auto-libm-test-out: Regenerated.
17277         * sysdeps/i386/fpu/libm-test-ulps: Update.
17278         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17279         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17284         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17285         Use 'override' keyword to freeze the value here, preventing
17286         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17288 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17290         [BZ #14912]
17291         * sysdeps/aarch64/bits/atomic.h: Move to ...
17292         * sysdeps/aarch64/atomic-machine.h: ...here.
17293         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17294         _AARCH64_ATOMIC_MACHINE_H.
17295         * sysdeps/alpha/bits/atomic.h: Move to ...
17296         * sysdeps/alpha/atomic-machine.h: ...here.
17297         * sysdeps/arm/bits/atomic.h: Move to ...
17298         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17299         * bits/atomic.h: Move to ...
17300         * sysdeps/generic/atomic-machine.h: ...here.
17301         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17302         * sysdeps/i386/bits/atomic.h: Move to ...
17303         * sysdeps/i386/atomic-machine.h: ...here.
17304         * sysdeps/ia64/bits/atomic.h: Move to ...
17305         * sysdeps/ia64/atomic-machine.h: ...here.
17306         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17307         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17308         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17309         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17310         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17311         * sysdeps/microblaze/bits/atomic.h: Move to ...
17312         * sysdeps/microblaze/atomic-machine.h: ...here.
17313         * sysdeps/mips/bits/atomic.h: Move to ...
17314         * sysdeps/mips/atomic-machine.h: ...here.
17315         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17316         * sysdeps/powerpc/bits/atomic.h: Move to ...
17317         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
17318         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17319         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
17320         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
17321         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17322         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
17323         <atomic-machine.h> instead of <bits/atomic.h>.
17324         * sysdeps/s390/bits/atomic.h: Move to ...
17325         * sysdeps/s390/atomic-machine.h: ...here.
17326         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17327         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17328         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17329         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17330         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17331         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17332         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17333         * sysdeps/tile/bits/atomic.h: Move to ...
17334         * sysdeps/tile/atomic-machine.h: ...here.
17335         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17336         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
17337         <sysdeps/tile/atomic-machine.h> instead of
17338         <sysdeps/tile/bits/atomic.h>.
17339         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17340         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17341         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
17342         <sysdeps/tile/atomic-machine.h> instead of
17343         <sysdeps/tile/bits/atomic.h>.
17344         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17345         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17346         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
17347         <sysdeps/arm/atomic-machine.h> instead of
17348         <sysdeps/arm/bits/atomic.h>.
17349         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17350         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17351         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17352         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17353         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17354         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17355         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17356         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17357         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17358         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17359         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17360         * sysdeps/x86_64/bits/atomic.h: Move to ...
17361         * sysdeps/x86_64/atomic-machine.h: ...here.
17362         * include/atomic.h: Include <atomic-machine.h> instead of
17363         <bits/atomic.h>.
17365         * sysdeps/mips/mips32/libm-test-ulps: Update.
17366         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17368         [BZ #18952]
17369         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17370         not convert non-integer negative arguments to int to determine the
17371         value of signgam.
17372         * math/auto-libm-test-in: Add more tests of lgamma.
17373         * math/auto-libm-test-out: Regenerated.
17375         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17376         cosh, csqrt, erfc, expm1 and lgamma.
17377         * math/auto-libm-test-out: Regenerated.
17378         * sysdeps/i386/fpu/libm-test-ulps: Update.
17379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17381 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
17383         [BZ #2542]
17384         [BZ #2543]
17385         [BZ #2558]
17386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17387         __lgamma_neg for arguments from -28.0 to -2.0.
17388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17389         __lgamma_negf for arguments from -15.0 to -2.0.
17390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17391         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17392         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17393         Call __lgamma_negl for arguments from -33.0 to -2.0.
17394         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17395         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17396         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17397         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17398         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17399         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17400         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17401         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17402         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17403         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17404         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17405         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17406         (__lgamma_neg): Likewise.
17407         (__lgamma_negl): Likewise.
17408         (__lgamma_product): Likewise.
17409         (__lgamma_productl): Likewise.
17410         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17411         * math/auto-libm-test-in: Add more tests of lgamma.
17412         * math/auto-libm-test-out: Regenerated.
17413         * sysdeps/i386/fpu/libm-test-ulps: Update.
17414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17416 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
17418         [BZ #18675]
17419         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17421 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
17423         [BZ #14912]
17424         * bits/libc-lock.h: Move to ...
17425         * sysdeps/generic/libc-lock.h: ...here.
17426         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17427         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17428         * sysdeps/mach/hurd/libc-lock.h: ...here.
17429         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17430         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17431         * sysdeps/mach/bits/libc-lock.h: Move to ...
17432         * sysdeps/mach/libc-lock.h: ...here.
17433         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17434         * sysdeps/nptl/bits/libc-lock.h: Move to ...
17435         * sysdeps/nptl/libc-lock.h: ...here.
17436         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17437         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17438         * sysdeps/nptl/libc-lockP.h: ...here.
17439         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17440         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17441         <bits/libc-lock.h>.
17442         * dirent/scandir-tail.c: Likewise.
17443         * dlfcn/dlerror.c: Likewise.
17444         * elf/dl-close.c: Likewise.
17445         * elf/dl-iteratephdr.c: Likewise.
17446         * elf/dl-lookup.c: Likewise.
17447         * elf/dl-open.c: Likewise.
17448         * elf/dl-support.c: Likewise.
17449         * elf/dl-writev.h: Likewise.
17450         * elf/rtld.c: Likewise.
17451         * grp/fgetgrent.c: Likewise.
17452         * gshadow/fgetsgent.c: Likewise.
17453         * gshadow/sgetsgent.c: Likewise.
17454         * iconv/gconv_conf.c: Likewise.
17455         * iconv/gconv_db.c: Likewise.
17456         * iconv/gconv_dl.c: Likewise.
17457         * iconv/gconv_int.h: Likewise.
17458         * iconv/gconv_trans.c: Likewise.
17459         * include/link.h: Likewise.
17460         * inet/getnameinfo.c: Likewise.
17461         * inet/getnetgrent.c: Likewise.
17462         * inet/getnetgrent_r.c: Likewise.
17463         * intl/bindtextdom.c: Likewise.
17464         * intl/dcigettext.c: Likewise.
17465         * intl/finddomain.c: Likewise.
17466         * intl/gettextP.h: Likewise.
17467         * intl/loadmsgcat.c: Likewise.
17468         * intl/localealias.c: Likewise.
17469         * intl/textdomain.c: Likewise.
17470         * libidn/idn-stub.c: Likewise.
17471         * libio/libioP.h: Likewise.
17472         * locale/duplocale.c: Likewise.
17473         * locale/freelocale.c: Likewise.
17474         * locale/newlocale.c: Likewise.
17475         * locale/setlocale.c: Likewise.
17476         * login/getutent_r.c: Likewise.
17477         * login/getutid_r.c: Likewise.
17478         * login/getutline_r.c: Likewise.
17479         * login/utmp-private.h: Likewise.
17480         * login/utmpname.c: Likewise.
17481         * malloc/mtrace.c: Likewise.
17482         * misc/efgcvt.c: Likewise.
17483         * misc/error.c: Likewise.
17484         * misc/fstab.c: Likewise.
17485         * misc/getpass.c: Likewise.
17486         * misc/mntent.c: Likewise.
17487         * misc/syslog.c: Likewise.
17488         * nis/nis_call.c: Likewise.
17489         * nis/nis_callback.c: Likewise.
17490         * nis/nss-default.c: Likewise.
17491         * nis/nss_compat/compat-grp.c: Likewise.
17492         * nis/nss_compat/compat-initgroups.c: Likewise.
17493         * nis/nss_compat/compat-pwd.c: Likewise.
17494         * nis/nss_compat/compat-spwd.c: Likewise.
17495         * nis/nss_nis/nis-alias.c: Likewise.
17496         * nis/nss_nis/nis-ethers.c: Likewise.
17497         * nis/nss_nis/nis-grp.c: Likewise.
17498         * nis/nss_nis/nis-hosts.c: Likewise.
17499         * nis/nss_nis/nis-network.c: Likewise.
17500         * nis/nss_nis/nis-proto.c: Likewise.
17501         * nis/nss_nis/nis-pwd.c: Likewise.
17502         * nis/nss_nis/nis-rpc.c: Likewise.
17503         * nis/nss_nis/nis-service.c: Likewise.
17504         * nis/nss_nis/nis-spwd.c: Likewise.
17505         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17506         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17507         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17508         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17509         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17510         * nis/nss_nisplus/nisplus-network.c: Likewise.
17511         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17512         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17513         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17514         * nis/nss_nisplus/nisplus-service.c: Likewise.
17515         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17516         * nis/ypclnt.c: Likewise.
17517         * nptl/libc_pthread_init.c: Likewise.
17518         * nss/getXXbyYY.c: Likewise.
17519         * nss/getXXent.c: Likewise.
17520         * nss/getXXent_r.c: Likewise.
17521         * nss/nss_db/db-XXX.c: Likewise.
17522         * nss/nss_db/db-netgrp.c: Likewise.
17523         * nss/nss_db/nss_db.h: Likewise.
17524         * nss/nss_files/files-XXX.c: Likewise.
17525         * nss/nss_files/files-alias.c: Likewise.
17526         * nss/nsswitch.c: Likewise.
17527         * posix/regex_internal.h: Likewise.
17528         * posix/wordexp.c: Likewise.
17529         * pwd/fgetpwent.c: Likewise.
17530         * resolv/res_hconf.c: Likewise.
17531         * resolv/res_libc.c: Likewise.
17532         * shadow/fgetspent.c: Likewise.
17533         * shadow/lckpwdf.c: Likewise.
17534         * shadow/sgetspent.c: Likewise.
17535         * socket/opensock.c: Likewise.
17536         * stdio-common/reg-modifier.c: Likewise.
17537         * stdio-common/reg-printf.c: Likewise.
17538         * stdio-common/reg-type.c: Likewise.
17539         * stdio-common/vfprintf.c: Likewise.
17540         * stdio-common/vfscanf.c: Likewise.
17541         * stdlib/abort.c: Likewise.
17542         * stdlib/cxa_atexit.c: Likewise.
17543         * stdlib/fmtmsg.c: Likewise.
17544         * stdlib/random.c: Likewise.
17545         * stdlib/setenv.c: Likewise.
17546         * string/strsignal.c: Likewise.
17547         * sunrpc/auth_none.c: Likewise.
17548         * sunrpc/bindrsvprt.c: Likewise.
17549         * sunrpc/create_xid.c: Likewise.
17550         * sunrpc/key_call.c: Likewise.
17551         * sunrpc/rpc_thread.c: Likewise.
17552         * sysdeps/arm/backtrace.c: Likewise.
17553         * sysdeps/generic/ldsodefs.h: Likewise.
17554         * sysdeps/generic/stdio-lock.h: Likewise.
17555         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17556         * sysdeps/i386/backtrace.c: Likewise.
17557         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17558         * sysdeps/m68k/backtrace.c: Likewise.
17559         * sysdeps/mach/hurd/cthreads.c: Likewise.
17560         * sysdeps/mach/hurd/dirstream.h: Likewise.
17561         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17562         * sysdeps/nptl/malloc-machine.h: Likewise.
17563         * sysdeps/nptl/stdio-lock.h: Likewise.
17564         * sysdeps/posix/dirstream.h: Likewise.
17565         * sysdeps/posix/getaddrinfo.c: Likewise.
17566         * sysdeps/posix/system.c: Likewise.
17567         * sysdeps/pthread/aio_suspend.c: Likewise.
17568         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17569         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17570         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17571         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17572         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17573         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17574         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17575         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17576         * sysdeps/unix/sysv/linux/system.c: Likewise.
17577         * sysdeps/x86_64/backtrace.c: Likewise.
17578         * time/alt_digit.c: Likewise.
17579         * time/era.c: Likewise.
17580         * time/tzset.c: Likewise.
17581         * wcsmbs/wcsmbsload.c: Likewise.
17582         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17583         instead of <bits/libc-lock.h> in comment.
17585 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17587         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17588         Only use .set mips2 if the current ISA is below mips2.
17589         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17590         Likewise.
17591         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17592         mips32r2 if the current ISA is below mips32r2.
17593         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17594         (TLS_IE): Updated to use the TLD_RDHWR macro.
17595         (TLS_LE): Likewise.
17596         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17597         __ASSEMBLER__ condition.
17599 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17601         Fix parallel build of before-compile targets.
17603         * sysdeps/mach/Makefile ($(patsubst
17604         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17605         mach-before-compile target.
17606         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17607         io fs process)): Move rule to dedicated hurd-before-compile target.
17609 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17611         Fix rules generating headers in hurd/ and mach/ when initial make call
17612         has subdir= explicitly set.
17614         * sysdeps/mach/Makefile ($(patsubst
17615         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17616         calling $(MAKE).
17617         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17618         io fs process)): Force subdir to hurd when calling $(MAKE).
17619         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17620         subdir to mach when calling $(MAKE).
17622 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17624         Check sysheaders when looking for Mach and Hurd headers
17626         * sysdeps/mach/configure.ac: Add sysheaders check.
17627         * sysdeps/mach/configure: Regenerate.
17628         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17629         * sysdeps/mach/hurd/configure: Regenerate.
17631 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17633         [BZ #18921]
17634         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17635         Fix inverted sense of test of 'o_directory_works' value.
17636         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17637         Bernhard Voelker <mail@bernhard-voelker.de>.
17639 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17641         [BZ #14912]
17642         * bits/linkmap.h: Move to ...
17643         * sysdeps/generic/linkmap.h: ...here.
17644         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17645         * sysdeps/aarch64/linkmap.h: ...here.
17646         * sysdeps/arm/bits/linkmap.h: Move to ...
17647         * sysdeps/arm/linkmap.h: ...here.
17648         * sysdeps/hppa/bits/linkmap.h: Move to ...
17649         * sysdeps/hppa/linkmap.h: ...here.
17650         * sysdeps/ia64/bits/linkmap.h: Move to ...
17651         * sysdeps/ia64/linkmap.h: ...here.
17652         * sysdeps/mips/bits/linkmap.h: Move to ...
17653         * sysdeps/mips/linkmap.h: ...here.
17654         * sysdeps/s390/bits/linkmap.h: Move to ...
17655         * sysdeps/s390/linkmap.h: ...here.
17656         * sysdeps/sh/bits/linkmap.h: Move to ...
17657         * sysdeps/sh/linkmap.h: ...here.
17658         * sysdeps/x86/bits/linkmap.h: Move to ...
17659         * sysdeps/x86/linkmap.h: ...here.
17660         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17662 2015-09-04  Andreas Schwab  <schwab@suse.de>
17664         [BZ #18635]
17665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17666         (__makecontext): Terminate FDE before return label.
17667         (__novec_makecontext): Likewise.
17669 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17671         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17672         first member of struct sv in syscall macro.
17674 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17676         [BZ #14912]
17677         * bits/stdio-lock.h: Move to ...
17678         * sysdeps/generic/stdio-lock.h: ...here.
17679         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17680         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17681         * sysdeps/nptl/stdio-lock.h: ...here.
17682         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17683         * include/libio.h: Include <stdio-lock.h> instead of
17684         <bits/stdio-lock.h>.
17685         * sysdeps/nptl/fork.c: Likewise.
17686         * sysdeps/pthread/flockfile.c: Likewise.
17687         * sysdeps/pthread/ftrylockfile.c: Likewise.
17688         * sysdeps/pthread/funlockfile.c: Likewise.
17690         [BZ #14912]
17691         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17692         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17693         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17694         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17695         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17696         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17697         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17699 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17701         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17702         (test-xfail-tst-protected1b): New variable.
17704 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17706         [BZ #14912]
17707         * bits/libc-tsd.h: Move to ...
17708         * sysdeps/generic/libc-tsd.h: ...here.
17709         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17710         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17711         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17712         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17713         * include/ctype.h: Include <libc-tsd.h> instead of
17714         <bits/libc-tsd.h>.
17715         * include/rpc/rpc.h: Likewise.
17716         * locale/localeinfo.h: Likewise.
17717         * sunrpc/rpc_thread.c: Likewise.
17718         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17719         * sysdeps/nptl/malloc-machine.h: Likewise.
17721         * Makefile (headers): Remove bits/libc-lock.h.
17722         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17724         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17725         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17726         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17727         <bits/stdio-lock.h>.
17728         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17729         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17731 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17733         [BZ #18757]
17734         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17735         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17736         BZ #18757.
17738 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17740         * malloc/mtrace.pl: Filter out NULL entries.
17742 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17744         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17745         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17746         macro.
17748         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17749         (TCP_CC_INFO): Likewise.
17750         (TCP_SAVE_SYN): Likewise.
17751         (TCP_SAVED_SYN): Likewise.
17753 2015-08-31  Brett Neumeier <brett@neumeier.us>
17755         [BZ #18870]
17756         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17758 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17760         [BZ #18873]
17761         Fix broken overflow check in posix_fallocate
17762         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17763         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17764         Fix parenthesization typo.
17766 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17768         [BZ #18887]
17769         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17770         tst-mntent-blank-passno.
17771         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17772         * misc/tst-mntent-blank-corrupt.c: New test.
17773         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17774         * misc/tst-mntent.c (do_test): ... here.
17776 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17778         [BZ #4404]
17779         * po/de.po: Fix SIGALRM typo.
17781 2015-08-28  James Perkins  <james@loowit.net>
17783         * time/tst-strptime2.c (tests): Replace short list of test
17784         strings for strptime %z specifier with code which exhaustively
17785         tests every combination of sign and 0 to 5 digits. Tests for
17786         rejection of invalid strings.
17788 2015-08-28  James Perkins  <james@loowit.net>
17790         [BZ #16141]
17791         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17792         calculation, removing incorrect decimal time rounding, so that
17793         all minute values result in a valid seconds value.
17794         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17795         offset range limits to UTC-99:59 through UTC+99:59 to parse
17796         current and historical use cases.
17797         * time/tst-strptime2.c (tests): Modify and add tests for the
17798         strptime %z input field descriptor, specifically conversion of
17799         minutes to seconds and validating an offset range of -9959 to
17800         +9959.
17802 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17803             Dmitry V. Levin  <ldv@altlinux.org>
17805         [BZ #18877]
17806         * posix/Makefile (tests): Add tst-mmap-offset.
17807         * posix/tst-mmap.c: New file.
17808         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17809         offset calculation for negative values.
17811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17813         * sysdeps/i386/init-arch.h: New file.
17814         * sysdeps/i386/i586/init-arch.h: Likewise.
17815         * sysdeps/i386/i686/init-arch.h: Likewise.
17816         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17817         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17818         * sysdeps/x86/cpu-features.h (bit_I586): New.
17819         (bit_I686): Likewise.
17820         (bit_CX8): Likewise.
17821         (bit_CMOV): Likewise.
17822         (index_CX8): Likewise.
17823         (index_CMOV): Likewise.
17824         (index_I586): Likewise.
17825         (index_I686): Likewise.
17826         (reg_CX8): Likewise.
17827         (reg_CMOV): Likewise.
17828         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17829         available at compile-time.
17830         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17831         available at compile-time.
17832         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17833         (USE_I686): Likewise.
17835 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17837         * sysdeps/i386/bcopy.S: New file.
17838         * sysdeps/i386/bzero.S: Likewise.
17839         * sysdeps/i386/memcpy.S: Likewise.
17840         * sysdeps/i386/memmove.S: Likewise.
17841         * sysdeps/i386/mempcpy.S: Likewise.
17842         * sysdeps/i386/memset.S: Likewise.
17843         * sysdeps/i386/bzero.c: Removed.
17844         * sysdeps/i386/memset.c: Likewise.
17845         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17846         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17847         * sysdeps/i386/i586/memset_chk.S: Likewise.
17848         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17849         * sysdeps/i386/memcpy_chk.S: Here.
17850         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17851         * sysdeps/i386/memmove_chk.S: Here.
17852         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17853         * sysdeps/i386/mempcpy_chk.S: Likewise.
17854         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17855         * sysdeps/i386/memset_chk.S: Likewise.
17857 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17859         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17860         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17861         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17862         * soft-fp/fmadf4.c: Ditto.
17863         * soft-fp/fmatf4.c: Ditto.
17865 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17867         * sysdeps/i386/i586/Implies: Removed.
17868         * sysdeps/i386/i686/Implies: Likewise.
17870 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17872         * sysdeps/i386/i486/strlen.S: Moved to ...
17873         * sysdeps/i386/strlen.S: Here.
17875 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17877         * sysdeps/i386/i486/strcat.S: Moved to ...
17878         * sysdeps/i386/strcat.S: Here.
17880 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17882         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17883         * sysdeps/i386/pthread_spin_trylock.S: Here.
17884         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17885         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17887 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17889         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17890         * sysdeps/i386/string-inlines.c: Here.
17892 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17894         * sysdeps/i386/i486/htonl.S: Moved ...
17895         * sysdeps/i386/htonl.S: here.
17897 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17899         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17900         * sysdeps/i386/bits/atomic.h: Here.
17902 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17904         * sysdeps/i386/i486/Versions: Removed.
17906 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17908         [BZ #2898]
17909         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17910         Based on patch by Aurelien Jarno.
17912 2015-08-26  Stan Shebs  <stanshebs@google.com>
17914         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17915         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17917 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17919         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17920         * sysdeps/powerpc/dl-procinfo.c:
17921         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17922         feature so it shows when LD_SHOW_AUXV=1.
17924 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17926         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17927         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17928         definition.  ISA 2.07B no longer requires full sync.
17930 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17932         [BZ #18863]
17933         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17934         (si_call_addr): Define.
17935         (si_syscall): Define.
17936         (si_arch): Define.
17938 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17940         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17941         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17942         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17943         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17944         (__memset_zero_constant_len_parameter): New.
17945         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17946         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17947         (__memset_zero_constant_len_parameter): Don't define if
17948         __memset_chk or USE_AS_BZERO are defined.
17950         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17951         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17952         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17954         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17955         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17956         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17957         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17958         comments.
17959         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17960         -mno-mmx for $(all-rtld-routines).
17961         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17962         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17963         i386.
17965 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17967         * sysdeps/generic/unwind.h
17968         (_Unwind_Word): Use __mode__(__unwind_word__)
17969         instead of __mode__(__word__).
17970         (_Unwind_Sword): Likewise.
17972         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17973         (MAX_NEEDED_INPUT): New define.
17974         (MAX_NEEDED_OUTPUT): New define.
17976         * NEWS: New item for IBM z13 string optimizations.
17978         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17979         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17980         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17981         * sysdeps/s390/multiarch/Makefile
17982         (sysdep_routines): Add memrchr functions.
17983         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17984         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17986         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17987         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17988         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17989         * sysdeps/s390/multiarch/Makefile
17990         (sysdep_routines): Add wmemcmp functions.
17991         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17992         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17993         * benchtests/bench-wmemcmp.c: New File.
17994         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17996         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17997         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17998         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17999         * sysdeps/s390/multiarch/Makefile
18000         (sysdep_routines): Add wmemset functions.
18001         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18002         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18003         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18004         * string/test-memset.c: Add wmemset support.
18005         * wcsmbs/test-wmemset.c: New File.
18006         * wcsmbs/Makefile (strop-tests): Add wmemset.
18007         * benchtests/bench-memset.c: Add wmemset support.
18008         * benchtests/bench-wmemset.c: New File.
18009         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18011         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18012         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18013         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18014         * sysdeps/s390/multiarch/Makefile
18015         (sysdep_routines): Add memccpy functions.
18016         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18017         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18018         * string/memccpy.c: Use MEMCCPY if defined.
18020         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18021         * sysdeps/s390/multiarch/memchr.c: Likewise.
18022         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18023         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18024         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18025         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18026         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18027         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18028         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18029         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18030         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18031         and rawmemchr functions.
18032         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18033         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18034         and wmemchr.
18035         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18036         * string/test-memchr.c: Add wmemchr support.
18037         * wcsmbs/test-wmemchr.c: New File.
18038         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18039         * benchtests/bench-memchr.c: Add wmemchr support.
18040         * benchtests/bench-wmemchr.c: New File.
18041         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18043         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18044         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18045         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18046         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18047         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18048         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18050         wcscspn functions.
18051         * sysdeps/s390/multiarch/ifunc-impl-list.c
18052         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18053         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18054         * string/test-strcspn.c: Add wcscspn support.
18055         * wcsmbs/test-wcscspn.c: New File.
18056         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18057         * benchtests/bench-strcspn.c: Add wcscspn support.
18058         * benchtests/bench-wcscspn.c: New File.
18059         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18061         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18062         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18063         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18064         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18065         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18066         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18068         wcspbrk functions.
18069         * sysdeps/s390/multiarch/ifunc-impl-list.c
18070         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18071         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18072         * string/test-strpbrk.c: Add wcspbrk support.
18073         * wcsmbs/test-wcspbrk.c: New File.
18074         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18075         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18076         * benchtests/bench-wcspbrk.c: New File.
18077         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18079         * sysdeps/s390/multiarch/strspn-c.c: New File.
18080         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18081         * sysdeps/s390/multiarch/strspn.c: Likewise.
18082         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18083         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18084         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18085         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18087         wcsspn functions.
18088         * sysdeps/s390/multiarch/ifunc-impl-list.c
18089         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18090         * string/test-strspn.c: Add wcsspn support.
18091         * wcsmbs/test-wcsspn.c: New File.
18092         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18093         * benchtests/bench-strspn.c: Add wcsspn support.
18094         * benchtests/bench-wcsspn.c: New File.
18095         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18097         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18098         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18099         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18100         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18101         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18102         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18104         wcsrchr functions.
18105         * sysdeps/s390/multiarch/ifunc-impl-list.c
18106         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18107         * benchtests/bench-wcsrchr.c: New File.
18108         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18110         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18111         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18112         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18113         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18114         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18115         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18116         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18117         wcschrnul functions.
18118         * sysdeps/s390/multiarch/ifunc-impl-list.c
18119         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18120         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18121         * string/test-strchr.c: Add wcschrnul support.
18122         * wcsmbs/test-wcschrnul.c: New File.
18123         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18124         * benchtests/bench-strchr.c: Add wcschrnul support.
18125         * benchtests/bench-wcschrnul.c: New File.
18126         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18128         * sysdeps/s390/multiarch/strchr-c.c: New File.
18129         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18130         * sysdeps/s390/multiarch/strchr.c: Likewise.
18131         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18132         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18133         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18134         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18135         wcschr functions.
18136         * sysdeps/s390/multiarch/ifunc-impl-list.c
18137         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18138         * string/strchr.c (STRCHR): Define and use macro.
18139         * benchtests/bench-wcschr.c: New File.
18140         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18142         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18143         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18144         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18145         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18146         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18147         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18148         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18149         wcsncmp functions.
18150         * sysdeps/s390/multiarch/ifunc-impl-list.c
18151         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18152         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18153         * benchtests/bench-strncmp.c: Add wcsncmp support.
18154         * benchtests/bench-wcsncmp.c: New File.
18155         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18157         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18158         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18159         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18160         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18161         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18162         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18163         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18164         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18165         wcscmp functions.
18166         * sysdeps/s390/multiarch/ifunc-impl-list.c
18167         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18168         * string/strcmp.c (STRCMP): Define and use macro.
18169         * benchtests/bench-wcscmp.c: New File.
18170         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18171         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18172         instead of _HAVE_STRING_ARCH_memchr.
18174         * sysdeps/s390/multiarch/strncat-c.c: New File.
18175         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18176         * sysdeps/s390/multiarch/strncat.c: Likewise.
18177         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18178         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18179         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18181         wcsncat functions.
18182         * sysdeps/s390/multiarch/ifunc-impl-list.c
18183         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18184         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18185         * string/test-strncat.c: Add wcsncat support.
18186         * wcsmbs/test-wcsncat.c: New File.
18187         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18188         * benchtests/bench-strncat.c: Add wcsncat support.
18189         * benchtests/bench-wcsncat.c: New File.
18190         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18192         * sysdeps/s390/multiarch/strcat-c.c: New File.
18193         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18194         * sysdeps/s390/multiarch/strcat.c: Likewise.
18195         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18196         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18197         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18199         wcscat functions.
18200         * sysdeps/s390/multiarch/ifunc-impl-list.c
18201         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18202         * string/strcat.c (STRCAT): Define and use macro.
18203         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18204         * string/test-strcat.c: Add wcscat support.
18205         * wcsmbs/test-wcscat.c: New File.
18206         * wcsmbs/Makefile (strop-tests): Add wcscat.
18207         * benchtests/bench-strcat.c: Add wcscat support.
18208         * benchtests/bench-wcscat.c: New File.
18209         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18211         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18212         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18213         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18214         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18215         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18216         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18217         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18218         wcpncpy functions.
18219         * sysdeps/s390/multiarch/ifunc-impl-list.c
18220         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18221         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18222         * string/test-stpncpy.c: Add wcpncpy support.
18223         * wcsmbs/test-wcpncpy.c: New File.
18224         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18225         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18226         * benchtests/bench-wcpncpy.c: New File.
18227         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18229         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18230         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18231         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18232         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18233         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18234         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18235         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18237         wcsncpy functions.
18238         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18239         * sysdeps/s390/multiarch/ifunc-impl-list.c
18240         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18241         * string/test-strncpy.c: Add wcsncpy support.
18242         * wcsmbs/test-wcsncpy.c: New File.
18243         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18244         * benchtests/bench-strncpy.c: Add wcsncpy support.
18245         * benchtests/bench-wcsncpy.c: New File.
18246         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18248         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18249         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18250         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18251         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18252         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18253         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18255         wcpcpy functions.
18256         * string/stpcpy.c: Use STPCPY if defined.
18257         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18258         * sysdeps/s390/multiarch/ifunc-impl-list.c
18259         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18260         * string/test-stpcpy.c: Add wcpcpy support.
18261         * wcsmbs/test-wcpcpy.c: New File.
18262         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18263         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18264         * benchtests/bench-wcpcpy.c: New File.
18265         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18267         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18268         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18269         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18270         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18271         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18272         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18273         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18274         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18275         wcscpy functions.
18276         * sysdeps/s390/multiarch/ifunc-impl-list.c
18277         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18278         * benchtests/bench-wcscpy.c: New File.
18279         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18281         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18282         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18283         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18284         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18285         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18286         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18288         wcsnlen functions.
18289         * sysdeps/s390/multiarch/ifunc-impl-list.c
18290         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18291         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18292         * string/test-strnlen.c: Add wcsnlen support.
18293         * wcsmbs/test-wcsnlen.c: New File.
18294         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18295         * benchtests/bench-strnlen.c: Add wcsnlen support.
18296         * benchtests/bench-wcsnlen.c: New File.
18297         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18299         * sysdeps/s390/multiarch/Makefile: New File.
18300         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18301         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18302         * sysdeps/s390/multiarch/strlen.c: Likewise.
18303         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18304         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18305         * sysdeps/s390/multiarch/wcslen.c: Likewise.
18306         * string/strlen.c (STRLEN): Define and use macro.
18307         * sysdeps/s390/multiarch/ifunc-impl-list.c
18308         (IFUNC_VX_IMPL): New macro function.
18309         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18310         * benchtests/Makefile (wcsmbs-bench): New variable.
18311         (string-bench-all): Added wcsmbs-bench.
18312         * benchtests/bench-wcslen.c: New File.
18314         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18315         s390_vx_libc_ifunc2): New macro function.
18317         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18318         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18319         assembler support.
18320         * sysdeps/s390/configure: Regenerated.
18322         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18323         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18325         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18326         * sysdeps/s390/dl-procinfo.h: Add vector capability.
18327         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18329         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18330         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18331         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18332         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18333         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18334         (memcmp, bcmp): Use __memcmp_default as alias source.
18335         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18336         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18337         Rename to __memcmp_default.
18338         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18339         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18340         (memcpy): Use __memcpy_default as alias source.
18341         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18342         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18343         Rename to __memcpy_default.
18344         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18345         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18346         (memset): Use __memset_default as alias source.
18347         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18348         * sysdeps/s390/s390-32/memset.S (__memset_g5):
18349         Rename to __memset_default.
18350         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18351         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18352         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18353         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18354         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18355         (memcmp, bcmp): Use __memcmp_default as alias source.
18356         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18357         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18358         Rename to __memcmp_default.
18359         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18360         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18361         (memcpy): Use __memcpy_default as alias source.
18362         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18363         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18364         Rename to __memcpy_default.
18365         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18366         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18367         (memset): Use __memset_default as alias source.
18368         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18369         * sysdeps/s390/s390-64/memset.S (__memset_z900):
18370         Rename to __memset_default.
18371         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18372         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18374         [BZ #18610]
18375         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18376         __ieee_instruction_pointer to __unused.
18377         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18378         __ieee_instruction_pointer.
18379         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18380         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18381         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18382         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18383         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18384         Mark dxc-field as reserved.
18386 2015-08-25  Roland McGrath  <roland@hack.frob.com>
18388         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18389         if the weak reference is not null.
18391 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18393         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18395         [BZ #11214]
18396         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18398 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18400         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18401         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18402         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18403         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18404         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18405         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18406         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18407         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18408         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18409         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18410         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18411         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18412         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18413         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18414         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18415         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18416         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18417         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18419 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18421         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18422         register other than r0 for tabort, it has special meaning.
18423         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18424         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18425         transaction before starting syscall.
18427 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18429         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18431 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18433         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18435         * sysdeps/x86_64/rtld-memcmp.c: Removed.
18436         * sysdeps/x86_64/rtld-memset.S: Likewise.
18437         * sysdeps/x86_64/rtld-strchr.S: Likewise.
18438         * sysdeps/x86_64/rtld-strlen.S: Likewise.
18439         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18440         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18442         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18444 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18446         * debug/strcpy_chk.c: Improve performance.
18447         * debug/stpcpy_chk.c: Likewise.
18448         * sysdeps/x86_64/strcpy_chk.S: Remove.
18449         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18451         [BZ #18240]
18452         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18454 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18456         [BZ #15128]
18457         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18458         ifuncmain8.
18459         (modules-names): Add ifuncmod8.
18460         ($(objpfx)ifuncmain8): New rule.
18461         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18462         <cpuid.h>.
18463         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18464         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18465         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18466         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18467         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18468         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18469         * sysdeps/x86_64/ifuncmain8.c: New file.
18470         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18471         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18472         Removed.
18473         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18474         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18475         Change rtld_savespace_sse to __glibc_unused2.
18476         (RTLD_CHECK_FOREIGN_CALL): Removed.
18477         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18478         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18479         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18481 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18483         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18485 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18487         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18488         Unconditionally set __fpcr to avoid uninialized warning.
18489         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18491 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18493         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18494         is corrupt.
18496         * malloc/arena.c (arena_get2): Drop unused argument.
18497         (arena_lock): Adjust.
18498         (arena_get_retry): Likewise.
18500 2015-08-24  Andreas Schwab  <schwab@suse.de>
18502         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18503         Don't define.
18504         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18505         (__ASSUME_IPC64): Don't undef.
18506         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18507         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18508         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18509         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18510         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18511         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18512         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18513         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18514         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18515         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18516         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18517         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18518         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18519         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18520         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18521         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18522         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18523         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18524         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18525         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18526         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18528 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18530         * manual/Makefile (install): Only build manual when perl is available.
18532 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18535         '#undef memcpy' by '#undef memchr'.
18537 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18539         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18540         memchr not point to the internal __GI_memchr implementation.
18542 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18544         * timezone/Makefile (CFLAGS-zdump.c): Remove
18545         -Wno-strict-prototypes.
18546         (CFLAGS-zic.c): Likewise.
18547         (CFLAGS-ialloc.c): Likewise.
18548         (CFLAGS-scheck.c): Likewise.
18550         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18551         -Wno-error=undef.
18553 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18555         * i386/i686/multiarch/strcasestr-c.c: Removed.
18556         * x86_64/multiarch/strcasestr.c: Likewise.
18557         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18558         Remove strcasestr.
18560 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18562         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18564         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18565         variables for high and low parts before possibly modifying them.
18567 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18569         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18570         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18571         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18572         of "multiarch/init-arch.h".
18573         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18574         * sysdeps/x86/init-arch.h: This.
18576 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18578         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18579         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18581 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18583         [BZ #17787]
18584         * manual/macros.texi: Add twoexp macro.
18585         * manual/filesys.texi: Fix exponents.
18586         * manual/llio.texi: Likewise.
18587         * manual/stdio.texi: Likewise.
18589 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18591         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18592         incorrect use.
18594 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18596         [BZ #18370]
18597         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18598         whose real or imaginary part has small absolute value.
18599         * math/s_csqrtf.c (__csqrtf): Likewise.
18600         * math/s_csqrtl.c (__csqrtl): Likewise.
18601         * math/auto-libm-test-in: Add more tests of csqrt.
18602         * math/auto-libm-test-out: Regenerated.
18603         * sysdeps/i386/fpu/libm-test-ulps: Update.
18605 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18607         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18608         __ppc_set_ppr_very_low): New functions.
18609         * manual/platform.texi: Add documentation about
18610         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18612 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18614         * string/stpncpy.c (stpncpy): Improve performance using
18615         __strnlen/memcpy/memset.
18617 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18619         [BZ #18796]
18620         * scripts/test-installation.pl: Don't add -lmvec to build options if
18621         libmvec wasn't built.
18623 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18625         [BZ #14341]
18626         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18627         case when there is a gap between DT_REL and DT_JMPREL sections.
18628         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18629         (LDFLAGS-tst-split-dynreloc): New.
18630         (tst-split-dynreloc-ENV): Likewise.
18631         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18632         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18634 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18636         [BZ #18822]
18637         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18638         attribute_hidden.
18639         (__xstat64_conv): Likewise.
18640         (__xstat32_conv): Likewise.
18642 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18644         [BZ #18822]
18645         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18646         Don't load %ebx when calling __setcontext.  Call __setcontext
18647         with HIDDEN_JUMPTARGET.
18648         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18649         libc_hidden_def.
18651 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18653         * sysdeps/i386/i686/Makefile
18654         [$(subdir) == string] (sysdep_routines): Moved to ...
18655         * sysdeps/i386/Makefile: Here.
18656         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18657         * sysdeps/i386/cacheinfo.c: Here.
18658         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18659         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18660         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18661         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18663 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18665         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18666         __i586__ is defined.
18667         (HAS_I686): Defined to 1 if __i686__ is defined.
18669 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18671         * elf/Makefile [$(have-z-execstack) = yes]
18672         (CPPFLAGS-tst-execstack.c): New variable.
18674         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18675         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18676         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18677         UTMPX || _HAVE_UT_TV].
18678         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18679         UTMPX || _HAVE_UT_TV - 0].
18681 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18683         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18684         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18685         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18687 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18689         * sysdeps/powerpc/dl-procinfo.c:
18690         (_dl_powerpc_cap_flags): Added missing strings for some
18691         hwcap features.
18692         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18694 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18696         Port the 0x7efe...feff pattern to GCC 6.
18697         See Steve Ellcey's bug report in:
18698         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18699         * string/memrchr.c (MEMRCHR):
18700         * string/rawmemchr.c (RAWMEMCHR):
18701         * string/strchr.c (strchr):
18702         * string/strchrnul.c (STRCHRNUL):
18703         Rewrite code to avoid issues with signed shift overflow.
18705 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18707         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18708         whether cpuid is available only if HAS_CPUID is 0.
18709         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18710         (HAS_I586): Likewise.
18711         (HAS_I686): Likewise.
18713 2015-08-18  Zack Weinberg  <zackw@panix.com>
18715         * misc/Versions (libc): Add GLIBC_2.23.
18717 2015-08-18  Alan Modra  <amodra@gmail.com>
18719         [BZ #18421]
18720         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18721         .Lp__global.
18722         (_start): Load %dp via .Lp__global.
18723         [!SHARED]: Use .section .rodata.
18725 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18727         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18728         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18730 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18732         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18733         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18735 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18737         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18738         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18740 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18742         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18743         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18745 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18747         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18748         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18750 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18752         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18753         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18755 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18757         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18759 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18761         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18762         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18763         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18764         (__ASSUME_LWS_CAS): Delete.
18766 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18768         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18769         * sysdeps/hppa/configure: Regenerated.
18770         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18771         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18772         * sysdeps/hppa/nptl/tls.h: Likewise.
18774 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #18823]
18777         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18778         for scaling up small arguments.
18779         * math/s_csqrtf.c (__csqrtf): Likewise.
18780         * math/s_csqrtl.c (__csqrtl): Likewise.
18781         * math/auto-libm-test-in: Add more tests of csqrt.
18782         * math/auto-libm-test-out: Regenerated.
18784 2015-08-17  Andreas Schwab  <schwab@suse.de>
18786         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18787         version set GLIBC_2.19.
18789 2015-08-16  Zack Weinberg  <zackw@panix.com>
18791         [BZ #18681]
18792         * misc/regexp.h: This interface is no longer supported.
18793         Remove all contents, leaving only an #error directive.
18794         * misc/regexp.c (loc1, loc2, locs, step, advance):
18795         Demote to compatibility symbols.
18797 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18799         [BZ #18084]
18800         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18801         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18802         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18803         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18804         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18805         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18806         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18807         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18808         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18810 2015-08-15  Zack Weinberg  <zackw@panix.com>
18812         [BZ #18795]
18813         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18814         buffer length is known to be too large, not if it's known to be
18815         small enough.
18816         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18817         overflow at runtime, involving a length parameter, twice: once
18818         with a compile-time constant length parameter, once without.
18820 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #18824]
18823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18824         scaling x * y up instead of down.
18825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18826         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18827         * math/auto-libm-test-in: Add more tests of fma.
18828         * math/auto-libm-test-out: Regenerated.
18830 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18834 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18836         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18837         unnecessary movq.
18838         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18839         Likewise.
18841 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18843         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18844         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18845         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18846         and tgamma.
18847         * math/auto-libm-test-out: Regenerated.
18848         * sysdeps/i386/fpu/libm-test-ulps: Update.
18849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18851         [BZ #16520]
18852         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18853         (__tanh): Force underflow exception for arguments with small
18854         absolute value.
18855         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18856         (__tanhf): Force underflow exception for arguments with small
18857         absolute value.
18858         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18859         (__tanhl): Force underflow exception for arguments with small
18860         absolute value.
18861         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18862         (__tanhl): Force underflow exception for arguments with small
18863         absolute value.
18864         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18865         (__tanhl): Force underflow exception for arguments with small
18866         absolute value.
18867         * math/auto-libm-test-in: Add more tests of tanh.
18868         * math/auto-libm-test-out: Regenerated.
18869         * sysdeps/i386/fpu/libm-test-ulps: Update.
18871 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18873         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18874         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18876 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18878         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18879         <cpuid.h>.
18881 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18883         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18884         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18886 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18888         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18889         Remove $(objpfx)init-arch.o.
18890         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18891         init-arch.
18892         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18893         (INIT_ARCH_EXT): Defined as empty.
18894         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18896         __init_cpu_features call.  Replace HAS_XXX with
18897         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18899         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18900         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18903         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18904         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18905         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18906         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18907         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18908         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18909         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18912         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18915         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18917         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18918         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18920         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18921         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18922         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18924         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18926         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18927         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18930         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18931         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18932         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18934 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18936         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18937         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18938         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18939         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18940         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18941         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18942         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18943         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18944         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18945         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18946         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18947         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18948         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18949         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18950         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18951         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18952         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18953         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18954         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18955         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18956         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18957         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18958         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18959         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18960         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18961         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18962         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18963         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18964         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18965         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18966         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18967         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18968         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18969         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18970         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18971         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18972         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18973         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18974         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18975         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18976         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18977         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18978         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18980 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18982         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18983         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18986         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18987         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18988         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18989         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18990         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18991         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18992         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18993         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18994         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18995         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18996         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18997         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18998         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18999         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19000         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19001         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19002         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19003         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19004         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19005         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19006         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19007         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19008         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19009         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19010         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19011         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19012         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19013         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19014         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19015         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19016         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19017         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19018         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19019         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19020         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19021         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19022         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19023         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19024         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19026 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19028         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19029         (dl_platform_init): Call init_cpu_features.
19030         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19031         * sysdeps/i386/i686/cacheinfo.c
19032         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19033         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19034         * sysdeps/i386/i686/multiarch/Versions: Removed.
19035         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19036         Removed.
19037         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19038         * sysdeps/unix/sysv/linux/x86/Makefile
19039         (libpthread-sysdep_routines): Remove init-arch.
19040         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19041         <sysdeps/x86_64/dl-procinfo.c> instead of
19042         sysdeps/generic/dl-procinfo.c>.
19043         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19044         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19045         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19046         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19047         [$(subdir) == elf] (tests-static): Add
19048         tst-get-cpu-features-static.
19049         * sysdeps/x86/Versions: New file.
19050         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19051         * sysdeps/x86/cpu-features.c: Likewise.
19052         * sysdeps/x86/cpu-features.h: Likewise.
19053         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19054         * sysdeps/x86/libc-start.c: Likewise.
19055         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19056         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19057         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19058         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19059         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19060         Assume USE_MULTIARCH is defined and don't check it.
19061         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19062         (is_amd): Likewise.
19063         (max_cpuid): Likewise.
19064         (intel_check_word): Likewise.
19065         (__cache_sysconf): Don't call __init_cpu_features.
19066         (__x86_preferred_memory_instruction): Removed.
19067         (init_cacheinfo): Don't call __init_cpu_features. Replace
19068         __cpu_features with GLRO(dl_x86_cpu_features).
19069         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19070         (dl_platform_init): Call init_cpu_features.
19071         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19072         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19073         * sysdeps/x86_64/multiarch/Versions: Removed.
19074         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19075         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19076         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19077         Removed.
19078         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19080 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19082         [BZ #18820]
19083         * libio/Makefile (test-fmemopen-mem): New test.
19084         * libio/test-fmemopen.c (do_bz18820): New test.
19085         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19086         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19088 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19090         [BZ #16734]
19091         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19092         (FREE_BUF): Delete.
19093         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19094         * libio/genops.c (_IO_setb): Use malloc and free directly.
19095         (_IO_default_doallocate, _IO_default_finish): Likewise.
19096         ( _IO_unbuffer_all): Likewise.
19097         ( libc_freeres_fn): Likewise.
19098         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19099         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19100         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19101         (_IO_wdefault_doallocate): Likewise.
19103 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19105         [BZ #18086]
19106         * sysdeps/posix/nice.c (nice): Restore old errno.
19107         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19109 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19111         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19113 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19115         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19116         __bcopy and add a weak_alias to bcopy.
19117         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19118         for static build.
19120         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19121         cleanup macro usage.
19122         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19125         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19126         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19127         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19128         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19129         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19130         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19131         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19132         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19133         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19134         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19135         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19138         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19140         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19142         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19143         libc_hidden_def.
19144         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19146         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19147         (sysdep_routines): Add strstr-ppc64.
19148         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19150 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19152         [BZ #18778]
19153         * elf/Makefile (tests): Add Add tst-nodelete2.
19154         (modules-names): Add tst-nodelete2mod.
19155         (tst-nodelete2mod.so-no-z-defs): New.
19156         ($(objpfx)tst-nodelete2): Likewise.
19157         ($(objpfx)tst-nodelete2.out): Likewise.
19158         (LDFLAGS-tst-nodelete2): Likewise.
19159         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19160         out of loop through all loaded libraries.
19161         * elf/tst-nodelete2.c: New file.
19162         * elf/tst-nodelete2mod.c: Likewise.
19163         * elf/tst-znodelete-zlib.cc: Delete.
19165 2015-08-11  Andreas Schwab  <schwab@suse.de>
19167         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19168         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19169         (__openat64_nocancel): Likewise.
19171 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19173         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19174         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19175         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19176         * math/auto-libm-test-out: Regenerated.
19177         * sysdeps/i386/fpu/libm-test-ulps: Update.
19178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19182         [BZ #18790]
19183         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19184         threshold for returning +/- 1.
19185         * math/auto-libm-test-in: Add more tests of tanh.
19186         * math/auto-libm-test-out: Regenerated.
19187         * sysdeps/i386/fpu/libm-test-ulps: Update.
19189 2015-08-10  Andreas Schwab  <schwab@suse.de>
19191         [BZ #18781]
19192         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19193         MORE_OFLAGS to oflag.
19194         * io/test-lfs.c (do_test): Test openat64.
19196 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19198         [BZ #18789]
19199         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19200         smaller threshold for returning the argument.
19201         * math/auto-libm-test-in: Add more tests of sinh.
19202         * math/auto-libm-test-out: Regenerated.
19203         * sysdeps/i386/fpu/libm-test-ulps: Update.
19205 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19207         [BZ #18674]
19208         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19209         break.
19211 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19213         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19214         (generated): Don't add $(addprefix z.,$(tzfiles)).
19216 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19218         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19219         * scripts/sysd-rules.awk: Likewise.
19221 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19223         * iconvdata/tst-tables.sh: Change echo -n to printf.
19224         * nss/db-Makefile: Likewise.
19225         * posix/tst-getconf.sh: Likewise.
19226         * stdio-common/tst-unbputc.sh: Likewise.
19228 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19230         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19231         MADV_*_PAGES defines behind this feature check.
19233 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19235         [BZ #18480]
19236         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19237         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19238         Define.
19239         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19240         LOAD_REGS_5, LOAD_REGS_6): Update.
19241         (INTERNAL_SYSCALL): Update using new LOAD defines.
19242         (INTERNAL_SYSCALL_NCS): Likewise.
19243         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19245 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19247         [BZ #16734]
19248         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19250 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19252         [BZ #17905]
19253         * catgets/Makefile (tst-catgets-mem): New test.
19254         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19255         * catgets/open_catalog.c (__open_catalog): Likewise.
19256         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19258 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19260         [BZ #18787]
19261         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19262         clobber registers.
19263         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19264         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19265         Cast return to __typeof (oldval).
19267 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19269         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19270         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19271         and delete sys/syscall.h include.
19273 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19275         [BZ #16517]
19276         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19277         (tan): Force underflow exception for arguments with small absolute
19278         value.
19279         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19280         (__kernel_tanf): Force underflow exception for arguments with
19281         small absolute value.
19282         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19283         (__kernel_tanl): Force underflow exception for arguments with
19284         small absolute value.
19285         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19286         (__kernel_tanl): Force underflow exception for arguments with
19287         small absolute value.
19288         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19289         (__kernel_tanl): Force underflow exception for arguments with
19290         small absolute value.
19291         * math/auto-libm-test-in: Add more tests of tan.
19292         * math/auto-libm-test-out: Regenerated.
19294 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19296         Fix sysdeps/i386/fpu/s_scalbn.S build
19298         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19300 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
19302         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19304 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19306         Fix gcrt0.o compilation
19308         When static-start-installed-name is different from
19309         start-installed-name, we must not use the shared objects.
19311         * csu/Makefile
19312         (extra-objs): Add gmon-start.o when building shared library and
19313         $(static-start-installed-name) is different from
19314         $(start-installed-name).
19315         $(objpfx)g$(static-start-installed-name): When building shared
19316         library and $(static-start-installed-name) is different from
19317         $(static-start-installed-name), revert to non-shared rule,
19318         i.e. using $(objpfx)% and gmon-start.o.
19320 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #16519]
19323         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19324         (__ieee754_sinh): Force underflow exception for arguments with
19325         small absolute value.
19326         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19327         (__ieee754_sinhf): Force underflow exception for arguments with
19328         small absolute value.
19329         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19330         (__ieee754_sinhl): Force underflow exception for arguments with
19331         small absolute value.
19332         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19333         (__ieee754_sinhl): Force underflow exception for arguments with
19334         small absolute value.
19335         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19336         (__ieee754_sinhl): Force underflow exception for arguments with
19337         small absolute value.
19338         * math/auto-libm-test-in: Add more tests of sinh.
19339         * math/auto-libm-test-out: Regenerated.
19340         * sysdeps/i386/fpu/libm-test-ulps: Update.
19342 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19344         * libio/oldfileops.c: Include unistd.h.
19346 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
19348         * stdlib/isomac.c: Include ctype.h.
19350 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
19352         * dirent/tst-seekdir.c (main): Converted to ...
19353         (do_test): ... this.
19354         (TEST_FUNCTION): New macro.
19355         Include test-skeleton.c.
19356         * elf/tst-dlmodcount.c (main): Converted to ...
19357         (do_test): ... this.
19358         (TEST_FUNCTION): New macro.
19359         Include test-skeleton.c.
19360         * elf/tst-order-main.c (main): Converted to ...
19361         (do_test): ... this.
19362         (TEST_FUNCTION): New macro.
19363         Include test-skeleton.c.
19364         * elf/tst-pie2.c (main): Converted to ...
19365         (do_test): ... this.
19366         (TEST_FUNCTION): New macro.
19367         Include test-skeleton.c.
19368         * inet/tst-ether_aton.c (main): Converted to ...
19369         (do_test): ... this.
19370         (TEST_FUNCTION): New macro.
19371         Include test-skeleton.c.
19372         * misc/tst-mntent.c (main): Converted to ...
19373         (do_test): ... this.
19374         (TEST_FUNCTION): New macro.
19375         Include test-skeleton.c.
19376         * misc/tst-tsearch.c (main): Converted to ...
19377         (do_test): ... this.
19378         (TEST_FUNCTION): New macro.
19379         Include test-skeleton.c.
19380         * posix/tst-regexloc.c (main): Converted to ...
19381         (do_test): ... this.
19382         (TEST_FUNCTION): New macro.
19383         Include test-skeleton.c.
19384         * resolv/tst-aton.c (main): Converted to ...
19385         (do_test): ... this.
19386         (TEST_FUNCTION): New macro.
19387         Include test-skeleton.c.
19388         * stdio-common/test-fwrite.c (main): Converted to ...
19389         (do_test): ... this.
19390         (TEST_FUNCTION): New macro.
19391         Include test-skeleton.c.
19392         * stdio-common/tst-ferror.c (main): Converted to ...
19393         (do_test): ... this.
19394         (TEST_FUNCTION): New macro.
19395         Include test-skeleton.c.
19396         * stdio-common/tst-printf.c (main): Converted to ...
19397         (do_test): ... this.
19398         (TEST_FUNCTION): New macro.
19399         Include test-skeleton.c.
19400         * stdio-common/tst-printfsz.c (main): Converted to ...
19401         (do_test): ... this.
19402         (TEST_FUNCTION): New macro.
19403         Include test-skeleton.c.
19404         * stdlib/tst-strtod.c (main): Converted to ...
19405         (do_test): ... this.
19406         (TEST_FUNCTION): New macro.
19407         Include test-skeleton.c.
19408         * string/tst-strlen.c (main): Converted to ...
19409         (do_test): ... this.
19410         (TEST_FUNCTION): New macro.
19411         Include test-skeleton.c.
19412         * string/tst-svc.c (main): Converted to ...
19413         (do_test): ... this.
19414         (TEST_FUNCTION): New macro.
19415         Include test-skeleton.c.
19416         * time/tst-strptime.c (main): Converted to ...
19417         (do_test): ... this.
19418         (TEST_FUNCTION): New macro.
19419         Include test-skeleton.c.
19420         * timezone/tst-timezone.c (main): Converted to ...
19421         (do_test): ... this.
19422         (TEST_FUNCTION): New macro.
19423         Include test-skeleton.c.
19425 2015-08-05  Zack Weinberg  <zackw@panix.com>
19427         * misc/regexp.h: Update comments.
19429 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
19431         [BZ #18635]
19432         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19433         before return label.
19435 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19437         [BZ #18661]
19438         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19439         when calling __errno_location.
19440         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19441         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19443 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19445         [BZ #18661]
19446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19447         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19448         __gettimeofday.
19450 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19452         [BZ #18661]
19453         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19454         (__start_context): Don't use pop to restore %rdi so that stack
19455         is aligned to 16 bytes when calling __setcontext.
19457 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19459         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19460         only for libc.
19461         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19463 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19465         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19466         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19467         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19469 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19471         * string/memccpy.c (memccpy):
19472         Improve performance by using memchr/memcpy/__mempcpy.
19474 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19476         * string/strncpy.c (strncpy):
19477         Improve performance by using __strnlen/memcpy.
19479 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19481         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19482         Optimize to avoid an unnecessary FPCR read.
19484 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19486         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19487         Optimize to reduce FPCR/FPSR accesses.
19489 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19491         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19492         dead->data[category] != NULL.
19494 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19496         [BZ #18647]
19497         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19498         and |x| close to 1, use absolute value of x when computing log.
19499         * math/auto-libm-test-in: Add more tests of pow.
19500         * math/auto-libm-test-out: Regenerated.
19502 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19504         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19505         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19506         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19508 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19510         [BZ #18525]
19511         * locales/km_KH: Remove timezone definition.
19512         * locales/lo_LA: Likewise.
19513         * locales/my_MM: Likewise.
19514         * locales/nan_TW@latin: Likewise.
19515         * locales/th_TH: Likewise.
19516         * locales/uk_UA: Likewise.
19518 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19520         [BZ #18265]
19521         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19522         (wcsncat): Likewise.
19523         (wcscmp): Likewise.
19524         (wcsncmp): Likewise.
19526 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19528         * test-skeleton.c (usage): New function.
19529         (main): Call usage when opt is '?'.
19531 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19533         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19534         before first use.
19536 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19538         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19539         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19540         in there too.
19542 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19544         * version.h (RELEASE): Set to "development".
19545         (VERSION): Set to "2.22.90"
19547         * version.h (RELEASE): Set to "stable".
19548         (VERSION): Set to "2.22"
19549         * include/features.h (__GLIBC_MINOR__): Set to 22.
19551 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19553         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19554         Restructure macro to avoid "value computed is not used" warning.
19555         (atomic_compare_and_exchange_val_acq): Likewise.
19557 2015-08-04  Andreas Schwab  <schwab@suse.de>
19559         [BZ #18635]
19560         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19561         ret.
19562         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19564 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19566         * po/pl.po: Updated translation.
19567         * po/uk.po: Likewise.
19568         * po/fi.po: Likewise.
19569         * po/ko.po: Likewise.
19570         * po/ru.po: Likewise.
19571         * po/vi.po: Likewise.
19573 2015-07-31  Zack Weinberg  <zackw@panix.com>
19575         [BZ #18681]
19576         * regexp.h: Add unconditional #warning stating that this header
19577         will be removed soon.  Revise banner comment to match.
19578         (compile): Consistently use ERROR instead of RETURN to report
19579         errors (partial fix for bz#18681).
19580         * regexp.c: Don't include regexp.h. Remove some unnecessary
19581         declarations.
19583 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19585         * po/libc.pot: Regenerated.
19587 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19589         [BZ #18740]
19590         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19591         float-vlen4-arch-ext-cflags): Removed.
19592         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19593         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19595 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19597         [BZ #14113]
19598         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19599         aligned to __aligned__.
19600         (pthread_cond_t, pthread_rwlock_t): Likewise.
19602 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19604         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19606 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19608         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19609         (struct sigaction): Change sa_flags from a long to an int, and add
19610         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19612 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19614         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19615         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19616         sysdeps/generic/sysdep.h include.
19617         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19618         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19619         sysdeps/hppa/sysdep.h.
19620         (ENTRY, PSEUDO): Undefine before defining.
19622 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19624         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19625         from scratch to use INTERNAL_SYSCALL.
19627 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19629         [BZ #18078]
19630         * scripts/check-localplt.awk: Support alternate relocations.
19631         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19632         sections.
19633         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19634         malloc entries with + REL R_386_GLOB_DAT.
19635         * sysdeps/x86_64/localplt.data: New file.
19637 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19639         [BZ #18731]
19640         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19641         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19642         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19644 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19646         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19648 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19650         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19651         directly in terms of __sync_fetch_and_add and delete (int) cast.
19653 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19655         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19656         the -D_ASM_IA64_CURRENT_H flag.
19658 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19660         [BZ #18641]
19661         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19663 2015-07-27  Andreas Schwab  <schwab@suse.de>
19665         * conform/conformtest.pl (checknamespace): Filter out string
19666         literals while tokenizing.
19668 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19670         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19671         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19672         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19674 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19676         * nptl/tst-join7mod.c: Add #include <string.h>.
19678 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19680         * sysdeps/nios2/libm-test-ulps: Update.
19682 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19684         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19685         Fix order of arguments to the rt_sigprocmask syscall.
19686         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19687         Likewise.
19689 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19691         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19693 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19695         [BZ #18457]
19696         * nptl/Makefile (tests): New test case tst-join7.
19697         (modules-names): New test case module tst-join7mod.
19698         * nptl/tst-join7.c: New file.
19699         * nptl/tst-join7mod.c: New file.
19700         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19701         all translation units in libc.so, libpthread.so and rtld.
19703 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19707 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19709         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19710         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19711         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19712         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19713         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19714         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19717         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19718         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19719         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19721         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19722         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19723         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19724         implementation.
19726 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19728         [BZ #17711]
19729         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19730         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19731         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19732         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19733         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19734         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19736 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19738         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19739         instead of just saying load lock in the comments.
19741 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19743         * sysdeps/unix/Subdirs: Moved ...
19744         * sysdeps/posix/Subdirs: ... here.
19745         * login/pty.h (struct termios, struct winsize): Add forward decls.
19746         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19747         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19748         * sysdeps/arm/nacl/libc.abilist: Updated.
19749         * sysdeps/nacl/libutil.abilist: New file.
19751         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19752         (SIGWINCH): New macro.
19754         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19755         * sysdeps/arm/nacl/libc.abilist: Add it.
19757 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19759         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19761 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19763         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19764         Swap __glibc_reserved0 and sa_flags order.
19766 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19768         [BZ #18657]
19769         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19770         are pending TLS destructor calls.
19771         * include/link.h (struct link_map): Add concurrency note for
19772         L_TLS_DTOR_COUNT.
19773         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19774         Don't touch the link map flag.  Atomically increment
19775         l_tls_dtor_count.
19776         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19777         Avoid taking the load lock and don't touch the link map flag.
19778         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19779         * stdlib/Makefile (tests): Use it.
19780         * stdlib/tst-tls-atexit.c (do_test): dlopen
19781         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19782         to allow tst-tls-atexit-nodelete test case to use it.
19784 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19786         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19787         to bits/types.h.
19788         (msgqnum_t): New typedef.
19789         (msglen_t): Likewise.
19790         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19791         and msg_qbytes type to msglen_t.
19793 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19795         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19796         pad0 to __glibc_reserved0.
19797         (struct stat64): Likewise.
19799 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19801         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19802         Change sa_flags from a long to an int and add __glibc_reserved0 before
19803         it for padding.
19805 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19807         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19808         anonymous by deleting "siginfo" name.
19810 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19812         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19813         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19814         rather than __nacl_irt_filename.
19815         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19817         * NEWS: New item for arm-nacl port.
19818         * sysdeps/arm/nacl/libc.abilist: New file.
19819         * sysdeps/nacl/ld.abilist: New file.
19820         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19821         * sysdeps/nacl/libanl.abilist: New file.
19822         * sysdeps/nacl/libcrypt.abilist: New file.
19823         * sysdeps/nacl/libdl.abilist: New file.
19824         * sysdeps/nacl/libm.abilist: New file.
19825         * sysdeps/nacl/libpthread.abilist: New file.
19826         * sysdeps/nacl/libresolv.abilist: New file.
19827         * sysdeps/nacl/librt.abilist: New file.
19829 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19831         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19832         __startcontext to initialize the new context.
19833         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19834         up CFI directive to forbid further backtracing.
19836 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19838         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19839         reference.
19840         * charmaps/ANSI_X3.4-1968: Likewise.
19841         * charmaps/BS_4730: Likewise.
19842         * charmaps/BS_VIEWDATA: Likewise.
19843         * charmaps/CP1250: Likewise.
19844         * charmaps/CP1251: Likewise.
19845         * charmaps/CP1252: Likewise.
19846         * charmaps/CP1253: Likewise.
19847         * charmaps/CP1254: Likewise.
19848         * charmaps/CP1255: Likewise.
19849         * charmaps/CP1256: Likewise.
19850         * charmaps/CSN_369103: Likewise.
19851         * charmaps/EBCDIC-DK-NO: Likewise.
19852         * charmaps/GB_1988-80: Likewise.
19853         * charmaps/GREEK-CCITT: Likewise.
19854         * charmaps/GREEK7: Likewise.
19855         * charmaps/INIS-8: Likewise.
19856         * charmaps/ISIRI-3342: Likewise.
19857         * charmaps/ISO_2033-1983: Likewise.
19858         * charmaps/ISO_5427-EXT: Likewise.
19859         * locales/POSIX: Likewise.
19860         * locales/ar_SA: Likewise.
19861         * locales/be_BY: Likewise.
19862         * locales/be_BY@latin: Likewise.
19863         * locales/ca_ES: Likewise.
19864         * locales/cs_CZ: Likewise.
19865         * locales/da_DK: Likewise.
19866         * locales/de_BE: Likewise.
19867         * locales/de_CH: Likewise.
19868         * locales/de_LU: Likewise.
19869         * locales/en_AU: Likewise.
19870         * locales/en_BW: Likewise.
19871         * locales/en_CA: Likewise.
19872         * locales/en_DK: Likewise.
19873         * locales/en_GB: Likewise.
19874         * locales/en_IE: Likewise.
19875         * locales/en_NZ: Likewise.
19876         * locales/en_ZA: Likewise.
19877         * locales/en_ZW: Likewise.
19878         * locales/es_AR: Likewise.
19879         * locales/es_BO: Likewise.
19880         * locales/es_CL: Likewise.
19881         * locales/es_CO: Likewise.
19882         * locales/es_DO: Likewise.
19883         * locales/es_EC: Likewise.
19884         * locales/es_ES: Likewise.
19885         * locales/es_HN: Likewise.
19886         * locales/es_MX: Likewise.
19887         * locales/es_PA: Likewise.
19888         * locales/es_PE: Likewise.
19889         * locales/es_PY: Likewise.
19890         * locales/es_SV: Likewise.
19891         * locales/es_US: Likewise.
19892         * locales/es_UY: Likewise.
19893         * locales/es_VE: Likewise.
19894         * locales/et_EE: Likewise.
19895         * locales/fa_IR: Likewise.
19896         * locales/fo_FO: Likewise.
19897         * locales/fr_CA: Likewise.
19898         * locales/fr_CH: Likewise.
19899         * locales/gv_GB: Likewise.
19900         * locales/he_IL: Likewise.
19901         * locales/hr_HR: Likewise.
19902         * locales/id_ID: Likewise.
19903         * locales/is_IS: Likewise.
19904         * locales/it_CH: Likewise.
19905         * locales/iw_IL: Likewise.
19906         * locales/kl_GL: Likewise.
19907         * locales/ko_KR: Likewise.
19908         * locales/kw_GB: Likewise.
19909         * locales/lg_UG: Likewise.
19910         * locales/lt_LT: Likewise.
19911         * locales/lv_LV: Likewise.
19912         * locales/mi_NZ: Likewise.
19913         * locales/nhn_MX: Likewise.
19914         * locales/nl_BE: Likewise.
19915         * locales/pl_PL: Likewise.
19916         * locales/sk_SK: Likewise.
19917         * locales/sl_SI: Likewise.
19918         * locales/sv_FI: Likewise.
19919         * locales/tl_PH: Likewise.
19920         * locales/tr_TR: Likewise.
19921         * locales/vi_VN: Likewise.
19923 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19925         [BZ #17475]
19926         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19927         of tu_IN and bh_IN.
19929 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19931         [BZ #18694]
19932         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19933         bits/wordsize.h.
19934         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19936 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19938         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19939         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19940         (spawn_thread): New function.
19941         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19942         (do_test): ... here.  Use IS_LOADED to test for its
19943         availability.
19945 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19947         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19949 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19951         [BZ #18696]
19952         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19953         si_addr_bnd.
19954         (si_lower): New.
19955         (si_upper): Likewise.
19957 2015-07-16  David S. Miller  <davem@davemloft.net>
19959         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19961 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19963         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19964         buffer.
19965         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19966         fail output information.
19968 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19971         and strstr-ppc64..
19972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19973         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19974         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19975         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19976         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19978 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19980         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19981         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19982         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19983         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19985 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19987         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19988         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19989         rtld_hidden_proto.
19990         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19992 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19994         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19995         the test can fail.
19997         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19999         [BZ #18676]
20000         * elf/tst-nodelete-opened.c: New test case.
20001         * elf/tst-nodelete-opened-lib.c: New test case module.
20002         * elf/Makefile (tests, modules-names): Use them.
20003         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20004         early.
20006 2015-07-15  David S. Miller  <davem@davemloft.net>
20008         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20009         futex-intenal.h
20010         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20011         * sysdeps/sparc/sparc64/Makefile: Likewise.
20012         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20013         Remove space from macro define.
20014         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20016 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20018         [BZ #17475]
20019         * locale/iso-639.def: Update Bhili and Tulu language codes as
20020         per iso639-3.
20022 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20024         * elf/tst-leaks1.c (main): Converted to ...
20025         (do_test): ... this.
20026         (TEST_FUNCTION): New macro.
20027         Include test-skeleton.c.
20028         * localedata/tst-langinfo.c (main): Converted to ...
20029         (do_test): ... this.
20030         (TEST_FUNCTION): New macro.
20031         Include test-skeleton.c.
20032         * math/test-fpucw.c (main): Converted to ...
20033         (do_test): ... this.
20034         (TEST_FUNCTION): New macro.
20035         Include test-skeleton.c.
20036         * math/test-tgmath.c (main): Converted to ...
20037         (do_test): ... this.
20038         (TEST_FUNCTION): New macro.
20039         Include test-skeleton.c.
20040         * math/test-tgmath2.c (main): Converted to ...
20041         (do_test): ... this.
20042         (TEST_FUNCTION): New macro.
20043         Include test-skeleton.c.
20044         * setjmp/tst-setjmp.c (main): Converted to ...
20045         (do_test): ... this.
20046         (TEST_FUNCTION): New macro.
20047         Include test-skeleton.c.
20048         * stdio-common/tst-sscanf.c (main): Converted to ...
20049         (do_test): ... this.
20050         (TEST_FUNCTION): New macro.
20051         Include test-skeleton.c.
20052         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20053         (do_test): ... this.
20054         (TEST_FUNCTION): New macro.
20055         Include test-skeleton.c.
20057         * elf/tst-audit9.c (main): Converted to ...
20058         (do_test): ... this.
20059         (TEST_FUNCTION): New macro.
20060         Include test-skeleton.c.
20062 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20064         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20066 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20068         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20069         New variable.
20071 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20073         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20075 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20077         * sysdeps/generic/dl-fileid.h: New file.
20078         * sysdeps/posix/dl-fileid.h: New file.
20079         * sysdeps/nacl/dl-fileid.h: New file.
20080         * include/link.h: Include <dl-fileid.h>.
20081         (struct link_map): Replace l_dev and l_ino with l_file_id.
20082         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20083         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20084         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20086 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20088         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20090 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20092         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20093         Add iff $CXX is set.
20094         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20095         Likewise.
20096         (tst-nodelete-zmodiff): Likewise.
20097         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20099 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20101         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20103 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20105         * sysdeps/aarch64/fpu/math_private.h
20106         (define math_opt_barrier): Add AArch64 version.
20107         (math_force_eval): Likewise.
20109 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20111         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20113 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20115         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20116         %ld with %jd and cast to intmax_t.
20117         (do_test_length_zero): Likewise.
20119 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20121         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20123 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20125         * sysdeps/tile/libm-test-ulps: Regenerated.
20127         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20128         Comment out the whole function, not just its body.
20130 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20132         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20133         locks.
20135         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20137 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20139         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20140         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20142 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20144         * sysdeps/nptl/futex-internal.h: New file.
20145         * sysdeps/nacl/futex-internal.h: New file.
20146         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20147         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20148         error checking.
20149         (setxid_unmark_thread): Likewise.
20150         (__nptl_setxid): Likewise.
20151         (__wait_lookup_done): Likewise.
20152         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20153         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20154         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20155         * nptl/pthread_once.c (clear_once_control): Likewise.
20156         (__pthread_once_slow): Likewise.
20157         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20158         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20159         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20160         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20161         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20162         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20163         Likewise.
20164         (__pthread_rwlock_rdlock): Likewise.
20165         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20166         Likewise.
20167         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20168         Likewise.
20169         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20170         Likewise.
20171         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20172         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20173         Likewise.
20174         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20175         __ASSUME_PRIVATE_FUTEX check.
20176         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20177         Check that shared futexes are supported.
20178         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20179         wrappers with error checking.
20180         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20181         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20182         * nptl/pthread_barrierattr_setpshared.c
20183         (pthread_barrierattr_setpshared): Check that shared futexes are
20184         supported.
20185         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20186         Likewise.
20187         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20188         Likewise.
20189         * nptl/sem_init.c (futex_private_if_supported): Remove.
20190         (__new_sem_init): Adapt and check that shared futexes are supported.
20191         * nptl/sem_open.c (sem_open): Likewise.
20192         * nptl/sem_post.c (futex_wake): Remove.
20193         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20194         (do_futex_wait): Use futex wrappers with error checking.
20195         * nptl/sem_wait.c: Include lowlevellock.h.
20196         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20197         Use futex_supports_pshared.
20198         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20199         Use futex wrappers with error checking.
20200         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20201         Likewise.
20202         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20203         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20204         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20205         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20206         (futex_wake): Likewise.
20207         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20208         (do_futex_wait): Use futex wrappers with error checking.
20209         (__new_sem_wait_slow): Update EINTR handling.
20210         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20212 2015-07-09  Martin Sebor  <msebor@redhat.com>
20214         [BZ #18435]
20215         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20216         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20217         * nptl/Makefile (test-xfail-tst-once5): Define.
20219 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20221         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20222         * elf/dl-minimal.c: For readability, reorder some definitions and
20223         introduce more page breaks.  Include <stdio.h>.
20224         (__libc_fatal): New function.
20226         * include/unistd.h: Add rtld_hidden_proto for _exit.
20227         * posix/_exit.c: Add rtld_hidden_def.
20228         * sysdeps/mach/hurd/_exit.c: Likewise.
20229         * sysdeps/nacl/_exit.c: Likewise.
20230         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20231         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20233 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20235         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20236         bndmov encoding with zero displacement.
20238 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20239             H.J. Lu  <hongjiu.lu@intel.com>
20241         [BZ #18134]
20242         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20243         * sysdeps/i386/configure: Regenerated.
20244         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20245         (_dl_runtime_profile): Save and restore Intel MPX return bound
20246         registers when calling _dl_call_pltexit.  Add
20247         PRESERVE_BND_REGS_PREFIX before return.
20248         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20249         (LRV_BND1_OFFSET): Likewise.
20250         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20251         lrv_bnd1.
20252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20253         typo in bndmov encoding.
20254         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20255         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20256         branch instructions to preserve bounds.
20258 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20261         [GLIBC_2.22]: Add fmemopen.
20263 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20265         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20266         returns an error, also try to use host port from __mach_host_self for
20267         the __vm_wire call.
20268         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20270 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20272         [BZ #18400]
20273         [BZ #18648]
20274         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20275         Fix pr_uid and pr_gid members.
20276         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20277         definition to elf_greg_t.
20279 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20281         [BZ #18383]
20282         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20283         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20284         * sysdeps/arm/configure: Regenerated.
20285         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20286         (test-xfail-tst-tlsalign-static): Variable removed.
20288         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20289         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20290         rather than explicit 'ln -s'.
20292         * resolv/rpc/netdb.h: New file.
20293         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20295 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20297         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20298         length buffers.
20299         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20300         test-skeleton.c.
20302         [BZ #6544]
20303         [BZ #11216]
20304         [BZ #12836]
20305         [BZ #13151]
20306         [BZ #13152]
20307         [BZ #14292]
20308         * include/stdio.h (fmemopen): Remove hidden prototype.
20309         (__fmemopen): Add new hidden prototype.
20310         * libio/Makefile: Add oldfmemopen object.
20311         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20312         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20313         compliance.
20314         * libio/oldfmemopen.c: New file: old fmemopen implementation for
20315         symbol compatibility.
20316         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20317         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20318         fmemopen.
20319         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20320         on append and read mode.
20321         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20322         fmemopen.
20323         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20324         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20325         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20326         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20327         Likewise.
20328         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20329         [GLIBC_2.22]: Likewise.
20330         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20331         Likewise.
20332         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20333         Likewise.
20334         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20335         [GLIBC_2.22]: Likewise.
20336         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20337         [GLIBC_2.22]: Likewise.
20338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20339         [GLIBC_2.22]: Likewise.
20340         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20341         [GLIBC_2.22]: Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20343         [GLIBC_2.22]: Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20345         [GLIBC_2.22]: Likewise.
20346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20347         [GLIBC_2.22]: Likewise.
20348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20349         Likewise.
20350         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20351         Likewise.
20352         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20353         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20354         [GLIBC_2.22]: Likewise.
20355         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20356         [GLIBC_2.22]: Likewise.
20357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20358         [GLIBC_2.22]: Likewise.
20359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20360         [GLIBC_2.22]: Likewise.
20361         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20362         Likewise.
20363         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20364         Likewise.
20365         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20366         Likewise.
20367         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20368         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20370 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20372         [BZ #18643]
20373         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20374         IPV6_PATHMTU, and IPV6_DONTFRAG.
20376 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
20378         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20379         and _IO_UNBUFFERED.
20380         * libio/oldfileops.c: Likewise.
20381         * libio/wfileops.c: Likewise.
20383 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20385         * nscd/selinux.c: Delete selinux/flask.h include.
20387 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20389         [BZ #18641]
20390         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20391         (putpwent): Likewise.
20392         (getpwnam): Likewise.
20393         (getpwent_r): Likewise.
20394         (getpwuid_r): Likewise.
20395         (getpwnam_r): Likewise.
20396         (fgetpwent_r): Likewise.
20398 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20400         [BZ #18557]
20401         * inet/rcmd.c (__validuser2_sa): Check user first to
20402         short-circuit host check.
20404 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
20405             Mikhail Ilin  <m.ilin@samsung.com>
20407         [BZ #17833]
20408         * elf/Makefile (tests): Add tst-nodelete.
20409         (modules-names): Add tst-nodelete-uniquemod.
20410         (tst-nodelete-uniquemod.so-no-z-defs): New.
20411         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20412         (tst-nodelete-zmod.so-no-z-defs): Likewise.
20413         ($(objpfx)tst-nodelete): Likewise.
20414         ($(objpfx)tst-nodelete.out): Likewise.
20415         (LDFLAGS-tst-nodelete): Likewise.
20416         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20417         * elf/dl-close.c (_dl_close_worker): Add a parameter to
20418         implement forced object deletion.
20419         (_dl_close): Pass false to _dl_close_worker.
20420         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20421         * elf/tst-nodelete.cc: New file.
20422         * elf/tst-nodeletelib.cc: Likewise.
20423         * elf/tst-znodeletelib.cc: Likewise.
20424         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20426 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20428         [BZ #18508]
20429         * stdlib/Makefile ($(objpfx)tst-makecontext3):
20430         Depend on $(libdl).
20431         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20432         is not called infinitely times.
20433         (backtrace_helper): New function.
20434         (trace_arg): New struct.
20435         (st1): Enlarge stack size.
20436         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20437         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20438         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20439         Likewise.
20441 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20443         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20445 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20447         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20448         Include sys/types.h instead of bits/types.h.
20449         Remove inclusion of bits/wordsize.h.
20451 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20453         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20454         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20455         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20456         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20457         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20458         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20460 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20462         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20463         link-defines.sym.
20464         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20465         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20466         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20467         and LR_SIZE.
20468         * sysdeps/i386/link-defines.sym: New file.
20470 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20472         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20473         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20474         ($(objpfx)tst-audit3): New rule.
20475         ($(objpfx)tst-audit3.out): Likewise.
20476         * sysdeps/i386/tst-audit3.c: New file.
20477         * sysdeps/i386/tst-audit3.h: Likewise.
20478         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20479         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20481 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20483         [BZ #18633]
20484         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20485         pointer in C code.
20486         (__strcat_c): Likewise.
20487         (__strcat_g): Likewise.
20489 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20491         [BZ #18592]
20492         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20494 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20496         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20497         New function.  (__ieee754_sqrtf): New function.
20498         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20499         New function.
20500         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20501         New function.
20503 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20505         * sysdeps/ieee754/support.c: Remove unused file.
20507 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20509         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20510         registers instead of d ones so the layout is kernel abi compatible.
20511         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20512         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20513         Likewise.
20515 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20517         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20519 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #18619]
20522         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20523         and return argument in case of subnormal argument.
20525 2015-07-01  Martin Sebor  <msebor@redhat.com>
20527         [BZ #18435]
20528         * nptl/Makefile: Add tst-once5.cc.
20529         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20530         Remove macro redefinitions.
20531         * nptl/tst-once5.cc: New test.
20533 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20535         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20537         * sysdeps/arm/libm-test-ulps: Regenerated.
20539         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20540         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20542 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20544         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20545         lll_lock_wait_private and lll_futex_wake probes.
20547         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20549         Likewise.
20550         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20551         atomic_spin_nop.
20552         * sysdeps/x86_64/bits/atomic.h: Likewise.
20553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20554         to atomic_spin_nop and move ...
20555         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20556         ... here and ...
20557         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20558         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20559         atomic_spin_nop instead of BUSY_WAIT_NOP.
20560         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20561         Likewise.
20562         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20563         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20564         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20565         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20566         instead of atomic_delay.
20568 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20570         [BZ #18613]
20571         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20572         X_ADJ not X when adjusting exponent.
20573         (__ieee754_gamma_r): Do intermediate computations in
20574         round-to-nearest then adjust overflowing and underflowing results
20575         as needed.
20576         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20577         of X_ADJ not X when adjusting exponent.
20578         (__ieee754_gammaf_r): Do intermediate computations in
20579         round-to-nearest then adjust overflowing and underflowing results
20580         as needed.
20581         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20582         log of X_ADJ not X when adjusting exponent.
20583         (__ieee754_gammal_r): Do intermediate computations in
20584         round-to-nearest then adjust overflowing and underflowing results
20585         as needed.  Use 1.0L not 1.0f as numerator of division.
20586         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20587         log of X_ADJ not X when adjusting exponent.
20588         (__ieee754_gammal_r): Do intermediate computations in
20589         round-to-nearest then adjust overflowing and underflowing results
20590         as needed.  Use 1.0L not 1.0f as numerator of division.
20591         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20592         of X_ADJ not X when adjusting exponent.
20593         (__ieee754_gammal_r): Do intermediate computations in
20594         round-to-nearest then adjust overflowing and underflowing results
20595         as needed.  Use 1.0L not 1.0f as numerator of division.
20596         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20597         to auto-libm-test-in.
20598         (tgamma_test): Use ALL_RM_TEST.
20599         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20600         tests of tgamma with spurious-overflow.
20601         * math/auto-libm-test-out: Regenerated.
20602         * math/gen-libm-have-vector-test.sh: Do not check for START.
20603         * sysdeps/i386/fpu/libm-test-ulps: Update.
20604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20606         [BZ #18612]
20607         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20608         arguments, just return 0.5 times the argument, with underflow
20609         forced as needed.
20610         * math/auto-libm-test-in: Add more tests of j1.
20611         * math/auto-libm-test-out: Regenerated.
20613         [BZ #16559]
20614         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20615         (__ieee754_j1): Force underflow exception for small results.
20616         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20617         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20618         (__ieee754_j1f): Force underflow exception for small results.
20619         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20620         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20622         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20623         (__ieee754_j1l): Force underflow exception for small results.
20624         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20625         * math/auto-libm-test-in: Add more tests of j1 and jn.
20626         * math/auto-libm-test-out: Regenerated.
20628         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20629         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20630         (PF_MPLS): Likewise.
20631         (AF_IB): Likewise.
20632         (AF_MPLS): Likewise.
20633         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20634         value and macro.
20635         (MS_RMT_MASK): Include MS_LAZYTIME.
20637 2015-06-26  Mel Gorman  <mgorman@suse.de>
20639         [BZ #18502]
20640         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20641         already minimal.
20643 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20645         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20646         (DT_MIPS_NUM): Update.
20647         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20648         DT_MIPS_RLD_MAP_REL.
20650 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20652         [BZ #16559]
20653         [BZ #18602]
20654         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20655         round-to-nearest internally then recompute results that
20656         underflowed to zero in the original rounding mode.
20657         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20658         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20660         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20661         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20662         * sysdeps/i386/fpu/libm-test-ulps: Update.
20663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20665 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20667         * NEWS: Fixed description of link with vector math library.
20669 2015-06-25  Andreas Schwab  <schwab@suse.de>
20671         [BZ #18549]
20672         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20673         * libio/test-fmemopen.c (do_test): Add test for it.
20675 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20677         [BZ #17841]
20678         * Makeconfig (no-pie-ldflag): New.
20679         (+link): Set to $(+link-pie) if default to PIE.
20680         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20681         * config.make.in (build-pie-default): New.
20682         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20683         is default.  AC_SUBST.
20684         * configure: Regenerated.
20685         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20687 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20689         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20690         to 'unsigned int'.
20692         * resolv/gai_misc.h (struct waitlist): Change type of field
20693         counterp to 'volatile unsigned int *'.
20694         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20695         FUTEXADDR and OLDVAL.
20696         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20697         Give local variable TOTAL type 'volatile unsigned int'.
20698         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20699         * resolv/gai_suspend.c (gai_suspend):
20700         Give local variable CNTR type 'unsigned int'.
20702         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20703         counterp to 'volatile unsigned int *'.
20704         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20705         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20706         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20707         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20708         Give local variable TOTAL type 'volatile unsigned int'.
20709         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20711 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20713         [BZ #18383]
20714         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20715         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20716         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20717         comment for i386/x86-64.
20718         (test-xfail-tst-tlsalign-extern-static): Removed.
20720 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20722         * math/test-double.h: New file.
20723         * math/test-float.h: Likewise.
20724         * math/test-ldouble.h: Likewise.
20725         * math/test-math-inline.h: Likewise.
20726         * math/test-math-no-inline.h: Likewise.
20727         * math/test-math-scalar.h: Likewise.
20728         * math/test-math-vector.h: Likewise.
20729         * math/test-vec-loop.h: Remove file.  Contents moved into
20730         test-math-vector.h.
20731         * math/libm-test.inc (MATHCONST): Do not document macro.
20732         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20733         and test-math-scalar.h.
20734         (FUNC): Remove macro.
20735         (FUNC_TEST): Likewise.
20736         (FLOAT): Likewise.
20737         (MATHCONST): Likewise.
20738         (PRINTF_EXPR): Likewise.
20739         (PRINTF_XEXPR): Likewise.
20740         (PRINTF_NEXPR): Likewise.
20741         (TEST_DOUBLE): Likewise.
20742         (TEST_MATHVEC): Likewise.
20743         (__NO_MATH_INLINES): Likewise.
20744         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20745         and test-math-scalar.h.
20746         (FUNC): Remove macro.
20747         (FUNC_TEST): Likewise.
20748         (FLOAT): Likewise.
20749         (MATHCONST): Likewise.
20750         (PRINTF_EXPR): Likewise.
20751         (PRINTF_XEXPR): Likewise.
20752         (PRINTF_NEXPR): Likewise.
20753         (TEST_FLOAT): Likewise.
20754         (TEST_MATHVEC): Likewise.
20755         (__NO_MATH_INLINES): Likewise.
20756         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20757         and test-math-scalar.h.
20758         (FUNC): Remove macro.
20759         (FUNC_TEST): Likewise.
20760         (FLOAT): Likewise.
20761         (MATHCONST): Likewise.
20762         (PRINTF_EXPR): Likewise.
20763         (PRINTF_XEXPR): Likewise.
20764         (PRINTF_NEXPR): Likewise.
20765         (TEST_DOUBLE): Likewise.
20766         (TEST_MATHVEC): Likewise.
20767         (TEST_INLINE): Likewise.
20768         (__NO_MATH_INLINES): Likewise.
20769         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20770         test-math-scalar.h.
20771         (FUNC): Remove macro.
20772         (FUNC_TEST): Likewise.
20773         (FLOAT): Likewise.
20774         (MATHCONST): Likewise.
20775         (PRINTF_EXPR): Likewise.
20776         (PRINTF_XEXPR): Likewise.
20777         (PRINTF_NEXPR): Likewise.
20778         (TEST_FLOAT): Likewise.
20779         (TEST_MATHVEC): Likewise.
20780         (TEST_INLINE): Likewise.
20781         (__NO_MATH_INLINES): Likewise.
20782         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20783         and test-math-scalar.h.
20784         (FUNC): Remove macro.
20785         (FUNC_TEST): Likewise.
20786         (FLOAT): Likewise.
20787         (MATHCONST): Likewise.
20788         (PRINTF_EXPR): Likewise.
20789         (PRINTF_XEXPR): Likewise.
20790         (PRINTF_NEXPR): Likewise.
20791         (TEST_LDOUBLE): Likewise.
20792         (TEST_MATHVEC): Likewise.
20793         (TEST_INLINE): Likewise.
20794         (__NO_MATH_INLINES): Likewise.
20795         * math/test-ldouble.c: Include test-ldouble.h,
20796         test-math-no-inline.h and test-math-scalar.h.
20797         (FUNC): Remove macro.
20798         (FUNC_TEST): Likewise.
20799         (FLOAT): Likewise.
20800         (MATHCONST): Likewise.
20801         (PRINTF_EXPR): Likewise.
20802         (PRINTF_XEXPR): Likewise.
20803         (PRINTF_NEXPR): Likewise.
20804         (TEST_LDOUBLE): Likewise.
20805         (TEST_MATHVEC): Likewise.
20806         (__NO_MATH_INLINES): Likewise.
20807         * math/test-double-vlen2.h: Include test-double.h,
20808         test-math-no-inline.h and test-math-vector.h.
20809         (FLOAT): Remove macro.
20810         (FUNC): Likewise.
20811         (MATHCONST): Likewise.
20812         (PRINTF_EXPR): Likewise.
20813         (PRINTF_XEXPR): Likewise.
20814         (PRINTF_NEXPR): Likewise.
20815         (TEST_DOUBLE): Likewise.
20816         (TEST_MATHVEC): Likewise.
20817         (__NO_MATH_INLINES): Likewise.
20818         (CNCT): Likewise.
20819         (CONCAT): Likewise.
20820         (WRAPPER_NAME): Likewise.
20821         (WRAPPER_DECL): Likewise.
20822         (WRAPPER_DECL_ff): Likewise.
20823         (WRAPPER_DECL_fFF): Likewise.
20824         (VECTOR_WRAPPER): Likewise.
20825         (VECTOR_WRAPPER_ff): Likewise.
20826         (VECTOR_WRAPPER_fFF): Likewise.
20827         (VEC_LEN): New macro.
20828         * math/test-double-vlen4.h: Include test-double.h,
20829         test-math-no-inline.h and test-math-vector.h.
20830         (FLOAT): Remove macro.
20831         (FUNC): Likewise.
20832         (MATHCONST): Likewise.
20833         (PRINTF_EXPR): Likewise.
20834         (PRINTF_XEXPR): Likewise.
20835         (PRINTF_NEXPR): Likewise.
20836         (TEST_DOUBLE): Likewise.
20837         (TEST_MATHVEC): Likewise.
20838         (__NO_MATH_INLINES): Likewise.
20839         (CNCT): Likewise.
20840         (CONCAT): Likewise.
20841         (WRAPPER_NAME): Likewise.
20842         (WRAPPER_DECL): Likewise.
20843         (WRAPPER_DECL_ff): Likewise.
20844         (WRAPPER_DECL_fFF): Likewise.
20845         (VECTOR_WRAPPER): Likewise.
20846         (VECTOR_WRAPPER_ff): Likewise.
20847         (VECTOR_WRAPPER_fFF): Likewise.
20848         (VEC_LEN): New macro.
20849         * math/test-double-vlen8.h: Include test-double.h,
20850         test-math-no-inline.h and test-math-vector.h.
20851         (FLOAT): Remove macro.
20852         (FUNC): Likewise.
20853         (MATHCONST): Likewise.
20854         (PRINTF_EXPR): Likewise.
20855         (PRINTF_XEXPR): Likewise.
20856         (PRINTF_NEXPR): Likewise.
20857         (TEST_DOUBLE): Likewise.
20858         (TEST_MATHVEC): Likewise.
20859         (__NO_MATH_INLINES): Likewise.
20860         (CNCT): Likewise.
20861         (CONCAT): Likewise.
20862         (WRAPPER_NAME): Likewise.
20863         (WRAPPER_DECL): Likewise.
20864         (WRAPPER_DECL_ff): Likewise.
20865         (WRAPPER_DECL_fFF): Likewise.
20866         (VECTOR_WRAPPER): Likewise.
20867         (VECTOR_WRAPPER_ff): Likewise.
20868         (VECTOR_WRAPPER_fFF): Likewise.
20869         (VEC_LEN): New macro.
20870         * math/test-float-vlen4.h: Include test-float.h,
20871         test-math-no-inline.h and test-math-vector.h.
20872         (FLOAT): Remove macro.
20873         (FUNC): Likewise.
20874         (MATHCONST): Likewise.
20875         (PRINTF_EXPR): Likewise.
20876         (PRINTF_XEXPR): Likewise.
20877         (PRINTF_NEXPR): Likewise.
20878         (TEST_FLOAT): Likewise.
20879         (TEST_MATHVEC): Likewise.
20880         (__NO_MATH_INLINES): Likewise.
20881         (CNCT): Likewise.
20882         (CONCAT): Likewise.
20883         (WRAPPER_NAME): Likewise.
20884         (WRAPPER_DECL): Likewise.
20885         (WRAPPER_DECL_ff): Likewise.
20886         (WRAPPER_DECL_fFF): Likewise.
20887         (VECTOR_WRAPPER): Likewise.
20888         (VECTOR_WRAPPER_ff): Likewise.
20889         (VECTOR_WRAPPER_fFF): Likewise.
20890         (VEC_LEN): New macro.
20891         * math/test-float-vlen8.h: Include test-float.h,
20892         test-math-no-inline.h and test-math-vector.h.
20893         (FLOAT): Remove macro.
20894         (FUNC): Likewise.
20895         (MATHCONST): Likewise.
20896         (PRINTF_EXPR): Likewise.
20897         (PRINTF_XEXPR): Likewise.
20898         (PRINTF_NEXPR): Likewise.
20899         (TEST_FLOAT): Likewise.
20900         (TEST_MATHVEC): Likewise.
20901         (__NO_MATH_INLINES): Likewise.
20902         (CNCT): Likewise.
20903         (CONCAT): Likewise.
20904         (WRAPPER_NAME): Likewise.
20905         (WRAPPER_DECL): Likewise.
20906         (WRAPPER_DECL_ff): Likewise.
20907         (WRAPPER_DECL_fFF): Likewise.
20908         (VECTOR_WRAPPER): Likewise.
20909         (VECTOR_WRAPPER_ff): Likewise.
20910         (VECTOR_WRAPPER_fFF): Likewise.
20911         (VEC_LEN): New macro.
20912         * math/test-float-vlen16.h: Include test-float.h,
20913         test-math-no-inline.h and test-math-vector.h.
20914         (FLOAT): Remove macro.
20915         (FUNC): Likewise.
20916         (MATHCONST): Likewise.
20917         (PRINTF_EXPR): Likewise.
20918         (PRINTF_XEXPR): Likewise.
20919         (PRINTF_NEXPR): Likewise.
20920         (TEST_FLOAT): Likewise.
20921         (TEST_MATHVEC): Likewise.
20922         (__NO_MATH_INLINES): Likewise.
20923         (CNCT): Likewise.
20924         (CONCAT): Likewise.
20925         (WRAPPER_NAME): Likewise.
20926         (WRAPPER_DECL): Likewise.
20927         (WRAPPER_DECL_ff): Likewise.
20928         (WRAPPER_DECL_fFF): Likewise.
20929         (VECTOR_WRAPPER): Likewise.
20930         (VECTOR_WRAPPER_ff): Likewise.
20931         (VECTOR_WRAPPER_fFF): Likewise.
20932         (VEC_LEN): New macro.
20933         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20934         test-vec-loop.h.
20935         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20936         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20937         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20938         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20939         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20941         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20943 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20945         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20946         (__getlogin_r): ... this.
20948 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20950         [BZ #18594]
20951         * math/s_ccosh.c (__ccosh): Compare with least normal value
20952         instead of comparing class with FP_SUBNORMAL.
20953         * math/s_ccoshf.c (__ccoshf): Likewise.
20954         * math/s_ccoshl.c (__ccoshl): Likewise.
20955         * math/s_cexp.c (__cexp): Likewise.
20956         * math/s_cexpf.c (__cexpf): Likewise.
20957         * math/s_cexpl.c (__cexpl): Likewise.
20958         * math/s_csin.c (__csin): Likewise.
20959         * math/s_csinf.c (__csinf): Likewise.
20960         * math/s_csinh.c (__csinh): Likewise.
20961         * math/s_csinhf.c (__csinhf): Likewise.
20962         * math/s_csinhl.c (__csinhl): Likewise.
20963         * math/s_csinl.c (__csinl): Likewise.
20964         * math/s_ctan.c (__ctan): Likewise.
20965         * math/s_ctanf.c (__ctanf): Likewise.
20966         * math/s_ctanh.c (__ctanh): Likewise.
20967         * math/s_ctanhf.c (__ctanhf): Likewise.
20968         * math/s_ctanhl.c (__ctanhl): Likewise.
20969         * math/s_ctanl.c (__ctanl): Likewise.
20970         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20971         csin, csinh, ctan and ctanh.
20972         * math/auto-libm-test-out: Regenerated.
20973         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20974         * sysdeps/i386/fpu/libm-test-ulps: Update.
20975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20977 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20979         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20980         return value is wrong, print the expected value too.
20982 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20984         [BZ #18585]
20985         * elf/readlib.c (is_gdb_python_file): New.
20986         (process_file): Don't issue errors on filenames with -gdb.py
20987         suffix.
20989 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20991         * math/auto-libm-test-in: Add more tests of csin and csinh.
20992         * math/auto-libm-test-out: Regenerated.
20993         * math/libm-test.inc (csin_test_data): Remove tests moved to
20994         auto-libm-test-in.
20995         (csinh_test_data): Likewise.
20997         [BZ #18593]
20998         * math/s_csin.c (__csin): Negate before rather than after possibly
20999         overflowing multiplication.
21000         * math/s_csinf.c (__csinf): Likewise.
21001         * math/s_csinh.c (__csinh): Likewise.
21002         * math/s_csinhf.c (__csinhf): Likewise.
21003         * math/s_csinhl.c (__csinhl): Likewise.
21004         * math/s_csinl.c (__csinl): Likewise.
21005         * math/auto-libm-test-in: Add some tests of csin and csinh.
21006         * math/auto-libm-test-out: Regenerated.
21007         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21008         (csinh_test_data): Likewise.
21009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21011         [BZ #18586]
21012         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21013         underflow exception for small results.
21015 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21018         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21019         variable and included header.
21020         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21021         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21022         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21025         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21026         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21027         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21028         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21029         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21030         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21031         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21032         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21033         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21034         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21035         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21037 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21039         [BZ #16526]
21040         [BZ #16538]
21041         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21042         (__sin): Force underflow exception for arguments with small
21043         absolute value.
21044         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21045         (__kernel_sinf): Force underflow exception for arguments with
21046         small absolute value.
21047         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21048         (__kernel_sincosl): Force underflow exception for arguments with
21049         small absolute value.
21050         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21051         (__kernel_sinl): Force underflow exception for arguments with
21052         small absolute value.
21053         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21054         (__kernel_sincosl): Force underflow exception for arguments with
21055         small absolute value.
21056         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21057         (__kernel_sinl): Force underflow exception for arguments with
21058         small absolute value.
21059         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21060         (__kernel_sinl): Force underflow exception for arguments with
21061         small absolute value.
21062         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21063         (__kernel_sinf): Force underflow exception for arguments with
21064         small absolute value.
21065         * math/auto-libm-test-in: Add more tests of sin and sincos.
21066         * math/auto-libm-test-out: Regenerated.
21068         [BZ #18245]
21069         [BZ #18583]
21070         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21071         (__kernel_standard_l): Use feholdexcept and fesetenv around
21072         conversion to double instead of special-casing overflow and
21073         underflow.
21074         * math/libm-test.inc (fmod_test_data): Add more tests.
21075         (remainder_test_data): Likewise.
21076         (sqrt_test_data): Likewise.
21078 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21080         [BZ #17403]
21081         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21082         atomic_read_barrier, atomic_write_barrier): Define.
21083         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21084         atomic_read_barrier, atomic_write_barrier): Define.
21086 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21088         * math/Makefile [$(PERL) != no]
21089         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21090         dependency on libm-test.stmp below the inclusion of Rules.
21092 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21094         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21096         and included header.
21097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21105         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21106         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21107         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21108         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21109         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21110         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21111         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21112         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21113         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21114         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21115         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21117 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21119         [BZ #18371]
21120         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21121         intermediate but not final result might underflow.
21122         * math/s_csqrtf.c (__csqrtf): Likewise.
21123         * math/s_csqrtl.c (__csqrtl): Likewise.
21124         * math/auto-libm-test-in: Add more tests of csqrt.
21125         * math/auto-libm-test-out: Regenerated.
21126         * sysdeps/i386/fpu/libm-test-ulps: Update.
21128         [BZ #18219]
21129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21130         threshold on absolute value of exponent for which scaling is used.
21131         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21132         * math/auto-libm-test-in: Add more tests of exp2.
21133         * math/auto-libm-test-out: Regenerated.
21135 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21137         [BZ #17977]
21138         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21139         when initializing interface list, based on the bug analysis
21140         and the patch proposed by Eric Newton.
21141         * resolv/tst-res_hconf_reorder.c: New test.
21142         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21143         tst-res_hconf_reorder.
21144         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21145         and $(shared-thread-library).
21146         (tst-res_hconf_reorder-ENV): New variable.
21148         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21149         in comment.
21151 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21153         [BZ #16353]
21154         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21155         (__expm1): Force underflow exception for arguments with small
21156         absolute value.
21157         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21158         (__expm1f): Force underflow exception for arguments with small
21159         absolute value.
21160         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21161         (__expm1): Force underflow exception for arguments with small
21162         absolute value.
21163         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21164         (__expm1f): Force underflow exception for arguments with small
21165         absolute value.
21166         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21167         Check for small arguments before calling __expm1.
21168         * math/auto-libm-test-in: Do not mark underflow exceptions as
21169         possibly missing for bug 16353.
21170         * math/auto-libm-test-out: Regenerated.
21172 2015-06-22  Andreas Schwab  <schwab@suse.de>
21174         [BZ #18513]
21175         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21176         PTR queries.
21178 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21180         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21182         * string/strcoll_l.c: Remove unused struct element idxnow.
21184 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #18569]
21187         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21188         underflow and return argument in case of subnormal argument.
21189         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21190         Likewise.
21191         * math/auto-libm-test-in: Add more tests of expm1.
21192         * math/auto-libm-test-out: Regenerated.
21194         [BZ #16361]
21195         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21196         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21197         tiny results.
21198         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21199         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21200         tiny results.
21201         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21202         mark underflow exceptions as possibly missing for bug 16361.
21203         * math/auto-libm-test-out: Regenerated.
21205 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21207         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21208         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21209         Remove variable.
21210         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21211         (test-xfail-XOPEN2K8/utmpx.h/conform).
21213         * conform/conformtest.pl ($xerrors): New variable.
21214         (note_error): New function.
21215         (compiletest): New argument $xfail.  Use not_error.
21216         (runtest): Likewise.
21217         (top level): Handle xfail- lines.  Update calls to compiletest and
21218         runtest.  Handle xfail- and optional- in headers listed with
21219         allow-header.
21220         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21221         (O_EXEC): Likewise.
21222         (O_SEARCH): Likewise.
21223         * conform/data/stropts.h-data (ioctl): Likewise.
21224         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21225         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21226         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21227         (msghdr.msg_controllen): Likewise.
21228         (cmsghdr.cmsg_len): Likewise.
21229         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21230         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21231         variable.
21232         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21233         (test-xfail-XPG4/stropts.h/conform): Likewise.
21234         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21235         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21236         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21237         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21238         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21239         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21240         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21241         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21242         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21243         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21244         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21245         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21246         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21247         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21248         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21249         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21250         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21251         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21252         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21254 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21256         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21257         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21258         definitions for proper unfolding of __MATHDECL_VEC.
21260 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21262         * benchtests/bench-strcoll.c:
21263         Include string.h.
21264         (main): Remove unused variable res.
21266 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21268         * timezone/Makefile (%/UTC %/Universal):
21269         Generate test-result files for UTC and Universal.
21271 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21273         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21275 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21277         [BZ #16350]
21278         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21279         for arguments with small absolute value.
21280         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21281         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21282         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21283         (__asinh): Force underflow exception for arguments with small
21284         absolute value.
21285         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21286         (__asinhf): Force underflow exception for arguments with small
21287         absolute value.
21288         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21289         (__asinhl): Force underflow exception for arguments with small
21290         absolute value.
21291         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21292         (__asinhl): Force underflow exception for arguments with small
21293         absolute value.
21294         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21295         (__asinhl): Force underflow exception for arguments with small
21296         absolute value.
21297         * math/auto-libm-test-in: Do not mark underflow exceptions as
21298         possibly missing for bug 16350.
21299         * math/auto-libm-test-out: Regenerated.
21301         * include/bits/ipc.h: Remove file.
21302         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21303         variable.
21304         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21305         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21306         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21307         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21308         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21309         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21310         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21311         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21312         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21314         * math/auto-libm-test-in: Remove spurious underflow allowance for
21315         tests of cexp.
21316         * math/auto-libm-test-out: Regenerated.
21318         [BZ #18558]
21319         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21320         unconditional definition.
21321         (MCAST_BLOCK_SOURCE): Likewise.
21322         (MCAST_UNBLOCK_SOURCE): Likewise.
21323         (MCAST_LEAVE_GROUP): Likewise.
21324         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21325         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21326         (MCAST_MSFILTER): Likewise.
21327         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21328         Remove variable.
21329         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21330         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21331         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21332         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21333         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21335 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
21337         * NEWS: Mention addition of x86_64 vector sincosf.
21338         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21339         * math/test-float-vlen4.h: Likewise.
21340         * math/test-float-vlen8.h: Likewise.
21341         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21342         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21344         * sysdeps/x86_64/fpu/Versions: New versions added.
21345         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21346         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21347         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21348         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21352         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21354         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21355         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21356         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21357         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21358         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21359         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21360         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21361         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21362         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21363         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21364         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21367         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21368         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21370         * NEWS: Mention addition of x86_64 vector sincos.
21371         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21372         * math/math.h (__MATHDECL_VEC): New macro.
21373         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21374         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21375         declaration under condition.
21376         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21377         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21378         TEST_VEC_LOOP change.
21379         * math/test-double-vlen4.h: Likewise.
21380         * math/test-double-vlen8.h: Likewise.
21381         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21382         * math/test-float-vlen4.h: Likewise.
21383         * math/test-float-vlen8.h: Likewise.
21384         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21385         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21386         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21387         * sysdeps/x86_64/fpu/Versions: New versions added.
21388         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21389         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21390         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21391         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21393         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21394         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21395         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21397         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21398         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21399         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21400         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21401         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21402         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21403         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21404         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21405         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21406         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21408         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21409         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21410         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21411         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21413         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21414         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21415         redirections for powf.
21416         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21417         * sysdeps/x86_64/fpu/Versions: New versions added.
21418         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21419         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21420         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21421         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21422         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21423         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21425         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21426         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21428         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21429         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21430         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21431         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21432         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21433         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21434         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21435         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21436         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21437         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21438         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21439         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21440         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21441         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21442         * math/test-float-vlen16.h: Fixed 2 argument macro.
21443         * math/test-float-vlen4.h: Likewise.
21444         * math/test-float-vlen8.h: Likewise.
21445         * NEWS: Mention addition of x86_64 vector powf.
21447 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21449         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21450         and redefine.
21451         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21452         and redefine.
21453         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21454         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21455         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21457         [BZ #18553]
21458         * resource/getpriority.c (getpriority): Rename to __getpriority
21459         and define as weak alias of __getpriority.
21460         * resource/setpriority.c (setpriority): Rename to __setpriority
21461         and define as weak alias of __setpriority.
21462         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21463         __getpriority and define as weak alias of __getpriority.
21464         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21465         __setpriority and define as weak alias of __setpriority.
21466         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21467         strong name.
21468         (setpriority): Use __setpriority as strong name.
21469         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21470         __getpriority and define as weak alias of __getpriority.
21471         * include/sys/resource.h (__getpriority): Declare.  Use
21472         libc_hidden_proto.
21473         (__setpriority): Likewise.
21474         (getpriority): Don't use libc_hidden_proto.
21475         (setpriority): Likewise.
21476         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21477         getpriority.  Call __setpriority instead of setpriority.
21478         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21479         Remove variable.
21481         [BZ #18547]
21482         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21483         as weak alias of __getttynam.  Use prototype function definition.
21484         Call __setttyent, __getttyent and __endttyent instead of
21485         setttyent, getttyent and endttyent.
21486         (getttyent): Rename to __getttyent and define as weak alias of
21487         __getttyent.  Call __setttyent instead of setttyent.  Call
21488         __fgets_unlocked instead of fgets_unlocked.
21489         (setttyent): Rename to __setttyent and define as weak alias of
21490         __setttyent.
21491         (endttyent): Rename to __endttyent and define as weak alias of
21492         __endttyent.
21493         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21494         (__setttyent): Likewise.
21495         (__endttyent): Likewise.
21496         (getttyent): Don't use libc_hidden_proto.
21497         (setttyent): Likewise.
21498         (endttyent): Likewise.
21499         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21500         __endttyent instead of setttyent, getttyent and endttyent.
21501         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21502         Remove variable.
21504         [BZ #18546]
21505         * socket/recv.c (__recv): Use libc_hidden_def.
21506         * socket/socket.c (__socket): Likewise.
21507         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21508         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21509         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21510         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21511         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21512         libc_hidden_def.
21513         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21514         libc_hidden_weak.
21515         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21516         Use libc_hidden_proto.
21517         (__recv): Likewise.
21518         * socket/Versions (libc): Export __recv and __socket at version
21519         GLIBC_PRIVATE.
21520         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21521         instead of recv.
21522         (init_mq_netlink): Call __socket instead of socket.
21523         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21524         Remove variable.
21526         [BZ #18545]
21527         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21528         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21529         hidden_weak.
21530         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21531         define as alias of __mq_timedsend.  Use hidden_weak.
21532         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21533         __mq_timedsend as strong name.
21534         (mq_timedreceive): Use __mq_timedreceive as strong name.
21535         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21536         (__mq_timedreceive): Likewise.
21537         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21538         __mq_timedreceive instead of mq_timedreceive.
21539         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21540         instead of mq_timedsend.
21541         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21542         Remove variable.
21544         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21545         hidden_def and hidden_weak instead of libc_hidden_def and
21546         libc_hidden_weak.
21547         (top level): Refer to hidden_def in comment.
21548         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21549         macro.  Use it instead of libc_hidden_def.
21550         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21551         specify __GI_* name explicitly.
21552         (mq_timedreceive): Likewise.
21553         (mq_setattr): Likewise.
21555         [BZ #18544]
21556         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21557         __pthread_barrier_init and define as weak alias of
21558         __pthread_barrier_init.
21559         * sysdeps/sparc/nptl/pthread_barrier_init.c
21560         (pthread_barrier_init): Likewise.
21561         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21562         __pthread_barrier_wait and define as weak alias of
21563         __pthread_barrier_wait.
21564         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21565         (pthread_barrier_wait): Likewise.
21566         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21567         (pthread_barrier_wait): Likewise.
21568         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21569         (pthread_barrier_wait): Likewise.
21570         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21571         (pthread_barrier_wait): Likewise.
21572         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21573         __pthread_barrier_wait at version GLIBC_PRIVATE.
21574         * include/pthread.h (__pthread_barrier_init): Declare.
21575         (__pthread_barrier_wait): Likewise.
21576         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21577         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21578         (helper_thread): Likewise.
21579         (init_mq_netlink): Call __pthread_barrier_init instead of
21580         pthread_barrier_init.
21582         [BZ #18542]
21583         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21584         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21585         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21586         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21587         vswscanf.
21588         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21589         Remove variable.
21591         [BZ #18540]
21592         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21593         strong alias of _IO_fflush.  Use libc_hidden_def.
21594         * libio/iofflush_u.c (fflush_unlocked): Rename to
21595         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21596         Use libc_hidden_weak.
21597         * include/stdio.h (__fflush_unlocked): Declare.  Use
21598         libc_hidden_proto.
21599         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21600         fflush_unlocked.
21601         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21602         Remove variable.
21604         [BZ #18539]
21605         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21606         define as weak alias of __addseverity.
21607         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21608         Remove variable.
21609         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21610         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21611         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21613         [BZ #18536]
21614         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21615         (__tfind): Likewise.
21616         (__tdelete): Likewise.
21617         (__twalk): Likewise.
21618         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21619         __twalk to GLIBC_PRIVATE.
21620         * include/search.h (__tsearch): Use libc_hidden_proto.
21621         (__tfind): Likewise.
21622         (__tdelete): Likewise.
21623         (__twalk): Likewise.
21624         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21625         Call __tdelete instead of tdelete.
21626         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21627         tfind.  Call __tsearch instead of tsearch.
21628         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21629         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21630         Remove variable.
21631         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21633         [BZ #18534]
21634         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21635         (dprintf): Define as a weak alias of __dprintf, not a strong
21636         alias.
21637         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21638         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21639         dprintf.
21640         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21641         Remove variable.
21642         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21643         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21645         [BZ #18533]
21646         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21647         not a strong alias.
21648         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21649         Remove variable.
21651         [BZ #18532]
21652         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21653         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21654         (in6addr_loopback): Rename to __in6addr_loopback and define as
21655         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21656         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21657         libc_hidden_proto.
21658         (__in6addr_any): Likewise.
21659         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21660         in6addr_any.
21661         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21662         variable.
21663         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21665 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21667         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21668         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21669         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21670         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21671         redirections for pow.
21672         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21673         * sysdeps/x86_64/fpu/Versions: New versions added.
21674         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21675         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21676         build of SSE, AVX2 and AVX512 IFUNC versions.
21677         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21678         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21679         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21680         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21681         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21682         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21684         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21685         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21686         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21687         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21688         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21689         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21690         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21691         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21692         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21693         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21694         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21695         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21696         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21697         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21698         * NEWS: Mention addition of x86_64 vector pow.
21700         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21701         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21702         redirections for expf.
21703         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21704         * sysdeps/x86_64/fpu/Versions: New versions added.
21705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21706         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21707         build of SSE, AVX2 and AVX512 IFUNC versions.
21708         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21709         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21710         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21711         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21713         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21714         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21715         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21716         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21717         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21718         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21719         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21720         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21721         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21722         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21723         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21724         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21726         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21727         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21728         * NEWS: Mention addition of x86_64 vector expf.
21730         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21731         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21733         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21734         redirections for exp.
21735         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21736         * sysdeps/x86_64/fpu/Versions: New versions added.
21737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21738         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21739         build of SSE, AVX2 and AVX512 IFUNC versions.
21740         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21741         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21742         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21743         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21744         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21745         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21746         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21747         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21748         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21749         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21750         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21751         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21752         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21753         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21754         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21756         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21757         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21758         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21759         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21760         * NEWS: Mention addition of x86_64 vector exp.
21762         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21763         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21764         redirections for logf.
21765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21766         * sysdeps/x86_64/fpu/Versions: New versions added.
21767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21768         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21769         build of SSE, AVX2 and AVX512 IFUNC versions.
21770         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21771         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21773         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21776         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21777         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21778         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21779         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21780         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21781         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21782         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21783         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21784         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21785         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21786         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21788         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21789         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21790         * NEWS: Mention addition of x86_64 vector logf.
21792         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21793         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21794         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21795         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21796         redirections for log.
21797         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21798         * sysdeps/x86_64/fpu/Versions: New versions added.
21799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21800         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21801         build of SSE, AVX2 and AVX512 IFUNC versions.
21802         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21803         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21804         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21805         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21806         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21807         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21808         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21809         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21810         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21811         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21812         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21813         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21814         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21815         test.
21816         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21817         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21819         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21820         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21821         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21822         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21823         * NEWS: Mention addition of x86_64 vector log.
21825 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21827         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21828         cfi_adjust_cfa_offset argument.
21829         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21830         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21832         [BZ #18034]
21833         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21834         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21835         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21836         ordering using ldar.
21837         (_dl_tlsdesc_dynamic): Likewise.
21838         (_dl_tlsdesc_return_lazy): Likewise.
21839         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21840         relaxed atomics instead of volatile and synchronize with release store.
21841         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21842         volatile.
21843         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21845 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21847         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21848         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21849         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21850         * sysdeps/x86_64/fpu/Versions: New versions added.
21851         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21853         build of SSE, AVX2 and AVX512 IFUNC versions.
21854         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21859         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21860         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21861         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21862         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21863         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21864         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21865         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21866         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21867         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21868         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21869         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21870         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21872         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21873         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21874         * NEWS: Mention addition of x86_64 vector sinf.
21876 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21878         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21879         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21880         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21881         Remove variable.
21882         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21883         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21885 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #18530]
21888         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21889         strong alias of _IO_fputs.  Use libc_hidden_def.
21890         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21891         and define as weak alias of __fputs_unlocked.  Use
21892         libc_hidden_weak.
21893         * include/stdio.h (__fputs_unlocked): Declare.  Use
21894         libc_hidden_proto.
21895         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21896         fputs_unlocked.
21898         [BZ #18529]
21899         * resolv/netdb.h [__USE_POSIX]: Change condition to
21900         [__USE_XOPEN2K].
21901         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21902         not expect.
21903         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21904         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21905         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21906         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21907         [XPG4 || UNIX98] (AI_ALL): Likewise.
21908         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21909         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21910         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21911         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21912         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21913         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21914         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21915         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21916         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21917         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21918         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21919         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21920         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21921         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21922         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21923         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21924         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21925         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21926         [XPG4 || UNIX98] (gai_strerror): Likewise.
21927         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21928         [XPG4 || UNIX98] (getnameinfo): Likewise.
21930         [BZ #18528]
21931         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21932         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21933         __USE_XOPEN2K8].
21934         (getgrent): Likewise.
21935         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21936         expect.
21937         [XPG3 || POSIX2008] (endgrent): Likewise.
21938         [XPG3] (setgrent): Likewise.
21939         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21940         variable.
21941         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21943         [BZ #18527]
21944         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21945         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21946         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21947         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21948         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21949         * include/unistd.h (__getlogin_r): Declare.  Use
21950         libc_hidden_proto.
21951         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21952         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21953         variable.
21954         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21955         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21956         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21958 2015-06-12  Martin Sebor  <msebor@redhat.com>
21960         [BZ #18512]
21961         * Makerules (check-install-supported): New target.
21962         (install): Add check-install-supported as a dependency.
21963         * manual/install.texi (Installing the C Library): Document
21964         that overriding prefix and exec_prefix is not supported.
21965         Mention DESTDIR.
21966         * INSTALL: Regenerate from the above.
21968 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21970         [BZ #18519]
21971         * posix/Versions (libc): Export __libc_pread at version
21972         GLIBC_PRIVATE.
21973         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21974         instead of pread.
21975         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21976         variable.
21978         [BZ #18522]
21979         * misc/efgcvt_r.c
21980         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21981         (cvt_symbol): Use weak_alias instead of strong_alias.
21982         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21983         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21984         Remove variable.
21985         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21986         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21988         [BZ #18520]
21989         * inet/herrno.c (h_errno): Rename to __h_errno.
21990         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21991         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21992         to __h_errno instead of h_errno.
21993         * nptl/herrno.c (h_errno): Rename to __h_errno.
21994         (__h_errno_location): Refer to __h_errno not h_errno.
21995         * resolv/Versions (h_errno): Rename to __h_errno.
21996         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21997         Remove variable.
21998         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22000 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22002         * configure.ac: More strict check for AVX512 assembler support.
22003         * configure: Regenerated.
22005         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22006         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22007         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22008         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22009         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22010         * sysdeps/x86_64/fpu/Versions: New versions added.
22011         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22012         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22013         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22014         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22015         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22020         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22021         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22022         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22023         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22024         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22025         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22026         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22027         test.
22028         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22031         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22032         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22033         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22034         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22035         * NEWS: Mention addition of x86_64 vector sin.
22037 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22039         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22040         comment.
22042 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22044         [BZ #18479]
22045         * nptl/pt-interp.c: New file.
22046         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22047         Add pt-interp.
22048         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22049         $(common-objpfx)runtime-linker.h.
22051 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22053         * Makeconfig (+interp): Remove unused variable.
22054         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22055         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22056         $(elf-objpfx)runtime-linker.h.
22057         ($(elf-objpfx)runtime-linker.h): Rename to
22058         $(common-objpfx)runtime-linker.h and move ...
22059         * Makerules [$(build-shared) = yes]: ... here.
22060         * elf/interp.c: Include <runtime-linker.h> instead of
22061         <elf/runtime-linker.h>.
22063 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22065         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22066         (__gettimeofday_syscall): Remove vsyscall fallback.
22067         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22068         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22069         Add syscall fallback function.
22070         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22071         if vDSO is not present.
22072         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22073         fallback function.
22074         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22075         present.
22076         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22077         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22079 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22081         [BZ #18497]
22082         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22083         of wcscmp.
22084         (wcscmp): Define as weak alias of WCSCMP.
22085         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22086         wcscoll.
22087         (USE_HIDDEN_DEF): Define.
22088         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22089         __wcscoll.  Don't use libc_hidden_weak.
22090         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22091         wcscmp.
22092         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22093         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22094         __GI_wcscmp.
22095         (weak_alias): Undefine and redefine.
22096         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22097         __wcscmp and define as weak alias of __wcscmp.
22098         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22099         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22100         (__wcscoll): Likewise.
22101         (wcscmp): Don't use libc_hidden_proto.
22102         (wcscoll): Likewise.
22103         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22104         wcscoll.
22105         * posix/regexec.c (check_node_accept_bytes): Likewise.
22106         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22107         variable.
22108         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22109         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22111         [BZ #18507]
22112         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22113         __fstatvfs and define as weak alias of __fstatvfs.  Use
22114         libc_hidden_weak.
22115         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22116         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22117         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22118         Define as alias of __fstatvfs, not fstatvfs.
22119         (fstatvfs64): Likewise.
22120         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22121         Define as alias of __statvfs, not statvfs.
22122         (statvfs64): Likewise.
22123         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22124         Remove variable.
22126 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22129         (HAVE_GETCPU_VSYSCALL): Define.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22131         (HAVE_GETCPU_VSYSCALL): Likewise.
22132         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22133         * sysdeps/unix/sysv/linux/sched_getcpu.c
22134         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22135         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22136         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22137         prototype.
22138         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22139         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22140         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22141         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22142         Define.
22143         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22144         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22145         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22148 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22150         * sysdeps/x86_64/fpu/Makefile: New file.
22151         * sysdeps/x86_64/fpu/Versions: New file.
22152         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22153         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22154         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22155         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22156         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22157         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22158         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22159         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22163         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22165         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22166         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22167         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22168         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22169         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22170         * sysdeps/x86_64/configure: Regenerated.
22171         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22172         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22173         * manual/install.texi (Configuring and compiling): Document
22174         --disable-mathvec.
22175         * INSTALL: Regenerated.
22176         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22178         * math/Makefile: Added rules for vector tests.
22179         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22180         declaration under condition.
22181         * math/test-double-vlen2.h: New file.
22182         * math/test-double-vlen4.h: New file.
22183         * math/test-double-vlen8.h: New file.
22184         * math/test-vec-loop.h: Added initialization macro.
22185         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22187         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22188         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22189         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22190         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22192         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22193         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22194         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22195         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22197         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22198         * sysdeps/x86_64/fpu/Versions: New versions added.
22199         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22200         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22202         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22203         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22204         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22206         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22208         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22209         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22210         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22211         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22212         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22213         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22215         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22216         * NEWS: Mention addition of x86_64 vector cosf.
22218         * math/Makefile: Added CFLAGS for new tests.
22219         * math/test-float-vlen16.h: New file.
22220         * math/test-float-vlen4.h: New file.
22221         * math/test-float-vlen8.h: New file.
22222         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22223         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22224         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22225         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22226         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22227         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22228         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22229         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22231         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22232         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22234 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22236         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22237         * locale/programs/ld-ctype.c: Likewise.
22239 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22241         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22242         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22243         bit_ZMM16_31_state): New macro.
22244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22245         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22247 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22249         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22251 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22253         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22255 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22257         [BZ #18498]
22258         * libio/memstream.c (open_memstream): Rename to __open_memstream
22259         and define as weak alias of __open_memstream.
22260         * include/stdio.h (__open_memstream): Declare.  Use
22261         libc_hidden_proto.
22262         (open_memstream): Don't use libc_hidden_proto.
22263         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22264         open_memstream.
22265         * posix/getopt.c (_getopt_internal_r): Likewise.
22266         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22267         variable.
22268         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22269         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22270         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22272         [BZ #18496]
22273         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22274         instead of wcrtomb.
22276         [BZ #18483]
22277         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22278         [__USE_XOPEN2K8].  Remove redundant #endif.
22279         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22280         Remove redundant #if.
22281         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22282         Remove variable.
22283         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22284         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22286         [BZ #18495]
22287         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22288         (__iswlower): Likewise.
22289         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22290         (__iswlower): Likewise.
22291         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22292         instead of towlower.
22293         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22294         instead of iswlower.  Call __towupper instead of towupper.
22295         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22296         instead of iswalnum.
22298 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22300         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22301         errors to stderr.
22303 2015-06-05  Florian Weimer  <fweimer@redhat.com>
22305         [BZ #15661]
22306         [BZ #17322]
22307         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22308         Check for overflow properly.  Check for O_APPEND.  Ignore large
22309         file system block sizes.  Add comments about problems.
22310         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22311         * manual/filesys.texi (Storage Allocation): New node.
22313 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22315         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22316         cancellable syscalls.
22317         (SYS_ify): Add guard to no redefine it.
22318         (INLINE_SYSCALL): Likewise.
22319         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22320         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22321         SYSCALL_CANCEL instead.
22322         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22323         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22324         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22325         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22326         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22327         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22328         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22329         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22330         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22331         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22332         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22333         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22334         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22335         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22336         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22338         Likewise.
22339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22340         (__libc_pread64): Likewise.
22341         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22342         (__libc_preadv): Likewise.
22343         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22344         (__libc_readv64): Likewise.
22345         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22346         (__libc_pwrite): Likewise.
22347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22348         (__libc_pwrite64): Likewise.
22349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22350         (__libc_pwritev): Likewise.
22351         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22352         (__libc_pwritev64): Likewise.
22353         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22354         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22355         (sync_file_range): Likewise.
22356         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22357         Likewise.
22358         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22359         Likewise.
22360         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22361         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22362         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22363         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22364         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22365         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22366         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22367         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22369         Likewise.
22370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22371         (__libc_read64): Likewise.
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22373         Likewise.
22374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22375         Likewise.
22376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22377         Likewise.
22378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22379         Likewise.
22380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22381         (__libc_pread64): Likewise.
22382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22383         Likewise.
22384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22385         (__libc_pwrite64): Likewise.
22386         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22387         (sync_file_range): Likewise.
22388         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22389         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22390         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22391         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22392         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22393         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22394         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22395         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22396         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22397         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22398         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22399         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22400         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22401         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22402         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22403         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22404         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22405         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22406         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22407         Likewise.
22408         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22409         Likewise.
22410         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22411         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22412         Likewise.
22413         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22414         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22415         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22416         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22417         Likewise.
22418         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22419         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22420         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22421         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22422         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22424 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
22426         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22427         Include dl-vdso.
22428         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22429         Use VDSO routines for gettimeofday, clock_gettime if
22430         available.
22431         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22432         Declare VDSO symbols.
22433         * sysdeps/unix/sysv/linux/arm/sysdep.h:
22434         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22435         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22436         * sysdeps/unix/sysv/linux/arm/Versions: Add
22437         __vdso_clock_gettime.
22439 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22441         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22442         be an inline implementation regardless of library is built within.
22443         (open_not_cancel_2): Likewise.
22444         (__read_nocancel): Likewise.
22445         (__write_nocancel): Likewise.
22446         (openat_not_cancel): Likewise.
22447         (openat_not_cancel_3): Likewise.
22448         (openat64_not_cancel): Likewise.
22449         (openat64_not_cancel_3): Likewise.
22450         (__close_nocancel): Likewise.
22451         (pause_not_cancel): Likewise.
22452         (nanosleep_not_cancel): Likewise.
22453         (sigsuspend_not_cancel): Likewise.
22455 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22457         [BZ #14958]
22458         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22459         wake-up.
22460         (__pthread_rwlock_rdlock_slow): Likewise.
22461         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22462         Likewise.
22463         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22464         Likewise.
22465         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22466         * nptl/tst-rwlock16.c: New file.
22467         * nptl/Makefile (tests): Add new test.
22469 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22471         [BZ #18324]
22472         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22473         missing wake-up of readers.
22474         * nptl/tst-rwlock15.c: New file.
22475         * nptl/Makefile (tests): Add new test.
22477 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22479         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22480         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22481         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22482         and __nacl_supply_interface_rtld.
22483         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22484         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22485         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22486         Add __nacl_supply_interface_rtld.
22487         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22489 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22491         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22492         isfinite.
22493         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22494         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22496 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22498         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22499         __signbit* with standard C99 macros.
22500         * math/e_exp10l.c: Likewise.
22501         * math/e_exp2l.c: Likewise.
22502         * math/e_scalb.c: Likewise.
22503         * math/e_scalbf.c: Likewise.
22504         * math/e_scalbl.c: Likewise.
22505         * math/s_ldexp.c: Likewise.
22506         * math/s_ldexpf.c: Likewise.
22507         * math/s_ldexpl.c: Likewise.
22508         * math/w_atan2.c: Likewise.
22509         * math/w_atan2f.c: Likewise.
22510         * math/w_atan2l.c: Likewise.
22511         * math/w_cosh.c: Likewise.
22512         * math/w_coshf.c: Likewise.
22513         * math/w_coshl.c: Likewise.
22514         * math/w_exp10.c: Likewise.
22515         * math/w_exp10f.c: Likewise.
22516         * math/w_exp10l.c: Likewise.
22517         * math/w_exp2.c: Likewise.
22518         * math/w_exp2f.c: Likewise.
22519         * math/w_exp2l.c: Likewise.
22520         * math/w_fmod.c: Likewise.
22521         * math/w_fmodf.c: Likewise.
22522         * math/w_fmodl.c: Likewise.
22523         * math/w_hypot.c: Likewise.
22524         * math/w_hypotf.c: Likewise.
22525         * math/w_hypotl.c: Likewise.
22526         * math/w_jnl.c: Likewise.
22527         * math/w_lgamma.c: Likewise.
22528         * math/w_lgamma_r.c: Likewise.
22529         * math/w_lgammaf.c: Likewise.
22530         * math/w_lgammaf_r.c: Likewise.
22531         * math/w_lgammal.c: Likewise.
22532         * math/w_lgammal_r.c: Likewise.
22533         * math/w_pow.c: Likewise.
22534         * math/w_powf.c: Likewise.
22535         * math/w_powl.c: Likewise.
22536         * math/w_remainder.c: Likewise.
22537         * math/w_remainderf.c: Likewise.
22538         * math/w_remainderl.c: Likewise.
22539         * math/w_scalb.c: Likewise.
22540         * math/w_scalbf.c: Likewise.
22541         * math/w_scalbl.c: Likewise.
22542         * math/w_scalbln.c: Likewise.
22543         * math/w_scalblnf.c: Likewise.
22544         * math/w_scalblnl.c: Likewise.
22545         * math/w_sinh.c: Likewise.
22546         * math/w_sinhf.c: Likewise.
22547         * math/w_sinhl.c: Likewise.
22548         * math/w_tgamma.c: Likewise.
22549         * math/w_tgammaf.c: Likewise.
22550         * math/w_tgammal.c: Likewise.
22551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22552         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22553         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22557         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22558         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22559         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22560         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22561         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22562         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22563         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22564         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22565         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22566         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22568         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22569         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22570         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22571         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22572         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22573         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22575         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22576         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22577         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22578         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22579         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22581         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22582         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22583         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22584         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22585         * stdio-common/printf_fp.c: Likewise.
22586         * stdio-common/printf_fphex.c: Likewise.
22587         * stdio-common/printf_size.c: Likewise.
22589 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22591         [BZ #18470]
22592         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22593         strnlen.
22594         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22595         Remove variable.
22596         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22597         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22598         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22599         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22600         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22601         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22602         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22603         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22604         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22605         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22607         [BZ #18468]
22608         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22609         weak alias of __wmemchr.  Use libc_hidden_weak.
22610         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22611         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22612         instead of wmemchr.
22614 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22616         [BZ #18383]
22617         * elf/tst-tlsalign-extern.c: New file.
22618         * elf/tst-tlsalign-extern-static.c: New file.
22619         * elf/tst-tlsalign-vars.c: New file.
22620         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22621         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22622         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22623         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22624         (test-xfail-tst-tlsalign-extern-static): New variable.
22626 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22628         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22629         Use variable name _sc_err instead of err.
22630         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22631         instead of ret.
22632         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22633         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22634         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22635         (INLINE_SYSCALL): Likewise.
22637         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22638         * include/string.h (__strnlen): Use libc_hidden_proto.
22639         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22640         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22641         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22642         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22643         (libc_hidden_def): Undefine and redefine.
22644         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22645         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22646         __GI_strnlen.
22647         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22648         libc_hidden_def.
22649         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22651         [BZ #18469]
22652         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22653         weak alias of __towlower.  Use libc_hidden_weak.
22654         (towupper): Rename to __towupper and define as weak alias of
22655         __towupper.  Use libc_hidden_weak.
22656         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22657         (__towupper): Likewise.
22658         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22659         __towlower instead of towlower.
22661 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22663         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22664         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22666 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22668         * sysdeps/aarch64/libm-test-ulps: Update.
22670 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22672         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22673         Define.
22674         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22676         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22677         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22678         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22679         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22680         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22682 2015-06-01  Martin Sebor  <msebor@redhat.com>
22684         [BZ #18116]
22685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22686         (__setcontext): Use extended four-operand version of mtsf whenever
22687         possible.
22688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22689         (__novec_swapcontext): Likewise.
22691 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22693         * benchtests/scripts/compare_bench.py: New file.
22694         * benchtests/scripts/import_bench.py (mean): New function.
22695         (split_list): Likewise.
22696         (do_for_all_timings): Likewise.
22697         (compress_timings): Likewise.
22699         * benchtests/scripts/import_bench.py: New file.
22700         * benchtests/scripts/validate_benchout.py: Import import_bench
22701         instead of jsonschema.
22702         (validate_bench): Remove function.
22703         (main): Use import_bench.
22705 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22707         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22708         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22710 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22714 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22716         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22717         set THREAD_SELF->tid to a magic value and futex-wake it.
22718         Pass its address to the thread_exit system call.
22719         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22720         bit is clear.
22721         * sysdeps/nacl/lowlevellock.h: New file.
22722         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22724         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22725         Add TIMEOUT to current time, don't subtract it.
22727 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22729         [BZ #2981]
22730         [BZ #18422]
22731         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22732         ($(objpfx)tst-audit2.out): Also depend on
22733         $(objpfx)tst-auditmod9b.so.
22734         * elf/tst-audit2.c: Include <dlfcn.h>.
22735         (calloc_called): New.
22736         (calloc): Allow to be called more than once.
22737         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22739 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22741         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22742         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22744 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22746         * stdlib/monetary.h: Fix comment.
22748 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22750         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22751         Avoid using variables in #defines that might cause shadowing.
22752         (INTERNAL_VSYSCALL_CALL): Likewise.
22754 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22756         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22758         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22759         * nptl/lll_timedlock_wait.c: ... to this new file.
22760         * nptl/Makefile (libpthread-routines): Add it.
22761         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22762         * nptl/lll_timedwait_tid.c: ... to this new file.
22763         * nptl/Makefile (libpthread-routines): Add it.
22764         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22765         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22766         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22767         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22768         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22769         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22770         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22771         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22772         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22773         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22775 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22777         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22778         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22779         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22781         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22783         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22784         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22785         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22786         * sysdeps/unix/sysv/linux/tile/sysdep.h
22787         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22788         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22789         using vDSO syscall macro.
22791 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22793         [BZ #17293]
22794         * uk_UA: Fix sorting order for Ukrainian locale
22796 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22798         * stdlib/monetary.h: Fix comment.
22800 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22802         [BZ #18234]
22803         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22804         st_mtim and st_ctim members.
22805         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22806         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22807         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22808         (struct stat64): Likewise.
22809         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22810         (struct stat64): Likewise.
22811         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22812         (struct stat64): Likewise.
22814 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22816         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22817         Define and include sysdep-vdso.h.
22818         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22819         Likewise.
22820         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22821         Likewise.
22822         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22823         Define with VDSO_SYMBOL and use PTR_MANGLE.
22824         (__vdso_clock_gettime): Likewise.
22825         (__vdso_clock_getres): Likewise.
22826         (_libc_vdso_platform_setup): Likewise.
22827         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22828         Likewise.
22829         (_libc_vdso_platform_setup): Likewise.
22830         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22831         Likewise.
22832         (__vdso_clock_gettime): Likewise.
22833         (__vdso_clock_getres): Likewise.
22834         (__vdso_get_tbfreq): Likewise.
22835         (__vdso_getcpu): Likewise.
22836         (__vdso_time): Likewise.
22837         (__vdso_sigtramp_rt64): Likewise.
22838         (__vdso_signtramp32): Likewise.
22839         (__vdso_sigtramp_rt32): Likewise.
22840         (_libc_vdso_platform_setup): Likewise.
22841         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22842         Likewise.
22843         (__vdso_clock_gettime): Likewise.
22844         (__vdso_clock_getres): Likewise.
22845         (_libc_vdso_platform_setup): Likewise.
22846         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22847         Likewise.
22848         (__vdso_clock_gettime): Likewise.
22849         (_libc_vdso_platform_setup): Likewise.
22850         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22851         Likewise.
22852         (__vdso_getcpu): Likewise.
22853         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22854         Use VDSO_SYMBOL macro to define.
22855         (__vdso_clock_gettime): Likewise.
22856         (__vdso_clock_getres): Likewise.
22857         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22858         Likewise.
22859         (__vdso_clock_gettime): Likewise.
22860         (__vdso_clock_getres): Likewise.
22861         (__vdso_get_tbfreq): Likewise.
22862         (__vdso_getcpu): Likewise.
22863         (__vdso_time): Likewise.
22864         (__vdso_sigtramp_rt64): Likewise.
22865         (__vdso_signtramp32): Likewise.
22866         (__vdso_sigtramp_rt32): Likewise.
22867         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22868         Likewise.
22869         (__vdso_clock_gettime): Likewise.
22870         (__vdso_clock_getres): Likewise.
22871         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22872         Likewise.
22873         (__vdso_clock_gettime): Likewise.
22874         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22875         Likewise.
22876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22877         macro.
22878         (INTERNAL_VSYSCALL): Likewise.
22879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22880         Remove macro.
22881         (INTERNAL_VSYSCALL): Likewise.
22882         (INTERNAL_VSYSCALL_NCS): Likewise.
22883         (INTERNAL_VSYSCALL_CALL): New macro.
22884         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22886         Likewise.
22887         (INTERNAL_VSYSCALL): Likewise.
22888         (INTERNAL_VSYSCALL_NCS): Likewise.
22889         (INTERNAL_VSYSCALL_CALL): New macro.
22890         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22892         (INLINE_VSYSCALL): Remove macro.
22893         (INTERNAL_VSYSCALL): Remove macro.
22894         (INTERNAL_VSYSCALL_NCS): Remove macro.
22895         (INTERNAL_VSYSCALL_CALL): New macro.
22896         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22897         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22898         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22899         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22900         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22902         (INLINE_VSYSCALL): Remove macro.
22903         (INTERNAL_VSYSCALL): Likewise.
22904         (INTERNAL_VSYSCALL_NCS): Likewise.
22905         (INTERNAL_VSYSCALL_CALL): New macro.
22906         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22907         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22908         PTR_DEMANGLE on vDSO pointer.
22909         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22910         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22911         macro.
22912         (INTERNAL_SYSCALL): Likewise.
22913         (INTERNAL_VSYSCALL_NCS): Remove macro.
22914         (INTERNAL_VSYSCALL_CALL): New macro.
22915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22916         Remove macro.
22917         (INTERNAL_VSYSCALL): Likewise.
22918         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22919         sysdep-vdso.h instead of libc-vdso.h.
22920         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22921         definition.
22922         (INLINE_VSYSCALL): Likewise.
22923         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22924         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22925         definition.
22926         (INLINE_VSYSCALL): Likewise.
22927         (INTERNAL_VSYSCALL): Likewise.
22928         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22929         * sysdeps/unix/sysv/linux/timespec_get.c
22930         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22931         (timespec_get): Use ANSI prototype.
22932         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22933         and definition for Linux.
22935 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22937         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22938         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22940 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22942         [BZ #2981]
22943         [BZ #18410]
22944         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22945         for missing DT_PLTRELSZ.
22947 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22949         Remove obsolete aliases that broke 'locale -a'
22950         [BZ #18412]
22951         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22952         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22953         breaking some applications that use 'locale -a' output.
22954         Change the encoding of this file from Latin-1 to ASCII to avoid
22955         other potential problems with people grepping this file.
22957 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22959         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22960         -fasynchronous-unwind-tables.
22961         (CFLAGS-sendto.c): Likewise.
22962         (CFLAGS-sendmsg.c): Likewise.
22963         (CFLAGS-connect.c): Likewise.
22964         (CFLAGS-recvmsg.c): Likewise.
22965         (CFLAGS-recvfrom.c): Likewise.
22966         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22967         (SOCKETCALL): New macro: non-cancellable socketcall.
22968         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22969         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22970         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22971         * sysdeps/unix/sysv/linux/accept.c: New file.
22972         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22973         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22974         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22975         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22976         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22977         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22978         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22979         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22980         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22981         * sysdeps/unix/sysv/linux/send.c: Likewise.
22982         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22983         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22984         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22985         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22986         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22987         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22988         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22989         prototype.
22990         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22991         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22992         instead of __internal_xxx function.
22993         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22994         prototype.
22995         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22996         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22997         instead of __internal_xxx function.
22998         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22999         prototype.
23000         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23001         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23002         instead of __internal_xxx function.
23003         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23004         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23005         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23006         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23007         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23008         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23009         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23010         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23011         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23012         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23013         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23014         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23015         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23016         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23017         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23018         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23019         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23020         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23021         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23022         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23025         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23026         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23027         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23028         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23029         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23030         * sysdeps/unix/sysv/linux/send.S: Likewise.
23031         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23032         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23033         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23034         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23035         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23036         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23037         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23038         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23039         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23040         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23041         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23042         socketcall is implemented in GLIBC.
23044 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23046         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23047         (__fma): Ignore uninitialized warnings around packing.
23048         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23049         (__fmaf): Ignore uninitialized warnings around packing.
23050         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23051         (__fmal): Ignore uninitialized warnings around packing.
23053         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23054         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23055         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23056         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23058         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23059         switch statement into default case.
23060         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23062         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23063         a conditional in forcing "inexact".
23064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23065         Likewise.
23067 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23069         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23070         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23071         for each INTERNAL_SYSCALL use.
23073 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23075         [BZ #438]
23076         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23077         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23078         variable.
23080         [BZ #18444]
23081         * string/basename.c (basename): Rename to __basename and define as
23082         weak alias of __basename.  Use libc_hidden_weak.
23083         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23084         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23085         __basename instead of basename.
23086         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23087         Remove variable.
23088         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23090 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23092         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23093         (_IO_JUMPS_FILE_plus): New.
23094         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23095         _IO_CAST_FIELD_ACCESS.
23096         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23097         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23098         * libio/freopen.c (freopen): Likewise.
23099         * libio/freopen64.c (freopen64): Likewise.
23100         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23101         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23102         * libio/iofwide.c (_IO_fwide): Likewise.
23103         * libio/memstream.c (open_memstream): Likewise.
23104         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23105         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23106         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23108 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23110         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23111         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23112         NADJ.
23113         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23114         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23115         NADJ.
23116         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23117         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23118         NADJ.
23120         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23121         (p == 4) case.
23123         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23124         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23125         Remove variable.
23126         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23127         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23128         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23130 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23132         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23133         Adjust jump table label generation macros.
23135 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23137         * stdio-common/vfprintf.c (vfprintf): Move local variables
23138         args_malloced, specs, specs_malloced, and the code after
23139         do_positional to the printf_positional function.
23140         (printf_positional): New function.
23142 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23144         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23145         function.
23146         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23147         STEP4_TABLE, process_arg): Move macro definitions
23148         out of the vfprintf function.  (Cosmetic change only.)
23150 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23152         * benchtests/Makefile (stdio-common-bench): Define.
23153         (benchset): Add stdio-common-bench.
23154         * sprintf-inputs: New file.
23155         * sprintf-source.c: New file.
23157 2015-05-21  Andreas Schwab  <schwab@suse.de>
23159         [BZ #13028]
23160         [BZ #17053]
23161         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23162         of struct __res_state.
23163         * resolv/res_send.c (__libc_res_nsend): Likewise.
23164         (get_nsaddr): New function.
23165         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23166         statp directly.
23168 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23170         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23171         -D_POSIX_C_SOURCE=199506L.
23173         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23175         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23176         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23177         Do not mention otherwise.
23178         [POSIX] (_XOPEN_VERSION): Do not expect.
23179         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23180         [POSIX] (_POSIX2_C_BIND): Likewise.
23181         [POSIX] (_POSIX2_VERSION): Likewise.
23182         [POSIX] (_XOPEN_XPG2): Likewise.
23183         [POSIX] (_XOPEN_XPG3): Likewise.
23184         [POSIX] (_XOPEN_XPG4): Likewise.
23185         [POSIX] (_XOPEN_UNIX): Likewise.
23186         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23187         [POSIX] (_POSIX_BARRIERS): Likewise.
23188         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23189         [POSIX] (_POSIX_CPUTIME): Likewise.
23190         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23191         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23192         [POSIX] (_POSIX_SHELL): Likewise.
23193         [POSIX] (_POSIX_SPAWN): Likewise.
23194         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23195         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23196         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23197         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23198         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23199         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23200         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23201         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23202         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23203         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23204         [POSIX] (_POSIX2_PBS): Likewise.
23205         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23206         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23207         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23208         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23209         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23210         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23211         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23212         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23213         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23214         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23215         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23216         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23217         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23218         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23219         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23220         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23221         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23222         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23223         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23224         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23225         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23226         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23227         [POSIX] (_SC_2_C_BIND): Likewise.
23228         [POSIX] (_SC_2_C_VERSION): Likewise.
23229         [POSIX] (_SC_2_PBS): Likewise.
23230         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23231         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23232         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23233         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23234         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23235         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23236         [POSIX] (_SC_BARRIERS): Likewise.
23237         [POSIX] (_SC_BASE): Likewise.
23238         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23239         [POSIX] (_SC_DEVICE_IO): Likewise.
23240         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23241         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23242         [POSIX] (_SC_FD_MGMT): Likewise.
23243         [POSIX] (_SC_FIFO): Likewise.
23244         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23245         [POSIX] (_SC_FILE_LOCKING): Likewise.
23246         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23247         [POSIX] (_SC_IOV_MAX): Likewise.
23248         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23249         [POSIX] (_SC_NETWORKING): Likewise.
23250         [POSIX] (_SC_PAGE_SIZE): Likewise.
23251         [POSIX] (_SC_PASS_MAX): Likewise.
23252         [POSIX] (_SC_PIPE): Likewise.
23253         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23254         [POSIX] (_SC_REGEXP): Likewise.
23255         [POSIX] (_SC_SHELL): Likewise.
23256         [POSIX] (_SC_SIGNALS): Likewise.
23257         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23258         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23259         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23260         [POSIX] (_SC_USER_GROUPS): Likewise.
23261         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23262         [POSIX] (_SC_STREAMS): Likewise.
23263         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23264         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23265         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23266         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23267         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23268         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23269         [POSIX] (_PC_FILESIZEBITS): Likewise.
23270         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23271         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23272         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23273         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23274         [POSIX] (uid_t): Likewise.
23275         [POSIX] (gid_t): Likewise.
23276         [POSIX] (off_t): Likewise.
23277         [POSIX] (pid_t): Likewise.
23278         [POSIX] (cuserid): Allow.
23279         (_SC_2_CHAR_TERM): Require constant.
23280         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23281         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23282         variable.
23284 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23286         * sysdeps/nacl/pthread-pids.h: New file.
23287         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23288         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23290         * nptl/pthread-pids.h: New file.
23291         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23292         * nptl/nptl-init.c: Include <pthread-pids.h>.
23293         (__pthread_initialize_minimal_internal):
23294         Call __pthread_initialize_pids instead of set_tid_address syscall.
23296         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23297         * sysdeps/posix/usleep.c: ... here.
23299 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23301         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23302         call_pselect6 object.
23303         [$(subdir) = io]: Remove call_sync_file_range object.
23304         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23305         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23306         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23307         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23309 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
23311         * math/s_cproj.c: Add include "math_private.h".
23312         * math/s_cprojf.c: Likewise.
23313         * math/s_cprojl.c: Likewise.
23315 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
23317         [BZ #18244]
23318         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23319         high mantissa bit when testing whether P is a NaN.
23320         * math/libm-test.inc (remainder_test_data): Add more tests.
23321         (remquo_test_data): Likewise.
23323         [BZ #18049]
23324         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23325         below -32, return the argument, with underflow if subnormal.
23326         * math/auto-libm-test-in: Add more tests of atanh.
23327         * math/auto-libm-test-out: Regenerated.
23329 2015-05-19  Roland McGrath  <roland@hack.frob.com>
23331         [BZ #18434]
23332         * nptl/tst-sem15.c: New file.
23333         * nptl/Makefile (tests): Add it.
23334         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23335         s/<</>>/ to fix typo in EOVERFLOW check.
23336         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23338 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23340         * manual/strings.texi (envz_remove): Fix typo in safety
23341         annotations.
23343 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
23344             Steve Ellcey  <sellcey@imgtec.com>
23346         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23347         in order to avoid strict alias warnings.
23348         (iruserok_af): Ditto for ra.
23350 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
23352         [BZ #17581]
23353         * malloc/hooks.c
23354         (magicbyte): Convert to a function and avoid returning 0x01.
23355         (mem2mem_check): Avoid using a length byte equal to the magic byte.
23356         (mem2chunk_check): Fix unsigned comparisons to zero.
23357         Hoist defs of sz and magic.
23359 2015-05-19  Richard Henderson  <rth@redhat.com>
23361         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23363         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23365 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23367         [BZ #16159]
23368         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23369         * malloc/arena.c (arena_lock): Check if arena is corrupt.
23370         (reused_arena): Find a non-corrupt arena.
23371         (heap_trim): Pass arena to unlink.
23372         * malloc/hooks.c (malloc_check_get_size): Pass arena to
23373         malloc_printerr.
23374         (top_check): Likewise.
23375         (free_check): Likewise.
23376         (realloc_check): Likewise.
23377         * malloc/malloc.c (malloc_printerr): Add arena argument.
23378         (unlink): Likewise.
23379         (munmap_chunk): Adjust.
23380         (ARENA_CORRUPTION_BIT): New macro.
23381         (arena_is_corrupt): Likewise.
23382         (set_arena_corrupt): Likewise.
23383         (sysmalloc): Use mmap if there are no usable arenas.
23384         (_int_malloc): Likewise.
23385         (__libc_malloc): Don't fail if arena_get returns NULL.
23386         (_mid_memalign): Likewise.
23387         (__libc_calloc): Likewise.
23388         (__libc_realloc): Adjust for additional argument to
23389         malloc_printerr.
23390         (_int_free): Likewise.
23391         (malloc_consolidate): Likewise.
23392         (_int_realloc): Likewise.
23393         (_int_memalign): Don't touch corrupt arenas.
23394         * malloc/tst-malloc-backtrace.c: New test case.
23396         * Makefile (summarize-tests): Fix return value on success.
23398         * manual/string.texi (Envz Functions): Add envz_remove.
23400 2015-05-18  Roland McGrath  <roland@hack.frob.com>
23402         * sysdeps/posix/opendir.c: Include <stdbool.h>.
23403         (invalid_name): New function, broken out of ...
23404         (__opendirat): ... here.  Call it.
23405         (need_isdir_precheck): New function, broken out of ...
23406         (__opendirat): ... here.  Call it.
23407         Use __fxstatat64, not __xstatat64.
23408         (opendir_oflags): New function, broken out of ...
23409         (__opendirat): ... here.  Call it.
23410         (opendir_tail): New function, broken out of ...
23411         (__opendirat): ... here.  Call it.
23412         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23413         opendir_tail, rather than punting to __opendirat.
23414         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23416 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23418         * .gitignore: Ignore generated *.pyc.
23420 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
23422         * include/stdio.h: Define __need_wint_t.
23423         * test-skeleton.c: Avoid `for' loop initial declaration.
23424         * nptl/tst-initializers1.c: Use test-skeleton.c.
23426 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23428         [BZ #18418]
23429         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23431 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23433         [BZ #16352]
23434         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23435         (__ieee754_atanh): Force underflow exception for results with
23436         small absolute value.
23437         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23438         (__ieee754_atanhf): Force underflow exception for results with
23439         small absolute value.
23440         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23441         (__ieee754_atanh): Force underflow exception for results with
23442         small absolute value.
23443         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23444         (__ieee754_atanhf): Force underflow exception for results with
23445         small absolute value.
23446         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23447         (__ieee754_atanhl): Force underflow exception for results with
23448         small absolute value.
23449         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23450         (__ieee754_atanhl): Force underflow exception for results with
23451         small absolute value.
23452         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23453         (__ieee754_atanhl): Force underflow exception for results with
23454         small absolute value.
23455         * math/auto-libm-test-in: Do not allow missing underflow
23456         exceptions from atanh.
23457         * math/auto-libm-test-out: Regenerated.
23459         [BZ #18221]
23460         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23461         2**-28 as threshold for returning x or +/- 1/x.
23462         * math/auto-libm-test-in: Add more tests of tan.
23463         * math/auto-libm-test-out: Regenerated.
23465         [BZ #18220]
23466         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23467         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23468         * math/auto-libm-test-in: Add another test of lgamma.
23469         * math/auto-libm-test-out: Regenerated.
23471 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23473         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23474         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23475         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23476         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23477         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23478         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23479         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23480         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23482         (log1): Use fabs.  (my_log2): Use fabs.
23483         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23484         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23485         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23486         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23488         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23489         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23490         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23491         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23492         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23493         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23495 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23497         [BZ #18217]
23498         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23499         as threshold for returning 1 - x.
23500         * math/auto-libm-test-in: Add more tests of erfc.
23501         * math/auto-libm-test-out: Regenerated.
23503 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23505         [BZ #18196]
23506         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23507         threshold for large arguments.
23508         * math/auto-libm-test-in: Add another test of atan.
23509         * math/auto-libm-test-out: Regenerated.
23511         [BZ #16339]
23512         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23513         (__log1p): Force underflow exception for results with small
23514         absolute value.
23515         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23516         (__log1pf): Force underflow exception for results with small
23517         absolute value.
23518         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23519         (__log1p): Force underflow exception for results with small
23520         absolute value.
23521         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23522         (__log1pf): Force underflow exception for results with small
23523         absolute value.
23524         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23525         (__log1pl): Force underflow exception for results with small
23526         absolute value.
23527         * math/auto-libm-test-in: Do not allow missing underflow
23528         exceptions from log1p.
23529         * math/auto-libm-test-out: Regenerated.
23531 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23532             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23534         [BZ #16704]
23535         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23537 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23539         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23540         (libmvec): New variable.
23541         * configure.ac: Added option for mathvec build.
23542         * configure: Regenerated.
23543         * mathvec/Depend: New file.
23544         * mathvec/Makefile: New file.
23545         * shlib-versions: Added libmvec.
23546         * math/Makefile: Added rule for libm.so installation.
23548         * bits/math-vector.h: New file.
23549         * bits/libm-simd-decl-stubs.h: New header.
23550         * math/Makefile (headers): Added new header
23551         libm-simd-decl-stubs.h.
23552         * math/math.h (__MATHCALL_VEC): New macro.
23554         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23555         for conditions in testing functions.
23556         * math/Makefile: Added call of libm-have-vector-test.sh.
23557         * math/libm-test.inc (HAVE_VECTOR): New macros.
23559         * math/libm-test.inc: START refactored.
23560         * math/test-double.c (TEST_MATHVEC): Add define.
23561         * math/test-float.c: Likewise.
23562         * math/test-idouble.c: Likewise.
23563         * math/test-ifloat.c: Likewise.
23564         * math/test-ildoubl.c: Likewise.
23565         * math/test-ldouble.c: Likewise.
23566         * sysdeps/generic/math-tests-arch.h
23567         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23568         architecture check.
23570         * math/test-double.c (FUNC_TEST): New macro.
23571         * math/test-float.c: Likewise.
23572         * math/test-idouble.c: Likewise.
23573         * math/test-ifloat.c: Likewise.
23574         * math/test-ildoubl.c: Likewise.
23575         * math/test-ldouble.c: Likewise.
23576         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23578 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23580         * sysdeps/nacl/fdopendir.c: New file.
23582         * dirent/scandir-tail.c: New file.
23583         * dirent/scandir64-tail.c: New file.
23584         * dirent/Makefile (routines): Add them.
23585         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23586         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23587         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23588         [!SCANDIR] (SCANDIR_TAIL): New macro.
23589         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23590         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23591         (SCANDIRAT): Macro removed.
23592         (SCANDIR_TAIL): New macro.
23593         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23594         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23595         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23596         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23597         (READDIR): Macro removed.
23598         (SCANDIR_TAIL): New macro.
23599         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23600         (SCANDIR_TAIL): New macro.
23602         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23603         * dirent/scandir-cancel.c: ... to this new file.
23604         * dirent/Makefile (routines): Add it.
23605         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23606         * sysdeps/unix/sysv/linux/i386/scandir64.c
23607         (SKIP_SCANDIR_CANCEL): Macro removed.
23608         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23610         * dirent/tst-scandir.c: New file.
23611         * dirent/tst-scandir64.c: New file.
23612         * dirent/Makefile (tests): Add them.
23614 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23616         [BZ #18409]
23617         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23619 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23621         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23622         list.
23624 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23626         * benchtests/bench-strcoll.c: New benchmark.
23627         * benchtests/Makefile: Generate locales and run benchmark.
23628         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23629         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23630         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23631         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23632         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23633         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23634         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23635         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23636         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23637         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23638         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23639         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23640         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23641         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23642         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23643         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23644         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23645         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23646         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23647         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23648         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23649         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23650         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23651         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23653 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23655         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23656         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23658 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23660         * posix/uname-values.h: New file.
23661         * posix/uname.c: Include that instead of <config-name.h>.
23662         * sysdeps/nacl/uname-values.h: New file.
23663         * sysdeps/arm/nacl/uname-values.h: New file.
23665 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23667         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23668         splitting into fields.
23670 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23672         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23673         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23674         * locale/localeinfo.h: Add enum collation_encoding_type.
23675         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23676         * programs/ld-collate.c (collate_output): Add encoding type info.
23677         * string/strcoll_l.c (STRDIFF): New function.
23678         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23679         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23681 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23683         [BZ #18397]
23684         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23685         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23686         <fpu_control.h> instead of <math/fpu_control.c>.
23687         * sysdeps/mips/mips32/fpu/Makefile: New file.
23689 2015-05-11  Andreas Schwab  <schwab@suse.de>
23691         [BZ #18007]
23692         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23693         nss_endgrent.
23694         (_nss_compat_endgrent): Call nss_endgrent.
23695         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23696         nss_endpwent.
23697         (_nss_compat_endpwent): Call nss_endpwent.
23698         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23699         needent, call nss_setspent only if non-zero.
23700         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23701         (internal_endspent): Don't call nss_endspent.
23702         (_nss_compat_endspent): Call nss_endspent.
23703         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23704         Remove.  All uses removed.
23705         (internal_setent): Remove parameter stayopen, add parameter
23706         stream.  Use it instead of global variable.
23707         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23708         (internal_endent, internal_getent): Add parameter stream.  Use it
23709         instead of global variable.
23710         (CONCAT(_nss_files_end,ENTNAME))
23711         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23712         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23713         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23714         uses removed.
23715         (internal_setent, internal_endent): Add parameter stream.  Use it
23716         instead of global variable.
23717         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23718         stream.
23719         (get_next_alias): Add parameter stream.
23720         (_nss_files_getaliasent_r): Pass global stream.
23721         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23722         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23723         (_nss_files_gethostbyname4_r): Pass local stream to
23724         internal_setent, internal_getent and internal_endent.  Remove
23725         locking.
23727 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23729         * tst-strfmon1.c (tests): Update expected currency symbol.
23731 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23733         * sysdeps/nacl/gethostname.c: New file.
23735 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23737         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23738         and sinh.
23739         * math/auto-libm-test-out: Regenerated.
23740         * sysdeps/i386/fpu/libm-test-ulps: Update.
23741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23743 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23745         [BZ #18125]
23746         * stdlib/tst-setcontext3.c: New file.
23747         * stdlib/tst-setcontext3.sh: New file.
23748         * stdlib/Makefile (tests): Add tst-setcontext3.
23749         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23750         to verify test program created output file.
23751         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23752         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23753         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23754         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23756 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23758         [BZ #18383]
23759         * elf/tst-tlsalign.c: New file.
23760         * elf/tst-tlsalign-static.c: New file.
23761         * elf/tst-tlsalign-lib.c: New file.
23762         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23763         (tests-static): Add tst-tlsalign-static.
23764         (modules-names): Add tst-tlsalign-lib.
23765         (test-xfail-tst-tlsalign): New variable.
23766         (test-xfail-tst-tlsalign-static): New variable.
23768         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23769         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23771 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23773         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23774         csqrt, erfc, sin and sincos.
23775         * math/auto-libm-test-out: Regenerated.
23776         * sysdeps/i386/fpu/libm-test-ulps: Update.
23777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23779 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23781         * sysdeps/aarch64/libm-test-ulps: Update.
23783 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23785         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23786         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23787         * math/auto-libm-test-out: Regenerated.
23788         * sysdeps/i386/fpu/libm-test-ulps: Update.
23789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23791 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23793         [BZ #18265]
23794         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23795         (wcsncpy): Likewise.
23797 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23799         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23800         Assume __ASSUME_FALLOCATE is always true.
23801         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23802         (__posix_fallocate64_l64): Likweise.
23803         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23804         (posix_fallocate): Likewise.
23805         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23806         (__posix_fallocate64_l64): Likewise.
23807         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23808         [!__ASSUME_FALLOCATE]: Add comment.
23810 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23812         * sysdeps/unix/sysv/linux/i386/Makefile
23813         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23814         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23815         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23816         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23817         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23818         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23819         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23821 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23823         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23824         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23825         tgamma.
23826         * math/auto-libm-test-out: Regenerated.
23827         * sysdeps/i386/fpu/libm-test-ulps: Update.
23828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23830 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23832         * math/auto-libm-test-in: Add more tests of tgamma.
23833         * math/auto-libm-test-out: Regenerated.
23834         * sysdeps/i386/fpu/libm-test-ulps: Update.
23835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23837         * math/auto-libm-test-in: Add more tests of tanh.
23838         * math/auto-libm-test-out: Regenerated.
23839         * sysdeps/i386/fpu/libm-test-ulps: Update.
23840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23842         * math/auto-libm-test-in: Add more tests of tan.
23843         * math/auto-libm-test-out: Regenerated.
23844         * sysdeps/i386/fpu/libm-test-ulps: Update.
23845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23847         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23848         * math/auto-libm-test-out: Regenerated.
23849         * sysdeps/i386/fpu/libm-test-ulps: Update.
23850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23852         * math/auto-libm-test-in: Add another test of pow.
23853         * math/auto-libm-test-out: Regenerated.
23854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23856         * math/auto-libm-test-in: Add more tests of lgamma.
23857         * math/auto-libm-test-out: Regenerated.
23858         * sysdeps/i386/fpu/libm-test-ulps: Update.
23859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23861         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23862         log1p.
23863         * math/auto-libm-test-out: Regenerated.
23864         * sysdeps/i386/fpu/libm-test-ulps: Update.
23865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23867 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23869         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23870         Elf64_Chdr structs and ELFCOMPRESS constants.
23872 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23874         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23875         expm1.
23876         * math/auto-libm-test-out: Regenerated.
23877         * sysdeps/i386/fpu/libm-test-ulps: Update.
23878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23880         * math/auto-libm-test-in: Add more tests of erf and erfc.
23881         * math/auto-libm-test-out: Regenerated.
23882         * sysdeps/i386/fpu/libm-test-ulps: Update.
23883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23885 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23887         * config.h.in (HAVE_AARCH64_BE): Add.
23889 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23891         * math/auto-libm-test-in: Add more tests of csqrt.
23892         * math/auto-libm-test-out: Regenerated.
23893         * sysdeps/i386/fpu/libm-test-ulps: Update.
23894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23896         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23897         * math/auto-libm-test-out: Regenerated.
23898         * sysdeps/i386/fpu/libm-test-ulps: Update.
23899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23901         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23903 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23905         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23906         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23908         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23909         (euidaccess, eaccess): Define as weak aliases.
23911         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23912         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23913         but __suseconds_t is often 'long int' so some sources assume that
23914         type is being used (e.g. they use %ld to print tv_usec).
23916 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23918         [BZ #18007]
23919         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23920         (CVE-2014-8121)
23921         * nss/tst-nss-getpwent.c: New file.
23922         * nss/Makefile (tests): Add new test.
23924 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23926         [BZ #18346]
23927         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23928         exponents less than 48 as cases where high part of mantissa needs
23929         examining to determine whether argument is integral.
23930         * math/libm-test.inc (round_test_data): Add more tests.
23932 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23934         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23936 2015-04-27  David S. Miller  <davem@davemloft.net>
23938         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23939         __tls_get_addr.
23940         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23942 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23944         [BZ#18333]
23945         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23947 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23949         [BZ#18333]
23950         * time/tzset.c (parse_tzname): Return error on memory allocation
23951         failure.
23952         * test-skeleton.c (struct temp_name_list): Change type of name
23953         member to non-const.
23954         (add_temp_file): Create a copy of the file name.
23955         (delete_temp_files): Deallocate memory.
23956         (create_temp_file): Add comment.
23958 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23960         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23961         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23963 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23965         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23966         * sysdeps/arm/configure: Regenerated.
23968 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23970         [BZ #17715]
23971         * time/tzfile.c (__tzfile_read): Check for large values of
23972         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23973         * time/tzset.c (__tzstring_len): New function, based on the old
23974         __tzstring function.
23975         (__tzstring): Call __tzstring_len.
23976         (parse_tzname): New helper function extracted from
23977         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23978         the input string.
23979         (parse_offset): New helper function extracted from
23980         __tzset_parse_tz.  Replace switch with fallthrough with
23981         initialization before sscanf.
23982         (parse_rule): Likewise.
23983         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23984         new-style function definition.
23985         * timezone/Makefile (tests): Add tst-tzset.
23986         (tst-tzset.out): Dependencies on time zone files.
23987         (tst-tzset-ENV): Set TZDIR.
23988         (testdata/XT%): Copy crafted time zone files.
23989         * timezone/README: Mention crafted time zone files.
23990         * timezone/testdata/XT1, timezone/testdata/XT2,
23991         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23992         files.
23993         * timezone/tst-tzset.c: New test.
23995 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23997         * Makeconfig (+gccwarn): Remove -Winline.
23999 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24001         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24003 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24005         * NEWS: Mention sysconf() cache information support for s390.
24006         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24008 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24010         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24012         (__nearbyint): Likewise.
24013         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24014         (copysignl): Likewise.
24016 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24018         [BZ #18287]
24019         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24020         based on padding.  (CVE-2015-1781)
24022 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24024         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24025         libc-vdso.h.
24026         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24027         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24028         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24029         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24030         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24031         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24032         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24033         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24034         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24035         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24036         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24037         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24038         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24039         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24040         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24041         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24042         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24044         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24045         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24046         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24047         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24048         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24050 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24052         * stdlib/setenv.c (__add_to_environ):
24053         Dump core quickly if setenv (..., NULL, ...) is called.
24054         This time, do it the right way, and pacify GCC with a pragma.
24056 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24058         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24059         IMAP->l_prev cannot be null, and #if out the code for the contrary
24060         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24061         believe that NS (&_dl_ns[NSID]) could point outside the array.
24063         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24064         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24065         before using NSID as an index.
24067 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24069         [BZ #17825]
24070         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24071         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24072         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24074 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24076         Add preliminary port to Google Native Client on ARM.
24077         * abi-tags (.*-.*-nacl.*): New entry.
24078         * sysdeps/arm/nacl: New directory.
24079         * sysdeps/nacl: New directory.
24081 2015-04-16  David S. Miller  <davem@davemloft.net>
24083         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24084         lowlevellock-futex.h
24086 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24088         * sysdeps/tile/configure.ac: New file.
24089         * sysdeps/tile/configure: Regenerated.
24091 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24093         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24094         conditionals for weak_alias and libc_hidden_weak.
24095         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24096         libc_hidden_weak and weak_alias.
24097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24098         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24099         and weak_alias for static one.
24101 2015-04-15  David S. Miller  <davem@davemloft.net>
24103         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24105 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24107         [BZ #18206]
24108         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24109           Use signed comparision instead of substraction to avoid
24110           overflow bug.
24111         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24112           Take the sign of ret.
24113         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24114           Do not expect precise return values. Only the sign matters.
24115         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24116         * wcsmbs/test-wcsncmp.c: New File.
24117         * string/test-strncmp.c: Add wcsncmp support.
24119 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24121         [BZ #6792]
24122         * math/w_log1p.c: New file.
24123         * math/w_log1pf.c: Likewise.
24124         * math/w_log1pl.c: Likewise.
24125         * math/Makefile (libm-calls): Add w_log1p.
24126         * math/s_log1pl.c (log1pl): Remove weak_alias.
24127         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24128         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24129         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24130         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24131         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24132         [NO_LONG_DOUBLE] (log1pl): Likewise.
24133         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24134         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24135         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24136         (log1p): Remove long_double_symbol.
24137         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24138         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24139         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24140         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24141         remove weak_alias for corresponding log1p function.
24142         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24143         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24144         * sysdeps/ia64/fpu/w_log1p.c: New file.
24145         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24146         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24147         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24149 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24151         [BZ #18247]
24152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24153         decimal exponent by 1.
24154         * stdlib/tst-strtod-round-data: Add more tests.
24155         * stdlib/tst-strtod-round.c (tests): Regenerated.
24157 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24159         * math/auto-libm-test-in: Add more tests of clog and clog10.
24160         * math/auto-libm-test-out: Regenerated.
24161         * sysdeps/i386/fpu/libm-test-ulps: Update.
24162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24164 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24166         * Makeconfig (module-cppflags): Exclude all .v.i files.
24167         (skip-module-cppflags): Variable removed.
24169         * configure.ac (libc_config_ok): Initialize before reading
24170         preconfigure scripts, not after.
24171         * configure: Regenerated.
24173         * test-skeleton.c (TIMEOUT): Move #define to top level.
24174         (main): Grok environment variable TEST_DIRECT.  If set, print
24175         test expectation details into that file and then behave as if
24176         given --direct.
24178 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24180         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24181         warning on 32-bit.
24183 2015-04-08  David S. Miller  <davem@davemloft.net>
24185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24187 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24189         * math/auto-libm-test-in: Add more tests of atanh.
24190         * math/auto-libm-test-out: Regenerated.
24191         * sysdeps/i386/fpu/libm-test-ulps: Update.
24192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194         * math/auto-libm-test-in: Add more tests of atan.
24195         * math/auto-libm-test-out: Regenerated.
24196         * sysdeps/i386/fpu/libm-test-ulps: Update.
24197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24199 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24201         * elf/pldd.c (main): Rewrite to use struct
24202         scratch_buffer instead of extend_alloca.
24203         * elf/pldd-xx.c (find_maps): Likewise.
24204         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24205         <alloca.h>.
24206         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24207         scratch_buffer instead of extend_alloca.
24208         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24209         grp/compat-initgroups.c.
24210         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24211         Rewrite to use struct scratch_buffer instead of extend_alloca.
24212         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24213         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24215 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24217         * math/auto-libm-test-in: Add more tests of cbrt.
24218         * math/auto-libm-test-out: Regenerated.
24219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24221         * math/auto-libm-test-in: Add more tests of cabs.
24222         * math/auto-libm-test-out: Regenerated.
24223         * sysdeps/i386/fpu/libm-test-ulps: Update.
24224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24226         [BZ #18210]
24227         [BZ #18211]
24228         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24229         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24230         computations.
24231         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24232         clog10.
24233         * math/auto-libm-test-out: Regenerated.
24234         * sysdeps/i386/fpu/libm-test-ulps: Update.
24235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237         [BZ #18197]
24238         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24239         (atan): Set FE_TONEAREST mode for internal computations.
24240         * math/auto-libm-test-in: Add more tests of atan.
24241         * math/auto-libm-test-out: Regenerated.
24243 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24245         [BZ #17930]
24246         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24248 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24250         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24252 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24254         * include/scratch_buffer.h: New file.
24255         * malloc/scratch_buffer_grow.c: Likewise.
24256         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24257         * malloc/scratch_buffer_set_array_size.c: Likewise.
24258         * malloc/tst-scratch_buffer.c: Likewise.
24259         * malloc/Makefile (routines): Add scratch_buffer_grow.
24260         (tests): Add test case.
24261         * malloc/Versions (GLIBC_PRIVATE): Export
24262         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24263         __libc_scratch_buffer_set_array_size.
24265 2015-04-06  Richard Henderson  <rth@redhat.com>
24267         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24268         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24270         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24271         unsigned int before printing.
24273 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24275         [BZ #17596]
24276         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24277         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24279 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24281         * include/libc-internal.h (libc_max_align_t): Define.
24283 2015-04-02  Andreas Schwab  <schwab@suse.de>
24285         [BZ #16850]
24286         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24288 2015-04-02  Mel Gorman  <mgorman@suse.de>
24290         [BZ #17195]
24291         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24292         as well as the main arena.
24294 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24296         [BZ #18185]
24297         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24298         sharing L2 cache to 2 for Silvermont/Knights Landing.
24300 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24302         [BZ #17711]
24303         * config.make.in (have-protected-data): New.
24304         * configure.ac: Check linker support for protected data symbol.
24305         * configure: Regenerated.
24306         * elf/Makefile (modules-names): Add tst-protected1moda and
24307         tst-protected1modb if $(have-protected-data) is yes.
24308         (tests): Add tst-protected1a and tst-protected1b if
24309         $(have-protected-data) is yes.
24310         ($(objpfx)tst-protected1a): New.
24311         ($(objpfx)tst-protected1b): Likewise.
24312         (tst-protected1modb.so-no-z-defs): Likewise.
24313         * elf/tst-protected1a.c: New file.
24314         * elf/tst-protected1b.c: Likewise.
24315         * elf/tst-protected1mod.h: Likewise.
24316         * elf/tst-protected1moda.c: Likewise.
24317         * elf/tst-protected1modb.c: Likewise.
24319 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24321         [BZ #17711]
24322         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24323         indicates it is called from do_lookup_x on relocation against
24324         protected data, skip the data definion in the executable from
24325         copy reloc.
24326         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24327         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24328         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24329         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24330         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24331         otherwise to 0.
24332         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24333         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24334         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24335         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24336         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24337         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24339 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
24341         * sysdeps/nptl/pthread.h: Remove duplicate definition of
24342         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24344 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
24346         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24347         THREAD_SETMEM_NC.
24348         * sysdeps/x86_64/nptl/tls.h: Ditto.
24350 2015-03-27  Roland McGrath  <roland@hack.frob.com>
24352         * dlfcn/tststatic.c (main): Converted to ...
24353         (do_test): ... this.
24354         (TEST_FUNCTION): New macro.
24355         Include test-skeleton.c.
24357 2015-03-26  Alan Modra  <amodra@gmail.com>
24359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24360         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
24361         zero for undefined weak.
24362         (elf_machine_plt_conflict): Similarly.
24364 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24366         * math/auto-libm-test-in: Add more tests of acosh, asinh and
24367         atanh.
24368         * math/auto-libm-test-out: Regenerated.
24369         * sysdeps/i386/fpu/libm-test-ulps: Update.
24370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24372         * math/auto-libm-test-in: Add another test of asin.
24373         * math/auto-libm-test-out: Regenerated.
24374         * sysdeps/i386/fpu/libm-test-ulps: Update.
24375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24377         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24378         Remove macro.
24379         (LLL_EBX_REG): Likewise.
24380         (LLL_ENTER_KERNEL): Likewise.
24382         * math/auto-libm-test-in: Add more tests of asin.
24383         * math/auto-libm-test-out: Regenerated.
24384         * sysdeps/i386/fpu/libm-test-ulps: Update.
24385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24387         [BZ #18138]
24388         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24389         libc_do_syscall_args): New structure.
24390         (INTERNAL_SYSCALL_MAIN_0): New macro.
24391         (INTERNAL_SYSCALL_MAIN_1): Likewise.
24392         (INTERNAL_SYSCALL_MAIN_2): Likewise.
24393         (INTERNAL_SYSCALL_MAIN_3): Likewise.
24394         (INTERNAL_SYSCALL_MAIN_4): Likewise.
24395         (INTERNAL_SYSCALL_MAIN_5): Likewise.
24396         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
24397         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24398         Replace conditional definitions by conditional definitions of ....
24399         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
24400         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24401         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24402         (libpthread-sysdep_routines): Add libc-do-syscall.
24403         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24404         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24405         to __NR_futex not 240.
24407 2015-03-25  Alan Modra  <amodra@gmail.com>
24409         * NEWS: Advertise TLS optimization.
24410         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24411         (DT_PPC_NUM): Increment.
24412         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24413         (CHECK_STATIC_TLS): Use here.
24414         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24415         TLS descriptors.
24416         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24417         * sysdeps/powerpc/dl-tls.c: New file.
24418         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24419         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24420         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24421         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24426 2015-03-25  Alan Modra  <amodra@gmail.com>
24428         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24429         for overlapping .opd entries" to "support...".
24430         * sysdeps/powerpc/powerpc64/configure: Regenerate
24432 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24434         * math/auto-libm-test-in: Add more tests of acos.
24435         * math/auto-libm-test-out: Regenerated.
24436         * sysdeps/i386/fpu/libm-test-ulps: Update.
24437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24439         * math/auto-libm-test-in: Add more tests of expm1.
24440         * math/auto-libm-test-out: Regenerated.
24441         * sysdeps/i386/fpu/libm-test-ulps: Update.
24442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24444 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24446         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24447         * math/auto-libm-test-out: Regenerated.
24448         * sysdeps/i386/fpu/libm-test-ulps: Update.
24449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24451         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24454         * math/auto-libm-test-in: Add more tests of log2.
24455         * math/auto-libm-test-out: Regenerated.
24456         * sysdeps/i386/fpu/libm-test-ulps: Update.
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24459 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24461         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24462         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24463         _IO_IS_APPENDING bit in READ_WRITE instead.
24465 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24467         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24468         (__determine_cpumask_size): Replace extend_alloca with a
24469         variable-length array.  Do not treat res == 0 as an error.
24471 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24473         [BZ #18100]
24474         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24475         and integer overflow.
24476         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24477         (main): Add integer overflow tests.
24478         * manual/pattern.texi (Calling Wordexp): Document additional use
24479         for WRDE_SYNTAX.
24481 2015-03-23  Alan Modra  <amodra@gmail.com>
24483         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24484         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24485         and false branch of conditional.
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24487         Likewise.
24489 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24491         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24492         libc-modules.h
24493         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24494         unused declaration of _hurd_intr_rpc_msg_in_trap.
24495         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24496         defined instead of whether it is non-zero.
24497         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24498         input constraint instead of both input and output constraint.  Use ecx
24499         clobber instead of %ecx.
24500         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24501         mutex_unlock): Use a statement expression instead of an expression list.
24502         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24503         type to vm_size_t instead of vm_address_t.
24504         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24505         defined instead of whether it is non-zero.
24506         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24507         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24508         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24509         comparisons with mapaddr.
24510         * nscd/nscd-client.h: Include <time.h>.
24511         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24512         9th parameter to __vm_region instead of int.
24513         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24514         * scripts/check-local-headers.sh (exclude): Add device/,
24515         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24516         cthreads.h.
24518 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24520         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24521         to account for alignment padding.
24522         * sysdeps/arm/memmove.S: Likewise.
24524 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24526         * sysdeps/unix/sysv/linux/generic/README: New file.
24528 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24530         [BZ #18138]
24531         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24532         (futex_abstimed_wait)
24533         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24534         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24535         of lll_futex_timed_wait.
24537 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24539         [BZ #17542]
24540         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24542 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24544         [BZ #17090]
24545         [BZ #17620]
24546         [BZ #17621]
24547         [BZ #17628]
24548         * NEWS: Update.
24549         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24550         entries with Static TLS too.  Skip entries past the end of the
24551         allocated DTV, from Alan Modra.
24552         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24553         Static TLS DTV entry set up from...
24554         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24555         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24556         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24557         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24558         for Static TLS.
24559         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24560         that the slot we find is associated with the given map before
24561         using its generation count.
24562         * nptl_db/db_info.c: Include ldsodefs.h.
24563         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24564         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24565         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24566         (link_map::l_tls_offset): New struct field.
24567         (dtv_t::counter): Likewise.
24568         (rtld_global): New struct.
24569         (_rtld_global): New rtld variable.
24570         (dl_tls_dtv_slotinfo_list): New rtld global field.
24571         (dtv_slotinfo_list): New struct.
24572         (dtv_slotinfo): Likewise.
24573         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24574         (td_lookup): Rename to...
24575         (td_mod_lookup): ... this.  Use new mod parameter instead of
24576         LIBPTHREAD_SO.
24577         * nptl_db/td_thr_tlsbase.c: Include link.h.
24578         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24579         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24580         addresses even if the DTV is out of date or missing them.
24581         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24582         index zero-length arrays.
24583         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24584         (td_lookup): Make it a macro implemented in terms of...
24585         (td_mod_lookup): ... this declaration.
24586         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24587         (DB_MAIN_VARIABLE): Likewise.
24589 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24591         [BZ #18134]
24592         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24594 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24596         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24598 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24600         [BZ #18128]
24601         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24602         (atomic_add, atomic_increment_and_test)
24603         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24605 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24607         * stdlib/setenv.c (__add_to_environ):
24608         Dump core quickly if setenv (..., NULL, ...) is called.
24610 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24612         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24613         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24614         all the necessary asm magic in one place.
24615         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24616         using those.
24618 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24620         [BZ #14906]
24621         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24622         traced file mtime. Use consistent log message.
24623         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24624         (register_traced_file): Call install_watches. Always set mtime.
24625         (invalidate_cache): Iterate over all trace files. Call install_watches.
24626         (inotify_check_files): Don't inline. Handle watching parent
24627         directories and configuration file movement in and out.
24628         (handle_inotify_events): New function.
24629         (main_loop_poll): Call handle_inotify_events.
24630         (main_loop_epoll): Likewise.
24631         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24632         (struct traced_file): Use array of inotify fds. Add parent directory,
24633         and basename.
24634         (struct database_dyn): Remove unused file_mtime.
24635         (init_traced_file): New inline function.
24636         (define_traced_file): New macro.
24637         * nss/nss_db/db-init.c: Use define_traced_file.
24638         (_nss_db_init): Use init_traced_file.
24639         * nss/nss_files/files-init.c: Use define_traced_file.
24640         (_nss_files_init): Use init_traced_file.
24642 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24644         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24645         [_LIBC]: Do not include <stdlib.h>.
24646         [!_LIBC] (abort): Remove declaration.
24647         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24648         _FP_STATIC_ASSERT instead of conditionally calling abort.
24649         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24650         (_FP_EXTEND_CNAN): Likewise.
24651         (FP_TRUNC): Likewise.
24652         (__FP_CLZ): Likewise.
24653         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24655 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24657         * manual/string.texi (XPG basename): Fix prototype.
24659 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24661         [BZ #18080]
24662         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24663         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24664         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24665         (__setcontext): Likewise.
24666         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24667         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24668         Call rt_sigprocmask syscall one time to set new signal mask
24669         and retrieve the current signal mask instead of two calls.
24670         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24671         (__swapcontext): Likewise.
24672         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24673         * stdlib/tst-setcontext2.c: New file.
24675 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24677         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24679 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24681         [BZ #18093]
24682         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24683         the wrong size.
24685 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24687         [BZ #18043]
24688         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24690 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24692         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24693         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24694         Remove define.
24695         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24696         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24697         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24698         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24699         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24700         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24701         define.
24702         * nptl_db/td_symbol_list.c (td_lookup): Remove
24703         HAVE_ASM_GLOBAL_DOT_NAME code.
24704         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24705         HAVE_ASM_GLOBAL_DOT_NAME check.
24706         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24707         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24708         (DOT_LABEL): Remove define.
24709         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24710         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24711         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24712         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24713         (__TLS_GET_ADDR): Likewise.
24714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24715         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24717 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24719         [BZ #18111]
24720         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24721         (_FPU_SETCW): Initialize cw from fpsr before storing.
24722         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24723         (fesetexceptflag): Rewrite using fpu_control.h.
24724         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24726 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24728         [BZ #18110]
24729         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24730         asms.
24731         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24733 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24735         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24736         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24737         abort.
24738         (_FP_FMA): Likewise.
24739         (_FP_DIV): Likewise.
24741 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24743         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24744         with 0 in that case.
24745         * Makefile (summarize-tests): New canned sequence, factored out of
24746         commands for targets tests and xtests.  Display summary lines that
24747         don't start with PASS: or XFAIL: rather than ones that do start with
24748         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24749         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24750         do start with ERROR: or FAIL:.
24751         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24752         (except for [$(build-shared) = yes]).
24753         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24754         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24755         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24756         * nptl/Makefile: Revert 2015-03-04 changes.
24757         [$(CXX) empty] (tests-unsupported): New variable.
24758         * debug/Makefile: Likewise.
24760         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24761         gnulib file.  Replace __attribute with __attribute__ throughout.
24763 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24765         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24767 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24769         [BZ #18104]
24770         * math/auto-libm-test-in: Add another test of pow.
24771         * math/auto-libm-test-out: Regenerated.
24773 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24775         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24776         $(config-cflags-nofma).
24778 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24780         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24781         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24782         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24783         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24784         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24785         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24786         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24787         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24788         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24789         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24790         Add comment on closing #endif.
24792 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24794         * posix/wordexp.c (CHAR_IN_SET): New macro.
24795         (parse_param): Use it.
24797 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24799         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24801 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24803         [BZ #18043]
24804         * posix/wordexp.c (parse_param): Fix buffer overflow.
24805         * posix/wordexp-test.c (test_case): Add test case.
24807 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24809         [BZ #18042]
24810         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24811         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24813 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24815         [BZ #18043]
24816         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24817         (do_bz18043): Delete.
24818         (at_page_end): New.
24819         (testit): Refactor to have words at the edge of unreadable page.
24821 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24823         [BZ #16734]
24824         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24825         Cleanup read-only streams as well.
24826         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24828 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24830         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24831         <bits/libc-lockP.h>
24833 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24835         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24836         on [__KERNEL__].
24837         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24838         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24839         * soft-fp/op-common.h (_FP_DECL): Likewise.
24841 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24843         * elf/ifuncdep2.c (global): Replace
24844         __attribute__((visibility("protected"))) with
24845         asm (".protected global").
24846         * elf/ifuncmod1.c (global): Likewise.
24847         * elf/ifuncmod5.c (global): Likewise.
24849 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24851         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24852         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24854 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24856         * manual/install.texi (Configuring and compiling):
24857         Document test-wrapper-env-only.
24858         * INSTALL: Regenerated.
24860 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24862         [BZ #18043]
24863         * posix/wordexp.c (parse_param): Fix buffer overflow.
24864         * posix/wordexp-test.c (do_bz18043): Add test case.
24866 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24868         * time/tst-strptime2.c (do_test): Ensure failing tests are
24869         reported correctly.
24870         * time/tst-strptime3.c (do_test): Likewise.
24872 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24874         Fix aio_error thread-safety.
24875         * sysdeps/pthread/aio_error.c: New file
24876         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24877         synchronization.
24879 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24881         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24882         (group_number, vfprintf): Use it.
24883         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24884         (JUMP, REF): Use it.
24885         (WORK_BUFFER_SIZE): New enum constant.
24886         (process_arg, vfprintf): Use it.
24888 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24890         * manual/errno.texi (Error Messages): Complete example function
24891         by adding missing #define.
24892         (program_invocation_name): Add statement indicating GNU
24893         extension and reference which header file declares the variable.
24894         (program_invocation_short_name): Likewise.
24896 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24898         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24899         compatibility note.
24901 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24903         * Makeconfig (test-wrapper-env-only): New variable.
24904         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24905         then use that with $(test-wrapper-env-only) rather than using
24906         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24908 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24910         [BZ #18082]
24911         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24912         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24913         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24914         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24915         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24916         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24917         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24918         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24919         Likewise.
24920         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24921         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24922         Likewise.
24923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24924         Likewise.
24925         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24926         Likewise.
24927         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24928         Likewise.
24929         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24930         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24931         Likewise.
24932         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24933         Likewise.
24934         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24935         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24937 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24939         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24940         (ETH_ALEN): New macro.
24941         (struct ether_addr): Use it for length of ether_addr_octet.
24943         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24944         (setdb): Don't call __nss_configure_lookup for "rpc".
24945         (do_test): Don't call test_rpc.
24946         (output_rpcent, test_rpc): Functions moved ...
24947         * sunrpc/test-rpcent.c: ... to this new file.
24948         * sunrpc/Makefile (tests): Add it.
24950         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24951         __xpg_sigpause.
24952         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24953         * nptl/tst-signal6.c: Likewise.
24954         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24955         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24957         * configure.ac (libc_cv_cxx_link_ok): New check.
24958         Reset CXX to empty if it fails to link.
24959         * configure: Regenerated.
24960         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24961         bug-atexit3-lib only if $(CXX) is nonempty.
24962         * nptl/Makefile (tests): Likewise for tst-cancel24.
24963         (tests, tests-static): Likewise for tst-cancel24-static.
24964         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24965         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24966         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24967         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24969 2015-03-04  Andreas Schwab  <schwab@suse.de>
24971         [BZ #17631]
24972         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24973         for non-GCC compilers.
24974         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24975         Likewise.
24977 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24979         [BZ #17776]
24980         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24981         integer before bitwise and assembly operations.
24982         (feclearexcept): Likewise.
24983         * math/test-fenvinline.c: New file.
24984         * math/Makefile: Add test-fenvinline test.
24986 2015-03-03  Alan Modra  <amodra@gmail.com>
24988         [BZ #16512]
24989         * scripts/localplt.awk: Strip off symbol version.
24990         * NEWS: Mention bug fix.
24992 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24994         * sysdeps/pthread/timer_routines.c
24995         (timer_free_list, thread_free_list, thread_active_list): Make static.
24997 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24999         [BZ #17779]
25000         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25001         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25002         Undefine.
25003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25004         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25005         Likewise.
25006         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25007         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25008         Likewise.
25010 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25012         [BZ #18036]
25013         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25014         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25016 2015-03-02  Andreas Schwab  <schwab@suse.de>
25018         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25019         variable name.
25021 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25023         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25024         Return error status.
25026 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25028         [BZ #15969]
25029         * locale/findlocale.c (_nl_find_locale): Introduce const
25030         version of loc_name and drop unsafe type casts.
25032 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25034         * dlfcn/tststatic2.c (main): Converted to ...
25035         (do_test): ... this.
25036         (TEST_FUNCTION): New macro.
25037         Include test-skeleton.c.
25039 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25041         [BZ #17711]
25042         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25043         (tests-pie): Add vismain.
25044         (CFLAGS-vismain.c): New.
25045         * elf/vismain.c: Add comments for PIE requirement.
25047 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25049         [BZ #18046]
25050         [BZ #18047]
25051         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25052         0x1p-56L as threshold for just returning the argument.
25053         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25054         0x1p-32L as threshold for just returning the argument.
25055         * math/auto-libm-test-in: Add more tests of atanh.
25056         * math/auto-libm-test-out: Regenerated.
25057         * sysdeps/i386/fpu/libm-test-ulps: Update.
25058         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25060 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25062         * string/bcopy.c (bcopy): Call memmove for performance.
25064 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25066         * string/bzero.c (__bzero): Call memset for performance.
25068 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25070         [BZ #18068]
25071         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25072         to 00100000.
25074 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25076         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25078 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25080         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25081         (__kernel_standard): Use CSTR macro when setting exc.name.
25082         * sysdeps/ieee754/Makefile [$(subdir) = math]
25083         (CFLAGS-k_standard.c): Remove variable.
25085         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25086         setting p and q from "else if" to "else".
25087         (qzero): Likewise.
25088         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25089         (qone): Likewise.
25090         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25091         (qzerof): Likewise.
25092         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25093         (qonef): Likewise.
25094         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25095         (qzero): Likewise.
25096         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25097         (qone): Likewise.
25099         [BZ #18038]
25100         [BZ #18039]
25101         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25102         return pi/2 for arguments below 0x1p-113L.
25103         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25104         return pi/2 for arguments below 0x1p-106L.
25105         * math/auto-libm-test-in: Add more tests of acos.
25106         * math/auto-libm-test-out: Regenerated.
25108         [BZ #16351]
25109         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25110         (MO): New macro.
25111         (__ieee754_asin): Force underflow exception for results with small
25112         absolute value.
25113         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25114         (MO): New macro.
25115         (__ieee754_asinf): Force underflow exception for results with
25116         small absolute value.
25117         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25118         (__ieee754_asin): Force underflow exception for results with small
25119         absolute value.
25120         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25121         (__ieee754_asinf): Force underflow exception for results with
25122         small absolute value.
25123         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25124         (__ieee754_asinl): Force underflow exception for results with
25125         small absolute value.
25126         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25127         (__ieee754_asinl): Force underflow exception for results with
25128         small absolute value.
25129         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25130         (__ieee754_asinl): Force underflow exception for results with
25131         small absolute value.
25132         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25133         Include <math.h>.
25134         * math/auto-libm-test-in: Do not mark underflow exceptions as
25135         possibly missing for bug 16351.
25136         * math/auto-libm-test-out: Regenerated.
25138         [BZ #18030]
25139         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25140         of power of 2 down when low part has opposite sign.
25141         * math/libm-test.inc (logb_test_data): Add more tests.
25143 2015-02-26  Andreas Schwab  <schwab@suse.de>
25145         [BZ #18032]
25146         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25147         over collating symbol inside a bracket expression.  Minor cleanup.
25148         * posix/tst-fnmatch3.c (do_test): Add test case.
25150 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25152         [BZ #18029]
25153         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25154         Adjust exponent of power of 2 down when low part has opposite
25155         sign.
25156         * math/libm-test.inc (ilogb_test_data): Add more tests.
25158 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25160         [BZ #15969]
25161         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25162         the previous change.
25164         [BZ #15969]
25165         * locale/findlocale.c (_nl_find_locale): Retry archive search
25166         after alias expansion.
25168 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25170         * iconv/tst-iconv3.c (main): Converted to ...
25171         (do_test): ... this.
25172         (TEST_FUNCTION): New macro.
25173         Include test-skeleton.c.
25175         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25176         (convert): Make function static.
25177         (test_unalign): Likewise.  Add const to argument pointee types.
25178         (main): Replace with static function do_test.
25179         Print "Succeeded." only if RET is zero.
25180         (TEST_FUNCTION): New macro.
25181         Include test-skeleton.c.
25183         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25184         returns a null pointer.
25186 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25188         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25189         to __memcpy_ppc only for static builds.
25191 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25193         [BZ #18020]
25194         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25195         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25196         * math/auto-libm-test-in: Add more tests of asinh.
25197         * math/auto-libm-test-out: Regenerated.
25198         * sysdeps/i386/fpu/libm-test-ulps: Update.
25199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25201 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25203         [BZ #15850]
25204         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25205         and ip6_mtuinfo definitions here.
25206         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25207         in this define too.  Update comment.
25209 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25211         * elf/sprof.c (load_shobj): Tweak error message to match others.
25213 2015-02-24  Kevin Easton  <kevin@guarana.org>
25215         [BZ #16145] (partial fix)
25216         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25217         to reduce lock contention.
25219 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25221         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25222         (struct timex): Update time comment.
25223         (ADJ_SETOFFSET): Define.
25225 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25227         [BZ #18019]
25228         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25229         2**56 not 2**28 as threshold for log (2x) formula.
25230         * math/auto-libm-test-in: Add more tests of acosh.
25231         * math/auto-libm-test-out: Regenerated.
25232         * sysdeps/i386/fpu/libm-test-ulps: Update.
25233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25235 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25237         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25238         parenthesis around the buf assignment.
25239         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25241 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25243         [BZ #16783]
25244         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25245         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25246         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25247         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25248         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25249         * math/libm-test.inc (scalb_test_data): Add more tests.
25251 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25253         [BZ #17916]
25254         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25255         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25257 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25259         [BZ #17523]
25260         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25261         * io/bits/fcntl2.h (open): Use it.
25262         (openat): Likewise.
25263         * io/open.c (__libc_open): Likewise.
25264         * io/open64.c (__libc_open64): Likewise.
25265         * io/open64_2.c (__open64_2): Likewise.
25266         * io/open_2.c (__open_2): Likewise.
25267         * io/openat.c (__openat): Likewise.
25268         * io/openat64.c (__openat64): Likewise.
25269         * io/openat64_2.c (__openat64_2): Likewise.
25270         * io/openat_2.c (__openat_2): Likewise.
25271         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25272         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25273         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25274         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25275         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25276         (__open_nocancel): Likewise.
25277         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25278         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25279         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25281 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25283         [BZ #14841]
25284         * resolv/gethnamaddr.c (getanswer): Skip logging if
25285         RES_USE_DNSSEC is set.
25286         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25288 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25290         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25292 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25294         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25295         201304L, for Unicode 7.
25297 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25299         [BZ #17836]
25300         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25301         shared library.  Add gmon-start.os otherwise.
25302         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25303         $(objpfx)gmon-start.os if builing shared library.
25304         ($(objpfx)g$(static-start-installed-name)): Likewise.
25306 2015-02-23  Andreas Schwab  <schwab@suse.de>
25308         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25310 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25312         [BZ #17269]
25313         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25314         (enlarge_userbuf): Likewise.
25316 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
25318         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25319         * math/atest-exp.c (TIMEOUT): Adjust to 200.
25320         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25321         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25323 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
25325         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25326         expression inside statement expression.
25328 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25330         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25331         <sysdeps/nptl/lowlevellock.h> and remove macros and
25332         functions that are now defined there.
25333         (SYS_futex): Remove.
25334         (lll_compare_and_swap): Remove.
25335         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25337 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
25339         [BZ #17999]
25340         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25341         instead of scandirat.
25342         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25343         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25344         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25345         __scandirat.
25346         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25347         (__scandirat): Declare.  Use libc_hidden_proto.
25348         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25349         Remove variable.
25350         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25352 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25354         [BZ #15319]
25355         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25356         (MO): New macro.
25357         (__ieee754_atan2): For results with small absolute value, force
25358         underflow exception and remove excess range and precision from
25359         return value.
25360         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25361         (MO): New macro.
25362         (__ieee754_atan2f): For results with small absolute value, force
25363         underflow exception and remove excess range and precision from
25364         return value.
25365         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25366         (MO): New macro.
25367         (__atan): For results with small absolute value, force underflow
25368         exception and remove excess range and precision from return value.
25369         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25370         (MO): New macro.
25371         (__atanf): For results with small absolute value, force underflow
25372         exception and remove excess range and precision from return value.
25373         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25374         <math.h>.
25375         (__ieee754_atan2): Force underflow exception for results with
25376         small absolute value.
25377         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25378         <math_private.h>.
25379         (atan): Force underflow exception for results with small absolute
25380         value.
25381         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25382         (__atanf): Force underflow exception for results with small
25383         absolute value.
25384         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25385         <math.h>.
25386         (__atanl): Force underflow exception for results with small
25387         absolute value.
25388         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25389         (__atanl): Force underflow exception for results with small
25390         absolute value.
25391         * sysdeps/x86/fpu/bits/mathinline.h
25392         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25393         (__ieee754_atan2): Only define inline for long double.
25394         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25395         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25396         * math/auto-libm-test-in: Do not mark underflow exceptions as
25397         possibly missing for bug 15319.  Add more tests of atan2.
25398         * math/auto-libm-test-out: Regenerated.
25399         * math/libm-test.inc (casin_test_data): Do not mark underflow
25400         exceptions as possibly missing for bug 15319.
25401         (casinh_test_data): Likewise.
25402         * sysdeps/i386/fpu/libm-test-ulps: Update.
25404 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
25406         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25407         * sysdeps/mips/bits/endian.h: Fix comments.
25409 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25411         [BZ #17996]
25412         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25413         (hdestroy_r): Likewise.
25414         (hsearch_r): Likewise.
25415         (__hcreate_r): Declare and use libc_hidden_proto.
25416         (__hdestroy_r): Likewise.
25417         (__hsearch_r): Likewise.
25418         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25419         (hcreate): Call __hcreate_r instead of hcreate_r.
25420         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25421         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25422         as weak alias of __hcreate_r.
25423         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25424         __hdestroy_r.
25425         (hsearch_r): Rename to __hsearch_r and define as weak alias of
25426         __hsearch_r.
25427         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25428         Remove variable.
25429         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25430         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25431         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25432         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25434 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25436         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25437         arena_lock into a single arena_get.
25439 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25441         * dl-reloc.c: Inlucde libc-internal.h.
25442         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25443         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25444         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25445         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25446         (grow_heap): Likewise.
25447         * malloc/malloc.c: Include libc-internal.h.
25448         (do_check_malloc): Call powerof2.
25449         (sysmalloc): Use pagesize. Call ALIGN_UP.
25450         (systrim): Use pagesize.
25451         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25452         (__libc_valloc): Use pagesize.
25453         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25455 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25457         [BZ #17991]
25458         * include/sys/resource.h (__getrlimit64): Declare.  Use
25459         libc_hidden_proto.
25460         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25461         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25462         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25463         getrlimit64.
25464         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25465         __getrlimit64.
25466         [!getrlimit64] (getrlimit64): Define as weak alias of
25467         __getrlimit64.  Use libc_hidden_weak.
25468         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25469         using __getrlimit64 not __new_getrlimit64.
25470         (__GI_getrlimit64): Likewise.
25471         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25472         Likewise.
25473         (__GI_getrlimit64): Likewise.
25474         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25476         (getrlimit): Add __getrlimit64 alias.
25477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25478         Likewise.
25479         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25480         Remove variable.
25481         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25482         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25484 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25486         * libio/fileops.c: Add missing sys/mman.h
25487         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25489 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25491         * manual/math.texi (Errors in Math Functions): Clarify goals
25492         regarding inexact and underflow exceptions.
25494 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25496         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25497         * sysdeps/mips/memset.S: Ditto.
25499 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25501         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25503 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25505         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25506         (__v1longjmp): Remove versioned symbol.
25507         (__v1siglongjmp): Remove alias and versioned symbol.
25508         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25509         (__v2siglongjmp): Likewise.
25511 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25515 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25517         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25519 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25521         [BZ #17987]
25522         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25523         zero result does not depend on the sign resulting from
25524         subtraction.
25525         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25526         Likewise.
25527         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25528         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25529         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25530         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25531         * math/libm-test.inc (remquo_test_data): Add more tests.
25533 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25535         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25536         Problem reported by J William Piggott.
25538 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25540         [BZ #17978]
25541         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25542         products 4 * y and 2 * y where those would overflow.
25543         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25544         Likewise.
25545         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25546         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25547         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25548         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25549         * math/libm-test.inc (remquo_test_data): Add more tests.
25551         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25553         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25554         [defined _COMPILING_NEWLIB].
25555         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25556         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25558         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25559         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25561 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25563         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25564         acquired.
25566 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25568         [BZ #17792]
25569         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25570         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25571         HOST_STACK_END_ADDR): Likewise.
25573 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25575         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25576         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25577         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25579 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25581         * sysdeps/generic/c++-types.data: New file.
25582         * sysdeps/generic/ld.abilist: New file.
25583         * sysdeps/generic/libBrokenLocale.abilist: New file.
25584         * sysdeps/generic/libanl.abilist: New file.
25585         * sysdeps/generic/libc.abilist: New file.
25586         * sysdeps/generic/libcrypt.abilist: New file.
25587         * sysdeps/generic/libdl.abilist: New file.
25588         * sysdeps/generic/libm.abilist: New file.
25589         * sysdeps/generic/libpthread.abilist: New file.
25590         * sysdeps/generic/libresolv.abilist: New file.
25591         * sysdeps/generic/librt.abilist: New file.
25593 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25595         [BZ #17569]
25596         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25597         Compute absolute value of x as modified by fmod, not original
25598         value of x.
25599         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25600         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25601         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25602         RUN_TEST_ffI_f1_mod8.
25603         (remquo_test_data): Add more tests.
25605 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25607         * sysdeps/init_array/pt-crti.S: New file.
25609 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25611         [BZ #17967]
25612         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25613         __builtin_fmaf instead of relying on contraction of a * b + c.
25615 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25617         [BZ #17969]
25618         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25619         node.
25621 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25623         [BZ #17964]
25624         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25625         __builtin_fma instead of relying on contraction of a * b + c.
25627 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25629         * Makeconfig (ASFLAGS): Add -Werror=undef.
25630         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25631         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25632         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25634         * Makeconfig (after-link): New variable.
25635         (+link-pie, +link-pie-tests): Use it.
25636         (+link-static, +link-static-tests): Likewise.
25637         (+link, +link-tests): Likewise.
25638         * Makerules (build-module, build-module-asneeded): Likewise.
25639         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25640         Likewise.
25641         * elf/Makefile ($(objpfx)ld.so): Likewise.
25643 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25645         [BZ #17965]
25646         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25647         both struct timeval and struct timespec.
25649 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25651         [BZ #16560]
25652         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25653         and redefine.
25654         (__ieee754_exp2l): Do not multiply small fractional parts by
25655         M_LN2l.
25656         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25657         small argument.
25658         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25659         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25660         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25661         * math/auto-libm-test-in: Add more tests of exp2.
25662         * math/auto-libm-test-out: Regenerated.
25664 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25666         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25667         unaligned path.
25669 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25671         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25672         little endian.
25674 2015-02-12  Andreas Schwab  <schwab@suse.de>
25676         [BZ #15790]
25677         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25678         Filter out elision flags from value returned in kind.
25679         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25680         * nptl/tst-pthread-mutexattr.c: New file.
25682 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25684         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25685         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25686         into gnu-gnu, and update comment to refer to abi-tags.
25688 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25690         [BZ #15467]
25691         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25692         (__sincos): Set errno to EDOM for infinite argument.
25693         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25694         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25695         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25696         (__sincosl): Set errno to EDOM for infinite argument.
25697         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25698         (__sincosl): Set errno to EDOM for infinite argument.
25699         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25700         (__sincosl): Set errno to EDOM for infinite argument.
25701         * math/libm-test.inc (sincos_test_data): Test errno setting.
25703 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25705         * string/strxfrm_l.c: Remove #define STRCMP.
25706         * string/strcoll_l.c: Remove #define STRLEN.
25707         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25708         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25710 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25712         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25713         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25714         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25715         * sysdeps/mips/mips64/Makefile: ... here.
25716         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25717         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25718         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25719         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25720         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25721         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25722         * sysdeps/mips/mips64/n64/Implies: Likewise.
25724 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25726         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25727         <sys/time.h>, <string.h>, and <errno.h>.
25728         (dest_offset, dest_address, value, zero): Remove unused variables.
25729         (ldouble): Remove typedef.
25730         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25731         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25732         1).  Fix code style.
25733         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25734         (check): Function removed.
25735         (CHECK): New macro.
25736         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25737         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25738         Don't call set_sigaction_FP and remove_sigaction_FP here.
25739         (ldouble_test): Just use 'long double' as macro argument, no need for
25740         the 'ldouble' typedef.
25741         (do_test): Set up SIGFPE handler at start, using plain signal rather
25742         than sigaction.  Fix code style.
25744 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25746         [BZ #17949]
25747         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25748         jump label.
25750 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25752         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25753         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25755         * sysdeps/powerpc/configure.ac: Remove file.
25756         * sysdeps/powerpc/configure: Likewise.
25758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25759         [sysdep_routines]: Remove wordcopy-power6 object.
25760         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25761         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25762         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25763         (__memmove_ppc32): Likewise.
25764         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25765         file.
25766         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25768         Remove preprocessor.
25770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25771         [sysdep_routines]: Remove wide chars objects.
25772         [wcsmbs]: New rule for wide char objects.
25774         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25775         Remove wordcopy-power6 obejct.
25776         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25777         Use local call for wordcopy and memcpy symbols.
25778         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25779         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25780         implementation for loader.
25781         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25783         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25784         Remove wordcopy-power7 object.
25785         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25787         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25788         (_wordcopy_fwd_dest_aligned): Likewise.
25789         (_wordcopy_bwd_aligned): Likewise.
25790         (_wordcopy_bwd_dest_aligned): Likewise.
25792         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25793         Rewrite to call __memmove_ppc instead of include default
25794         implementation.
25796         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25797         Remove wide chars objects.
25798         [wcsmbs]: New rule for wide char objects.
25800 2015-02-09  Andreas Schwab  <schwab@suse.de>
25802         [BZ #17912]
25803         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25804         in terms of __O_DIRECTORY.
25806 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25808         * time/getdate.c: Include <stdbool.h>.
25809         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25810         call PTR_MANGLE.
25811         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25812         PTR_DEMANGLE.
25814 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25816         Add ersatz _Static_assert on older C hosts
25817         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25818         pre-C11 C platform that is not known to support _Static_assert.
25820 2015-02-07  Richard Braun  <rbraun@sceen.net>
25822         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25823         sigstate.
25824         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25826 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25828         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25829         priority against unexistent AIO_PRIO_DELTA_MAX.
25830         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25831         instead of int.
25832         * misc/fchflags.c (fchflags): Likewise.
25833         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25834         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25835         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25836         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25837         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25838         Declare macros.
25839         [__USE_MISC] (chflags, fchflags): Declare functions.
25840         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25841         EINVAL when nfds is greater than FD_SETSIZE.
25842         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25843         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25844         45.
25845         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25846         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25847         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25848         MACH_RCV_TIMED_OUT.
25849         * hurd/hurd/signal.h (_hurd_self_sigstate,
25850         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25851         Explicit casts from void *.
25852         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25853         * abi-tags: Rename gnu-gnu os into gnu.
25855         [BZ #4719]
25856         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25857         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25858         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25859         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25860         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25861         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25863         [BZ #17944]
25864         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25865         duplicates ADDR->sun_path with sockaddr LEN limitation.
25866         * sysdeps/mach/hurd/connect.c: Include <string.h>
25867         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25868         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25869         * sysdeps/mach/hurd/sendto.c: Likewise.
25870         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25871         implementing it by hand.
25873 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25875         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25876         Use sfi_breg on ldr.
25877         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25878         Likewise.
25880         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25881         it's defined.
25882         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25883         Test SIGSETXID only if it's defined.
25885         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25887         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25888         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25890         * nptl/tst-align2.c: Moved ...
25891         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25892         * nptl/Makefile (tests): Remove tst-align2.
25893         * sysdeps/unix/sysv/linux/Makefile
25894         [$(subdir) = nptl] (tests): Add tst-align-clone.
25895         * nptl/tst-getpid1.c: Moved ...
25896         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25897         * nptl/tst-getpid2.c: Moved ...
25898         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25899         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25900         * sysdeps/unix/sysv/linux/Makefile
25901         [$(subdir) = nptl] (tests): ... here.
25902         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25903         * sysdeps/unix/sysv/linux/Makefile
25904         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25906         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25907         Drop trailing \n from perror argument.  Use return rather than exit.
25909         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25910         on [SA_SIGINFO].
25911         * nptl/tst-cancel21.c (do_test): Likewise.
25912         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25913         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25914         [!SA_SIGINFO]: Make it a stub test.
25916         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25917         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25919         * posix/tst-getlogin.c: Move to ...
25920         * login/tst-getlogin.c: ... here.
25921         * posix/Makefile (tests): Move tst-getlogin to ...
25922         * login/Makefile (tests): ... here.
25924         * libio/tst-atime.c (do_test): Move local variables SV and E
25925         inside [ST_NOATIME] conditional.
25927         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25929         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25931         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25932         (wait_code): New function replaces macro.
25933         Call nanosleep rather than syscall.
25935         * nptl/pt-system.c: Rewritten.  Put everything under
25936         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25937         Use IFUNC to redirect when possible.
25939         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25940         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25941         Use IFUNC to redirect when possible.
25943         * nptl/pt-fork.c: Rewritten.  Put everything under
25944         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25945         Use IFUNC to redirect when possible.
25946         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25948         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25949         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25950         unconditionally nowadays.  This included the only reference to
25951         __vdso_clock_gettime that appears outside libc proper.
25952         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25953         Remove version set (containing only __vdso_clock_gettime).
25954         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25955         Add attribute_hidden.
25956         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25957         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25958         libc_hidden_data_def.
25959         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25960         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25962         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25963         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25964         setrpcent, and getrpcport to ...
25965         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25966         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25967         getrpcbynumber_r, and getrpcent_r to ...
25968         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25969         * inet/getrpcbyname.c: Moved ...
25970         * sunrpc/getrpcbyname.c: ... here.
25971         * inet/getrpcbyname_r.c: Moved ...
25972         * sunrpc/getrpcbyname_r.c: ... here.
25973         * inet/getrpcbynumber.c: Moved ...
25974         * sunrpc/getrpcbynumber.c: ... here.
25975         * inet/getrpcbynumber_r.c: Moved ...
25976         * sunrpc/getrpcbynumber_r.c: ... here.
25977         * inet/getrpcent.c: Moved ...
25978         * sunrpc/getrpcent.c: ... here.
25979         * inet/getrpcent_r.c: Moved ...
25980         * sunrpc/getrpcent_r.c: ... here.
25981         * inet/Makefile (routines): Move those to ...
25982         * sunrpc/Makefile (routines): ... here.
25983         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25984         the $(subdirs) list.
25985         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25986         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25987         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25988         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25990         * elf/Makefile (routines): Include $(all-dl-routines), not just
25991         $(dl-routines).
25992         (rtld-routines): Likewise.  Use = rather than :=.
25993         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25994         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25995         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25996         * sysdeps/arm/Makefile: Likewise.
25997         * sysdeps/i386/Makefile: Likewise.
25998         * sysdeps/x86_64/Makefile: Likewise.
25999         * sysdeps/hppa/Makefile [$(subdir) = elf]
26000         (sysdep_routines, sysdep-rtld-routines): Don't add
26001         $(sysdep-dl-routines) to these.
26002         * sysdeps/ia64/Makefile: Likewise.
26003         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26004         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26005         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26006         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26007         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26008         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26009         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26010         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26011         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26012         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26013         these; sysdep-dl-routines alone is enough.
26015 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26017         [BZ #17932]
26018         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26019         where multiplication results in zero and third argument is finite
26020         and nonzero.
26021         * math/auto-libm-test-in: Add more tests of fma.
26022         * math/auto-libm-test-out: Regenerated.
26024         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26025         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26026         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26027         (_FP_CMP_EQ): Likewise.
26028         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26030         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26031         extra argument CHECK_NAN.  Redefine as wrapper around
26032         _FP_EXTEND_CNAN.
26034 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26036         * version.h (RELEASE): Set to "stable".
26037         (VERSION): Set to "2.21"
26038         * include/features.h (__GLIBC_MINOR__): Set to 21.
26040         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26042 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26043             Paul Eggert  <eggert@cs.ucla.edu>
26045         [BZ #16618]
26046         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26047         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26048         size in bytes. Store needed elements in wpmax. Use needed size
26049         in bytes for extend_alloca.
26051 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26053         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26054         binutls 2.25, and texinfo 5.2.
26055         * INSTALL: Regenerate.
26056         * sysdeps/nios2/configure: Regenerate.
26057         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26058         * manual/contrib.texi: Update.
26059         * po/be.po: Update.
26060         * po/bg.po: Update.
26061         * po/ca.po: Update.
26062         * po/cs.po: Update.
26063         * po/da.po: Update.
26064         * po/de.po: Update.
26065         * po/el.po: Update.
26066         * po/eo.po: Update.
26067         * po/es.po: Update.
26068         * po/fi.po: Update.
26069         * po/fr.po: Update.
26070         * po/gl.po: Update.
26071         * po/hr.po: Update.
26072         * po/hu.po: Update.
26073         * po/ia.po: Update.
26074         * po/id.po: Update.
26075         * po/it.po: Update.
26076         * po/ja.po: Update.
26077         * po/ko.po: Update.
26078         * po/lt.po: Update.
26079         * po/nb.po: Update.
26080         * po/nl.po: Update.
26081         * po/pl.po: Update.
26082         * po/pt_BR.po: Update.
26083         * po/ru.po: Update.
26084         * po/rw.po: Update.
26085         * po/sk.po: Update.
26086         * po/sl.po: Update.
26087         * po/sv.po: Update.
26088         * po/tr.po: Update.
26089         * po/uk.po: Update.
26090         * po/vi.po: Update.
26091         * po/zh_CN.po: Update.
26092         * po/zh_TW.po: Update.
26094         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26095         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26096         * sysdeps/hppa/dl-irel.h: Remove #warning.
26097         * sysdeps/hppa/entry.h: Provide prototype for
26098         __canonicalize_funcptr_for_compare and cast argument.
26099         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26100         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26101         * sysdeps/hppa/sotruss-lib.c: New file.
26102         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26103         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26104         (atomic_compare_and_exchange_bool_acq): Likewise.
26105         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26106         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26108         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26109         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26110         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26112 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26114         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26115         called function in non-PIC case.
26117 2015-01-31  David S. Miller  <davem@davemloft.net>
26119         * sysdeps/sparc/sparc32/bits/atomic.h
26120         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26121         unlock not after it.
26122         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26123         volatile register usage warnings from the compiler.
26125         * sysdeps/sparc/nptl/sem_init.c: Delete.
26126         * sysdeps/sparc/nptl/sem_post.c: Delete.
26127         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26128         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26129         * sysdeps/sparc/sparc32/sem_init.c: New file.
26130         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26131         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26132         padding explicitly initialized.
26133         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26134         padding for in-semaphore spinlock.
26135         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26136         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26137         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26138         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26139         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26140         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26141         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26142         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26143         version.
26144         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26145         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26147 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26149         [BZ #17801]
26150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26151         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26152         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26153         New.
26154         (index_AVX_Fast_Unaligned_Load): Likewise.
26155         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26156         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26157         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26158         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26159         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26160         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26161         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26162         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26163         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26165 2015-01-29  Andreas Schwab  <schwab@suse.de>
26167         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26169 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26171         [BZ #17892]
26172         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26174 2015-01-28  Martin Sebor  <msebor@redhat.com>
26176         * math/README.libm-test: Clarify. Add "How to read the test output."
26178 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26180         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26181         Define to 0.
26183 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26185         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26186         (__HAVE_64B_ATOMICS): Define to 0.
26188 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26190         [BZ #17885]
26191         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26192         value to set as new flag.
26194         [BZ #16576]
26195         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26196         and use _ARCH_PPCSQ instead.
26197         (__ieee754_sqrt): Likewise.
26198         (__ieee754_sqrtf): Likewise.
26199         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26200         _ARCH_PPCSQ is defined.
26201         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26202         fsqrt instruction.
26203         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26204         _ARCH_PPCSQ is defined.
26205         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26206         fsqrts instruction.
26207         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26209 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26211         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26212         bug (GCC BZ #64739).
26214 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26216         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26217         Mark _retval as used.
26218         (lll_futex_wake_unlock): Likewise.
26219         (lll_futex_timed_wait_requeue_pi): Likewise.
26221         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26222         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26223         register variables.
26225         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26226         libm_hidden_def.
26228         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26229         (__bswap_64): Mark as __always_inline.
26231 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26233         [BZ #15378]
26234         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26235         when none of the search directories exist.
26237 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26239         [BZ #17869]
26240         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26241         power8 in .machine directive.
26243         [BZ #17868]
26244         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26245         set dependency from opd value.
26247 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26250         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26251         architecture.
26253 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26255         [BZ #17870]
26256         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26257         with uint64_t.
26258         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26259         (uint64_t) 1.
26260         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26261         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26262         Replace 1UL with (uint64_t) 1.
26263         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26264         int with uint64_t.
26266 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26268         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26269         (if_freenameindex): Likewise.
26271         * resource/getrlimit64.c: Add missing libc_hidden_def.
26273 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26275         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26276         __label__.
26277         (_FP_FMA): Likewise.
26278         (_FP_TO_INT_ROUND): Likewise.
26279         (_FP_FROM_INT): Likewise.
26281 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26283         [BZ #16418]
26284         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26285         Make code racy and cancel safe.
26287 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26289         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26290         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26291         attribution.
26293         * pwd/tst-getpw.c: Rewrite.
26295         [BZ #17702]
26296         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26297         (modules-names): Add moddummy1 and moddummy2.
26298         ($(objpfx)tst-rec-dlopen): Define.
26299         * dlfcn/moddummy1.c: New file.
26300         * dlfcn/moddummy2.c: New file.
26301         * dlfcn/tst-rec-dlopen.c: New file.
26302         * elf/dl-cache.c (_dl_load_cache_lookup):
26303         Return char*. Copy result with alloca/strcpy/strdup.
26304         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26305         returns char*. Free cached. If not saving realname
26306         free cached.
26307         * elf/dl-open.c (dl_open_worker): Do not assert that
26308         _r_debug->r_state is RT_CONSISTENT.
26309         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26310         returns char*.
26312 2015-01-21  Torvald Riegel  <triegel@redhat.com>
26313             Carlos O'Donell  <carlos@redhat.com>
26315         [BZ #12674]
26316         * nptl/sem_waitcommon.c: New file.
26317         * nptl/sem_wait.c: Include sem_waitcommon.c.
26318         (__sem_wait_cleanup, do_futex_wait): Remove.
26319         (__new_sem_wait): Adapt.
26320         (__new_sem_trywait): New function.
26321         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26322         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26323         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26324         (sem_timedwait): Adapt.
26325         * nptl/sem_post.c (__new_sem_post): Adapt.
26326         (futex_wake): New function.
26327         (__old_sem_post): Add release MO fence.
26328         * nptl/sem_open.c (sem_open): Adapt.
26329         * nptl/sem_init.c (__new_sem_init): Adapt.
26330         (futex_private_if_supported): New function.
26331         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26332         (__old_sem_getvalue): Add using previous code.
26333         * sysdeps/nptl/internaltypes.h: Adapt.
26334         * nptl/tst-sem13.c (do_test): Adapt.
26335         * nptl/tst-sem11.c (main): Adapt.
26336         * nptl/sem_trywait.c: Remove.
26337         * nptl/DESIGN-sem.txt: Remove.
26338         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26339         (gen-as-const-headers): Remove structsem.sym.
26340         * nptl/structsem.sym: Remove.
26341         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26342         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26343         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26344         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26345         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26346         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26347         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26348         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26349         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26350         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26351         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26352         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26353         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26354         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26355         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26356         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26357         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26358         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26359         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26360         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26361         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26362         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26364 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
26366         * INSTALL: Regenerated.
26368         * po/libc.pot: Regenerated.
26370 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
26371             Sandra Loosemore  <sandra@codesourcery.com>
26372             Andrew Jenner  <andrew@codesourcery.com>
26373             Joseph Myers  <joseph@codesourcery.com>
26374             Nathan Sidwell  <nathan@codesourcery.com>
26376         * NEWS: Mention new Nios II port.
26377         * sysdeps/nios2/Implies: New file.
26378         * sysdeps/nios2/Makefile: New file.
26379         * sysdeps/nios2/Subdirs: New file.
26380         * sysdeps/nios2/Versions: New file.
26381         * sysdeps/nios2/__longjmp.S: New file.
26382         * sysdeps/nios2/abort-instr.h: New file.
26383         * sysdeps/nios2/backtrace.c: New file.
26384         * sysdeps/nios2/bits/endian.h: New file.
26385         * sysdeps/nios2/bits/fenv.h: New file.
26386         * sysdeps/nios2/bits/link.h: New file.
26387         * sysdeps/nios2/bits/setjmp.h: New file.
26388         * sysdeps/nios2/bsd-_setjmp.S: New file.
26389         * sysdeps/nios2/bsd-setjmp.S: New file.
26390         * sysdeps/nios2/configure: New generated file.
26391         * sysdeps/nios2/configure.ac: New file.
26392         * sysdeps/nios2/crti.S: New file.
26393         * sysdeps/nios2/crtn.S: New file.
26394         * sysdeps/nios2/dl-init.c: New file.
26395         * sysdeps/nios2/dl-machine.h: New file.
26396         * sysdeps/nios2/dl-sysdep.h: New file.
26397         * sysdeps/nios2/dl-tls.h: New file.
26398         * sysdeps/nios2/dl-trampoline.S: New file.
26399         * sysdeps/nios2/gccframe.h: New file.
26400         * sysdeps/nios2/gmp-mparam.h: New file.
26401         * sysdeps/nios2/jmpbuf-offsets.h: New file.
26402         * sysdeps/nios2/jmpbuf-unwind.h: New file.
26403         * sysdeps/nios2/ldsodefs.h: New file.
26404         * sysdeps/nios2/libc-tls.c: New file.
26405         * sysdeps/nios2/libm-test-ulps: New file.
26406         * sysdeps/nios2/machine-gmon.h: New file.
26407         * sysdeps/nios2/math-tests.h: New file.
26408         * sysdeps/nios2/math_private.h: New file.
26409         * sysdeps/nios2/memusage.h: New file.
26410         * sysdeps/nios2/nptl/Makefile: New file.
26411         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26412         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26413         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26414         * sysdeps/nios2/nptl/pthreaddef.h: New file.
26415         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26416         * sysdeps/nios2/nptl/tls.h: New file.
26417         * sysdeps/nios2/preconfigure: New file.
26418         * sysdeps/nios2/s_fma.c: New file.
26419         * sysdeps/nios2/s_fmaf.c: New file.
26420         * sysdeps/nios2/setjmp.S: New file.
26421         * sysdeps/nios2/sfp-machine.h: New file.
26422         * sysdeps/nios2/sotruss-lib.c: New file.
26423         * sysdeps/nios2/stackguard-macros.h: New file.
26424         * sysdeps/nios2/stackinfo.h: New file.
26425         * sysdeps/nios2/start.S: New file.
26426         * sysdeps/nios2/sysdep.h: New file.
26427         * sysdeps/nios2/tls-macros.h: New file.
26428         * sysdeps/nios2/tst-audit.h: New file.
26429         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26430         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26431         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26432         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26433         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26434         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26435         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26436         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26437         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26438         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26439         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26440         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26441         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26442         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26443         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26444         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26445         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26446         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26447         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26448         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26449         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26450         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26451         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26452         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26453         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26454         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26455         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26456         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26457         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26458         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26459         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26460         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26461         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26462         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26463         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26464         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26465         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26466         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26467         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26468         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26469         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26470         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26471         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26472         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26474 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26476         [BZ #17844]
26477         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26478         (getutent): Use weak_alias in non SHARED case
26479         and default_symbol_version in SHARED case.
26480         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26481         (getutent_r, pututline): Likewise.
26482         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26483         (getutid): Likewise.
26484         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26485         (getutid_r): Likewise.
26486         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26487         (getutline): Likewise.
26488         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26489         (getutline_r): Likewise.
26490         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26491         (updwtmp): Likewise.
26493 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26495         [BZ #17848]
26496         * sysdeps/s390/s390-32/memcmp.S
26497         (memcmp_g5): Rename to __memcmp_g5.
26498         * sysdeps/s390/s390-32/memcpy.S
26499         (memcpy_g5): Rename to __memcpy_g5.
26500         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26501         (memcpy_mvcle) Rename to __memcpy_mvcle.
26502         * sysdeps/s390/s390-32/memset.S
26503         (memset_g5): Rename to __memset_g5.
26504         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26505         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26506         and use prefixed functions.
26507         * sysdeps/s390/s390-32/multiarch/memcmp.S
26508         (memcmp_z196): Rename to __memcmp_z196.
26509         (memcmp_z10): Rename to __memcmp_z10.
26510         (memcmp): Set alias to __memcmp_g5.
26511         (bcmp): Set alias to __memcmp_g5.
26512         * sysdeps/s390/s390-32/multiarch/memcpy.S
26513         (memcpy_z196): Rename to __memcpy_z196.
26514         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26515         (memcpy_z10): Rename to __memcpy_z10.
26516         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26517         (memcpy): Set alias to __memcpy_g5.
26518         * sysdeps/s390/s390-32/multiarch/memset.S
26519         (memset_z196): Rename to __memset_z196.
26520         Jump to __memset_mvcle instead of memset_mvcle.
26521         (memset_z10): Rename to __memset_z10.
26522         Jump to __memset_mvcle instead of memset_mvcle.
26523         (memset_mvcle) Rename to __memset_mvcle.
26524         (memset): Set alias to __memset_g5.
26525         * sysdeps/s390/s390-64/memcmp.S
26526         (memcmp_z900): Rename to __memcmp_z900.
26527         * sysdeps/s390/s390-64/memcpy.S
26528         (memcpy_z900): Rename to __memcpy_z900.
26529         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26530         (memcpy_mvcle) Rename to __memcpy_mvcle.
26531         * sysdeps/s390/s390-64/memset.S
26532         (memset_z900): Rename to __memset_z900.
26533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26534         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26535         and use prefixed functions.
26536         * sysdeps/s390/s390-64/multiarch/memcmp.S
26537         (memcmp_z196): Rename to __memcmp_z196.
26538         (memcmp_z10): Rename to __memcmp_z10.
26539         (memcmp): Set alias to __memcmp_z900.
26540         (bcmp): Set alias to __memcmp_z900.
26541         * sysdeps/s390/s390-64/multiarch/memcpy.S
26542         (memcpy_z196): Rename to __memcpy_z196.
26543         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26544         (memcpy_z10): Rename to __memcpy_z10.
26545         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26546         (memcpy): Set alias to __memcpy_z900.
26547         * sysdeps/s390/s390-64/multiarch/memset.S
26548         (memset_z196): Rename to __memset_z196.
26549         Jump to __memset_mvcle instead of memset_mvcle.
26550         (memset_z10): Rename to __memset_z10.
26551         Jump to __memset_mvcle instead of memset_mvcle.
26552         (memset_mvcle) Rename to __memset_mvcle.
26553         (memset): Set alias to __memset_z900.
26555 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26557         [BZ #17748]
26558         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26559         __fesetenv instead of fesetenv.
26561 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26563         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26564         macro.
26566 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26568         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26569         regression on LE.
26571         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26572         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26573         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26574         strncmp-power8 object.
26575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26576         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26577         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26578         * NEWS: Update.
26580 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26581             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26583         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26584         trailing byte check.
26586 2015-01-13  David S. Miller  <davem@davemloft.net>
26588         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26590 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26592         * login/logout.c (logout): Use memset rather than bzero.
26593         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26594         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26595         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26596         (_gethtbyaddr): Likewise.
26597         * locale/programs/simple-hash.c (bcopy): Macro removed.
26599 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26601         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26602         Add strcmp-power8 object.
26603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26604         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26605         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26606         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26607         __strcmp_power8 implementation.
26608         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26609         * NEWS: Update.
26611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26612         Add strncpy-power8 and stpncpy-power8 objects.
26613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26614         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26615         implementations.
26616         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26617         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26618         __stpncpy_power8 implementation.
26619         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26620         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26621         __strncpy_power8 implementation.
26622         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26623         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26624         * NEWS: Update.
26626         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26627         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26628         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26631         strncat-power8 object.
26632         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26633         __strcat_power8 implementation.
26634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26635         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26636         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26637         optimized strcat for power8.
26639         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26640         strcpy-power8 and stpcpy-power8 objects.
26641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26642         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26643         implementations.
26644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26645         multiarch stpcpy implementation for POWER8.
26646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26647         multiarch strcpy implementation for POWER8.
26648         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26649         __strcpy_power8 function.
26650         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26651         stpcpy for POWER8.
26652         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26653         strcpy for POWER8.
26654         * NEWS: Update.
26656 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26658         [BZ #16009]
26659         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26660         weights and rules. Use do_xfrm_cached if data fits in cache,
26661         do_xfrm otherwise.  Moved former main loop to...
26662         * (do_xfrm_cached): New function.
26663         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26664         find_idx, find_position and stack_push.
26665         * (find_idx): New function.
26666         * (find_position): Likewise.
26667         * localedata/sort-test.sh: Added test run for do_xfrm.
26668         * localedata/xfrm-test.c (main): Added command line option
26669         -nocache to run the test with strings that are too large for
26670         the STRXFRM cache.
26672 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26674         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26675         variable to lll_futex_wake call, not the value itself.
26677 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26679         [BZ #17803]
26680         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26681         twom64.  Adjust value to 0x1p-64L.
26682         (__scalblnl): Only return standard underflowing result for K <=
26683         -64 not K <= -63; adjust exponent for underflowing result by 64
26684         not 63.
26685         * math/libm-test.inc (scalbn_test_data): Add more tests.
26686         (scalbln_test_data): Likewise.
26688         [BZ #17834]
26689         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26690         0x1p63L.
26691         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26692         not HX.
26693         * math/libm-test.inc (scalbn_test_data): Add more tests.
26694         (scalbln_test_data): Likewise.
26696 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26697             Stefani Seibold  <stefani@seibold.net>
26699         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26700         (sysdep_routines): Add dl-vdso here, ...
26701         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26702         (sysdep_routines): ... not here.
26703         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26704         fallback when vDSO is not presented.
26705         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26706         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26707         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26708         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26709         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26710         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26711         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26712         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26713         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26714         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26715         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26716         fallback configurable symbol when vDSO is not available.
26717         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26718         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26719         be able to redefine fallback symbol when vDSO is not available.
26720         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26721         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26723 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26725         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26726         (TLS_INIT_TP): Add tm_capable initialization.
26727         (TLS_DEFINE_INIT_TP): Likewise.
26728         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26729         TCB.
26730         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26731         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26732         calculation.
26733         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26734         transactoion is lock elision is built and TCB tm_capable is set.
26735         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26737         (INTERNAL_SYSCALL_NCS): Likewise.
26738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26739         (INTERNAL_SYSCALL_NCS): Likewise.
26740         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26742         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26743         for powerpc.
26744         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26745         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26746         and remove it for 32 bits case.
26747         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26748         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26749         initialization.
26750         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26751         Disable lock elision with rdlocks if elision is not available.
26753         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26754         (sysdep_routines): Add lock elision objects.
26755         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26756         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26757         [pthread_mutex_t] (__elision): Add field.
26758         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26759         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26760         elision definitions for powerpc.
26761         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26762         implementation of lock elision for powerpc.
26763         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26764         implementation of timed lock elision for powerpc.
26765         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26766         implementation of trylock with lock elision for powerpc.
26767         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26768         implementaion of unlock for lock elision for powerpc.
26769         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26770         automatic enable lock elision for mutexes.
26771         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26772         transaction execution definitions for powerpc.
26773         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26774         definitions.
26775         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26776         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26777         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26778         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26779         * NEWS: Update.
26781 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26783         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26784         for #include of <shm-directory.h>.
26786 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26789         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26791 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26793         [BZ #17791]
26794         * NEWS: Mention bug fix.
26795         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26796         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26797         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26799 2015-01-09  Torvald Riegel <triegel@redhat.com>
26801         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26803 2015-01-09  Torvald Riegel <triegel@redhat.com>
26805         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26807 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26809         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26810         pointer and cast to uintptr_t.
26812 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26814         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26815         removed.
26816         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26818 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26820         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26821         of 0.
26823 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26825         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26826         <nptl/pthreadP.h> instead.
26827         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26829         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26830         already defined.
26831         [__SIGRTMIN] (init): Function removed.
26832         [__SIGRTMIN] (initialized): Variable removed.
26833         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26834         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26835         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26836         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26837         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26838         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26839         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26840         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26841         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26842         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26843         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26844         * sysdeps/nptl/allocrtsig.c: New file.
26845         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26846         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26847         * sysdeps/generic/testrtsig.h: File removed.
26849         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26850         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26852         * nptl/nptl-init.c (pthread_functions): Conditionalize
26853         .ptr__nptl_setxid initialization on [SIGSETXID].
26855         * sysdeps/nptl/sys/procfs.h: New file.
26856         * nptl_db/Makefile (headers): Add it.
26857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26859         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26860         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26861         * nptl/pthread_attr_setaffinity.c: Include it.
26862         * nptl/pthread_setattr_default_np.c: Likewise.
26863         * nptl/check-cpuset.h: New file.
26865 2015-01-08  Richard Henderson  <rth@redhat.com>
26867         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26868         (CFLAGS-tst-execstack-prog.c): Likewise.
26869         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26871 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26872             Sandra Loosemore  <sandra@codesourcery.com>
26873             Andrew Jenner  <andrew@codesourcery.com>
26874             Joseph Myers  <joseph@codesourcery.com>
26875             Nathan Sidwell  <nathan@codesourcery.com>
26877         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26878         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26879         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26880         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26881         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26882         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26883         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26884         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26885         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26886         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26887         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26888         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26889         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26890         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26891         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26892         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26893         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26895 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26897         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26898         timespec struct member in syscall macro.
26899         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26900         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26901         first timeval struct member in syscall macro.
26902         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26904 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26906         [BZ #17748]
26907         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26908         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26909         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26910         __feupdateenv and define as weak alias of __feupdateenv.  Use
26911         libm_hidden_weak.
26912         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26913         libm_hidden_def.
26914         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26915         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26916         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26917         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26918         libm_hidden_def.
26919         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26920         __feupdateenv and define as weak alias of __feupdateenv.  Use
26921         libm_hidden_weak.
26922         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26923         libm_hidden_def.
26924         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26925         __feupdateenv and define as weak alias of __feupdateenv.  Use
26926         libm_hidden_weak.
26927         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26928         libm_hidden_def.
26929         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26930         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26931         (__feupdateenv): Likewise.
26932         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26933         __feupdateenv and define as weak alias of __feupdateenv.  Use
26934         libm_hidden_weak.
26935         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26936         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26937         libm_hidden_def.
26938         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26939         function.
26940         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26941         libm_hidden_def.
26942         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26943         __feupdateenv instead of feupdateenv.
26944         (default_libc_feupdateenv_test): Likewise.
26945         (libc_feresetround_ctx): Likewise.
26947 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26949         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26950         prototype.
26952 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26954         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26955         COLL_SYM in a couple of places to avoid uninitialized variable
26956         wanings on tilegx gcc 4.8.2.
26958 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26960         * sysdeps/aarch64/strcpy.S: New file.
26961         * sysdeps/aarch64/stpcpy.S: New file.
26962         * NEWS: Updated.
26964 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26966         * sysdeps/aarch64/strrchr.S: New file.
26967         * NEWS: Updated.
26969 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26971         [BZ #17658]
26972         * stdlib/setenv.c: Fix memory leak when setting large,
26973         duplicate string.
26975 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26977         [BZ #17273]
26978         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26979         and tabs from buffer before parsing fstab entry.
26980         * misc/tst-mntent.c (main): Add test for mount entry with
26981         trailing spaces and tabs.
26983 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26985         [BZ #17748]
26986         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26987         * math/fesetround.c (fesetround): Rename to __fesetround and
26988         define as weak alias of __fesetround.  Use libm_hidden_weak.
26989         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26990         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26991         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26992         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26993         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26994         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26995         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26996         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26997         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26998         __fesetround_inline.
26999         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27000         __fesetround_inline instead of __fesetround.
27001         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27002         __fesetround and define as weak alias of __fesetround.  Use
27003         libm_hidden_weak.  Call __fesetround_inline instead of
27004         __fesetround.
27005         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27006         __fesetround and define as weak alias of __fesetround.  Use
27007         libm_hidden_weak.
27008         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27009         Likewise.
27010         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27011         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27012         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27013         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27014         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27015         __fesetround and define as weak alias of __fesetround.  Use
27016         libm_hidden_weak.
27017         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27018         __fesetround instead of fesetround.
27019         (default_libc_feholdexcept_setround): Likewise.
27020         (libc_feholdsetround_ctx): Likewise.
27021         (libc_feholdsetround_noex_ctx): Likewise.
27023         [BZ #17748]
27024         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27025         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27026         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27027         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27028         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27029         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27030         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27031         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27032         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27033         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27034         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27035         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27036         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27037         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27038         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27039         libm_hidden_def.
27040         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27041         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27042         Likewise.
27043         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27044         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27045         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27046         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27047         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27048         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27049         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27050         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27051         __fesetenv instead of fesetenv.
27052         (libc_feresetround_noex_ctx): Likewise.
27053         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27054         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27055         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27056         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27057         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27058         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27059         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27060         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27061         (__feupdateenv): Likewise.
27062         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27063         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27064         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27065         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27067 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27069         [BZ #17806]
27070         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27071         addresses have been freed.
27073 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27075         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27076         and nservall.
27078 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27080         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27081         Clean up check_pf allocation pattern. addresses
27083 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27085         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27086         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27087         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27088         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27089         * nptl/pthread_join.c (pthread_join): Likewise.
27090         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27091         * sysdeps/posix/waitid.c (__waitid): Likewise.
27092         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27093         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27094         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27095         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27096         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27097         Likewise.
27098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27099         (__libc_pread64): Likewise.
27100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27101         (__libc_pwrite): Likewise.
27102         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27103         (__libc_pwrite64): Likewsie.
27104         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27105         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27106         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27107         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27108         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27109         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27110         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27112         Likewise.
27113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27114         (__libc_pread64): Likewise.
27115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27116         Likewise.
27117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27118         (__libc_pwrite64): Likewise.
27119         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27120         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27121         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27122         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27123         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27124         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27125         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27126         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27127         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27128         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27129         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27130         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27131         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27132         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27133         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27134         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27135         Likewise.
27137 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27139         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27140         (CFLAGS-test-double.c): Likewise.
27141         (CFLAGS-test-ldouble.c): Likewise.
27142         (CPPFLAGS-test-ifloat.c): Likewise.
27143         (CPPFLAGS-test-idouble.c): Likewise.
27144         (CPPFLAGS-test-ildoubl.c): Likewise.
27145         (CFLAGS-test-test-fenv.c): Remove variable.
27146         (CFLAGS-test-misc.c): Likewise.
27148 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27150         [BZ #17797]
27151         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27152         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27153         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27154         CLOCKS_PER_SEC == 1000000.
27155         * time/clocktest.c (main): Replace %ld with %jd and cast to
27156         intmax_t.
27158 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27160         * sysdeps/generic/unwind-resume.h: New file.
27161         * sysdeps/gnu/unwind-resume.c: Include it.
27162         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27163         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27164         argument list.
27165         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27166         global rather than static.
27167         (_Unwind_Resume): Update user.
27168         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27169         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27170         rather than static.  Add __attribute__ ((cold)).
27171         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27172         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27173         * sysdeps/arm/arm-unwind-resume.S: New file.
27174         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27175         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27176         * sysdeps/arm/Makefile [$(subdir) = csu]
27177         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27178         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27179         Add rt-arm-unwind-resume.
27180         [$(subdir) = nptl]
27181         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27182         Add pt-arm-unwind-resume.
27183         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27184         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27186 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27188         [BZ #17748]
27189         * include/fenv.h (__feholdexcept): Declare.  Use
27190         libm_hidden_proto.
27191         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27192         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27193         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27194         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27195         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27196         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27197         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27198         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27199         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27200         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27201         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27202         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27203         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27204         (feholdexcept): Likewise.
27205         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27206         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27207         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27208         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27209         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27210         __feholdexcept instead of feholdexcept.
27211         (default_libc_feholdexcept_setround): Likewise.
27213 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27215         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27216         to avoid using stl/str to align destination.
27218 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27220         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27222 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27224         [BZ #17796]
27225         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27226         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27227         Define as weak alias not strong alias.
27229 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27231         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27232         bltzal with addiupc.
27233         (RTLD_START): Ditto.
27235 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27237         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27238         for __vdso_* functions in declarations.
27239         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27240         definitions.
27241         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27242         INTERNAL_VSYSCALL): Use struct return types to check for error.
27244         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27245         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27246         function with cast from llround().
27247         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27248         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27249         Define.
27251 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27253         [BZ #17793]
27254         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27255         Define as weak alias not strong alias.
27257         [BZ #17635]
27258         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27259         ...
27260         * ctype/ctype-extn.c: ... here.
27261         (__isblank_l): Move to ...
27262         * ctype/ctype-c99_l.c: ... here.  New file.
27263         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27264         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27265         Remove variable.
27266         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27267         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27268         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27269         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27270         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27272         [BZ #17777]
27273         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27274         (posix_fadvise64): Define as weak alias not strong alias.
27275         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27276         (posix_fallocate64): Likewise.
27277         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27278         Remove variable.
27279         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27280         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27281         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27282         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27283         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27285 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27287         [BZ #16191]
27288         * NEWS: Mention bug fix.
27289         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27290         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27291         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27292         (HOST_STACK_END_ADDR): Likewise.
27294 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27296         [BZ #17748]
27297         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27298         * math/fegetround.c (fegetround): Rename to __fegetround and
27299         define as weak alias of __fegetround.  Use libm_hidden_weak.
27300         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27301         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27302         * sysdeps/arm/fegetround.c (fegetround): Likewise.
27303         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27304         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27305         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27306         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27307         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27308         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27309         Undefine after rather than before function definition; use
27310         parentheses around function name in definition.
27311         (__fegetround): Also undefine macro after function definition.
27312         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27313         __fegetround and define as weak alias of __fegetround.  Use
27314         libm_hidden_weak.  Do not undefine as macro.
27315         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27316         Likewise.
27317         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27318         __fegetround and define as weak alias of __fegetround.  Use
27319         libm_hidden_weak.
27320         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27321         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27322         * sysdeps/tile/math_private.h (__fegetround): New inline function.
27323         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27324         __fegetround and define as weak alias of __fegetround.  Use
27325         libm_hidden_weak.
27326         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27327         __fegetround instead of fegetround.
27329         [BZ #17782]
27330         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27331         Condition macro definition on [__USE_MISC].
27333         [BZ #17781]
27334         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27335         (struct sigaction): Change type of sa_flags field to int.
27337         [BZ #17780]
27338         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27339         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27340         __glibc_reserved0.
27342         * nptl/version.c (banner): Use single year in copyright notice.
27344         * NEWS: Update copyright dates.
27345         * catgets/gencat.c (print_version): Likewise.
27346         * csu/version.c (banner): Likewise.
27347         * debug/catchsegv.sh: Likewise.
27348         * debug/pcprofiledump.c (print_version): Likewise.
27349         * debug/xtrace.sh (do_version): Likewise.
27350         * elf/ldconfig.c (print_version): Likewise.
27351         * elf/ldd.bash.in: Likewise.
27352         * elf/pldd.c (print_version): Likewise.
27353         * elf/sotruss.sh: Likewise.
27354         * elf/sprof.c (print_version): Likewise.
27355         * iconv/iconv_prog.c (print_version): Likewise.
27356         * iconv/iconvconfig.c (print_version): Likewise.
27357         * locale/programs/locale.c (print_version): Likewise.
27358         * locale/programs/localedef.c (print_version): Likewise.
27359         * login/programs/pt_chown.c (print_version): Likewise.
27360         * malloc/memusage.sh (do_version): Likewise.
27361         * malloc/memusagestat.c (print_version): Likewise.
27362         * malloc/mtrace.pl: Likewise.
27363         * manual/libc.texinfo: Likewise.
27364         * nptl/version.c (banner): Likewise.
27365         * nscd/nscd.c (print_version): Likewise.
27366         * nss/getent.c (print_version): Likewise.
27367         * nss/makedb.c (print_version): Likewise.
27368         * posix/getconf.c (main): Likewise.
27369         * scripts/test-installation.pl: Likewise.
27370         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27372 2015-01-02  Will Newton  <will.newton@linaro.org>
27374         * sysdeps/arm/armv7/configure: Removed.
27375         * sysdeps/arm/armv7/configure.ac: Likewise.
27377 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27379         * All files with FSF copyright notices: Update copyright dates
27380         using scripts/update-copyrights.
27381         * intl/plural.c: Regenerated.
27382         * locale/programs/charmap-kw.h: Likewise.
27383         * locale/programs/locfile-kw.h: Likewise.
27385 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27387         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27389 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #17748]
27392         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27393         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27394         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27395         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27396         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27397         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27398         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27399         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27400         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27401         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27402         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27403         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27404         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27405         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27406         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27407         libm_hidden_def.
27408         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27410         Likewise.
27411         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27412         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27413         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27414         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27415         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27416         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27417         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27418         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27419         __fegetenv instead of fegetenv.
27420         (libc_feholdsetround_noex_ctx): Likewise.
27422 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27424         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27425         (Elf_MIPS_ABIFlags_v0): New structure.
27426         (EF_MIPS_FP64): Define.
27427         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27428         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27429         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27430         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27431         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27432         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27433         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27434         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27435         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27436         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27437         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27438         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27439         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27440         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27441         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27442         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27443         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27444         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27445         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27446         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27447         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27448         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27449         field.
27450         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27451         EF_MIPS_FP64.
27452         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27453         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27454         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27455         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27456         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27457         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27458         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27459         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27460         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27461         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27462         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27463         record the current FP ABI extension.
27464         (mips-mode-switch): Define to show if kernel headers support mode
27465         switching.
27466         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27467         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27468         supported SYSV ABI version to 3.
27469         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27470         feature.
27472 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27473             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27475         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27476         path.
27477         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27479 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27481         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27482         __fegetround and redefine to call __fegetround.  Remove condition
27483         on [!__NO_MATH_INLINES].
27484         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27485         function.
27486         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27487         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27488         Remove macro.
27489         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27490         instead of <fenv_libc.h>.
27491         (__llrintl): Call fegetround instead of __fegetround.
27492         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27493         instead of <fenv_libc.h>.
27494         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27495         (__lrintl): Call fegetround instead of __fegetround.
27496         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27497         instead of <fenv_libc.h>.
27498         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27499         (__rintl): Call fegetround instead of __fegetround.
27501 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27503         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27504         arrays.
27506 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27508         [BZ #17775]
27509         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27510         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27511         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27513 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27515         * sysdeps/i386/tls-macros.h: Include <features.h>.
27516         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27517         (TLS_IE): Likewise.
27518         (TLS_LD): Likewise.
27519         (TLS_GD): Likewise.
27520         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27521         define for GCC >= 5.0.
27523 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27525         * math/test-fenv.c (test_single_exception, set_single_exc,
27526         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27527         feexcp_mask_test, feenable_test, fe_single_test): Add
27528         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27529         case where they are not used.
27530         * math/libm-test.inc: Likewise.
27531         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27532         unused in the absence of FP rounding/exception support.
27533         * stdio-common/tst-printf-round.c: Likewise.
27534         * stdlib/tst-strtod-round.c: Likewise.
27535         * stdlib/tst-strtod-underflow.c: Likewise.
27537 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27539         [BZ #17723]
27540         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27541         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27542         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27543         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27544         libm_hidden_weak.
27545         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27546         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27547         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27548         libm_hidden_def.
27549         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27550         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27551         libm_hidden_weak.
27552         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27553         Likewise.
27554         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27555         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27556         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27557         libm_hidden_weak.
27558         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27559         libm_hidden_def.
27560         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27561         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27562         (__feraiseexcept): Likewise.
27563         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27564         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27565         libm_hidden_weak.
27566         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27567         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27568         libm_hidden_def.
27569         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27570         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27571         Use libm_hidden_def.
27572         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27573         libm_hidden_def.
27574         (feraiseexcept): Define as weak not strong alias.  Use
27575         libm_hidden_weak.
27576         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27577         New inline function.  Factored out of ...
27578         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27579         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27580         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27581         feraiseexcept.
27582         * math/w_acos.c (__acos): Likewise.
27583         * math/w_asin.c (__asin): Likewise.
27584         * math/w_ilogb.c (__ilogb): Likewise.
27585         * math/w_j0.c (y0): Likewise.
27586         * math/w_j1.c (y1): Likewise.
27587         * math/w_jn.c (yn): Likewise.
27588         * math/w_log.c (__log): Likewise.
27589         * math/w_log10.c (__log10): Likewise.
27590         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27591         * sysdeps/aarch64/fpu/math_private.h
27592         (libc_feupdateenv_test_aarch64): Likewise.
27593         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27594         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27595         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27596         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27597         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27598         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27599         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27600         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27601         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27602         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27604 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27606         [BZ #17732]
27607         * io/test-utime.c (main): Replace %ld with %jd and cast to
27608         intmax_t.
27609         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27610         * nptl/tst-mutex5.c: Include <stdint.h>.
27611         (do_test): Replace %ld with %jd and cast to intmax_t.
27612         * posix/tst-regex.c (run_test): Likewise.
27613         (run_test_backwards): Likewise.
27614         * rt/tst-clock.c: Include <stdint.h>.
27615         (clock_test): Replace %ld with %jd and cast to intmax_t.
27616         * rt/tst-cpuclock1.c: Include <stdint.h>.
27617         (do_test): Replace %lu with %ju and cast to uintmax_t.
27618         * rt/tst-cpuclock2.c: Include <stdint.h>.
27619         (do_test): Replace %lu with %ju and cast to uintmax_t.
27620         * rt/tst-mqueue1.c: Include <stdint.h>.
27621         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27622         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27623         intmax_t.
27624         * rt/tst-mqueue4.c (do_test): Likewise.
27625         * rt/tst-timer4.c: Include <stdint.h>.
27626         (check_ts): Replace %ld with %jd and cast to intmax_t.
27627         (do_test): Likewise.
27628         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27629         and cast to intmax_t.
27630         * sysdeps/pthread/tst-timer.c (main): Likewise.
27631         * time/clocktest.c (main): Likewise.
27632         * time/tst-posixtz.c (do_test): Likewise.
27633         * timezone/tst-timezone.c (main): Likewise.
27635 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27636             H.J. Lu  <hongjiu.lu@intel.com>
27638         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27639         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27640         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27641         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27642         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27643         version if bit_Fast_Unaligned_Load is set.
27644         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27645         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27646         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27647         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27648         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27649         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27651         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27652         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27653         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27654         to 4.
27655         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27656         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27657         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27658         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27660 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27662         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27663         instead of #if to avoid a Wundef warning.
27664         * stdlib/tst-limits.c (do_test): Likewise.
27666         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27667         parallel other exception macros.
27668         (fegetenv): Convert from macro to extern inline so that it applies
27669         retroactively to inline functions already seen by the compiler.
27670         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27672         * posix/Makefile (before-compile): Use $(objpfx) for
27673         posix-conf-vars-def.h.
27675 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27677         * posix/getconf.c (main): Use size_t for type of I.
27678         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27679         NSPEC.
27681         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27682         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27683         * posix/posix-envs.def: Likewise.
27684         * sysdeps/posix/sysconf.c: Likewise.
27685         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27686         (specs): Remove array.
27687         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27688         array.
27690         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27691         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27692         (__sysconf): Use CONF_IS_* macros.
27694         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27695         ($(objpfx)posix-conf-vars-def.h): New target.
27696         * posix/posix-conf-vars.list: New file.
27697         * posix/posix-conf-vars.h: New file.
27698         * posix/confstr.c: Include posix-conf-vars.h.
27699         (confstr): Use CONF_IS_* macros.
27700         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27701         CONF_IS_* macros.
27702         * scripts/gen-posix-conf-vars.awk: New file.
27704 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27706         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27707         fegetround): Add no-op macros to avoid linknamespace issues.
27709         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27710         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27712         * sysdeps/unix/sysv/linux/tile/sysdep.h
27713         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27714         assembly-specific section to avoid a redefinition warning.
27716         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27717         long before casting to pointer to avoid a cast warning.
27719 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27721         * sysdeps/tile/tilegx/Implies: New file.
27723 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27725         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27727 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27729         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27731 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27734         not define.
27735         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27736         <kernel-features.h>.
27737         (__utimes) [__NR_utimes]: Make code unconditional.
27738         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27739         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27740         (__ASSUME_UTIMES): Do not undefine.
27741         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27742         (__ASSUME_UTIMES): Likewise.
27743         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27744         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27745         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27746         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27748 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27750         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27752 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27754         [BZ #17747]
27755         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27756         alias to weak alias for j0l, y0l.
27757         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27758         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27760         [BZ #17746]
27761         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27762         conversion.
27764 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27766         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27767         to zero if not already defined.
27769 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27771         [BZ #17724]
27772         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27773         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27774         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27775         (char *) casts added.
27776         * sysdeps/ieee754/k_standardf.c: New file.
27777         * sysdeps/ieee754/k_standardl.c: Likewise.
27778         * math/Makefile (libm-support): Remove k_standard.
27779         (libm-calls): Add k_standard.
27781 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27783         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27784         Optimize to avoid an unnecessary FPCR read.
27786 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27788         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27789         Optimize to reduce FPCR/FPSR accesses.
27791 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27793         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27794         Call libc_fetestexcept_aarch64.
27796 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27798         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27799         Call libc_fesetround_aarch64.
27801 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27803         [BZ #17733]
27804         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27805         (__bind): Do not define as weak alias.
27806         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27807         define.
27808         (__getsockname): Do not define as weak alias.
27810 2014-12-22  Will Newton  <will.newton@linaro.org>
27812         * manual/install.texi: Document that we require bison 2.7
27813         or above.
27814         * INSTALL: Regenerate.
27815         * configure.ac: Use AC_CHECK_PROG_VER instead of
27816         AC_PATH_PROG when checking for bison and check for
27817         version 2.7 or above.
27818         * configure: Regenerate.
27820 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27822         [BZ #17745]
27823         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27824         * sysdeps/tile/ffsll.c (ffsll): To here.
27826         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27828 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27830         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27831         if not defined.
27832         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27833         definition.
27834         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27835         hidden ___tls_get_addr.
27836         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27837         hidden __tls_get_addr.
27838         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27839         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27840         Likewise.
27842 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27844         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27845         _dl_init call.
27847 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27849         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27850         from "call _dl_init@PLT".
27851         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27853 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27855         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27856         guarantees.
27858 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27860         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27862 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27864         [BZ #17744]
27865         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27866         strnlen.
27868 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27870         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27871         of multu on MIPSr6.
27872         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27873         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27874         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27875         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27876         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27878 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27880         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27881         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27882         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27883         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27884         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27885         mips32r6/mips64r6.
27886         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27888 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27890         * string/strncat.c (STRNCAT): Simplify implementation.
27892 2014-12-19  David S. Miller  <davem@davemloft.net>
27894         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27895         access the quad as both a long double and as a series of 4 words.
27897         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27898         link_map->l_info array access.
27900 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27902         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27904         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27905         * math/atest-exp2.c (TIMEOUT): Likewise.
27906         * math/atest-sincos.c (TIMEOUT): Likewise.
27908 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27910         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27911         -Wno-error with -fno-builtin-lround.
27913 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27915         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27916         Contains futex constants and functions moved over from ...
27917         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27918         <lowlevellock-futex.h>.
27919         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27920         (lll_timedwait_tid): Add comments and parentheses around macro
27921         arguments.
27923 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27926         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27927         (__lll_private_flag): Remove.
27928         (lll_futex_wait): Likewise.
27929         (lll_futex_timed_wait): Likewise.
27930         (lll_futex_wake): Likewise.
27931         (lll_futex_requeue): Likewise.
27932         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27933         (__lll_timedwait_tid): Spell out argument names.
27934         (lll_timedwait_tid): Add comments and parentheses around macro
27935         arguments.
27936         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27937         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27939 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27941         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27942         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27943         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27944         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27945         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27946         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27947         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27948         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27949         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27950         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27951         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27952         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27954         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27955         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27956         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27957         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27958         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27959         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27961 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27963         * sysdeps/x86_64/x32/Makefile: New file.
27965 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27967         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27968         1L with (mp_limb_t) 1.
27970 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27972         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27973         * nptl/libc_pthread_init.c: ... here.
27974         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27975         * nptl/register-atfork.c: ... here.
27977         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27978         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27979         Use assert_perror to check its return value.
27980         (__gai_create_helper_thread): Likewise.
27982         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27984         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27986 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27988         [BZ #17725]
27989         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27990         __profil_counter.
27991         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27992         Likewise.
27993         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27994         Likewise.
27995         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27996         Likewise.
27997         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27998         (profil_counter): Likewise.
27999         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28000         (profil_counter): Likewise.
28001         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28002         Likewise.
28003         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28004         Likewise.
28005         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28006         (profil_counter): Likewise.
28007         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28008         Likewise.
28009         [!__profil_counter] (profil_counter): Define as weak alias of
28010         __profil_counter.
28011         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28012         (profil_counter): Rename to __profil_counter.
28013         [!__profil_counter] (profil_counter): Define as weak alias of
28014         __profil_counter.
28015         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28016         (profil_counter): Rename to __profil_counter.
28017         [!__profil_counter] (profil_counter): Define as weak alias of
28018         __profil_counter.
28019         * sysdeps/posix/profil.c: Update comment referring to
28020         profil_counter.
28021         (__profil): Use __profil_counter instead of profil_counter.
28022         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28023         __profil_counter.  Use __profil_counter_ushort and
28024         __profil_counter_uint in definitions.
28025         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28026         instead of profil_counter_uint and profil_counter_ushort.
28028         [BZ #17722]
28029         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28030         define as weak alias of __inet_makeaddr.
28031         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28032         as weak alias of __inet_addr.
28033         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28034         as weak alias of __inet_pton.  Use libc_hidden_weak.
28035         * include/arpa/inet.h (__inet_pton): Declare.  Use
28036         libc_hidden_proto.
28037         (inet_makeaddr): Don't use libc_hidden_proto.
28038         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28039         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28040         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28041         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28042         Remove variable.
28043         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28044         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28046 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28048         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28050 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28052         * stdio-common/bug-vfprintf-nargs.c (do_test):
28053         Cast value to intptr_t to avoid format warning
28054         for usage with PRIdPTR printing macro.
28056 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28058         * libio/tst-widetext.c (do_test):
28059         Use format type %td instead of %Zd for ptrdiff_t
28060         in order to avoid format warning.
28062 2014-12-17  Andreas Schwab  <schwab@suse.de>
28064         * nscd/mem.c (gc): Add size_t cast to match printf format.
28066 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28068         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28069         (init): Apply PTR_MANGLE to pointers before storing them.
28070         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28071         before using them.
28073 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28075         [BZ #17719]
28076         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28077         define as weak alias of __memrchr.
28078         (__memrchr): Do not define as strong alias of memrchr.
28079         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28080         Remove variable.
28081         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28082         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28083         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28085         [BZ #17717]
28086         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28087         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28088         (if_indextoname): Rename to __if_indextoname and define as weak
28089         alias of __if_indextoname.  Use libc_hidden_weak.
28090         (if_freenameindex): Rename to __if_freenameindex and define as
28091         weak alias of __if_freenameindex.
28092         (if_nameindex): Rename to __if_nameindex and define as weak alias
28093         of __if_nameindex.
28094         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28095         __if_nametoindex and define as weak alias of __if_nametoindex.
28096         Use libc_hidden_weak.
28097         (if_freenameindex): Rename to __if_freenameindex and define as
28098         weak alias of __if_freenameindex.
28099         (if_nameindex): Rename to __if_nameindex and define as weak alias
28100         of __if_nameindex.
28101         (if_indextoname): Rename to __if_indextoname and define as weak
28102         alias of __if_indextoname.  Use libc_hidden_weak.
28103         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28104         __if_nametoindex and define as weak alias of __if_nametoindex.
28105         Use libc_hidden_weak.
28106         (if_freenameindex): Rename to __if_freenameindex and define as
28107         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28108         (if_nameindex_netlink): Use __if_freenameindex instead of
28109         if_freenameindex.
28110         (if_nameindex): Rename to __if_nameindex and define as weak alias
28111         of __if_nameindex.  Use libc_hidden_weak.
28112         (if_indextoname): Rename to __if_indextoname and define as weak
28113         alias of __if_indextoname.  Use libc_hidden_weak.
28114         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28115         libc_hidden_proto.
28116         [!_ISOMAC] (__if_freenameindex): Likewise.
28117         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28118         if_nametoindex.
28119         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28120         variable.
28121         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28122         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28123         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28124         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28125         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28126         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28127         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28129         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28130         Remove variable.
28131         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28132         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28134 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28136         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28137         subscript above bounds'
28139         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28140         bounds.
28142 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28144         * libio/tst-fopenloc.c: Use test-skeleton.c.
28146         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28147         (entry): Rename to ITEM.
28148         (do_test, comp): Adjust.
28150         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28152 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28154         * string/tester.c: Include <libc-internal.h>.
28155         (test_memset): Ignore -Wmemset-transposed-args.
28157 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28159         * misc/tst-mntent2.c (do_test): Fix warning.
28161 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28163         * elf/tst-unique4lib.cc(a): Mark as used.
28165 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28167         [BZ #17630]
28168         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28169         names.
28171 2014-12-16  Allan McRae  <allan@archlinux.org>
28173         * stdio-common/Makefile (tests): Re-add bug26.
28175 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28177         [BZ #17657]
28178         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28179         static array.
28181 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28183         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28184         (__lll_lock_wait): Likewise.
28185         (__lll_timedlock_wait): Likewise.
28186         (__lll_timedwait_tid): Likewise.
28187         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28188         (__lll_robust_timedlock_wait): Likewise.
28189         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28190         (lll_cond_trylock): Likewise.
28191         (__lll_lock): Likewise.
28192         (__lll_robust_lock): Likewise.
28193         (__lll_cond_lock): Likewise.
28194         (lll_robust_cond_lock): Likewise.
28195         (__lll_timedlock): Likewise.
28196         (__lll_robust_timedlock): Likewise.
28197         (__lll_unlock): Likewise.
28198         (__lll_robust_unlock): Likewise.
28199         (lll_wait_tid): Likewise.
28200         (lll_timedwait_tid): Likewise.
28202 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28204         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28206 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28208         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28210 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28212         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28213         * stdio-common/tst-sprintf.c: Likewise.
28215 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28217         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28219 2014-12-15  Jeff Law  <law@redhat.com>
28221         [BZ #16617]
28222         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28223         on the heap.  (CVE-2012-3406)
28224         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28225         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28226         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28228 2014-12-15  Will Newton  <will.newton@linaro.org>
28230         * manual/install.texi: Bump required version of texinfo
28231         to 4.7 from 4.5.
28232         * INSTALL: Regenerated.
28233         * configure.ac: Check for makeinfo version 4.7 and above.
28234         * configure: Regenerated.
28236 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28238         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28239         PREFIX, string constant to insert between directory and name.
28240         * sysdeps/posix/shm_open.c: Update caller.
28241         * sysdeps/posix/shm_unlink.c: Likewise.
28242         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28243         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28244         (SEM_SHM_PREFIX): New macro.
28245         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28246         [$(have-thread-library) = no].
28247         * nptl/Makefile (libpthread-routines): Add shm-directory.
28248         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28249         * sysdeps/nptl/shm-directory.h: New file.
28250         * sysdeps/posix/shm-directory.c
28251         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28252         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28253         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28254         INTERNAL_SYSCALL.
28255         (__where_is_shmfs): Function removed.
28256         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28257         Variables removed.
28258         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28259         Use SHM_GET_NAME.
28260         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28262         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28263         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28264         unconditional for use inside libpthread.
28265         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28267 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28269         * nptl/pthread_getaffinity.c: New file.
28270         * nptl/pthread_setaffinity.c: New file.
28271         * nptl/pthread_getname.c: New file.
28272         * nptl/pthread_setname.c: New file.
28274         * nptl/pthread_create.c (START_THREAD_DEFN)
28275         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28277 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28280         * resolv/res_send.c (send_vc): Disable warning resplen may
28281         be used uninitialized.
28283 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28285         * nptl/tst-mutex6.c
28286         (ATTR_NULL): New define checks ATTR against NULL.
28287         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28288         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28290 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28292         [BZ #17581]
28293         * malloc/hooks.c
28294         (mem2mem_check): Revert my previous change.
28295         (malloc_check_get_size): Revert my previous change.
28296         (mem2chunk_check): Revert my previous change.
28298 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28300         * sysdeps/posix/shm-directory.c: New file.
28301         * sysdeps/posix/shm-directory.h: New file.
28302         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28303         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28304         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
28305         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28306         Transmute EPERM to EACCES.
28307         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28308         from ...
28309         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
28310         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28312 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28314         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28315         pointer and cast to uintptr_t.
28316         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28318         Add cast to avoid warning.
28319         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28321 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28323         * nptl/semaphore.h: Move to ...
28324         * sysdeps/pthread/semaphore.h: ... here.
28325         * Makefile (installed-headers): Change nptl/semaphore.h to
28326         sysdeps/pthread/semaphore.h.
28328 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28330         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28331         generated error format strings.
28333         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28334         -Wformat-extra-args warnings for scanf formats.
28335         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28336         test of zero-length format (duh).
28337         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28338         corner-case scanf format test.
28339         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28340         generated fprintf format string.
28341         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28342         corner-case sprintf format tests.
28343         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28344         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28345         -Wformat-extra-args warnings throughout.
28346         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28347         (CFLAGS-scanf4.c): Likewise.
28348         (CFLAGS-scanf7.c): Likewise.
28349         (CFLAGS-tst-sprintf.c): Likewise.
28350         (CFLAGS-tst-printf.c): Likewise.
28351         (CFLAGS-tst-printfsz.c): Likewise.
28353 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28355         * include/cpio.h: New file.
28356         * include/fmtmsg.h: Likewise.
28358         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
28359         corresponding format argument to size_t.
28360         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
28361         arguments.
28362         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
28363         corresponding format argument to size_t.
28364         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
28365         arguments.
28366         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
28367         corresponding format argument to size_t.
28368         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28369         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28370         (CFLAGS-tst-mbswcs2.c): Likewise.
28371         (CFLAGS-tst-mbswcs3.c): Likewise.
28372         (CFLAGS-tst-mbswcs4.c): Likewise.
28373         (CFLAGS-tst-mbswcs5.c): Likewise.
28374         (CFLAGS-tst-trans.c): Likewise.
28376 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28378         * posix/regexbug1.c (main): Use "%s" format with regerror results,
28379         rather than assuming they won't contain any '%'s.
28381 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
28383         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28384         inhibit_loop_to_libcall to avoid recursive calls.
28385         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28386         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28388 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28390         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28391         prototype.
28393 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28395         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28396         integer value instead of boolean.
28398 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28400         * malloc/malloc.c: Fix powerof2 check.
28402 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28404         * locale/programs/locfile.h (maybe_swap_uint32):
28405         Remove inline and add unused attribute.
28407 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28409         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28410         Truncating assembler expression to a .long expression.
28412 2014-12-11  Andreas Schwab  <schwab@suse.de>
28414         * elf/rtld.c (struct map_args): Constify str member.
28415         (do_preload): Constify fname argument.
28417 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28419         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28420         constants definition.
28422 2014-12-11  Andreas Schwab  <schwab@suse.de>
28424         [BZ #16657]
28425         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28426         FORCE_ELISION instead of DO_ELISION.
28427         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28428         Remove.
28429         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28430         Likewise.
28432         * iconvdata/gconv-modules: Remove duplicate entry.
28434 2014-12-11  Will Newton  <will.newton@linaro.org>
28436         Merge gettext 0.19.3 into intl/.
28438         This involves a number of cosmetic changes to comments
28439         and ANSI function definitions and prototypes throughout
28440         all the files. The gettext copyright header is used but
28441         with the date ranges taken from the glibc copy.
28443         * NEWS: Add gettext merge to 2.21.
28444         * intl/bindtextdom.c: Switch to gettext copyright.
28445         Use ANSI definitions and prototypes.
28446         Use gl_* locking primitives rather than __libc_* ones.
28447         Use __builtin_expect rather than __glibc_likely/unlikely.
28448         * intl/dcgettext.c: Switch to gettext copyright.
28449         Use ANSI definitions and prototypes.
28450         * intl/dcigettext.c: Switch to gettext copyright.
28451         Use ANSI definitions and prototypes.
28452         (INTDIV0_RAISES_SIGFPE): New define.
28453         Use gl_* locking primitives rather than __libc_* ones.
28454         Include eval-plural.h instead of plural-eval.c.
28455         Use __builtin_expect rather than __glibc_likely/unlikely.
28456         * intl/dcngettext.c: Switch to gettext copyright.
28457         Use ANSI definitions and prototypes.
28458         * intl/dgettext.c: Likewise.
28459         * intl/dngettext.c: Likewise.
28460         * intl/plural-eval.c: Renamed to...
28461         * intl/eval-plural.h: ...this.
28462         * intl/explodename.c: Switch to gettext copyright.
28463         Use ANSI definitions and prototypes.
28464         (_nl_explode_name): Use strchr instead of __rawmemchr.
28465         * intl/finddomain.c: Switch to gettext copyright.
28466         Use ANSI definitions and prototypes.
28467         Use gl_* locking primitives rather than __libc_* ones.
28468         (_nl_find_domain): Use malloc rather than alloca for
28469         allocation of temporary locale name.
28470         * intl/gettext.c: Switch to gettext copyright.
28471         Use ANSI definitions and prototypes.
28472         * intl/gettextP.h: Switch to gettext copyright.
28473         Use ANSI definitions and prototypes.
28474         Use gl_* locking primitives rather than __libc_* ones.
28475         * intl/gmo.h: Switch to gettext copyright.
28476         (struct sysdep_string): Move struct segment_pair outside of
28477         struct definition.
28478         * intl/hash-string.c: Use ANSI definitions and prototypes.
28479         * intl/hash-string.h: Switch to gettext copyright.
28480         Use ANSI definitions and prototypes.
28481         * intl/l10nflist.c: Switch to gettext copyright.
28482         Use ANSI definitions and prototypes.
28483         (_nl_normalize_codeset): Avoid integer overflow.
28484         * intl/loadinfo.h: Switch to gettext copyright.
28485         Use ANSI definitions and prototypes.
28486         (LIBINTL_DLL_EXPORTED): New define.
28487         (PATH_SEPARATOR): New define.
28488         * intl/loadmsgcat.c: Switch to gettext copyright.
28489         * intl/localealias.c: Switch to gettext copyright.
28490         Use ANSI definitions and prototypes.
28491         (_nl_expand_alias): Use PATH_SEPARATOR.
28492         * intl/ngettext.c: Switch to gettext copyright.
28493         Use ANSI definitions and prototypes.
28494         * intl/plural-exp.c: Likewise.
28495         * intl/plural-exp.h: Switch to gettext copyright.
28496         Use ANSI definitions and prototypes.
28497         (struct expression): Move definition of enum operator outside
28498         of struct definition.
28499         * intl/plural.c: Regenerate.
28500         * intl/plural.y: Switch to gettext copyright.
28501         Use ANSI definitions and prototypes.
28502         Port to bison 3.0.
28503         * intl/textdomain.c: Switch to gettext copyright.
28504         Use ANSI definitions and prototypes.
28505         Use gl_* locking primitives rather than __libc_* ones.
28507 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28509         * debug/warning-nop.c: Add used atrribute.
28511 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28513         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28515         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28516         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28517         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28519 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28520             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28522         [BZ #17634]
28523         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28524         Undefine after defining function.  Define as weak alias of
28525         __wcschr.  Use libc_hidden_weak.
28526         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28527         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28528         (libc_hidden_def): Also define __GI___wcschr alias.
28529         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28530         __wcschr and define as weak alias of __wcschr.
28531         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28532         __wcschr.
28533         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28534         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28535         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28536         libc_hidden_weak.  Do not use libc_hidden_def.
28537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28538         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28539         __GI___wcschr alias.
28540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28541         [IS_IN (libc)] (wcschr): Define as macro expanding to
28542         __redirect_wcschr.
28543         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28544         [IS_IN (libc)] (__wcschr_power6): Likewise.
28545         [IS_IN (libc)] (__wcschr_power7): Likewise.
28546         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28547         instead of wcschr.
28548         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28549         __libc_wcschr.
28550         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28551         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28552         __wcschr and define as weak alias of __wcschr.  Use
28553         libc_hidden_builtin_def.
28554         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28555         as weak alias of __wcschr.  Use libc_hidden_weak.
28556         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28557         wcschr.
28558         * time/era.c (_nl_init_era_entries): Likewise.
28559         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28560         variable.
28561         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28562         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28564 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28566         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28567         format for long int variable.
28569 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28571         [BZ #10672]
28572         * manual/search.texi: (Array Sort Function): Remove claim how to make
28573         qsort stable.
28575 2014-12-10  Andreas Schwab  <schwab@suse.de>
28577         [BZ #12847]
28578         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28579         user-controlled locks.
28581 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28583         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28584         register.
28586 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28588         * configure.ac (--disable-werror): New configure option.
28589         (enable_werror): New AC_SUBST.
28590         * configure: Regenerated.
28591         * config.make.in (enable-werror): New variable.
28592         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28593         -Wno-error=undef.
28594         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28595         * manual/install.texi (Configuring and compiling): Document
28596         --disable-werror.
28597         * INSTALL: Regenerated.
28598         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28599         (CFLAGS-tst-chk2.c): Likewise.
28600         (CFLAGS-tst-chk3.c): Likewise.
28601         (CFLAGS-tst-chk4.cc): Likewise.
28602         (CFLAGS-tst-chk5.cc): Likewise.
28603         (CFLAGS-tst-chk6.cc): Likewise.
28604         (CFLAGS-tst-lfschk1.c): Likewise.
28605         (CFLAGS-tst-lfschk2.c): Likewise.
28606         (CFLAGS-tst-lfschk3.c): Likewise.
28607         (CFLAGS-tst-lfschk4.cc): Likewise.
28608         (CFLAGS-tst-lfschk5.cc): Likewise.
28609         (CFLAGS-tst-lfschk6.cc): Likewise.
28611         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28612         (main): Disable -Wdeprecated-declarations around calls to
28613         register_printf_function.
28615         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28616         (do_test): Disable -Wdiv-by-zero around some calls to
28617         fwrite_unlocked and fread_unlocked.
28619         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28620         (DIAG_POP_NEEDS_COMMENT): Likewise.
28621         (_DIAG_STR1): Likewise.
28622         (_DIAG_STR): Likewise.
28623         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28624         * stdio-common/bug21.c: Include <libc-internal.h>.
28625         (do_test): Disable -Wformat around call to sscanf.
28626         * stdio-common/scanf14.c: Include <libc-internal.h>.
28627         (main): Disable -Wformat around some calls to scanf functions.
28629 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28631         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28633 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28635         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28636         stack variable alignment.
28638 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28640         [BZ #17682]
28641         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28642         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28643         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28644         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28645         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28646         __getrlimit instead of getrlimit.
28647         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28648         __gettimeofday instead of gettimeofday.
28649         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28650         Likewise.
28651         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28652         Likewise.
28653         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28654         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28655         Remove variable.
28656         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28657         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28659 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28661         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28662         for wide-character tests.
28664 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28666         * io/openat64.c: #include <libc-internal.h>
28667         (__openat64): Prototypify.  Use ignore_value on MODE.
28668         * io/openat.c: Likewise.
28669         * misc/reboot.c: #include <libc-internal.h>
28670         (reboot): Prototypify.  Use ignore_value on HOWTO.
28671         * misc/ptrace.c: #include <libc-internal.h>
28672         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28674 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28676         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28677         XPG4, UNIX98 and XOPEN2K.
28678         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28679         Remove variable.
28680         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28682 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28684         * libio/fileops.c: Use ISO C style for function definitions.
28685         * libio/iofopen.c: Likewise.
28686         * libio/wfileops.c: Likewise.
28688         [BZ #17653]
28689         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28690         offset on EOF.
28691         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28692         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28693         (fgets_func): Function pointer to fgets and fgetws.
28694         (do_ftell_test): Add test to verify ftell value after read
28695         EOF.
28696         (do_test): Set fgets_func.
28698         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28699         O_TRUNC flag for w and w+ modes.
28700         (do_rewind_test): Likewise.
28701         (do_ftell_test): Likewise.
28702         (do_write_test): Likewise.
28704         [BZ #17647]
28705         * libio/fileops.c (do_ftell): Seek only when there are
28706         unflushed writes.
28707         * libio/wfileops.c (do_ftell_wide): Likewise.
28708         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28709         test case.
28710         (do_one_test): Call it.
28712 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28714         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28715         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28716         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28717         Remove variable.
28718         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28719         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28720         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28722 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28724         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28725         Remove variable.
28726         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28728         [BZ #17668]
28729         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28730         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28731         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28732         __freeifaddrs.  Use libc_hidden_weak.
28733         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28734         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28735         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28736         __freeifaddrs.  Use libc_hidden_weak.
28737         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28738         __getifaddrs and define as weak alias of __getifaddrs.  Use
28739         libc_hidden_weak.
28740         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28741         __freeifaddrs.  Use libc_hidden_weak.
28742         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28743         Remove variable.
28744         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28745         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28747 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28749         [BZ #17601]
28750         * sysdeps/mips/start.S (__start): Use indirect jump to call
28751         __libc_start_main.
28753 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28755         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28757         * nptl/tst-mutex1.c: Include <stdbool.h>.
28758         [!ATTR] (ATTR_NULL): New macro.
28759         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28760         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28761         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28763         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28764         to char *.
28766         [BZ #17665]
28767         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28768         Change conditional to [__USE_MISC].
28770         [BZ #17664]
28771         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28772         fgets_unlocked.
28773         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28774         __fgets_unlocked.
28775         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28776         fgets_unlocked.
28777         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28778         Remove variable.
28779         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28780         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28781         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28782         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28783         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28784         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28785         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28786         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28787         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28789         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28791 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28794         Remove strpbrk objects.
28795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28796         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28797         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28798         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28799         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28800         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28802         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28803         Remove strcspn objects.
28804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28805         (__libc_ifunc_impl_list): Remove strcspn implementation.
28806         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28807         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28808         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28809         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28811         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28812         Remove strspn objetcs.
28813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28814         (__libc_ifunc_impl_list): Remove strspn implementation.
28815         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28816         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28817         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28818         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28820 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28822         [BZ #17581]
28823         * malloc/hooks.c
28824         (mem2mem_check): Add a terminator to the chain of checking blocks.
28825         (malloc_check_get_size): Use it here.
28826         (mem2chunk_check): Ditto.
28828 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28830         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28831         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28833 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28835         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28837         * nptl/nptl-init.c: Include libc-internal.h.
28838         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28840         * elf/ldconfig.c (search_dir): Expand comment.
28842 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28844         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28845         variable.
28846         (linknamespace-symlist-stdlibs-tests): Likewise.
28847         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28848         instead of $(objpfx)symlist-stdlibs.
28849         (linknamespace-libs-isoc): New variable.
28850         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28851         (linknamespace-libs-ISO): New variable.
28852         (linknamespace-libs-ISO99): Likewise.
28853         (linknamespace-libs-ISO11): Likewise.
28854         (linknamespace-libs-XPG3): Likewise.
28855         (linknamespace-libs-XPG4): Likewise.
28856         (linknamespace-libs-POSIX): Likewise.
28857         (linknamespace-libs-UNIX98): Likewise.
28858         (linknamespace-libs-XOPEN2K): Likewise.
28859         (linknamespace-libs-POSIX2008): Likewise.
28860         (linknamespace-libs-XOPEN2K8): Likewise.
28861         ($(objpfx)symlist-stdlibs): Replace by
28862         $(linknamespace-symlist-stdlibs-tests).  Use
28863         $(linknamespace-libs-$*) as set of libraries.
28864         ($(linknamespace-header-tests)): Update dependencies.  Use
28865         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28866         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28867         * conform/linknamespace.pl: Remove comment about considering
28868         definitions of symbols from irrelevant libraries.
28870 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28872         [BZ #13862]
28873         * elf/dl-tls.c: Include <atomic.h>.
28874         (oom): Remove #ifdef SHARED/#endif.
28875         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28876         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28877         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28878         big enough.
28879         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28880         * nptl/Makefile (tests): Add tst-stack4.
28881         (modules-names): Add tst-stack4mod.
28882         ($(objpfx)tst-stack4): New.
28883         (tst-stack4mod.sos): Likewise.
28884         ($(objpfx)tst-stack4.out): Likewise.
28885         ($(tst-stack4mod.sos)): Likewise.
28886         (clean): Likewise.
28887         * nptl/tst-stack4.c: New file.
28888         * nptl/tst-stack4mod.c: Likewise.
28890 2014-11-27  J. Brown  <jb999@gmx.de>
28892         * sysdeps/x86/bits/string.h: Add recent CPUs.
28894 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28896         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28897         sigblock.
28899         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28900         feof.
28902         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28903         variable.
28905 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28907         * nscd/connections.c: Include libc-internal.h because of macro
28908         usage ignore_value.
28910 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28912         * string/bits/string3.h (__warn_memset_zero_len): Don't
28913         declare for gcc newer than 5.0.
28914         (memset): Don't test for zero-length __LEN for gcc newer than
28915         5.0.
28917 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28919         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28920         size_t for %zu format.
28922         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28923         difference, not %ju.
28925 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28927         * include/libc-internal.h (ignore_value): New macro.
28928         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28929         with ignore_value.
28931         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28932         definition.
28934         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28935         pthread_cleanup_push to void *.
28937         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28938         Undefine.
28940         [BZ #16619]
28941         [BZ #16740]
28942         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28943         instead of 1L << 52.
28945         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28946         * libio/bug-rewind2.c (do_test): Likewise.
28948         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28949         * debug/test-strcpy_chk-ifunc.c: Likewise.
28950         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28951         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28952         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28953         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28954         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28955         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28956         * Rules [$(multi-arch) = no] (tests): Do not filter out
28957         $(tests-ifunc).
28958         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28959         * debug/Makefile (tests-ifunc): Remove variable.
28960         (tests): Do not add $(tests-ifunc).
28961         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28962         (tests): Do not add $(tests-ifunc).
28963         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28964         [TEST_IFUNC]: Remove conditionals.
28965         * string/test-string.h (TEST_IFUNC): Remove macro.
28966         [TEST_IFUNC]: Remove conditionals.
28968         * string/test-strchr.c [!WIDE] (L): New macro.
28969         [WIDE] (L): Likewise.
28970         (check1): Use CHAR instead of char.  Use L on string and character
28971         constants.
28973 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28975         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28976         tests.
28977         * sysdeps/powerpc/bits/atomic.h
28978         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28979         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28980         (atomic_exchange_and_add_acq): Likewise.
28981         (atomic_exchange_and_add_rel): Likewise.
28982         * sysdeps/powerpc/powerpc32/bits/atomic.h
28983         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28984         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28985         * sysdeps/powerpc/powerpc64/bits/atomic.h
28986         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28987         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28989 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28991         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28992         Change synchronization of __sched_fifo_min_prio and
28993         __sched_fifo_max_prio.
28994         * nptl/pthread_mutexattr_getprioceiling.c
28995         (pthread_mutexattr_getprioceiling): Likewise.
28996         * nptl/pthread_mutexattr_setprioceiling.c
28997         (pthread_mutexattr_setprioceiling): Likewise.
28998         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28999         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29000         Likewise.
29002 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29004         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29005         void.
29007 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29009         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29010         third argument const.
29012 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29014         fnmatch: work around GCC compiler warning bug with uninit var
29015         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29016         This works around a bug with x86-64 GCC 4.9.2 and earlier
29017         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29018         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29019         used uninitialized in this function [-Wmaybe-uninitialized]".
29021 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29023         * posix/bug-regex31.c (main): Return RES not 0.
29025 2014-11-25  Anton Blanchard <anton@samba.org>
29027         * sysdeps/powerpc/bits/atomic.h
29028         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29030 2014-11-24  Sterling Augustine  <saugustine@google.com>
29032         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29034 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29036         [BZ #17608]
29037         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29039 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29041         [BZ #17633]
29042         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29043         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29044         variable.
29045         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29046         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29048 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29050         * string/strncpy.c (strncpy): Improve performance by using memset.
29052 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29054         * string/strcpy.c (strcpy):
29055         Improve performance by using strlen and memcpy.
29057 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29059         * string/strcoll_l.c (get_next_seq): __always_inline.
29060         * string/strcoll_l.c (do_compare): __always_inline.
29062 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29064         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29065         defined.
29066         * include/mqueue.h: Likewise.
29067         * include/stdlib.h: Likewise.
29069         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29070         (get_null_defines): Adjust.
29071         * sunrpc/Makefile: Adjust comment.
29072         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29073         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29074         (CFLAGS-interp.c): Likewise.
29075         (CFLAGS-ldconfig.c): Likewise.
29076         (CPPFLAGS-.os): Likewise.
29077         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29078         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29079         * extra-modules.mk (extra-modules.mk): Likewise.
29080         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29081         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29082         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29083         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29084         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29085         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29086         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29087         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29088         * iconvdata/Makefile (CPPFLAGS): Likewise.
29089         (cpp-srcs-left): Add libof for all iconvdata routines.
29090         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29091         * include/assert.h: Likewise.
29092         * include/ctype.h: Likewise.
29093         * include/errno.h: Likewise.
29094         * include/libc-symbols.h: Likewise.
29095         * include/math.h: Likewise.
29096         * include/netdb.h: Likewise.
29097         * include/resolv.h: Likewise.
29098         * include/stdio.h: Likewise.
29099         * include/stdlib.h: Likewise.
29100         * include/string.h: Likewise.
29101         * include/sys/stat.h: Likewise.
29102         * include/wctype.h: Likewise.
29103         * intl/l10nflist.c: Likewise.
29104         * libidn/idn-stub.c: Likewise.
29105         * libio/libioP.h: Likewise.
29106         * nptl/libc_multiple_threads.c: Likewise.
29107         * nptl/pthreadP.h: Likewise.
29108         * posix/regex_internal.h: Likewise.
29109         * resolv/res_hconf.c: Likewise.
29110         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29111         * sysdeps/arm/memmove.S: Likewise.
29112         * sysdeps/arm/sysdep.h: Likewise.
29113         * sysdeps/generic/_itoa.h: Likewise.
29114         * sysdeps/generic/symbol-hacks.h: Likewise.
29115         * sysdeps/gnu/errlist.awk: Likewise.
29116         * sysdeps/gnu/errlist.c: Likewise.
29117         * sysdeps/i386/i586/memcpy.S: Likewise.
29118         * sysdeps/i386/i586/memset.S: Likewise.
29119         * sysdeps/i386/i686/memcpy.S: Likewise.
29120         * sysdeps/i386/i686/memmove.S: Likewise.
29121         * sysdeps/i386/i686/mempcpy.S: Likewise.
29122         * sysdeps/i386/i686/memset.S: Likewise.
29123         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29124         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29125         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29126         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29127         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29128         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29129         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29130         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29131         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29132         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29133         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29134         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29135         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29136         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29137         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29138         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29139         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29140         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29141         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29142         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29143         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29144         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29145         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29146         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29147         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29148         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29149         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29150         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29151         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29152         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29153         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29154         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29155         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29156         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29157         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29158         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29159         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29160         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29161         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29162         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29163         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29164         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29165         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29166         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29167         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29168         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29169         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29170         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29172         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29173         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29174         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29175         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29176         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29177         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29178         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29179         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29180         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29181         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29182         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29183         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29184         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29185         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29186         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29187         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29188         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29189         * sysdeps/posix/closedir.c: Likewise.
29190         * sysdeps/posix/opendir.c: Likewise.
29191         * sysdeps/posix/readdir.c: Likewise.
29192         * sysdeps/posix/rewinddir.c: Likewise.
29193         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29194         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29195         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29196         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29197         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29198         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29204         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29206         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29207         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29208         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29209         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29210         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29213         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29215         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29216         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29217         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29221         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29228         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29229         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29230         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29231         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29232         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29233         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29234         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29235         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29236         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29237         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29238         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29239         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29240         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29241         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29242         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29243         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29244         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29245         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29246         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29247         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29250         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29251         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29252         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29253         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29254         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29255         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29256         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29257         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29258         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29259         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29260         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29261         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29262         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29263         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29264         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29265         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29266         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29267         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29268         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29269         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29270         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29271         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29272         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29273         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29274         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29275         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29277         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29279         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29280         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29281         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29282         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29283         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29284         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29285         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29289         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29290         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29291         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29292         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29293         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29294         * sysdeps/unix/alpha/sysdep.S: Likewise.
29295         * sysdeps/unix/alpha/sysdep.h: Likewise.
29296         * sysdeps/unix/make-syscalls.sh: Likewise.
29297         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29299         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29300         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29301         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29302         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29303         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29304         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29305         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29306         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29307         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29308         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29310         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29311         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29312         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29313         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29314         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29315         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29316         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29317         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29318         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29319         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29320         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29321         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29322         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29326         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29327         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29331         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29332         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29335         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29336         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29338         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29339         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29340         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29344         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29347         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29348         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29349         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29350         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29352         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29353         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29355         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29356         * sysdeps/x86_64/memcpy.S: Likewise.
29357         * sysdeps/x86_64/memmove.c: Likewise.
29358         * sysdeps/x86_64/memset.S: Likewise.
29359         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29360         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29361         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29362         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29363         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29364         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29365         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29366         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29367         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29368         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29369         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29370         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29371         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29372         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29373         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29374         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29375         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29376         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29377         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29378         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29379         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29380         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29381         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29382         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29383         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29384         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29385         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29386         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29387         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29388         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29389         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29390         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29391         * sysdeps/x86_64/strcmp.S: Likewise.
29393         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29395         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29396         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29397         * elf/rtld-Rules: Likewise.
29398         * elf/setup-vdso.h: Likewise.
29399         * include/assert.h: Likewise.
29400         * include/bits/stdlib-float.h: Likewise.
29401         * include/errno.h: Likewise.
29402         * include/sys/stat.h: Likewise.
29403         * include/unistd.h: Likewise.
29404         * sysdeps/aarch64/setjmp.S: Likewise.
29405         * sysdeps/alpha/setjmp.S: Likewise.
29406         * sysdeps/arm/__longjmp.S: Likewise.
29407         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29408         * sysdeps/arm/setjmp.S: Likewise.
29409         * sysdeps/arm/sysdep.h: Likewise.
29410         * sysdeps/generic/_itoa.h: Likewise.
29411         * sysdeps/generic/dl-sysdep.h: Likewise.
29412         * sysdeps/generic/ldsodefs.h: Likewise.
29413         * sysdeps/i386/dl-tls.h: Likewise.
29414         * sysdeps/i386/setjmp.S: Likewise.
29415         * sysdeps/m68k/setjmp.c: Likewise.
29416         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29417         * sysdeps/mach/hurd/opendir.c: Likewise.
29418         * sysdeps/posix/getcwd.c: Likewise.
29419         * sysdeps/posix/opendir.c: Likewise.
29420         * sysdeps/posix/profil.c: Likewise.
29421         * sysdeps/powerpc/dl-procinfo.h: Likewise.
29422         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29423         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29424         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29425         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29426         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29427         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29428         * sysdeps/s390/dl-tls.h: Likewise.
29429         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29430         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29431         * sysdeps/sh/sh3/setjmp.S: Likewise.
29432         * sysdeps/sh/sh4/setjmp.S: Likewise.
29433         * sysdeps/unix/alpha/sysdep.h: Likewise.
29434         * sysdeps/unix/arm/sysdep.S: Likewise.
29435         * sysdeps/unix/i386/sysdep.S: Likewise.
29436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29437         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29438         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29441         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29442         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29443         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29444         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29445         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29446         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29447         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29448         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29451         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29454         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29455         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29456         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29459         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29460         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29461         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29463         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29464         * sysdeps/x86_64/setjmp.S: Likewise.
29466         * include/math.h: Use IS_IN instead of IS_IN_libm.
29467         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29468         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29469         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29470         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29471         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29472         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29473         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29474         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29475         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29476         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29477         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29478         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29479         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29480         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29481         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29482         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29483         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29484         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29485         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29486         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29487         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29488         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29489         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29490         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29491         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29492         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29493         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29494         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29495         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29496         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29497         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29498         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29499         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29501         Likewise.
29502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29503         Likewise.
29504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29505         Likewise.
29506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29507         Likewise.
29508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29509         Likewise.
29510         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29511         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29512         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29513         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29514         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29515         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29521         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29522         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29523         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29524         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29525         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29526         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29527         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29528         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29529         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29530         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29531         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29532         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29534         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29536         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29538         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29539         * nptl/pthreadP.h: Likewise.
29540         * nptl_db/structs.def: Likewise.
29541         * sysdeps/arm/sysdep.h: Likewise.
29542         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29543         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29544         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29545         * sysdeps/unix/alpha/sysdep.h: Likewise.
29546         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29548         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29549         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29550         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29551         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29552         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29553         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29554         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29555         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29556         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29557         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29558         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29559         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29563         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29564         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29567         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29568         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29569         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29570         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29571         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29573         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29574         * nptl/pthreadP.h: Likewise.
29575         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29576         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29577         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29578         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29579         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29580         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29581         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29582         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29583         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29584         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29585         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29586         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29588         Likewise.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29590         Likewise.
29591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29593         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29595         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29596         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29597         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29598         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29600         * dlfcn/dladdr.c: Use IS_IN.
29601         * dlfcn/dladdr1.c: Likewise.
29602         * dlfcn/dlclose.c: Likewise.
29603         * dlfcn/dlerror.c: Likewise.
29604         * dlfcn/dlinfo.c: Likewise.
29605         * dlfcn/dlmopen.c: Likewise.
29606         * dlfcn/dlopen.c: Likewise.
29607         * dlfcn/dlsym.c: Likewise.
29608         * dlfcn/dlvsym.c: Likewise.
29610         * include/ifaddrs.h: Use IS_IN.
29611         * inet/check_pf.c: Likewise.
29612         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29613         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29615         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29616         IS_IN_ldconfig.
29617         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29618         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29620         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29621         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29622         IS_IN (libc).
29624         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29626         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29627         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29628         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29629         * include/libc-symbols.h (IS_IN_LIB): New macro.
29630         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29631         * include/netdb.h: Likewise.
29632         * include/stap-probe.h: Remove all uses of IN_LIB.
29634         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29635         instead of IN_MODULE.
29636         * include/libc-symbols.h (IN_MODULE): Define using
29637         MODULE_NAME.
29638         (PASTE_NAME, PASTE_NAME1): New macros.
29639         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29640         of IN_LIB.
29641         (STAP_PROBE_ASM): Likewise.
29643 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29645         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29646         __mach_init in dlopened libc.
29648 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29650         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29651         * sysdeps/arm/preconfigure: Regenerate.
29653 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29655         * nptl/pthread_create.c (__pthread_create_2_1): Set
29656         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29657         when copying values from IATTR into PD.
29659 2014-11-21  Will Newton  <will.newton@linaro.org>
29660             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29662         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29663         Refactor inline-asm.  Also add comment.
29665         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29666         ElfW macro instead of hardcoded Elf64 types.
29667         (la_aarch64_gnu_pltenter): Likewise.
29668         * sysdeps/aarch64/dl-machine.h
29669         (elf_machine_runtime_setup): Use ElfW(Addr).
29671         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29672         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29673         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29674         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29675         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29676         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29677         (R_AARCH64_TLS_DTPMOD): This.
29678         (R_AARCH64_TLS_DTPREL64): Rename to ...
29679         (R_AARCH64_TLS_DTPREL): This.
29680         (R_AARCH64_TLS_TPREL64): Rename to ...
29681         (R_AARCH64_TLS_TPREL): This.
29682         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29683         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29684         R_AARCH64_TLS_TPREL64.
29685         (elf_machine_rela): Likewise.
29687 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29689         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29690         by setting it to 0.  64b atomics are not supported currently.
29692 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29694         [BZ #16469]
29695         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29696         search domain names.
29698 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29700         [BZ #16469]
29701         * NEWS: Update.
29702         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29703         trailing dot.
29704         * posix/tst-getaddrinfo5.c: New.
29705         * posix/Makefile (tests): Add it.
29707 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29709         [BZ #14498]
29710         * NEWS: Fixed.
29711         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29712         after parsing line but before break_if_match.
29713         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29714         if there is a protocol mismatch.
29716 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29718         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29719         because the potential race is on the user-supplied stream.
29721 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29723         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29724         string literal if not passed a buffer.
29725         * manual/job.texi (ctermid): Update reasoning, note deviation
29726         from posix, suggest mtasurace when not passed a buffer, for
29727         future non-preliminary safety notes.
29729 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29731         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29732         of not passing it a buffer.
29733         Reported by Peng Haitao.
29735 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29737         * manual/Makefile ($(objpfx)stamp-summary): Require
29738         check-safety.sh to pass.
29739         * manual/check-safety.sh: Wish for verification that every
29740         @deftypefn and @deftypefun is followed by a @safety remark.
29742 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29744         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29746         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29747         PTHREAD_CANCEL_ASYNCHRONOUS.
29748         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29749         send SIGCANCEL.
29751         * nptl/default-sched.h: New file.
29752         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29753         * nptl/pthread_create.c: Include it.
29754         (__pthread_create_2_1): Use collect_default_sched instead of making
29755         Linux syscalls here directly.
29757 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29759         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29760         __pthread_once): Use C11 atomics.
29762 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29764         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29766 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29768         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29769         atomic_thread_fence_acquire, atomic_thread_fence_release,
29770         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29771         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29772         atomic_compare_exchange_weak_relaxed,
29773         atomic_compare_exchange_weak_acquire,
29774         atomic_compare_exchange_weak_release,
29775         atomic_exchange_acquire, atomic_exchange_release,
29776         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29777         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29778         atomic_fetch_and_acquire,
29779         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29781 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29783         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29784         USE_ATOMIC_COMPILER_BUILTINS): Define.
29785         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29787         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29788         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29789         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29791         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29793         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29794         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29795         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29797         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29799         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29800         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29801         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29803         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29805         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29806         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29807         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29808         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29809         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29810         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29811         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29812         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29813         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29814         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29815         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29816         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29817         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29818         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29819         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29820         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29821         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29822         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29823         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29824         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29826 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29828         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29829         the sched_priority value here.  It was already checked when the user
29830         called pthread_attr_setschedparam.
29832         * nptl/tst-bad-schedattr.c: New file.
29833         * nptl/Makefile (tests): Add it.
29835 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29836             Florian Weimer  <fweimer@redhat.com>
29837             Joseph Myers  <joseph@codesourcery.com>
29838             Adam Conrad  <adconrad@0c3.net>
29839             Andreas Schwab  <schwab@suse.de>
29840             Brooks  <bmoses@google.com>
29842         [BZ #17625]
29843         * wordexp-test.c (__dso_handle): Add prototype.
29844         (__register_atfork): Likewise.
29845         (__app_register_atfork): New function.
29846         (registered_forks): New global.
29847         (register_fork): New function.
29848         (test_case): Add 3 new tests for WRDE_CMDSUB.
29849         (main): Call __app_register_atfork.
29850         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29851         fork count is non-zero fail the test.
29852         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29853         is set.
29854         (parse_dollars): Remove check for WRDE_NOCMD.
29855         (parse_dquote): Likewise.
29857 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         * Makeconfig (built-modules): List non-library modules to be
29860         built.
29861         (module-cppflags): Include libc-modules.h for
29862         everything except shlib-versions.v.i.
29863         (CPPFLAGS): Use it.
29864         (before-compile): Add libc-modules.h.
29865         ($(common-objpfx)libc-modules.h,
29866         $(common-objpfx)libc-modules.stmp): New targets.
29867         (common-generated): Add libc-modules.h and libc-modules.stmp.
29868         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29869         * include/libc-symbols.h: Don't include libc-modules.h.
29870         * include/libc-modules.h: Remove file.
29871         * scripts/gen-libc-modules.awk: New script to generate
29872         libc-modules.h.
29873         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29874         Depend on libc-modules.stmp.
29876         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29878         * Makeconfig (in-module): Get value of libof set for the
29879         translation unit.
29880         (CPPFLAGS): Use $(in-module).
29881         * Makerules: Don't suffix routine names for nonlib.
29882         * include/libc-modules.h: New file.
29883         * include/libc-symbols.h: Include libc-modules.h
29884         (IS_IN): New macro to replace IS_IN_* macros.
29885         * elf/Makefile: Set libof-* for each routine.
29886         * elf/rtld-Rules: Likewise.
29887         * extra-modules.mk: Likewise.
29888         * iconv/Makefile: Likewise.
29889         * iconvdata/Makefile: Likewise.
29890         * locale/Makefile: Likewise.
29891         * malloc/Makefile: Likewise.
29892         * nss/Makefile: Likewise.
29893         * sysdeps/gnu/Makefile: Likewise.
29894         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29895         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29896         * sysdeps/s390/s390-64/Makefile: Likewise.
29897         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29898         CPPFLAGS for nscd instead of nonlib.
29900 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29902         * nptl/createthread.c: New file.
29904         * nptl/createthread.c: Moved ...
29905         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29907         * nptl/createthread.c: Add proper top-line comment.
29908         (do_clone): Folded into ...
29909         (create_thread): ... here.  Take new arguments STOPPED_START and
29910         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29911         increment __nptl_threads, do event-reporting logic, do
29912         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29913         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29914         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29915         just send SIGCANCEL.
29916         * nptl/pthread_create.c: Forward-declare create_thread before
29917         including createthread.c.
29918         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29919         declaration, and new macro START_THREAD_SELF to replace argument.
29920         Remove return statement.
29921         (report_thread_creation): New function.
29922         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29923         synchronization logic, and __nptl_nthreads increment here, around
29924         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29925         PD->parent_cancelhandling here, before create_thread.  When
29926         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29927         __deallocate_stack, and ENOMEM translation here.
29929 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29931         [BZ #17616]
29932         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29933         (mptwo): Rename to __mptwo.
29934         (__inv): Use __mptwo instead of mptwo.
29935         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29936         (mptwo): Rename to __mptwo.
29937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29938         of mpone and __mptwo instead of mptwo.
29939         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29940         instead of mpone.
29941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29942         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29943         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29944         of mpone and __mptwo instead of mptwo.
29945         (__mpranred): Use __mpone instead of mpone.
29946         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29947         variable.
29948         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29949         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29950         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29951         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29952         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29953         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29954         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29955         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29956         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29957         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29958         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29959         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29960         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29961         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29962         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29963         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29964         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29965         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29966         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29968 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29970         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29971         replace BSD Handler xref with BSD Signal Handling.
29973 2014-11-17  Richard Henderson  <rth@redhat.com>
29975         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29976         (_FP_PACK_RAW_2): Remove.
29977         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29978         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29979         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29980         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29981         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29982         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29983         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29984         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29985         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29986         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29987         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29988         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29989         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29990         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29991         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29992         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29994 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29996         * signal/signal.h [__USE_MISC]
29997         (struct sigvec): Remove type.
29998         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29999         (sigvec): Remove declaration.
30000         * sysdeps/posix/sigvec.c: Moved ...
30001         * signal/sigvec.c: ... here, replacing old file.
30002         (struct sigvec): New type, copied from old signal.h definition.
30003         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30004         (__sigvec): Convert definition to prototype.
30005         (sigvec): Replace weak_alias with compat_symbol.
30006         * signal/Versions (libc: GLIBC_2.21): New version set.
30007         * include/signal.h: Remove __sigvec declaration.
30008         * sysdeps/unix/bsd/sigvec.c: Remove file.
30009         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30010         * manual/signal.texi (BSD Handler): Remove subsection.
30011         Move siginterrupt up to ...
30012         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30013         (Blocking in BSD): Fold subsection into its parent.
30014         * NEWS: Mention sigvec removal.
30016 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30018         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30019         (DLA_FMS): Make definition conditional only on [__FMA4__].
30020         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30021         definition.
30023         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30024         Make definition conditional only on [PROF].
30025         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30026         definition.
30027         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30028         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30030         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30031         !__GNUC__].
30032         * include/signal.h (__sigpause): Move declaration above call to
30033         libc_hidden_proto.
30034         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30035         variable.
30036         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30037         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30039 2014-11-14  David S. Miller  <davem@davemloft.net>
30041         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30042         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30044 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30046         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30047         * configure: Regenerated.
30048         * manual/install.texi (Tools for Compilation): Document a
30049         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30050         compiler verified to work.
30051         * INSTALL: Regenerated.
30053         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30054         redeclare with asm name.
30055         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30056         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30057         including <string.h>.
30058         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30059         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30060         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30061         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30062         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30064         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30066 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30068         * stdlib/strtol.c (__strtol): Use prototype definition.
30070         [BZ #17594]
30071         * stdlib/strtol.c (SYM__): New macro.
30072         (SYM__1): Likewise.
30073         (__strtol): Likewise.
30074         (strtol): Rename to __strtol and define as weak alias of
30075         __strtol.  Use libc_hidden_weak.
30077 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30079         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30080         Use numbered labels in inline assembly.
30082 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30084         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30085         Add setjmp LIBC_PROBE.
30086         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30087         Likewise.
30088         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30089         Add longjmp, longjmp_target LIBC_PROBE.
30090         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30091         Likewise.
30093 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30096         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30097         to get rid of unused variable warning.
30099 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30101         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30102         Check for unwind_backtrace ==  NULL only in SHARED case.
30103         (__backchain_backtrace): Compile only in SHARED case.
30104         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30105         Likewise.
30106         (__backchain_backtrace): Declare as static.
30108 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30110         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30111         (__libc_multiple_threads_ptr): Variable moved ...
30112         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30114 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30116         * conform/GlibcConform.pm: New file.
30117         * conform/conformtest.pl: Use GlibcConform module.
30118         * conform/linknamespace.pl: New file.
30119         * conform/list-header-symbols.pl: Likewise.
30120         * conform/Makefile (linknamespace-symlists-base): New variable.
30121         (linknamespace-symlists-tests): Likewise.
30122         (linknamespace-header-base): Likewise.
30123         (linknamespace-header-tests): Likewise.
30124         (tests-special): Add new tests.
30125         ($(linknamespace-symlists-tests)): New rule.
30126         (linknamespace-libs): New variable.
30127         ($(objpfx)symlist-stdlibs): New rule.
30128         ($(linknamespace-header-tests)): Likewise.
30129         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30130         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30131         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30132         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30133         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30134         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30135         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30136         (test-xfail-ISO/math.h/linknamespace): Likewise.
30137         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30138         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30139         (test-xfail-ISO/time.h/linknamespace): Likewise.
30140         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30141         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30142         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30143         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30144         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30145         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30146         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30147         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30148         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30149         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30150         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30151         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30152         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30153         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30154         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30155         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30156         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30157         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30158         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30159         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30160         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30161         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30162         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30163         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30164         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30165         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30166         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30167         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30168         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30169         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30170         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30171         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30172         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30173         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30174         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30175         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30176         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30177         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30178         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30179         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30180         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30181         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30182         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30183         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30184         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30185         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30186         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30187         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30188         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30189         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30190         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30191         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30192         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30193         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30194         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30195         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30196         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30197         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30198         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30199         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30200         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30201         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30202         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30203         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30204         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30205         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30206         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30207         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30208         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30209         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30210         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30211         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30212         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30213         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30214         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30215         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30216         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30217         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30218         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30219         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30220         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30221         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30222         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30223         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30224         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30225         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30226         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30227         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30228         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30229         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30230         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30231         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30232         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30233         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30234         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30235         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30236         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30237         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30238         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30239         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30240         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30241         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30242         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30243         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30244         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30245         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30246         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30247         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30248         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30249         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30250         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30251         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30252         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30253         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30254         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30255         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30256         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30257         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30258         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30259         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30260         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30261         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30262         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30263         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30264         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30265         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30266         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30267         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30268         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30269         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30270         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30271         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30272         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30273         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30274         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30275         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30276         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30277         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30278         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30279         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30280         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30281         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30282         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30283         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30284         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30285         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30286         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30287         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30288         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30289         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30291         [BZ #17589]
30292         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30293         of fgets_unlocked.
30295         [BZ #17585]
30296         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30297         (memmem): Rename to __memmem and define as weak alias of
30298         __memmem.  Use libc_hidden_weak.
30299         (__memmem): Use libc_hidden_def.
30300         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
30301         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30302         memmem.
30304         [BZ #17582]
30305         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30306         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
30307         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30308         and define as weak alias of __fgets_unlocked.  Use
30309         libc_hidden_weak.
30310         (__fgets_unlocked): Use libc_hidden_def.
30311         * include/stdio.h (__fgets_unlocked): Declare.  Use
30312         libc_hidden_proto.
30313         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30314         __fgets_unlocked instead of fgets_unlocked.
30315         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30316         (GET_NPROCS_CONF_PARSER): Likewise.
30317         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30318         (GET_NPROCS_CONF_PARSER): Likewise.
30320         [BZ #17574]
30321         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30322         weak alias of __wmemset.  Use libc_hidden_weak.
30323         (__wmemset): Use libc_hidden_def.
30324         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
30325         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30326         of wmemset.
30328         [BZ #17573]
30329         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30330         with asm name __mempcpy.
30331         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30333         [BZ #17572]
30334         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30335         and define as weak alias of __rawmemchr.
30336         (__rawmemchr): Do not define as strong alias of rawmemchr.
30338         [BZ #17571]
30339         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30340         alias of __qsort_r.
30341         (qsort): Call __qsort_r instead of qsort_r.
30342         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30343         (__qsort_r): Declare.  Call libc_hidden_proto.
30344         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30345         instead of qsort_r.
30346         * nscd/gai.c (__qsort_r): Define to qsort_r.
30347         * posix/tst-rfc3484.c (__qsort_r): Likewise.
30348         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30349         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30351         [BZ #17570]
30352         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30353         define as weak alias of __malloc_info.
30355         [BZ #17584]
30356         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30357         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30358         (__rewinddir): Use libc_hidden_def.
30359         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30360         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30361         (__rewinddir): Use libc_hidden_def.
30362         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30363         weak alias of __rewinddir.  Don't use libc_hidden_def.
30364         (__rewinddir): Use libc_hidden_def.
30365         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30366         (__rewinddir): Use libc_hidden_proto.
30367         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30368         rewinddir.
30369         (__getcwd): Use __rewinddir instead of rewinddir.
30371         [BZ #17583]
30372         * libio/fileno.c (fileno): Rename to __fileno and define as weak
30373         alias of __fileno.  Use libc_hidden_weak.
30374         (__fileno): Use libc_hidden_def.
30375         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30376         * libio/ftello.c (ftello): Rename to __ftello and define as weak
30377         alias of __ftello.
30378         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30379         __ftello.
30380         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30381         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
30382         libc_hidden_def.
30383         (fread_unlocked): Don't use libc_hidden_ver.
30384         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30385         and define as weak alias of __fread_unlocked.  Don't use
30386         libc_hidden_def.
30387         (__fread_unlocked): Use libc_hidden_def.
30388         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
30389         (ftello): Don't use libc_hidden_proto.
30390         (__ftello): Declare.  Use libc_hidden_proto.
30391         (fread_unlocked): Don't use libc_hidden_proto.
30392         (__fread_unlocked): Declare.  Use libc_hidden_proto.
30393         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30394         and __ftello instead of fileno, fread_unlocked and ftello.
30396 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30398         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30399         GOT12.
30400         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30401         Likewise.
30402         (_dl_start_user): Likewise.
30403         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30405 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
30406             Siddhesh Poyarekar  <siddhesh@redhat.com>
30408         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30409         Move argv and envp down instead of moving argc up.
30410         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30412 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
30414         [BZ #17506]
30415         * test-skeleton.c (main): Return successful if one of
30416         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30417         * string/tst-strcoll-overflow.c: Define expected status.
30419 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
30421         [BZ #17475]
30422         * locale/iso-639.def: Define Bhili and Tulu language codes.
30424 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
30426         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30428 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
30430         [BZ #17555]
30431         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30433 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30435         * configure.ac: Updated check of minimal required version to
30436         2.22.
30437         * manual/install.texi (Tools for Compilation): Updated version
30438         number.
30439         * configure: Regenerated.
30440         * INSTALL: Likewise.
30442 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30444         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30445         __tls_get_addr.
30447 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30449         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30450         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30451         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30452         libc_hidden_weak.
30453         (waitpid): Define as alias of __waitpid.
30454         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30455         __waitpid.
30456         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30457         libc_hidden_weak.
30458         (waitpid): Define as alias of __waitpid.
30459         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30460         __libc_waitpid alias.
30461         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30462         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30463         Likewise.
30464         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30465         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30466         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30467         alias.
30468         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30469         __waitpid.
30470         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30471         libc_hidden_weak.
30472         (waitpid): Define as alias of __waitpid.
30474 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30476         * manual/llio.texi: Add comment that write safety has been
30477         fixed in Linux.
30479         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30480         (localplt-build-dso): Add elf/ld.so.
30481         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30482         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30483         and free for ld.so.
30484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30485         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30487         Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30489         Likewise.
30490         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30491         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30492         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30493         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30494         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30495         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30496         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30497         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30498         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30499         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30500         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30502 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30504         [BZ #14132]
30505         * include/libc-symbols.h (INTUSE): Remove macro.
30506         (INTDEF): Likewise.
30507         (INTVARDEF): Likewise.
30508         (_INTVARDEF): Likewise.
30509         (INTDEF2): Likewise.
30510         (INTVARDEF2): Likewise.
30511         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30512         rtld_hidden_def instead of INTVARDEF.
30513         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30514         (_dl_starting_up_internal): Remove declaration.
30515         (_dl_starting_up): Use rtld_hidden_proto.
30516         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30517         declaration.
30518         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30519         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30520         _dl_starting_up.
30521         * elf/dl-writev.h (_dl_writev): Likewise.
30522         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30523         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30524         _dl_starting_up_internal.
30526 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30528         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30529         test-skeleton.c.
30531 2014-11-05  Will Newton  <will.newton@linaro.org>
30533         * benchtests/Makefile: (bench-malloc): Add malloc thread
30534         scalability benchmark.
30535         * benchtests/bench-malloc-threads.c: New file.
30537 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30539         * sysdeps/aarch64/strchrnul.S: New file.
30541 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30543         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30544         definition.
30545         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30546         Likwise.
30547         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30548         Likewise.
30549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30550         Likewise.
30551         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30552         Likewise.
30553         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30554         Likewise.
30556 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30558         * catgets/test-gencat.c: Use test-skeleton.c.
30559         * catgets/tst-catgets.c: Likewise.
30560         * csu/tst-empty.c: Likewise.
30561         * elf/tst-audit2.c: Likewise.
30562         * elf/tst-global1.c: Likewise.
30563         * elf/tst-pathopt.c: Likewise.
30564         * elf/tst-piemod1.c: Likewise.
30565         * elf/tst-tls10.c: Likewise.
30566         * elf/tst-tls11.c: Likewise.
30567         * elf/tst-tls12.c: Likewise.
30568         * gnulib/tst-gcc.c: Likewise.
30569         * iconvdata/tst-e2big.c: Likewise.
30570         * iconvdata/tst-loading.c: Likewise.
30571         * iconv/tst-iconv1.c: Likewise.
30572         * iconv/tst-iconv2.c: Likewise.
30573         * inet/test-inet6_opt.c: Likewise.
30574         * inet/tst-gethnm.c: Likewise.
30575         * inet/tst-network.c: Likewise.
30576         * inet/tst-ntoa.c: Likewise.
30577         * intl/tst-codeset.c: Likewise.
30578         * intl/tst-gettext2.c: Likewise.
30579         * intl/tst-gettext3.c: Likewise.
30580         * intl/tst-ngettext.c: Likewise.
30581         * intl/tst-translit.c: Likewise.
30582         * io/test-stat.c: Likewise.
30583         * libio/test-fmemopen.c: Likewise.
30584         * libio/tst-freopen.c: Likewise.
30585         * libio/tst-sscanf.c: Likewise.
30586         * libio/tst-ungetwc1.c: Likewise.
30587         * libio/tst-ungetwc2.c: Likewise.
30588         * libio/tst-widetext.c: Likewise.
30589         * localedata/tst-ctype.c: Likewise.
30590         * localedata/tst-digits.c: Likewise.
30591         * localedata/tst-leaks.c: Likewise.
30592         * localedata/tst-mbswcs1.c: Likewise.
30593         * localedata/tst-mbswcs2.c: Likewise.
30594         * localedata/tst-mbswcs3.c: Likewise.
30595         * localedata/tst-mbswcs4.c: Likewise.
30596         * localedata/tst-mbswcs5.c: Likewise.
30597         * localedata/tst-setlocale.c: Likewise.
30598         * localedata/tst-trans.c: Likewise.
30599         * localedata/tst-wctype.c: Likewise.
30600         * localedata/tst-xlocale1.c: Likewise.
30601         * login/tst-grantpt.c: Likewise.
30602         * malloc/tst-calloc.c: Likewise.
30603         * malloc/tst-malloc.c: Likewise.
30604         * malloc/tst-mallocstate.c: Likewise.
30605         * malloc/tst-mcheck.c: Likewise.
30606         * malloc/tst-mtrace.c: Likewise.
30607         * malloc/tst-obstack.c: Likewise.
30608         * math/atest-exp2.c: Likewise.
30609         * math/atest-exp.c: Likewise.
30610         * math/atest-sincos.c: Likewise.
30611         * math/test-matherr.c: Likewise.
30612         * math/test-misc.c: Likewise.
30613         * math/test-powl.c: Likewise.
30614         * math/tst-definitions.c: Likewise.
30615         * misc/tst-dirname.c: Likewise.
30616         * misc/tst-efgcvt.c: Likewise.
30617         * misc/tst-fdset.c: Likewise.
30618         * misc/tst-hsearch.c: Likewise.
30619         * misc/tst-mntent2.c: Likewise.
30620         * nptl/tst-sem7.c: Likewise.
30621         * nptl/tst-sem8.c: Likewise.
30622         * nptl/tst-sem9.c: Likewise.
30623         * nss/test-netdb.c: Likewise.
30624         * posix/tst-fnmatch.c: Likewise.
30625         * posix/tst-getlogin.c: Likewise.
30626         * posix/tst-gnuglob.c: Likewise.
30627         * posix/tst-mmap.c: Likewise.
30628         * pwd/tst-getpw.c: Likewise.
30629         * resolv/tst-inet_ntop.c: Likewise.
30630         * rt/tst-timer.c: Likewise.
30631         * stdio-common/test-fseek.c: Likewise.
30632         * stdio-common/test-popen.c: Likewise.
30633         * stdio-common/test-vfprintf.c: Likewise.
30634         * stdio-common/tst-cookie.c: Likewise.
30635         * stdio-common/tst-fileno.c: Likewise.
30636         * stdio-common/tst-gets.c: Likewise.
30637         * stdio-common/tst-obprintf.c: Likewise.
30638         * stdio-common/tst-perror.c: Likewise.
30639         * stdio-common/tst-sprintf2.c: Likewise.
30640         * stdio-common/tst-sprintf3.c: Likewise.
30641         * stdio-common/tst-sprintf.c: Likewise.
30642         * stdio-common/tst-swprintf.c: Likewise.
30643         * stdio-common/tst-tmpnam.c: Likewise.
30644         * stdio-common/tst-unbputc.c: Likewise.
30645         * stdio-common/tst-wc-printf.c: Likewise.
30646         * stdlib/tst-environ.c: Likewise.
30647         * stdlib/tst-fmtmsg.c: Likewise.
30648         * stdlib/tst-limits.c: Likewise.
30649         * stdlib/tst-rand48-2.c: Likewise.
30650         * stdlib/tst-rand48.c: Likewise.
30651         * stdlib/tst-random2.c: Likewise.
30652         * stdlib/tst-random.c: Likewise.
30653         * stdlib/tst-strtol.c: Likewise.
30654         * stdlib/tst-strtoll.c: Likewise.
30655         * stdlib/tst-tls-atexit.c: Likewise.
30656         * stdlib/tst-xpg-basename.c: Likewise.
30657         * string/test-ffs.c: Likewise.
30658         * string/tst-bswap.c: Likewise.
30659         * string/tst-inlcall.c: Likewise.
30660         * string/tst-strtok.c: Likewise.
30661         * string/tst-strxfrm.c: Likewise.
30662         * sysdeps/x86_64/tst-audit10.c: Likewise.
30663         * sysdeps/x86_64/tst-audit3.c: Likewise.
30664         * sysdeps/x86_64/tst-audit4.c: Likewise.
30665         * sysdeps/x86_64/tst-audit5.c: Likewise.
30666         * time/tst-ftime_l.c: Likewise.
30667         * time/tst-getdate.c: Likewise.
30668         * time/tst-mktime3.c: Likewise.
30669         * time/tst-mktime.c: Likewise.
30670         * time/tst-posixtz.c: Likewise.
30671         * time/tst-strptime2.c: Likewise.
30672         * time/tst-strptime3.c: Likewise.
30673         * wcsmbs/tst-btowc.c: Likewise.
30674         * wcsmbs/tst-mbrtowc.c: Likewise.
30675         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30676         * wcsmbs/tst-wchar-h.c: Likewise.
30677         * wcsmbs/tst-wcpncpy.c: Likewise.
30678         * wcsmbs/tst-wcrtomb.c: Likewise.
30679         * wcsmbs/tst-wcsnlen.c: Likewise.
30680         * wcsmbs/tst-wcstof.c: Likewise.
30682 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30684         [BZ #14132]
30685         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30686         INTDEF.
30687         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30688         declaration.
30689         (_dl_mcount): Use rtld_hidden_proto.
30690         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30691         _dl_mcount.
30692         * elf/rtld.c (_rtld_global_ro): Likewise.
30694         [BZ #14132]
30695         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30696         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30697         of _dl_init_internal.
30698         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30699         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30700         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30701         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30702         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30703         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30704         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30705         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30706         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30707         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30708         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30709         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30710         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30711         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30712         * sysdeps/tile/dl-start.S (_start): Likewise.
30713         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30714         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30716         [BZ #14132]
30717         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30718         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30719         (rtld_progname): Make macro definition unconditional.
30720         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30721         INTDEF.
30722         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30723         (dl_main): Likewise.
30724         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30725         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30726         instead of _dl_argv_internal.
30727         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30728         __GI__dl_argv instead of INTUSE(_dl_argv).
30729         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30730         __GI__dl_argv instead of _dl_argv_internal.
30732         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30733         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30734         macro.
30735         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30736         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30737         New macro.
30738         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30739         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30740         macro.
30741         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30742         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30744 2014-11-04  Andreas Schwab  <schwab@suse.de>
30746         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30748 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30750         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30751         mtvsrd instruction in binary form.
30753 2014-11-03  Andreas Schwab  <schwab@suse.de>
30755         [BZ #17522]
30756         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30757         for less than MB_LEN_MAX use a local buffer of that size.
30758         * libio/tst-fputws.c: New file.
30759         * libio/Makefile (tests): Add tst-fputws.
30761 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30763         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30764         the size of the fpu_fr.fpu_dregs[] array.
30766 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30768         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30769         (__nanosleep): Do not define as alias.
30770         (nanosleep): Define as alias of __nanosleep.
30771         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30772         __libc_nanosleep name.
30774 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30776         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30777         install.texi in comment.
30779 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30781         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30782         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30783         ... add here and use lwsync or sync ...
30784         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30785         ... and add here using lwsync.
30787 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30789         * elf/dl-machine-reject-phdr.h: New file.
30790         * elf/dl-load.c: #include that.
30791         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30792         if that returned true.
30794 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30796         [BZ #17496]
30797         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30798         gen-as-const-headers chunk.  Add a big scare comment after the last
30799         safe place to touch before-compile.
30801 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30803         * manual/install.texi (Tools for Compilation): Update autoconf
30804         version requirements.
30805         * INSTALL: Regenerated.
30807         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30808         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30809         (__libc_pselect): Likewise.
30811         [BZ #14138]
30812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30817 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30819         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30820         correct barrier instruction.
30821         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30822         Likewise.
30823         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30824         Likewise.
30826 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30828         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30829         after defining inlines.  Instead, just use parens to defeat macro
30830         expansion of __isctype in its declaration.
30832 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30834         * include/sys/uio.h (__libc_readv): Remove declaration.
30835         (__libc_writev): Likewise.
30836         * misc/readv.c (__libc_readv): Rename to __readv.
30837         (__readv): Do not define as alias.
30838         (readv): Define as alias of __readv.
30839         * misc/writev.c (__libc_writev): Rename to __writev.
30840         (__writev): Do not define as alias.
30841         (writev): Define as alias of __writev.
30842         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30843         (__readv): Do not define as alias.
30844         (readv): Define unconditionally as alias of __readv.
30845         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30846         (__writev): Do not define as alias.
30847         (writev): Define unconditionally as alias of __writev.
30848         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30849         name.
30850         (writev): Do not define __libc_writev name.
30852 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30854         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30855         (convert_charseq): New function, broken out of ...
30856         (use_from_charmap): ... here.  Call it.
30857         (use_to_charmap): Use convert_charseq and free instead of duplicating
30858         its code with a variable-length stack struct.
30860 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30862         * include/fcntl.h (__libc_creat): Remove declaration.
30863         * io/creat.c (__libc_creat): Rename to creat.
30864         (creat): Do not define as alias.
30865         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30866         of creat instead of __libc_creat.
30867         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30868         to creat.
30869         (creat): Do not define as alias.
30870         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30871         __libc_creat.
30872         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30873         __libc_creat name.
30874         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30875         Likewise.
30877 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30879         * manual/llio.texi: Add comments discussing why write() may be
30880         considered MT-unsafe on Linux.
30882 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30884         * dl-load.c (local_strdup): Remove.
30885         (expand_dynamic_string_token): Use __strdup.
30886         (decompose_rpath): Likewise.
30887         (_dl_map_object): Likewise.
30889 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30891         [BZ #14132]
30892         * sysdeps/generic/unwind-dw2-fde.c
30893         (__register_frame_info_bases_internal): Do not declare.
30894         (__register_frame_info_table_bases_internal): Likewise.
30895         (__deregister_frame_info_bases_internal): Likewise.
30896         (__register_frame_info_bases): Declare and use hidden_proto before
30897         definition.  Use hidden_def instead of INTDEF.
30898         (__register_frame_info_table_bases): Likewise.
30899         (__deregister_frame_info_bases): Likewise.
30900         (__register_frame_info): Do not use INTUSE.
30901         (__register_frame): Likewise.
30902         (__register_frame_info_table): Likewise.
30903         (__register_frame_table): Likewise.
30904         (__deregister_frame_info): Likewise.
30905         (__deregister_frame): Likewise.
30907 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30909         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30910         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30911         not undefine.
30912         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30913         Likewise.
30914         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30915         Likewise.
30917 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30919         [BZ #14138]
30920         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30921         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30922         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30923         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30924         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30925         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30926         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30927         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30928         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30929         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30930         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30931         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30932         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30933         syscall.
30934         (setfsuid): Likewise.
30935         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30936         (setfsuid): Likewise.
30937         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30938         (setfsuid): Likewise.
30939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30940         Likewise.
30941         (setfsuid): Likewise.
30942         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30943         (setfsuid): Likewise.
30944         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30945         Likewise.
30946         (setfsuid): Likewise.
30948 2014-10-27  Andreas Schwab  <schwab@suse.de>
30950         [BZ #17501]
30951         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30952         check for Slow_SSE4_2 feature bit.
30953         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30954         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30955         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30956         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30958 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30960         * configure.ac: Validate compiler version with a empirical test of
30961         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30962         $CC -v output.
30963         * configure: Regenerated.
30965         * inet/htons.c (htons): Prototypify.
30966         * inet/htonl.c (htonl): Likewise.
30968 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30970         * string/strncat.c (strncat): Improve performance by using strlen.
30972 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30974         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30976 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30978         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30979         Call libc_fetestexcept_aarch64.
30981 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30983         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30984         Call libc_feholdexcept_aarch64.
30986 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30988         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30989         Call get_rounding_mode.
30991 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30993         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30994         Simplify logic.
30996 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30998         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30999         Simplify logic.
31001 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31003         [BZ #14138]
31004         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31005         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31006         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31007         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31008         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31009         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31010         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31011         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31012         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31013         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31014         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31015         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31016         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31017         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31018         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31019         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31020         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31021         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31022         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31023         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31024         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31025         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31026         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31027         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31028         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31029         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31030         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31031         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31032         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31033         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31034         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31035         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31036         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31037         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31038         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31039         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31040         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31041         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31042         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31043         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31044         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31045         syscall.
31046         (geteuid): Likewise.
31047         (getgid): Likewise.
31048         (getuid): Likewise.
31049         (getresgid): Likewise.
31050         (getresuid): Likewise.
31051         (getgroups): Likewise.
31052         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31053         (geteuid): Likewise.
31054         (getgid): Likewise.
31055         (getuid): Likewise.
31056         (getresgid): Likewise.
31057         (getresuid): Likewise.
31058         (getgroups): Likewise.
31059         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31060         (geteuid): Likewise.
31061         (getgid): Likewise.
31062         (getuid): Likewise.
31063         (getresgid): Likewise.
31064         (getresuid): Likewise.
31065         (getgroups): Likewise.
31066         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31067         Likewise.
31068         (geteuid): Likewise.
31069         (getgid): Likewise.
31070         (getuid): Likewise.
31071         (getresgid): Likewise.
31072         (getresuid): Likewise.
31073         (getgroups): Likewise.
31074         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31075         (geteuid): Likewise.
31076         (getgid): Likewise.
31077         (getuid): Likewise.
31078         (getresgid): Likewise.
31079         (getresuid): Likewise.
31080         (getgroups): Likewise.
31081         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31082         Likewise.
31083         (geteuid): Likewise.
31084         (getgid): Likewise.
31085         (getuid): Likewise.
31086         (getgroups): Likewise.
31088         [BZ #14138]
31089         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31090         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31091         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31092         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31093         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31094         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31095         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31096         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31097         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31098         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31099         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31100         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31101         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31102         __chown.
31103         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31104         (lchown): Likewise.
31105         (fchown): Likewise.
31106         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31107         Likewise.
31108         (lchown): Likewise.
31109         (fchown): Likewise.
31110         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31111         (lchown): Likewise.
31112         (fchown): Likewise.
31113         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31114         Likewise.
31115         (lchown): Likewise.
31116         (fchown): Likewise.
31118 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31120         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31121         Simplify logic.
31123 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31125         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31126         Cleanup logic.
31128 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31130         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31131         Remove unused include.
31133 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31135         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31136         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31137         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31138         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31140 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31141             Helge Deller <deller@gmx.de>
31143         [BZ #17508]
31144         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31145         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31146         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31148 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31150         [BZ #14132]
31151         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31152         Remove macro definition.
31153         (__ashrdi3_v_glibc20): Likewise.
31154         (__lshrdi3_v_glibc20): Likewise.
31155         (__cmpdi2_v_glibc20): Likewise.
31156         (__ucmpdi2_v_glibc20): Likewise.
31157         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31158         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31159         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31160         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31161         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31162         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31164 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31166         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31167         old GNU extension [0] syntax.
31168         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31169         alloca rather than an array member with variable length.
31170         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31171         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31172         (parse_opt): ... here.  Likewise use alloca there.
31173         Validate the -i argument before checking for rootness.
31174         (send_shutdown): New function, broken out of ...
31175         (parse_opt): ... here.
31177 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31179         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31180         macro to get at the _rt_local_ro field.
31181         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31182         ([PIC] case) or _dl_hwcap ([!PIC] case).
31183         * sysdeps/arm/setjmp.S: Likewise.
31185         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31186         * sysdeps/arm/configure.ac: New check to define it.
31187         * sysdeps/arm/configure: Regenerated.
31188         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31189         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31190         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31191         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31192         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31193         Use move/movt pair instead of a load.
31194         (LDST_GLOBAL): Macro removed.
31195         (LDR_GLOBAL): New macro replaces it.
31196         (LDR_HIDDEN): New macro.
31197         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31198         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31200         * setjmp/tst-setjmp-static.c: New file.
31201         * setjmp/Makefile (tests): Add it.
31202         (tests-static): New variable.
31204 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31206         [BZ #17485]
31207         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31209 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31211         [BZ #14132]
31212         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31214 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31216         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31218 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31220         * io/fts.c (dirent_not_directory): New function.
31221         (fts_build): Call it.
31223 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31225         * nptl/version.c (__nptl_main): Use normal __write rather than
31226         INTERNAL_SYSCALL.
31227         (banner): Update copyright years.
31229         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31230         gettimeofday.
31231         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31232         * nptl/pthread_cond_timedwait.c: Likewise.
31233         * nptl/pthread_mutex_timedlock.c: Likewise.
31234         * nptl/sem_timedwait.c: Likewise.
31236         * sysdeps/nptl/bits/libc-lock.h
31237         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31238         (__libc_lock_init_recursive): Return void, not 0.
31239         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31240         (__libc_rwlock_init): Likewise.
31241         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31243 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31245         [BZ #15215]
31246         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31247         (__pthread_once_slow): ... here.
31248         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31249         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31251 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31253         [BZ #15215]
31254         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31255         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31256         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31257         * nptl/pthread_once.c (__pthread_once): Likewise.
31258         Update comments.
31260 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31262         [BZ #14138]
31263         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31264         name.
31265         (writev): Use __libc_writev as strong name.
31266         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31267         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31269 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31271         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31273         * sysdeps/i386/nptl/tls.h
31274         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31275         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31276         New macros.
31277         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31278         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31279         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31280         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31281         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31282         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31284         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31285         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31286         on [__NR_futex].
31287         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31288         broken out of ...
31289         (__pthread_mutex_init): ... here.  Call it.
31290         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31291         Conditionalize PI cases on [__NR_futex].
31292         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31293         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31294         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31296         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31297         conditional on [SIGSETXID].
31298         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31299         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31300         is defined.  Likewise for SIGSETXID.
31301         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31302         Conditionalize definitions on [SIGSETXID].
31303         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31304         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31305         unblocking on [SIGCANCEL].
31307         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31308         [__NR_set_robust_list].
31310 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31312         * string/strcoll_l.c (get_next_seq): Fix up formatting.
31313         (do_compare): Likewise.
31315 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
31317         [BZ #15884]
31318         * string/strcoll_l.c: Don't include stdio.h.
31319         (coll_seq): Remove members idxarr and rulearr.
31320         (get_next_seq_cached): Remove function.
31321         (get_next_seq): Likewise.
31322         (get_next_seq_nocache): Rename to get_next_seq.
31323         (do_compare): Remove function.
31324         (do_compare_nocache): Rename to do_compare.
31325         (STRCOLL): Remove weight and rules cache.
31327 2014-10-16  Roland McGrath  <roland@hack.frob.com>
31329         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31330         * sysdeps/arm/sfp-machine.h: ... to here.
31331         * sysdeps/arm/Implies: Remove arm/soft-fp.
31333 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
31335         * conform/data/sys/utsname.h-data (*_t): Allow.
31336         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31337         [POSIX] (WEXITED): Do not expect constant.
31338         [POSIX] (WSTOPPED): Likewise.
31339         [POSIX] (WNOHANG): Likewise.
31340         [POSIX] (WNOWAIT): Likewise.
31341         [POSIX] (siginfo_t): Do not expect type or elements.
31342         [POSIX] (pid_t): Do not expect type.
31343         [POSIX] (signal.h): Do not allow header.
31344         [POSIX] (sys/resource.h): Likewise.
31345         [POSIX] (si_*): Do not allow pattern.
31346         [POSIX] (W*): Likewise.
31347         [POSIX] (P_*): Likewise.
31348         [POSIX] (BUS_*): Likewise.
31349         [POSIX] (CLD_*): Likewise.
31350         [POSIX] (FPE_*): Likewise.
31351         [POSIX] (ILL_*): Likewise.
31352         [POSIX] (POLL_*): Likewise.
31353         [POSIX] (SEGV_*): Likewise.
31354         [POSIX] (SI_*): Likewise.
31355         [POSIX] (TRAP_*): Likewise.
31356         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31357         variable.
31359 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31361         [BZ #12926]
31362         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31363         infinite loop when __recvmsg returns 0.
31365 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
31367         * CANCEL-FCT-WAIVE: Remove file.
31368         * CANCEL-FILE-WAIVE: Likewise.
31370         [BZ #14132]
31371         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31372         instead of INTVARDEF.
31373         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31374         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31375         rtld_hidden_data_def instead of INTVARDEF.
31376         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31377         * elf/dl-deps.c (expand_dst): Likewise.
31378         * elf/dl-load.c (_dl_dst_count): Likewise.
31379         (_dl_dst_substitute): Likewise.
31380         (decompose_rpath): Likewise.
31381         (_dl_init_paths): Likewise.
31382         (open_path): Likewise.
31383         (_dl_map_object): Likewise.
31384         * elf/rtld.c (dl_main): Likewise.
31385         (process_dl_audit): Likewise.
31386         (process_envvars): Likewise.
31387         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31388         Remove declaration.
31389         (__libc_enable_secure): Use rtld_hidden_proto.
31391 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31393         * elf/dl-load.c
31394         (add_path): New function broken out of _dl_rtld_di_serinfo.
31395         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
31397 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31399         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31400         parentheses around macro arguments.
31401         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31402         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31404         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31408         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31412         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31413         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31416         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31417         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31426         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31430         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31431         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31434         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31435         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31436         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31437         Likewise.
31438         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31439         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31441         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31442         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31445         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31446         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31447         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31448         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31449         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31450         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31455         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31459         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31460         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31461         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31463         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31464         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31465         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31466         (_FP_FRAC_SRS_1): Likewise.
31467         (_FP_FRAC_CLZ_1): Likewise.
31468         (_FP_MUL_MEAT_1_imm): Likewise.
31469         (_FP_MUL_MEAT_1_wide): Likewise.
31470         (_FP_MUL_MEAT_1_hard): Likewise.
31471         (_FP_SQRT_MEAT_1): Likewise.
31472         (_FP_FRAC_ASSEMBLE_1): Likewise.
31473         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31474         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31475         (__FP_CLZ_2): Likewise.
31476         (_FP_MUL_MEAT_2_wide): Likewise.
31477         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31478         (_FP_MUL_MEAT_2_gmp): Likewise.
31479         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31480         (_FP_SQRT_MEAT_2): Likewise.
31481         (_FP_FRAC_ASSEMBLE_2): Likewise.
31482         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31483         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31484         (_FP_FRAC_CLZ_4): Likewise.
31485         (_FP_MUL_MEAT_4_wide): Likewise.
31486         (_FP_MUL_MEAT_4_gmp): Likewise.
31487         (_FP_SQRT_MEAT_4): Likewise.
31488         (_FP_FRAC_ASSEMBLE_4): Likewise.
31489         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31490         * soft-fp/op-common.h (_FP_CMP): Likewise.
31491         (_FP_CMP_EQ): Likewise.
31492         (_FP_CMP_UNORD): Likewise.
31493         (_FP_TO_INT): Likewise.
31494         (_FP_FROM_INT): Likewise.
31495         [!__FP_CLZ] (__FP_CLZ): Likewise.
31496         (_FP_DIV_HELP_imm): Likewise.
31497         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31498         Likewise.
31499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31500         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31502         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31510         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31511         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31512         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31513         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31514         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31515         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31524         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31525         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31526         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31528         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31529         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31530         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31531         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31532         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31533         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31534         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31535         (FP_UNPACK_RAW_SP): Likewise.
31536         (FP_PACK_RAW_S): Likewise.
31537         (FP_PACK_RAW_SP): Likewise.
31538         (FP_UNPACK_S): Likewise.
31539         (FP_UNPACK_SP): Likewise.
31540         (FP_UNPACK_SEMIRAW_S): Likewise.
31541         (FP_UNPACK_SEMIRAW_SP): Likewise.
31542         (FP_PACK_S): Likewise.
31543         (FP_PACK_SP): Likewise.
31544         (FP_PACK_SEMIRAW_S): Likewise.
31545         (FP_PACK_SEMIRAW_SP): Likewise.
31546         (_FP_SQRT_MEAT_S): Likewise.
31547         (FP_CMP_S): Likewise.
31548         (FP_CMP_EQ_S): Likewise.
31549         (FP_CMP_UNORD_S): Likewise.
31550         (FP_TO_INT_S): Likewise.
31551         (FP_FROM_INT_S): Likewise.
31553         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31555         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31556         (FP_EX_INVALID_IMZ): Likewise.
31557         (FP_EX_INVALID_IMZ_FMA): Likewise.
31558         (FP_EX_INVALID_ISI): Likewise.
31559         (FP_EX_INVALID_ZDZ): Likewise.
31560         (FP_EX_INVALID_IDI): Likewise.
31561         (FP_EX_INVALID_SQRT): Likewise.
31562         (FP_EX_INVALID_CVI): Likewise.
31563         (FP_EX_INVALID_VC): Likewise.
31564         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31565         "invalid" exceptions.
31566         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31567         (_FP_ADD_INTERNAL): Likewise.
31568         (_FP_MUL): Likewise.
31569         (_FP_FMA): Likewise.
31570         (_FP_DIV): Likewise.
31571         (_FP_CMP_CHECK_NAN): Likewise.
31572         (_FP_SQRT): Likewise.
31573         (_FP_TO_INT): Likewise.
31574         (FP_EXTEND): Likewise.
31576 2014-10-09  Allan McRae  <allan@archlinux.org>
31578         * po/fr.po: Update French translation from translation project.
31580 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #14132]
31583         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31584         of INTDEF.
31585         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31586         (__cxa_atexit): Use libc_hidden_proto.
31587         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31589         [BZ #14132]
31590         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31591         declaration.
31592         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31593         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31594         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31595         [!_ISOMAC] (__iswctype_internal): Likewise.
31596         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31597         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31598         alias.
31599         (fcntl): Remove __fcntl_internal alias.
31600         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31601         __connect_internal alias.
31602         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31603         Likewise.
31605         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31606         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31607         FP_DENORM_ZERO.
31608         (_FP_CHECK_FLUSH_ZERO): New macro.
31609         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31610         (_FP_CMP): Likewise.
31611         (_FP_CMP_EQ): Likewise.
31612         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31613         FP_DENORM_ZERO.
31614         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31615         (FP_TRUNC): Likewise.
31617         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31618         treated as invalid conversion, not as normal exponent.
31620         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31621         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31622         (_FP_CMP_EQ): Likewise.
31623         (_FP_CMP_UNORD): Likewise.
31624         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31625         (FP_CMP_EQ_D): Likewise.
31626         (FP_CMP_UNORD_D): Likewise.
31627         * soft-fp/extended.h (FP_CMP_E): Likewise.
31628         (FP_CMP_EQ_E): Likewise.
31629         (FP_CMP_UNORD_E): Likewise.
31630         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31631         (FP_CMP_EQ_Q): Likewise.
31632         (FP_CMP_UNORD_Q): Likewise.
31633         * soft-fp/single.h (FP_CMP_S): Likewise.
31634         (FP_CMP_EQ_S): Likewise.
31635         (FP_CMP_UNORD_S): Likewise.
31636         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31637         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31638         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31639         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31640         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31641         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31642         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31643         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31644         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31645         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31646         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31647         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31648         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31649         to FP_CMP_Q.
31650         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31651         FP_CMP_Q.
31652         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31653         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31654         FP_CMP_EQ_Q.
31655         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31656         FP_CMP_Q.
31657         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31658         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31659         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31660         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31661         FP_CMP_EQ_Q.
31662         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31663         FP_CMP_Q.
31664         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31665         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31666         FP_CMP_EQ_Q.
31667         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31668         FP_CMP_Q.
31669         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31670         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31671         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31672         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31673         FP_CMP_EQ_Q.
31675         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31676         a subnormal result, set the underflow exception if trapping on
31677         underflow is enabled.
31678         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31679         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31680         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31681         redefine to 0.
31682         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31683         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31684         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31685         * soft-fp/extendxftf2.c (__extendxftf2): Use
31686         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31688         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31689         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31690         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31691         FP_HANDLE_EXCEPTIONS.
31692         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31693         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31694         FP_HANDLE_EXCEPTIONS.
31695         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31696         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31697         FP_HANDLE_EXCEPTIONS.
31698         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31699         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31700         FP_HANDLE_EXCEPTIONS.
31702 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31704         [BZ #14132]
31705         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31706         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31707         use INTUSE.
31708         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31709         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31710         Remove alias.
31711         (__adjtimex): Define using libc_hidden_ver.
31712         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31713         Remove declaration.
31714         (ntp_gettime): Call __adjtimex directly.
31715         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31716         Remove declaration.
31717         (ntp_gettimex): Call __adjtimex directly.
31718         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31719         __adjtimex_internal alias.
31721 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31723         [BZ #17460]
31724         * nscd/nscd.c (more_help): Rewrite list of tables collection
31725         using xstrdup and asprintf.
31727         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31729 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31730             Roland McGrath  <roland@hack.frob.com>
31732         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31733         (do_lookup_unique): ... local function 'enter' here; update callers.
31735 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31737         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31738         compat_symbol calls on [SHARED].
31739         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31740         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31741         Remove.
31742         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31743         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31744         (oldsetrlimit): Remove.
31745         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31747         (lchown): New syscall entry.
31748         (oldsetrlimit): Remove.
31749         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31750         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31751         (oldsetrlimit): Remove.
31752         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31754         [BZ #14138]
31755         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31756         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31757         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31758         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31759         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31760         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31761         (fchown): Likewise.
31762         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31763         (fchown): Likewise.
31764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31765         Likewise.
31767 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31769         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31770         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31771         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31772         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31773         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31774         Likewise.
31775         (__old_sem_post): Likewise.
31777 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31779         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31780         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31781         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31782         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31783         Use INLINE_VSYSCALL macro.
31784         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31785         __vdso_clock_gettime.
31786         * sysdeps/unix/sysv/linux/tile/init-first.c
31787         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31788         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31789         __vdso_clock_gettime.
31791         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31792         to set up frame more cleanly.
31794         * sysdeps/tile/memcmp.c: New file.
31796         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31798         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31799         * sysdeps/tile/tilegx/strcasestr.c: New file.
31800         * sysdeps/tile/tilegx/strnlen.c: New file.
31801         * sysdeps/tile/tilegx/strstr.c: New file.
31803         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31805 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31807         * nptl/tst-setuid3.c: Write errors to stdout.
31809 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31811         * elf/dl-deps.c
31812         (preload): New functions broken out of _dl_map_object_deps.
31813         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31815 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31817         [BZ #14138]
31818         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31819         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31821 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31823         * sysdeps/mips/strcmp.S: New.
31825 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31827         [BZ #14138]
31828         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31829         (linkat): Likewise.
31830         (mkdirat): Likewise.
31831         (readlinkat): Likewise.
31832         (renameat): Likewise.
31833         (symlinkat): Likewise.
31834         (unlinkat): Likewise.
31835         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31836         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31837         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31838         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31839         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31840         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31841         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31843 2014-09-30  Will Newton  <will.newton@linaro.org>
31845         * math/math.h: Define long double math functions if
31846         _LIBC_TEST is defined.
31847         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31849         * localedata/Makefile: Move assignment to tests-special
31850         into an ifdef testing run-built-tests.
31851         * timezone/Makefile: Likewise.
31853 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31855         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31856         with $(BASH) not $(SHELL).
31858 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31859             Matthew LeGendre  <legendre1@llnl.gov>
31861         [BZ #17411]
31862         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31863         l_reloc_result.
31865 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31867         * stdio-common/printf_fp.c
31868         (hack_digit): New function, broken out of ...
31869         (__printf_fp): ... local function here.  Update call sites.
31870         hack_digit now takes an additional parameter that is a pointer
31871         to a struct of the referenced locals.  Those locals moved inside
31872         the struct and references updated.
31874 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31876         * aclocal.m4: Require autoconf 2.69.
31877         * configure: Regenerated.
31878         * sysdeps/aarch64/configure: Likewise.
31879         * sysdeps/alpha/configure: Likewise.
31880         * sysdeps/arm/armv7/configure: Likewise.
31881         * sysdeps/arm/configure: Likewise.
31882         * sysdeps/ia64/configure: Likewise.
31883         * sysdeps/mach/configure: Likewise.
31884         * sysdeps/mips/configure: Likewise.
31885         * sysdeps/s390/configure: Likewise.
31886         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31889         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31890         file.
31891         * sysdeps/ia64/configure.ac: Likewise.
31893 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31896         specify symbol version for ld.so.  Do not include entry for
31897         libpthread.
31898         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31899         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31900         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31902         [BZ #14171]
31903         * Makeconfig [$(build-shared) = yes]
31904         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31905         makefiles.
31906         [$(build-shared) = yes && $(soversions.mk-done) = t]
31907         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31908         [$(build-shared) = yes && $(soversions.mk-done) = t]
31909         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31910         to Makerules.
31911         [$(build-shared) = yes && $(soversions.mk-done) = t]
31912         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31913         here.
31914         [$(build-shared) = yes && $(soversions.mk-done) = t]
31915         (common-generated): Don't append gnu/lib-names.h and
31916         gnu/lib-names.stmp here.
31917         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31918         (lib-names-h-abi): New variable.
31919         [$(build-shared) = yes && $(soversions.mk-done) = t]
31920         (lib-names-stmp-abi): Likewise.
31921         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31922         abi-variants] (before-compile): Append
31923         $(common-objpfx)$(lib-names-h-abi).
31924         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31925         abi-variants] (common-generated): Append gnu/lib-names.h.
31926         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31927         abi-variants] (install-others-nosubdir): Depend on
31928         $(inst_includedir)/$(lib-names-h-abi).
31929         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31930         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31931         [$(build-shared) = yes && $(soversions.mk-done) = t]
31932         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31933         [$(build-shared) = yes && $(soversions.mk-done) = t]
31934         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31935         [$(build-shared) = yes && $(soversions.mk-done) = t]
31936         (common-generated): Append $(lib-names-h-abi) and
31937         $(lib-names-stmp-abi).
31938         * scripts/lib-names.awk: Do not handle multi being set.
31939         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31940         Remove variable.
31941         (abi-lp64_be-ld-soname): Likewise.
31942         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31943         Likewise.
31944         (abi-hard-ld-soname): Likewise.
31945         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31946         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31947         Remove variable.
31948         (abi-o32_hard-ld-soname): Likewise.
31949         (abi-o32_soft_2008-ld-soname): Likewise.
31950         (abi-o32_hard_2008-ld-soname): Likewise.
31951         (abi-n32_soft-ld-soname): Likewise.
31952         (abi-n32_hard-ld-soname): Likewise.
31953         (abi-n32_soft_2008-ld-soname): Likewise.
31954         (abi-n32_hard_2008-ld-soname): Likewise.
31955         (abi-n64_soft-ld-soname): Likewise.
31956         (abi-n64_hard-ld-soname): Likewise.
31957         (abi-n64_soft_2008-ld-soname): Likewise.
31958         (abi-n64_hard_2008-ld-soname): Likewise.
31959         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31960         Likewise.
31961         (abi-64-v2-ld-soname): Likewise.
31962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31963         ld.so entries.
31964         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31965         variable.
31966         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31967         entry.
31968         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31969         variable.
31970         (abi-64-ld-soname): Likewise.
31971         (abi-x32-ld-soname): Likewise.
31972         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31973         entry.
31974         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31976 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31978         [BZ #14138]
31979         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31980         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31981         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31982         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31983         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31984         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31985         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31986         syscall entry for GLIBC_2.2 symbol version.
31987         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31988         Likewise.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31990         (setrlimit): Likewise.
31991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31992         Likewise.
31994 2014-09-23  Will Newton  <will.newton@linaro.org>
31996         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31997         _LINUX_ARM_SYSDEP_H include guard too.
31998         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31999         define.
32001 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32003         * sysdeps/unix/sysv/linux/eventfd.c:
32004         Make first argument unsigned.
32005         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32006         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32008 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32010         [BZ #16852]
32011         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32012         * socket/sys/socket.h: Likewise.
32013         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32015 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32017         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32019 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32021         * time/tst-ftime.c: New test.
32022         * time/Makefile (tests): Add tst-ftime.
32024 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32026         * soft-fp/extended.h: Fix comment formatting.
32027         * soft-fp/op-1.h: Likewise.
32028         * soft-fp/op-2.h: Likewise.
32029         * soft-fp/op-4.h: Likewise.
32030         * soft-fp/op-8.h: Likewise.
32031         * soft-fp/op-common.h: Likewise.
32032         * soft-fp/soft-fp.h: Likewise.
32034         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32036 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32038         [BZ #6652]
32039         * Makeconfig (soversions-default-setname): Remove variable.
32040         ($(common-objpfx)soversions.i): Don't pass default_setname to
32041         soversions.awk.
32042         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32043         oldest_abi to abi-versions.awk.
32044         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32045         * config.make.in (oldest-abi): Remove variable.
32046         * configure.ac (--enable-oldest-abi): Remove configure option.
32047         * configure: Regenerated.
32048         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32049         text.
32050         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32051         * scripts/soversions.awk: Do not handle default_setname variable.
32052         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32053         variable.
32054         * sysdeps/mach/hurd/configure: Regenerated.
32055         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32056         variable.
32057         * sysdeps/unix/sysv/linux/configure: Regenerated.
32059 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32061         * elf/Makefile (CFLAGS-interp.c): Remove.
32062         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32063         path string.
32064         * elf/interp.c: Include generated runtime-linker.h
32066         * Makerules (lib%.so): Don't include $(+interp) in
32067         prerequisites.
32068         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32069         * dlfcn/eval.c: Remove file.
32071         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32072         macros.
32074         [BZ #17266]
32075         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32076         4.2 and newer.
32078         [BZ #17370]
32079         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32081 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32082             Jakub Jelinek  <jakub@redhat.com>
32084         [BZ #17266]
32085         * libio/stdio.h: Check definition of __fortify_function
32086         instead of __extern_always_inline to include bits/stdio2.h.
32087         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32088         check if __extern_always_inline is defined.
32089         [__USE_MISC || __USE_XOPEN]: Likewise.
32090         [__USE_ISOC99] Likewise.
32091         * misc/sys/cdefs.h (__fortify_function): Define only if
32092         __extern_always_inline is defined.
32093         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32094         __extern_always_inline and __extern_inline only for g++-4.3
32095         and newer or a compatible gcc.
32097 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32099         [BZ #17371]
32100         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32101         last change to handle zero prefix length.
32103 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32105         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32106         _SC_REGEX_VERSION.
32108         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32109         _POSIX_RAW_SOCKETS.
32111 2014-09-13  Allan McRae  <allan@archlinux.org>
32113         * po/ru.po: Update Russian translation from translation project.
32115 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32117         * locale/programs/locale.c (show_locale_vars): Inline local function
32118         into its sole call site.  Clean up some style nits.
32119         (print_item): New function, broken out of ...
32120         (show_info): ... local function here.  Clean up style nits.
32122         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32123         out of ...
32124         (set_class_defaults): ... local function set_default here.
32125         Define set_default as a macro locally to pass constant parameters.
32126         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32127         rather than a shared local.
32129         * stdlib/rpmatch.c (try): New function, broken out of ...
32130         (rpmatch): ... local function here.  Also, prototypify definition.
32132 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32134         * scripts/soversions.awk: Do not handle configuration names.
32135         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32136         vendor and os variables to soversions.awk.
32137         * configure.ac: Do not modify gnu-* host_os.
32138         * configure: Regenerated
32139         * shlib-versions: Remove first column with configuration names.
32140         * nptl/shlib-versions: Likewise.
32141         * nptl_db/shlib-versions: Likewise.
32142         * sysdeps/hppa/shlib-versions: Likewise.
32143         * sysdeps/m68k/shlib-versions: Likewise.
32144         * sysdeps/mach/hurd/shlib-versions: Likewise.
32145         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32146         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32147         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32148         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32149         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32150         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32151         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32152         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32154         Likewise.
32155         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32156         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32157         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32158         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32159         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32160         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32161         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32162         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32165         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32167         Regenerated.
32168         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32170         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32172         * shlib-versions: Remove OS-specific entries.  Moved to files in
32173         sysdeps.
32174         * sysdeps/mach/hurd/shlib-versions: New file.
32175         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32177         * nptl/shlib-versions: Remove architecture-specific entries.
32178         Moved to files in sysdeps.
32179         * shlib-versions: Likewise.
32180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32181         file.
32182         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32183         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32184         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32185         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32187         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32188         (UDP_NO_CHECK6_RX): Likewise.
32190 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32192         * sysdeps/posix/sysconf.c (__sysconf): Spell
32193         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32195 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32197         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32198         loading.
32199         * iconv/Versions (__gconv_transliterate): Export for use from
32200         gconv modules.
32201         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32202         (struct __gconv_trans_data, __gconv_trans_fct,
32203         __gconv_trans_context_fct, __gconv_trans_query_fct,
32204         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32205         definitions.
32206         (struct __gconv_step_data): Remove __trans member.
32207         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32208         longer hidden.  Remove unused trans_data argument.
32209         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32210         (__gconv_translit_find): Remove declaration.
32211         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32212         prototype.
32213         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32214         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32215         trans_data argument.  Add hidden definition.
32216         (__gconv_translit_find): Remove.
32217         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32218         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32219         * iconv/skeleton.c: Remove transliteration initialization.
32220         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32221         __gconv_step_data initialization.
32222         * libio/iofwide.c (__libio_translit_): Remove.
32223         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32224         * wcsmbs/btowc.c (__btowc): Likewise.
32225         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32226         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32227         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32228         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32229         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32230         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32231         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32232         * wcsmbs/wctob.c (wctob): Likewise.
32234 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32236         [BZ #16194]
32237         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32238         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32239         register usage.
32240         * sysdeps/x86/Makefile: Adjust.
32242 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32243             Roland McGrath  <roland@hack.frob.com>
32245         * locale/weight.h: Add include guard.
32246         (findidx): Make static rather than auto; take new parameters
32247         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32248         * locale/weightwc.h: Likewise.
32249         * posix/fnmatch_loop.c
32250         (FCT): Change type of EXTRA from int32_t to wint_t.
32251         Don't include either header inside the function.
32252         Call FINDIDX rather than findidx, and pass new arguments.
32253         #undef FINDIDX at the end of the file.
32254         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32255         FINDIDX before including fnmatch_loop.c for the non-wide version.
32256         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32257         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32258         for the wide version.
32259         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32260         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32261         Pass new arguments to findidx.
32262         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32263         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32264         Don't #include it inside the function.  Pass new arguments to findidx.
32265         * posix/regex_internal.h
32266         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32267         (re_string_elem_size_at): Don't #include it inside the function.
32268         Pass new arguments to findidx.
32269         * string/strcoll_l.c: #include WEIGHT_H at top level.
32270         (get_next_seq): Don't #include it inside the function.
32271         Pass new arguments to findidx.
32272         (get_next_seq_nocache): Likewise.
32273         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32274         (STRXFRM): Don't #include it inside the function.
32275         Pass new arguments to findidx.
32277 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32279         [BZ #17344]
32280         * malloc/malloc.c (unlink): Turn asserts into a call to
32281         malloc_printerr.
32283 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32285         [BZ #17370]
32286         * libio/wfileops (do_ftell_wide): Free OUT.
32288 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32290         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32292 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32294         [BZ #17363]
32295         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32296         group if the current group is empty.
32298 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32300         * benchtests/bench-memset.c (test_main): Add more test from size
32301         from 32 to 512 bytes.
32302         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32303         Add POWER8 memset object.
32304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32305         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32306         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32307         implementation.
32308         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32309         Likewise.
32310         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32311         multiarch POWER8 memset optimization.
32312         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32313         POWER8 memset optimization.
32315         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32316         Remove bzero multiarch objects.
32317         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32318         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32319         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32320         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32321         Remove define.
32322         [__bzero]: Redefine to specific name.
32323         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32324         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32325         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32326         define.
32327         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32328         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32330 2014-09-10  Florian Weimer  <fweimer@redhat.com>
32332         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32333         warnings into errors.
32335         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32336         __cxa_thread_atexit_impl prototype.
32338 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32340         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32341         Fix capitalization of error message.
32343 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32345         * sysdeps/mips/preconfigure: Modify ABI tests.
32347 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
32349         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32351 2014-09-07  Roland McGrath  <roland@hack.frob.com>
32352             Carlos O'Donell  <carlos@systemhalted.org>
32354         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32355         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32356         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32357         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32358         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32359         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32360         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32361         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32362         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32363         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32364         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32365         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32366         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32367         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32368         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32369         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32370         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32371         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32372         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32373         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32374         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32375         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32376         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32377         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32378         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32379         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32380         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32381         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32382         Deconditionalize the code that was previously under [RESET_PID].
32383         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32384         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32385         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32386         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32387         include sysdep.h.
32389 2014-09-08  Allan McRae  <allan@archlinux.org>
32391         * version.h (RELEASE): Set to "development".
32392         (VERSION): Set to "2.20.90"
32394 2014-09-07  Allan McRae  <allan@archlinux.org
32396         * version.h (RELEASE): Set to "stable".
32397         (VERSION): Set to "2.20"
32398         * include/features.h (__GLIBC_MINOR__): Set to 20.
32400         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32401         Liebler.
32403         * po/ko.po: Update Korean translation from translation project.
32405 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
32407         [BZ #17354]
32408         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32409         macro for handling signed relocations.
32411 2014-09-03  Florian Weimer  <fweimer@redhat.com>
32413         [BZ #17325]
32414         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32415         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32416         assert.
32417         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32418         * iconvdata/ibm935.c (BODY): Likewise.
32419         * iconvdata/ibm937.c (BODY): Likewise.
32420         * iconvdata/ibm939.c (BODY): Likewise.
32421         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32422         assert.
32423         * iconvdata/Makefile (iconv-test.out): Pass module list to test
32424         script.
32425         * iconvdata/run-iconv-test.sh: New test loop for checking for
32426         decoder crashers.
32428 2014-09-02  Khem Raj  <raj.khem@gmail.com>
32430         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32431         libm_hidden_ver.
32433 2014-09-01  Allan McRae  <allan@archlinux.org>
32435         * po/eo.po: Update Esperanto translation from translation project.
32437         * po/ca.po: Update Catalan translation from translation project.
32439 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32441         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32442         __proc_dostop call.
32444 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32446         [BZ #17319]
32447         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32448         to call set_thread_area instead of hand written asm.
32449         (__NR_set_thread_area): Removed define.
32450         (TLS_FLAG_WRITABLE): Likewise.
32451         (__ASSUME_SET_THREAD_AREA): Remove check.
32452         (TLS_EBX_ARG): Remove define.
32453         (TLS_LOAD_EBX): Likewise.
32455 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32457         Simplify atomicity of socket creation in bind.
32459         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32460         looking up the name after linking the file.
32462 2014-08-27  Allan McRae  <allan@archlinux.org>
32464         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32466 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32468         [BZ #17187]
32469         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32470         trans_compare, open_translit, __gconv_translit_find):
32471         Remove module loading code.
32473 2014-08-26  Allan McRae  <allan@archlinux.org>
32475         * po/vi.po: Update Vietnamese translation from translation project.
32477         * po/uk.po: Update Ukrainian translation from translation project.
32479         * po/fr.po: Update French translation from translation project.
32481         * po/ru.po: Update Russian translation from translation project.
32483         * po/pl.po: Update Polish translation from translation project.
32485         * po/cs.po: Update Czech translation from translation project.
32487         * po/de.po: Update German translation from translation project.
32489         * po/bg.po: Update Bulgarian translation from translation project.
32491         * po/sv.po: Update Sweedish translation from translation project.
32493         * po/nl.po: Update Dutch translation from translation project.
32495         * po/es.po: Update Spanish translation from translation project.
32497 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32499         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32501         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32502         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32503         (CPPFLAGS-iconvconfig): Likewise.
32504         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32506         * include/libc-symbols.h: Remove unnecessary check for
32507         NOT_IN_libc.
32508         * nptl/pthreadP.h: Likewise.
32509         * sysdeps/aarch64/setjmp.S: Likewise.
32510         * sysdeps/alpha/setjmp.S: Likewise.
32511         * sysdeps/arm/sysdep.h: Likewise.
32512         * sysdeps/i386/setjmp.S: Likewise.
32513         * sysdeps/m68k/setjmp.c: Likewise.
32514         * sysdeps/posix/getcwd.c: Likewise.
32515         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32516         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32517         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32518         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32519         * sysdeps/sh/sh3/setjmp.S: Likewise.
32520         * sysdeps/sh/sh4/setjmp.S: Likewise.
32521         * sysdeps/unix/alpha/sysdep.h: Likewise.
32522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32523         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32524         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32525         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32529         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32530         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32531         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32533         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32535         * sysdeps/x86_64/setjmp.S: Likewise.
32537 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32539         [BZ #17263]
32540         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32541         <stdint.h>.
32542         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32543         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32545 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32549         [BZ #17262]
32550         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32551         and __x86_64__ when disabling x87 inline functions.
32553 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32555         [BZ #17259]
32556         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32557         asm statement with __cpuid_count.
32559 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32561         * configure.ac: Change __ehdr_start code to dereference the struct.
32562         Run readelf on the output to look for relocations.
32563         * configure: Regenerated.
32565 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32567         [BZ #17261]
32568         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32569         value to 0.
32570         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32572 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32574         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32576 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32578         [BZ #16892]
32579         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32580         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32582 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32584         * malloc/malloc.c: Fix typo in comment.
32586 2014-08-09  Allan McRae  <allan@archlinux.org>
32588         * Regenerate libc.po.
32590 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32592         * intl/tst-gettext2.sh: Check every lang file for creation.
32594 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32596         * sysdeps/aarch64/fpu/math_private.h
32597         (libc_feholdsetround_noex_aarch64_ctx): New function.
32599 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32601         * sysdeps/arm/armv6/strcpy.S (strcpy):
32602         Fix performance issue in misaligned cases.
32604 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32606         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32607         Move definition from termios.h.
32608         (struct termio): Likewise.
32609         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32610         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32611         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32612         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32613         Likewise.
32614         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32615         Move definition to ioctl-types.h
32616         (struct termio): Likewise.
32617         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32618         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32619         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32620         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32621         Likewise.
32623 2014-08-05  Richard Henderson  <rth@redhat.com>
32625         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32626         exceptions.
32627         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32628         Add fraiseexcpt.
32629         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32630         Use __feraiseexcept.
32631         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32632         Protect libm symbols with IS_IN_libm.
32634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32636 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32638         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32640 2014-08-04  Will Newton  <will.newton@linaro.org>
32642         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32643         file.
32645 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32647         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32648         variants for each function.
32650 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32652         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32653         appended ...
32654         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32655         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32656         appended ...
32657         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32658         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32659         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32660         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32661         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32662         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32663         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32664         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32665         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32666         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32667         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32668         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32671         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32672         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32677         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32678         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32679         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32687         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32691         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32692         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32693         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32694         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32695         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32696         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32697         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32698         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32699         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32700         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32701         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32702         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32703         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32704         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32705         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32706         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32707         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32708         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32709         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32710         Update #include.
32711         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32712         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32714 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32716         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32717         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32718         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32719         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32720         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32721         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32723 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32725         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32726         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32727         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32728         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32730 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32732         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32733         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32734         (__libc_vfork): Define function under this name.
32735         (__vfork): Define as an alias.
32736         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32737         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32739 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32741         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32742         that was previously under [RESET_PID].
32743         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32745 2014-08-04  Andreas Schwab  <schwab@suse.de>
32747         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32749 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32751         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32752         (main): Likewise.
32754 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32756         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32758 2014-08-01  Richard Henderon  <rth@redhat.com>
32760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32761         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32762         typo in exact zero test.
32763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32764         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32767 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32769         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32770         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32771         * sysdeps/arm/sysdep.h: ... here.
32772         [!__ASSEMBLER__]: Include <stdint.h>.
32774 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32776         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32777         (HAVE_WCTYPE_H): Likewise.
32778         (HAVE_ISWCTYPE): Likewise.
32779         (ENABLE_NLS): Likewise.
32780         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32781         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32783         * posix/regex_internal.c: Check if DEBUG is defined and is
32784         set.
32786         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32787         (HAVE_MBSRTOWCS): Likewise.
32788         * posix/fnmatch.c: Include string.h unconditionally.
32790 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32792         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32793         reversal.
32795 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32797         * sysdeps/generic/safe-fatal.h: New file.
32798         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32799         * nptl/forward.c: Include it.
32800         (__pthread_unwind): Use __safe_fatal as default action, rather
32801         than a bogus use of INTERNAL_SYSCALL that could never work.
32803         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32804         * configure.ac (libc_cv_builtin_trap): New test.
32805         * configure: Regenerated.
32806         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32807         (ABORT_INSTRUCTION): Define using __builtin_trap.
32809         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32810         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32811         * sysdeps/nptl/nptl-signals.h: New file.
32812         * nptl/pthreadP.h: Include <nptl-signals.h>.
32814 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32816         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32817         (ONE_DIRECTION): Define.
32818         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32819         (ONE_DIRECTION): Define.
32820         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32821         (ONE_DIRECTION): Define.
32823 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32825         * sysdeps/s390/Makefile: Delete file.
32826         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32827         * sysdeps/s390/__longjmp.c: Delete file.
32828         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32829         Remove fields __flags and __reserved.
32830         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32831         and add versioning.
32832         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32833         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32834         * sysdeps/s390/rtld-setjmp.S: Likewise.
32835         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32836         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32837         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32838         * sysdeps/s390/s390-32/setjmp.S: ... here.
32839         Add versioning.
32840         (__sigsetjmp): Remove setting __flags field.
32841         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32842         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32843         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32844         * sysdeps/s390/s390-64/setjmp.S: ... here.
32845         Add versioning.
32846         (__sigsetjmp): Remove setting __flags field.
32847         * sysdeps/s390/setjmp.S: Delete file.
32848         * sysdeps/s390/sigjmp.c: Likewise.
32849         * sysdeps/s390/v1-longjmp.c: Likewise.
32850         * sysdeps/s390/v1-setjmp.h: Likewise.
32851         * sysdeps/s390/v1-sigjmp.c: Likewise.
32852         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32853         Remove v1-longjmp_chk.
32854         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32855         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32856         Include debug/longjmp_chk.c and add versioning.
32857         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32858         Include nptl/pt-longjmp.c and add versioning.
32859         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32860         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32861         Include __longjmp.c.
32862         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32863         Move to ...
32864         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32865         (__getcontext): Remove setting __flags field.
32866         Add versioning.
32867         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32868         Don't restore upper high grps.
32869         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32870         Likewise.
32871         (__swapcontext): Remove setting uc_flags field.
32872         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32873         Delete file.
32874         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32875         Include __longjmp.c.
32876         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32877         Move to ...
32878         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32879         (__getcontext): Remove setting __flags field.
32880         Add versioning.
32881         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32882         (__swapcontext): Remove setting uc_flags field.
32883         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32884         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32885         Remove fields uc_high_gprs and __reserved.
32886         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32887         New file with reverted content.
32888         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32889         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32890         Regenerated.
32891         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32892         Regenerated.
32894 2014-07-31  Andreas Schwab  <schwab@suse.de>
32896         * config.h.in (HAVE_IFUNC): Define to 0.
32897         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32898         definedness.
32900 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32903         memmove-avx-unaligned, memcpy-avx-unaligned and
32904         mempcpy-avx-unaligned.
32905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32906         Add tests for AVX memcpy functions.
32907         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32908         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32909         memcpy_chk.
32910         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32911         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32912         memmove_chk.
32913         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32914         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32915         mempcpy_chk.
32916         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32917         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32918         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32920 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32922         [BZ #17213]
32923         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32924         powerpc64le.
32926 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32928         [BZ #16839]
32929         * manual/llio.texi: Add section about open file description locks.
32930         * manual/examples/ofdlocks.c: Example of open file description
32931         lock usage.
32932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32933         F_OFD_SETLK, and F_OFD_SETLKW.
32935 2014-07-23  Allan McRae  <allan@archlinux.org>
32937         * po/es.po: Update Spanish translation from translation project.
32939 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32941         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32943 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32945         [BZ #17078]
32946         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32947         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32948         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32950 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32952         [BZ #17088]
32953         * math/fesetenv.c (__fesetenv)
32954         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32955         * math/feupdateenv.c (__feupdateenv)
32956         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32958         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32959         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32960         (__ASSUME_SOCKETCALL): Do not define.
32962         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32963         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32964         (__ASSUME_SOCKETCALL): Do not define.
32965         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32966         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32967         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32968         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32969         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32970         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32971         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32972         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32974         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32975         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32976         (__ASSUME_SOCKETCALL): Do not define.
32977         (__ASSUME_IPC64): Define unconditionally.
32978         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32979         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32980         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32981         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32982         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32983         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32984         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32985         Likewise.
32987         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32988         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32989         (__ASSUME_SOCKETCALL): Do not define.
32990         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32991         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32992         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32993         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32994         (__ASSUME_REQUEUE_PI): Define unconditionally.
32995         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32996         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32997         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32998         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32999         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33000         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33002         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33003         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33004         (__ASSUME_SOCKETCALL): Do not define.
33005         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33006         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33007         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33008         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33009         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33010         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33012         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33013         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33014         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33015         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33016         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33017         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33018         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33019         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33020         (__ASSUME_GETCPU_SYSCALL): Likewise.
33022         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33023         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33024         cases for individual architectures.
33025         * sysdeps/gnu/configure: Regenerated.
33026         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33027         LIBC_SLIBDIR_RTLDDIR.
33028         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33029         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33030         LIBC_SLIBDIR_RTLDDIR.
33031         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33033         LIBC_SLIBDIR_RTLDDIR.
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33035         Regenerated.
33036         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33037         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33038         file.
33039         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33040         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33041         file.
33042         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33043         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33044         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33045         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33047         * sysdeps/aarch64/shlib-versions: Move to ...
33048         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33049         * sysdeps/alpha/shlib-versions: Move to ...
33050         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33051         * sysdeps/arm/shlib-versions: Move to ...
33052         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33053         * sysdeps/hppa/shlib-versions: Move all contents except for
33054         libgcc_s entry to ...
33055         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33056         entry from ...
33057         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33058         * sysdeps/ia64/shlib-versions: Move to ...
33059         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33060         entry from ...
33061         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33062         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33063         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33064         * sysdeps/microblaze/shlib-versions: Move to ...
33065         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33066         * sysdeps/mips/shlib-versions: Move to ...
33067         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33068         entry from ...
33069         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33070         * sysdeps/tile/shlib-versions: Move to ...
33071         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33072         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33073         from ...
33074         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33075         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33076         entry from ...
33077         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33079 2014-07-17  Will Newton  <will.newton@linaro.org>
33081         * sysdeps/arm/bits/atomic.h
33082         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33083         (__arch_compare_and_exchange_bool_16_int): Likewise.
33084         (__arch_compare_and_exchange_bool_64_int): Likewise.
33086         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33087         into an #else block.
33089 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33091         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33092         just Linux configurations.  Test empirically that the compiler sets
33093         __ARM_EABI__, rather than using the tuple to decide.
33094         * sysdeps/arm/preconfigure: Regenerated.
33095         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33096         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33097         contents appended ...
33098         * sysdeps/arm/configure.ac: ... here.
33099         * sysdeps/arm/configure: Regenerated.
33101 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33103         * nptl/pthread_kill.c: New file.
33104         * nptl/pthread_sigmask.c: New file.
33105         * nptl/pthread_sigqueue.c: New file.
33107         * sysdeps/nptl/lowlevellock.h: New file.
33108         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33109         * sysdeps/nptl/lowlevellock-futex.h: New file.
33111         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33112         Remove dead declarations.
33114 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33116         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33117         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33118         config-cflags-avx2.
33119         * sysdeps/x86_64/configure.ac: Likewise.
33120         * sysdeps/i386/configure: Regenerated.
33121         * sysdeps/x86_64/configure: Likewise.
33122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33123         memset-avx2 only if config-cflags-avx2 is yes.
33124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33125         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33126         defined.
33127         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33128         only if HAVE_AVX2_SUPPORT is defined.
33129         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33131 2014-07-14  Alan Modra  <amodra@gmail.com>
33133         [BZ #17153]
33134         * elf/elf.h (DT_PPC64_NUM): Correct value.
33135         * NEWS: Add to fixed bug list.
33137 2014-07-13  Jim Meyering  <meyering@fb.com>
33139         [BZ 17150]
33140         regex: don't deref NULL upon heap allocation failure
33141         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33142         failure in one more place.
33143         To trigger the segfault, configure grep -with-included-regex,
33144         build it, and run these commands:
33145         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33147 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33149         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33151 2014-07-11  Richard Henderson  <rth@redhat.com>
33153         * sysdeps/aarch64/libm-test-ulps: Update.
33155 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33157         [BZ #17135]
33158         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33159         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33160         (__nptl_setxid): Initialize error member.  Call
33161         __nptl_setxid_error.
33162         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33163         * nptl/descr.h (struct xid_command): Add error member.
33164         * nptl/tst-setuid3.c: New file.
33165         * nptl/Makefile (tests): Add it.
33167 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33169         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33170         New define.
33171         (__lll_trylock): Use __lll_base_trylock.
33172         (__lll_cond_trylock): Likewise.
33174 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33176         * nptl/pthread_create.c (start_thread): Use atomic_or and
33177         lll_futex_wake directly rather than lll_robust_dead.
33178         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33179         (lll_robust_dead): Macro removed.
33180         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33181         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33182         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33183         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33184         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33185         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33186         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33188         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33190         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33191         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33192         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33193         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33196         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33197         Use atomic_compare_and_exchange_val_acq directly rather than
33198         lll_robust_trylock.
33199         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33200         (__lll_robust_trylock, lll_robust_trylock): Removed.
33201         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33202         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33203         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33204         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33205         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33206         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33207         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33208         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33209         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33210         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33211         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33212         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33213         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33214         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33216 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33218         * manual/locale.texi (Locale Names): New section documenting
33219         locale name syntax.  Adjust menu and node chaining accordingly.
33220         (Choosing Locale): Reference Locale Names, Locale Categories.
33221         Mention setting LC_ALL=C.  Reflect that name syntax is now
33222         documented.
33223         (Locale Categories): New section title.  Reference Locale Names.
33224         LC_ALL is an environment variable, but not a category.
33225         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33226         description, now in Locale Name.  Reference that section.  Locale
33227         name syntax is now documented.
33229 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33231         [BZ #17137]
33232         * locale/findlocale.c (name_present, valid_locale_name): New
33233         functions.
33234         (_nl_find_locale): Use the loc_name variable to store name
33235         candidates.  Call name_present and valid_locale_name to check and
33236         validate locale names.  Return an error if the locale is invalid.
33238 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33240         * locale/setlocale.c (setlocale): Use strdup for allocating
33241         composite name copy.
33243 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33245         Sync up with gnulib.
33246         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33247         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33248         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33249         and _GL_ARG_NONNULL.
33250         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33251         [!_LIBC]: Include code for Windows and Cygwin.
33252         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33253         Include prototype for int strerror_r.
33254         [!_LIBC] (is_open): New function.
33255         (flush_stdout): New function.
33256         (print_errno_message): Use it.
33257         (error): Likewise.
33258         (error_at_line): Likewise.
33259         (error_tail) Add function attribute macros.  Use
33260         __builtin_expect.
33262         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33264         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33266         * io/ftw.c: Include sys/param.h unconditionally.
33268         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33270         [BZ #17125]
33271         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33272         libc_freeres_ptr.
33273         (freecache): New function to free CACHE on exit.
33275         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33276         initialization.
33278 2014-07-09  David S. Miller  <davem@davemloft.net>
33280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33282         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33283         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33284         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33285         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33286         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33287         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33288         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33289         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33290         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33291         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33292         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33293         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33294         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33296 2014-07-09  Andreas Schwab  <schwab@suse.de>
33298         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33299         output.
33300         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33301         (do_test): Likewise.
33303         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33305 2014-07-09  Will Newton  <will.newton@linaro.org>
33307         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33308         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33309         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33310         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33311         * sysdeps/hppa/start.S (_start): Likewise.
33313 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33315         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33317         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33318         defined.
33320 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33322         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33323         after checking that it is non-NULL.
33325         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33327 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33329         * sysdeps/powerpc/memmove.c: Remove file.
33330         * sysdeps/powerpc/powerpc32/power4/memcopy.h
33331         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33332         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33333         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33334         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33335         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33336         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33337         string memmove instead of removed powerpc one.
33339         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33340         [weak_alias]: Fix compiler warning due trailing data.
33341         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33342         [weak_alias]: Likewise.
33343         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33344         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33347         (__libc_ifunc_impl_list): Add memmove functions.
33349 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33351         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33352         Remove code.
33353         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33354         Likewise.
33355         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33356         Likewise.
33357         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33358         Likewise.
33359         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33360         Likewise.
33361         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33362         Likewise.
33363         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33364         Likewise.
33365         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33366         Likewise.
33367         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33368         Likewise.
33369         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33370         Likewise.
33371         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33372         Likewise.
33373         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33374         Likewise.
33375         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33376         Likewise.
33377         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33378         Likewise.
33379         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33380         Likewise.
33381         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33382         Likewise.
33383         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33384         Likewise.
33386 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33388         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33389         to avoid alignment traps in non-cacheable memory.
33390         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33393         multiarch objects.
33394         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33395         file: multiarch power7 memmove.
33396         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33397         multiarch default memmove.
33398         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33399         multiarch memove for powerpc32/power4.
33401         * string/bcopy.c: Use full path to include memmove.c.
33402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33403         multiarch objects.
33404         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33405         bcopy for powerpc64.
33406         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33407         bcopy for powerpc64.
33408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33409         and memmove implementations.
33410         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33411         optimized multiarch memmove for POWER7/powerpc64.
33412         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33413         default multiarch memmove for powerpc64.
33414         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33415         multiarch for powerpc64.
33416         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33417         for POWER7/powerpc64.
33418         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33419         memmove for POWER7/powerpc64.
33421         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33422         glibc default one.
33424         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33425         __ELF_NATIVE_CLASS equal to 64.
33427 2014-07-07  Roland McGrath  <roland@hack.frob.com>
33429         * sysdeps/nptl/lowlevellock.h: File removed.
33431         * NEWS: NPTL is no longer an add-on!
33432         * nptl/internaltypes.h: Moved ...
33433         * sysdeps/nptl/internaltypes.h: ... here.
33434         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33435         * sysdeps/nptl/fork.c: Likewise.
33436         * sysdeps/nptl/gai_misc.h: Likewise.
33437         * sysdeps/nptl/librt-cancellation.c: Likewise.
33438         * sysdeps/nptl/jmp-unwind.c: Likewise.
33439         * sysdeps/nptl/setxid.h: Likewise.
33440         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33441         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33442         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33443         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33444         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33445         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33446         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33447         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33448         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33449         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33450         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33451         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33452         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33453         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33454         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33455         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33456         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33457         * nptl/Makeconfig: Moved ...
33458         * sysdeps/nptl/Makeconfig: ... here.
33459         * nptl/configure: File removed.
33460         * nptl/ANNOUNCE: File removed.
33461         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33462         * sysdeps/unix/sysv/linux/configure: Regenerated.
33464         * nptl/Makefile (routines): Add libc_pthread_init,
33465         libc_multiple_threads, register-atfork and unregister-atfork.
33466         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33467         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33468         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33469         pthread-pi-defines.sym, structsem.sym.
33470         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33471         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33472         [$(subdir) = nptl] (tests): Add tst-setgetname.
33473         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33474         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33475         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33476         [!LIBC_SIGACTION]: Remove aliases.
33477         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33478         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33479         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33480         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33481         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33482         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33483         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33484         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33485         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33486         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33487         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33488         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33489         __libc_allocate_rtsig_private.
33490         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33491         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33492         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33493         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33494         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33495         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33496         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33497         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33498         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33499         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33500         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33501         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33502         * nptl/internaltypes.h: ... here.
33503         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33504         * sysdeps/nptl/jmp-unwind.c: ... here.
33505         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33506         * nptl/libc-lowlevellock.c: ... here.
33507         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33508         * nptl/libc_multiple_threads.c: ... here.
33509         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33510         * nptl/libc_pthread_init.c: ... here.
33511         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33512         * nptl/lowlevelbarrier.sym: ... here.
33513         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33514         * nptl/lowlevelcond.sym: ... here.
33515         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33516         * nptl/lowlevellock.c: ... here.
33517         * nptl/lowlevellock.h: Moved ...
33518         * sysdeps/nptl/lowlevellock.h: ... here.
33519         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33520         * nptl/lowlevelrobustlock.c: ... here.
33521         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33522         * nptl/lowlevelrobustlock.sym: ... here.
33523         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33524         * nptl/lowlevelrwlock.sym: ... here.
33525         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33526         * nptl/pt-fork.c: ... here.
33527         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33528         * nptl/pthread-pi-defines.sym: ... here.
33529         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33530         * nptl/pthread_attr_getaffinity.c: ... here.
33531         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33532         * nptl/pthread_attr_setaffinity.c: ... here.
33533         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33534         * nptl/pthread_mutex_cond_lock.c: ... here.
33535         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33536         Update #include.
33537         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33538         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33539         * nptl/pthread_once.c: ... here, replacing old file.
33540         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33541         * nptl/pthread_yield.c: ... here.
33542         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33543         * nptl/register-atfork.c: ... here.
33544         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33545         * nptl/sem_post.c: ... here.
33546         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33547         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33548         * nptl/sem_timedwait.c: ... here.
33549         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33550         * nptl/sem_trywait.c: ... here.
33551         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33552         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33553         * nptl/sem_wait.c: ... here.
33554         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33555         * nptl/structsem.sym: ... here.
33556         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33557         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33558         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33559         * nptl/unregister-atfork.c: ... here.
33560         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33561         * nptl/unwindbuf.sym: ... here.
33562         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33563         * sysdeps/nptl/fork.c: ... here.
33564         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33565         * sysdeps/nptl/fork.h: ... here.
33566         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33567         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33568         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33569         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33570         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33571         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33572         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33573         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33574         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33575         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33576         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33577         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33578         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33579         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33580         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33581         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33582         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33583         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33584         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33585         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33586         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33587         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33588         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33589         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33590         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33591         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33592         * sysdeps/unix/sysv/linux/raise.c: ... here.
33593         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33594         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33595         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33596         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33597         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33598         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33599         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33600         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33601         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33602         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33603         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33604         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33605         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33606         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33607         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33609 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33611         * sysdeps/generic/memcopy.h: Add comment for
33612         MEMCPY_OK_FOR_FWD_MEMMOVE.
33614 2014-07-04  Will Newton  <will.newton@linaro.org>
33616         * string/memchr.c: Merge from gnulib.
33617         [_LIBC]: Remove conditionals.
33618         (__ptr_t): Remove define.
33619         (LONG_MAX_32_BITS): Likewise.
33620         (LONG_MAX): Likewise.
33621         (MEMCHR): Use ANSI prototype and optimize algorithm.
33623         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33625 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33627         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33628         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33630         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33631         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33632         in a bare environment with no <stdlib.h> installed.
33633         * sysdeps/nptl/configure: Regenerated.
33635         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33637         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33638         AC_EGREP_CPP for kernel header checks, so they only succeed if
33639         including <linux/version.h> actually works right.
33640         * sysdeps/unix/sysv/linux/configure: Regenerated.
33642         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33643         value so it's not diagnosed as unused.
33645         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33646         thing) with "ifeq ($(subdir),rt)".
33648 2014-07-03  Richard Henderson  <rth@redhat.com>
33650         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33651         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33652         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33654         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33655         (math_force_eval): New.
33657         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33658         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33660         * sysdeps/alpha/fpu/s_round.c: Remove file.
33661         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33663         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33664         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33665         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33666         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33667         (_dl_start, print_statistics): Likewise.
33668         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33669         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33671         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33672         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33673         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33674         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33676         (HP_SMALL_TIMING_AVAIL): Define.
33677         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33678         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33679         (HP_SMALL_TIMING_AVAIL): Define.
33680         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33681         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33683         * sysdeps/aarch64/hp-timing.h: New file.
33685         * sysdeps/generic/hp-timing.h: Remove dead comment.
33686         * sysdeps/generic/hp-timing-common.h: New file.
33687         * sysdeps/alpha/hp-timing.h: Include it.
33688         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33689         * sysdeps/i386/i686/hp-timing.h: Likewise.
33690         * sysdeps/ia64/hp-timing.h: Likewise.
33691         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33692         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33693         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33694         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33695         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33696         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33697         (hp_timing_t): New.
33699         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33700         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33701         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33702         * elf/rtld.c (_dl_start_final): Likewise.
33703         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33704         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33705         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33706         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33707         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33708         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33709         (HP_TIMING_DIFF_INIT): Remove.
33710         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33711         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33712         (HP_TIMING_DIFF_INIT): Remove.
33713         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33714         * sysdeps/i386/i686/hp-timing.c: Remove file.
33715         * sysdeps/x86_64/hp-timing.c: Remove file.
33716         * sysdeps/ia64/hp-timing.c: Remove file.
33717         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33718         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33719         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33720         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33722         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33723         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33724         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33725         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33726         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33727         (HP_TIMING_ACCUM): Remove.
33728         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33729         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33730         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33732         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33733         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33734         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33735         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33736         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33737         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33738         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33739         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33741         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33743 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33745         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33749         Sync up with gettext.
33750         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33751         [_MSC_VER]: Include malloc.h
33752         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33753         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33754         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33755         TEMP_FAILURE_RETRY.  Cast return of alloca.
33756         [!_LIBC] Call gl_rwlock_init.
33757         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33759 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33761         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33762         before checking its value.
33764 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33766         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33768         * debug/memcpy_chk.c: Don't include pagecopy.h.
33769         * debug/mempcpy_chk.c: Likewise.
33770         * string/memcpy.c: Likewise.
33771         * string/memmove.c: Likewise.
33772         * sysdeps/powerpc/memmove.c: Likewise.
33773         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33774         definition of PAGE_COPY_FWD_MAYBE here...
33775         * sysdeps/generic/pagecopy.h: ... from here.
33776         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33778 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33779             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33781         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33783         optimizations.
33784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33785         (__libc_ifunc_impl_list): Likewise.
33786         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33787         multiarch strcat for PPC64.
33788         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33789         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33791 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33793         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33795 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33797         * intl/loadmsgcat.c: Remove declaration of
33798         get_sysdep_segment_value.
33799         (get_sysdep_segment_value): Use ISO C style.
33800         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33801         semicolon.  Fix typo and formatting in comment.
33802         (_nl_unload_domain): Use ISO C style.
33804         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33806 2014-07-02  Will Newton  <will.newton@linaro.org>
33808         * malloc/obstack.c: Merge from gnulib master.
33809         [HAVE_CONFIG_H]: Remove conditional code.
33810         [!_LIBC]: Include config.h.
33811         [!ELIDE_CODE]: Don't include inttypes.h, include
33812         stdint.h unconditionally.
33813         (print_and_abort): Mark as _Noreturn.
33814         (_obstack_allocated_p): Mark as __attribute_pure__.
33815         (obstack_free): Rename to __obstack_free.
33816         [!__attribute__]: Remove conditional code.
33817         * malloc/obstack.h: Merge from gnulib master.
33818         [__cplusplus]: Move conditional down.
33819         [!__attribute_pure__]: Define __attribute_pure__ here
33820         if it is not already defined.
33821         (_obstack_memory_used): Mark as __attribute_pure__.
33822         [!__obstack_free]: Define as obstack_free.
33823         [__GNUC__]: Remove check for ancient NeXT gcc.
33825 2014-07-02  Will Newton  <will.newton@linaro.org>
33826             Paul Eggert  <eggert@cs.ucla.edu>
33828         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33830 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33832         * resolv/gethnamaddr.c: Add comment warning that the file is
33833         not maintained.
33835 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33837         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33838         entries.
33840         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33841         entry for aio_cancel and aio_cancel64.
33842         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33843         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33844         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33845         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33846         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33847         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33848         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33849         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33850         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33851         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33852         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33853         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33854         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33856 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33858         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33859         * nptl/pthread_mutex_lock.c: Likewise.
33860         * nptl/pthread_mutex_timedlock.c: Likewise.
33861         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33863 2014-07-01  Richard henderson  <rth@redhat.com>
33865         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33866         (__isnan, __isnanl): Remove.
33867         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33869         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33871 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33873         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33875 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33877         * resolv/nss_dns/dns-host.c (getanswer_r)
33878         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33880 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33883         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33884         undefine.
33885         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33886         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33888 2014-07-01  Roland McGrath <roland@hack.frob.com>
33890         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33891         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33893         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33894         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33896         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33897         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33898         ... here.
33899         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33900         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33902         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33903         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33904         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33905         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33907         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33908         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33909         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33910         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33911         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33912         Moved ...
33913         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33914         ... here.
33915         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33916         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33917         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33918         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33919         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33920         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33921         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33922         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33923         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33924         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33925         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33926         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33927         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33928         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33929         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33930         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33931         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33932         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33933         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33934         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33935         ... here.
33936         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33939         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33940         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33941         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33942         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33943         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33945 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33947         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33948         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33949         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33950         Add sysdep.
33952 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33956 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33958         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33959         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33961         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33963         * sysdeps/arm/libm-test-ulps: Regenerated.
33965 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33966             Roland McGrath <roland@hack.frob.com>
33968         * test-skeleton.c (signal_handler): Kill the whole process group
33969         before killing the child individually.
33970         (main): Report any failure on `setpgid'.
33972 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33974         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33975         from _TLS_H to _ARM_NPTL_TLS_H.
33976         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33977         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33979 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33981         [BZ #16539]
33982         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33983         (__expm1l): Return argument unchanged when small but not
33984         subnormal.
33986         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33987         include macro name.
33988         (_FP_UNPACK_RAW_1_P): Likewise.
33989         (_FP_PACK_RAW_1): Likewise.
33990         (_FP_PACK_RAW_1_P): Likewise.
33991         (_FP_MUL_MEAT_1_wide): Likewise.
33992         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33993         (_FP_MUL_MEAT_1_hard): Likewise.
33994         (_FP_DIV_MEAT_1_imm): Likewise.
33995         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33996         (_FP_DIV_MEAT_1_udiv): Likewise.
33997         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33998         (_FP_UNPACK_RAW_2): Likewise.
33999         (_FP_UNPACK_RAW_2_P): Likewise.
34000         (_FP_PACK_RAW_2): Likewise.
34001         (_FP_PACK_RAW_2_P): Likewise.
34002         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34003         (_FP_MUL_MEAT_2_wide): Likewise.
34004         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34005         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34006         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34007         (_FP_MUL_MEAT_2_gmp): Likewise.
34008         (_FP_DIV_MEAT_2_udiv): Likewise.
34009         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34010         (_FP_FRAC_SRL_4): Likewise.
34011         (_FP_FRAC_SRST_4): Likewise.
34012         (_FP_FRAC_SRS_4): Likewise.
34013         (_FP_UNPACK_RAW_4): Likewise.
34014         (_FP_UNPACK_RAW_4_P): Likewise.
34015         (_FP_PACK_RAW_4): Likewise.
34016         (_FP_PACK_RAW_4_P): Likewise.
34017         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34018         (_FP_MUL_MEAT_4_wide): Likewise.
34019         (_FP_MUL_MEAT_4_gmp): Likewise.
34020         (umul_ppppmnnn): Likewise.
34021         (_FP_DIV_MEAT_4_udiv): Likewise.
34022         (__FP_FRAC_ADD_4): Likewise.
34023         (__FP_FRAC_SUB_3): Likewise.
34024         (__FP_FRAC_SUB_4): Likewise.
34025         (__FP_FRAC_DEC_3): Likewise.
34026         (__FP_FRAC_DEC_4): Likewise.
34027         (__FP_FRAC_ADDI_4): Likewise.
34028         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34029         (_FP_FRAC_SRL_8): Likewise.
34030         (_FP_FRAC_SRS_8): Likewise.
34032         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34033         include macro name.
34034         (FP_UNPACK_RAW_EP): Likewise.
34035         (FP_PACK_RAW_E): Likewise.
34036         (FP_PACK_RAW_EP): Likewise.
34037         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34038         (_FP_ISSIGNAN): Likewise.
34039         (_FP_ADD_INTERNAL): Likewise.
34040         (_FP_FMA): Likewise.
34041         (_FP_CMP): Likewise.
34042         (_FP_SQRT): Likewise.
34043         (_FP_TO_INT): Likewise.
34044         (_FP_FROM_INT): Likewise.
34045         (FP_EXTEND): Likewise.
34046         (_FP_DIV_MEAT_N_loop): Likewise.
34048 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34050         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34051         throughout.
34053 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34055         [BZ #17097]
34056         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34057         result with correct sign in case of exponents that produce
34058         overflow except for X very close to 1.
34060 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34062         mktime: merge #if/#ifdef usage from glibc
34063         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34064         as that works with both Glibc's and Gnulib's style.
34065         See thread starting at Siddhesh Poyarekar's bug report at:
34066         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34068 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34070         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34071         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34072         * sysdeps/tile/tilegx/memmove.c: Remove file.
34074 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34076         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34077         abi-name definition.
34078         * scripts/soversions.awk: Do not handle or generate ABI lines.
34079         * shlib-versions: Remove ABI entries.
34080         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34081         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34083 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34085         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34086         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34087         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34088         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34090         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34092         Moved ...
34093         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34094         ... here.
34095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34096         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34097         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34098         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34100         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34102         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34104         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34106         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34108         Moved ...
34109         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34111         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34113         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34115         Moved ...
34116         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34118         Moved ...
34119         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34121         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34123         Moved ...
34124         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34126         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34128         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34130         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34132         Moved ...
34133         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34135         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34136         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34137         Moved ...
34138         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34140         Moved ...
34141         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34142         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34143         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34145         Moved ...
34146         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34147         ... here.
34148         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34149         Identical file removed.
34150         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34151         Moved ...
34152         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34154         Identical file removed.
34155         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34156         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34157         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34158         Moved ...
34159         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34160         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34161         Identical file removed.
34162         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34163         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34165         Identical file removed.
34166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34167         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34168         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34169         Identical file removed.
34170         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34171         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34173         Identical file removed.
34174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34175         Moved ...
34176         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34177         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34178         Identical file removed.
34179         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34180         Moved ...
34181         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34182         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34183         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34184         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34185         Identical file removed.
34186         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34187         Moved ...
34188         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34189         ... here.
34190         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34191         Identical file removed.
34192         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34193         Moved ...
34194         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34195         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34196         Identical file removed.
34197         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34198         Moved ...
34199         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34200         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34201         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34203         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34205         Moved ...
34206         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34207         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34208         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34210         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34211         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34212         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34213         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34214         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34216 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34218         [BZ #17092]
34219         * nscd/nscd.c (monitor_child): Return exit status of child
34220         instead of return value from wait syscall.
34222 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34224         * configure.ac (libc_commonpagesize): Remove variable.
34225         (libc_relro_required): Likewise.
34226         (libc_cv_z_relro): Remove configure test.
34227         * configure: Regenerated.
34228         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34229         variable.
34230         (libc_relro_required): Likewise.
34231         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34232         (libc_relro_required): Likewise.
34233         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34234         (libc_relro_required): Likewise.
34235         * sysdeps/arm/preconfigure: Regenerated.
34236         * sysdeps/ia64/preconfigure: Remove file.
34237         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34238         variable.
34239         (libc_relro_required): Likewise.
34241         [BZ #16561]
34242         [BZ #16562]
34243         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34244         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34245         recompute overflowing results in original rounding mode.
34246         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34247         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34248         recompute overflowing results in original rounding mode.
34249         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34250         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34251         recompute overflowing results in original rounding mode.
34252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34253         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34254         recompute overflowing results in original rounding mode.
34255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34256         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34257         recompute overflowing results in original rounding mode.
34258         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34259         (libc_feholdsetround_ctx): New macro.
34260         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34261         * sysdeps/i386/fpu/libm-test-ulps: Update.
34262         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34264 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34266         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34267         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34268         corresponding .cpsetup call.
34270 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34272         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34273         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34274         * sysdeps/arm/Makefile [$(subdir) = csu]
34275         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34276         (static-only-routines): Add aeabi_read_tp here.
34277         (shared-only-routines): Add libc-aeabi_read_tp here.
34278         (CFLAGS-libc-start.c): Add -fexceptions here.
34279         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34280         (sysdep_routines, static-only-routines, shared-only-routines):
34281         Don't add to these here.
34282         (CFLAGS-libc-start.c): Likewise.
34284         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34285         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34286         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34287         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34288         * sysdeps/arm/Makefile [$(subdir) = rt]
34289         (librt-sysdep_routines, librt-shared-only-routines):
34290         Append rt-aeabi_unwind_cpp_pr1 here.
34291         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34292         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34293         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34294         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34295         Append nptl-aeabi_unwind_cpp_pr1 here.
34296         (tests): Filter out tst-cleanupx4 here.
34297         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34298         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34299         Don't do those here.
34301 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34303         * scripts/list-sources.sh: Do not handle ports specially.
34305 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34307         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34308         * sysdeps/arm/feupdateenv.c: Likewise.
34310         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34312 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34314         * manual/texinfo.tex: Update to version 2014-05-05.10 with
34315         trailing whitespace removed.
34316         * scripts/config.guess: Update to version 2014-03-23.
34317         * scripts/config.sub: Update to version 2014-05-01
34318         * scripts/install-sh: Update to version 2013-12-25.23.
34319         * scripts/move-if-change: Update from gnulib.
34321 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34323         * debug/memmove_chk.c: Remove pagecopy.h include.
34325 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
34327         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
34328         identical to gnulib mktime.
34330 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34332         * configure.ac: Do not test for machine being rs6000.  Do not test
34333         for powerpc*-*soft.
34334         * configure: Regenerated.
34336         [BZ #11505]
34337         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34338         test.
34339         * configure: Regenerated.
34340         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34341         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34342         Remove configure test.
34343         * sysdeps/arm/configure: Regenerated.
34344         * sysdeps/nptl/configure.ac: Do not check
34345         libc_cv_asm_cfi_directives.
34346         * sysdeps/nptl/configure: Regenerated.
34347         * sysdeps/x86_64/nptl/configure.ac: Remove file.
34348         * sysdeps/x86_64/nptl/configure: Remove generated file.
34349         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34350         unconditional.
34351         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34353 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34355         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34356         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34357         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34358         it is defined.
34360         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34361         instead of whether it is defined.
34362         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34363         * sysdeps/hppa/dl-machine.h: Likewise.
34364         * sysdeps/ia64/dl-machine.h: Likewise.
34365         * sysdeps/m68k/dl-machine.h: Likewise.
34366         * sysdeps/microblaze/dl-machine.h: Likewise.
34367         * sysdeps/mips/dl-machine.: Likewise.
34368         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34369         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34370         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34371         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34372         * sysdeps/sh/dl-machine.h: Likewise.
34373         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34374         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34375         * sysdeps/tile/dl-machine.h: Likewise.
34376         * sysdeps/x86_64/dl-machine.h: Likewise.
34378         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34379         code.
34380         (verify_persistent_db): Likewise.
34382 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34385         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34387         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34389         Moved ...
34390         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34391         ... here.
34392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34393         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34395         Identical file removed.
34396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34397         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34399         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34401         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34403         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34405         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34407         Moved ...
34408         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34410         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34412         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34414         Moved ...
34415         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34417         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34419         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34421         Identical file removed.
34422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34423         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34425         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34427         Moved ...
34428         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34429         ... here.
34430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34431         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34433         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34435         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34437         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34439         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34441         Moved ...
34442         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34444         Moved ...
34445         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34447         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34449         Moved ...
34450         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34452         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34454         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34455         folded into ...
34456         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34457         * sysdeps/unix/sysv/linux/s390/Versions
34458         (libpthread: GLIBC_2.19): New version set.
34459         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34460         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34461         (librt: GLIBC_2.3.3): New version set.
34462         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34463         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34464         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34465         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34466         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34467         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34468         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34469         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34470         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34471         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34472         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34473         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34474         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34475         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34476         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34477         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34478         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34479         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34480         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34481         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34482         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34483         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34484         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34485         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34486         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34487         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34488         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34489         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34490         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34491         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34492         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34497         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34498         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34500         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34502         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34503         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34504         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34506         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34508         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34509         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34510         (__libc_vfork): Define the function under this name.
34511         [!NOT_IN_libc] (__vfork): Make this an alias.
34512         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34514         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34515         (__libc_vfork): Define the function under this name.
34516         [!NOT_IN_libc] (__vfork): Make this an alias.
34517         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34518         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34519         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34521         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34522         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34524         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34525         code that was previously under [RESET_PID].
34526         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34527         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34530         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34531         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34532         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34533         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34534         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34535         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34536         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34537         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34538         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34539         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34540         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34541         Moved ...
34542         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34543         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34544         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34545         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34546         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34547         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34548         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34549         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34550         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34551         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34552         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34553         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34554         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34555         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34556         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34557         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34558         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34559         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34560         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34561         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34562         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34563         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34564         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34565         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34566         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34567         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34568         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34570         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34572 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34574         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34575         that was previously under [RESET_PID].
34576         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34578 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34580         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34581         not undefine and redefine.
34582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34583         [O_CLOEXEC]: Make code unconditional.
34584         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34585         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34586         <kernel-features.h>.
34587         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34588         conditional variable definition.
34589         (shm_open) [O_CLOEXEC]: Make code unconditional.
34590         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34591         code.
34593         * configure.ac (USE_REGPARMS): Don't define here.
34594         * configure: Regenerated.
34595         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34596         * sysdeps/i386/configure: Regenerated.
34598         * nptl/createthread.c: Don't include kernel-features.h.
34599         * nptl/pthread_cancel.c: Likewise.
34600         * nptl/pthread_condattr_setclock.c: Likewise.
34601         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34602         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34603         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34604         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34605         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34606         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34607         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34610         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34611         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34612         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34613         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34614         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34615         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34616         * nscd/gai.c: Likewise.
34617         * nss/nss_db/db-open.c: Likewise.
34618         * sysdeps/generic/ldsodefs.h: Likewise.
34619         * sysdeps/sh/nptl/tls.h: Likewise.
34620         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34621         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34622         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34623         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34624         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34625         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34626         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34627         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34628         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34629         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34630         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34631         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34632         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34633         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34634         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34635         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34636         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34637         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34638         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34639         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34640         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34642         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34643         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34648         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34649         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34650         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34651         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34652         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34653         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34654         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34655         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34656         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34657         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34658         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34659         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34660         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34661         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34662         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34663         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34664         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34665         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34666         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34667         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34668         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34669         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34670         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34671         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34672         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34673         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34674         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34675         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34676         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34677         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34700         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34701         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34702         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34703         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34704         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34705         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34707         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34708         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34709         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34710         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34711         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34712         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34713         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34714         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34715         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34716         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34717         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34718         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34719         * sysdeps/unix/sysv/linux/system.c: Likewise.
34720         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34721         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34722         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34723         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34724         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34725         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34726         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34728         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34729         * configure: Regenerated.
34730         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34732         * configure.ac (base_machine): Do not set specially for particular
34733         machines here.
34734         * configure: Regenerated.
34735         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34736         settings from configure.ac.
34737         * sysdeps/i386/preconfigure: New file.
34738         * sysdeps/s390/preconfigure: Likewise.
34739         * sysdeps/sh/preconfigure: Likewise.
34740         * sysdeps/sparc/preconfigure: Likewise.
34742 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34744         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34745         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34746         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34747         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34748         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34749         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34750         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34751         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34752         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34753         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34754         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34755         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34756         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34757         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34758         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34761         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34762         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34764         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34765         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34766         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34767         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34768         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34769         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34770         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34771         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34772         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34773         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34774         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34775         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34776         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34777         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34778         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34779         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34780         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34781         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34782         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34783         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34784         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34785         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34786         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34787         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34789         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34791         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34792         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34793         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34795         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34796         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34797         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34799         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34800         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34801         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34804         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34806         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34808         Moved ...
34809         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34810         ... here.
34811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34812         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34814         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34816         Moved ...
34817         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34819         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34821         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34823         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34825         Moved ...
34826         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34828         Moved ...
34829         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34831         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34833         Moved ...
34834         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34836         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34838         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34840         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34842         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34844         Moved ...
34845         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34846         ... here.
34847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34848         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34850         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34852         Moved ...
34853         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34855         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34857         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34859         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34861         Moved ...
34862         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34864         Moved ...
34865         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34867         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34869         Moved ...
34870         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34872         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34874         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34876 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34878         * timezone/checktab.awk: Update from tzcode 2014e.
34879         * timezone/private.h: Likewise.
34880         * timezone/tzfile.h: Likewise.
34881         * timezone/zdump.c: Likewise.
34882         * timezone/zic.c: Likewise.
34884         * sysdeps/unix/sysv/linux/kernel-features.h
34885         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34886         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34887         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34888         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34889         Remove conditional code.
34891 2014-06-25  Will Newton  <will.newton@linaro.org>
34893         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34894         (_dl_arm_cap_flags): Add HWCAP2 values.
34895         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34896         (_DL_HWCAP_COUNT): Increase to 37.
34897         (_DL_HWCAP_LAST): New define.
34898         (_DL_HWCAP2_LAST): New define.
34899         (_dl_procinfo): Add support for printing
34900         AT_HWCAP2 entries.
34901         (_dl_string_hwcap): Use _dl_hwcap_string.
34903 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34907 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34909         * README: Do not mention ports directory.
34911         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34912         Remove macro.
34913         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34914         <kernel-features.h>.
34915         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34916         conditional variable definition.
34917         (__futimes): Update comment.
34918         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34919         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34921         [BZ #16560]
34922         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34923         arguments close to 0.
34924         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34925         Likewise.
34926         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34927         Likewise.
34928         * math/auto-libm-test-in: Add more tests of exp10.
34929         * math/auto-libm-test-out: Regenerated.
34930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34932         * sysdeps/unix/sysv/linux/kernel-features.h
34933         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34934         * sysdeps/unix/sysv/linux/readv.c: Do not include
34935         <kernel-features.h>.
34936         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34937         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34938         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34939         unconditional.
34940         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34941         conditional code.
34942         * sysdeps/unix/sysv/linux/writev.c: Do not include
34943         <kernel-features.h>.
34944         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34945         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34946         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34947         unconditional.
34948         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34949         conditional code.
34951 2014-06-25  Will Newton  <will.newton@linaro.org>
34953         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34954         comment changes throughout the file.  Remove checks
34955         for HAVE_*_H definitions that are not required.
34956         (__gen_tempname): Call abort if an unknown kind value is
34957         passed.
34959 2014-06-25  Andreas Schwab  <schwab@suse.de>
34961         [BZ #17086]
34962         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34963         scalbln, scalblnf, scalblnl in libc.
34965 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34967         [BZ #17086]
34968         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34969         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34970         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34972 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34974         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34975         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34976         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34977         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34978         Update #include.
34979         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34980         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34981         Update #include.
34982         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34983         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34984         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34985         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34986         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34987         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34988         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34989         * sysdeps/x86/bits/semaphore.h: ... here.
34990         * sysdeps/x86/nptl/elide.h: Moved ...
34991         * sysdeps/x86/elide.h: ... here.
34992         * sysdeps/x86_64/nptl/Implies: File removed.
34993         * sysdeps/i386/nptl/Implies: File removed.
34995 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34997         [BZ #16539]
34998         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34999         return the argument for normal arguments with exponent below -64.
35000         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35001         Likewise.
35002         * math/auto-libm-test-in: Add another test of expm1.
35003         * math/auto-libm-test-out: Regenerated.
35005         [BZ #16287]
35006         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35007         calling __erfcl for arguments at least 16.
35008         * math/auto-libm-test-in: Add more tests of erf.
35009         * math/auto-libm-test-out: Regenerated.
35011         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35012         individual architectures.
35013         * sysdeps/unix/sysv/linux/configure: Regenerated.
35014         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35015         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35016         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35017         (ldd_rewrite_script): Define variable.
35018         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35020         file.
35021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35022         generated file.
35023         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35024         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35025         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35026         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35027         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35028         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35029         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35030         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35032 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35034         [BZ #17084]
35035         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35036         Rename member __data.d to __data.__elision_data.
35038 2014-06-24  Wilco  <wdijkstr@arm.com>
35040         * NEWS: Add 16918 to fixed bug list.
35042 2014-06-24  Wilco  <wdijkstr@arm.com>
35044         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35046 2014-06-24  Wilco  <wdijkstr@arm.com>
35048         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35049         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35050         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35051         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35052         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35053         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35054         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35055         Use _FPU_MASK_RM.
35057 2014-06-24  Wilco  <wdijkstr@arm.com>
35059         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35061 2014-06-24  Wilco  <wdijkstr@arm.com>
35063         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35064         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35065         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35066         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35068 2014-06-24  Wilco  <wdijkstr@arm.com>
35070         [BZ #16918]
35071         * sysdeps/arm/feupdateenv.c (feupdateenv):
35072         Rewrite to reduce FPSCR accesses and fix return value.
35074 2014-06-24  Wilco  <wdijkstr@arm.com>
35076         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35077         Optimize to avoid unnecessary FPSCR writes.
35078         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35079         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35080         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35081         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35083 2014-06-24  Wilco  <wdijkstr@arm.com>
35085         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35086         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35087         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35088         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35089         Call libc_fetestexcept_vfp.
35090         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35091         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35092         __SOFTFP__ ifdef so that they can be built for softfp.
35094 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35096         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35097         argument type signed char.
35099         * Makerules (check-abi): Dump diff of symlist if the test
35100         fails.
35102 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35104         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35105         using abort.
35107         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35108         Remove unused variable ST.
35110 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35112         [BZ #16354]
35113         [BZ #17061]
35114         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35115         small arguments before calling __expm1.
35116         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35117         small arguments before calling __expm1f.
35118         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35119         small arguments before calling __expm1l.
35120         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35121         Likewise.
35122         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35123         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35124         spurious underflow for some cosh tests.
35125         * math/auto-libm-test-out: Regenerated.
35126         * sysdeps/i386/fpu/libm-test-ulps: Update.
35128         [BZ #17050]
35129         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35130         (__ieee754_y1): Set errno if return value overflows.
35131         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35132         (__ieee754_y1f): Set errno if return value overflows.
35133         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35134         (__ieee754_y1l): Set errno if return value overflows.
35135         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35136         (__ieee754_y1l): Set errno if return value overflows.
35137         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35138         * math/auto-libm-test-out: Regenerated.
35140         * math/gen-auto-libm-tests.c: Document use of
35141         ignore-zero-inf-sign.
35142         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35143         (input_flags): Add ignore-zero-inf-sign.
35144         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35145         * math/gen-libm-test.pl (generate_testfile): Handle
35146         ignore-zero-inf-sign.
35147         * math/auto-libm-test-in: Mark some cpow tests with
35148         ignore-zero-inf-sign and some with xfail-rounding.
35149         * math/auto-libm-test-out: Regenerated.
35150         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35151         * sysdeps/i386/fpu/libm-test-ulps: Update.
35152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35154         [BZ #16315]
35155         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35156         overflowing or underflowing operations take place with sign of
35157         result.
35158         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35159         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35160         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35161         (__ieee754_pow): Recompute overflowing and underflowing results in
35162         original rounding mode.
35163         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35164         (__powl_helper): Allow negative argument X and scale negated value
35165         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35166         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35167         overflowing or underflowing operations take place with sign of
35168         result.
35169         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35170         Include <math.h>.
35171         * math/auto-libm-test-in: Add more tests of pow.
35172         * math/auto-libm-test-out: Regenerated.
35173         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35174         (pow_tonearest_test_data): Remove.
35175         (pow_test_tonearest): Likewise.
35176         (pow_towardzero_test_data): Likewise.
35177         (pow_test_towardzero): Likewise.
35178         (pow_downward_test_data): Likewise.
35179         (pow_test_downward): Likewise.
35180         (pow_upward_test_data): Likewise.
35181         (pow_test_upward): Likewise.
35182         (main): Don't call removed functions.
35183         * sysdeps/i386/fpu/libm-test-ulps: Update.
35184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35186 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35189         Moved ...
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35192         Moved ...
35193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35195         Moved ...
35196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35198         Moved ...
35199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35201         File removed.
35202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35203         File removed.
35204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35205         File removed.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35207         File removed.
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35209         File removed.
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35211         File removed.
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35213         File removed.
35214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35215         File removed.
35216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35217         File removed.
35218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35219         File removed.
35220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35221         File removed.
35222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35223         File removed.
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35225         Moved ...
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35228         Moved ...
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35230         ... here.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35232         Moved ...
35233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35235         Moved ...
35236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35238         Moved ...
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35241         Moved ...
35242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35244         Moved ...
35245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35247         Moved ...
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35250         Moved ...
35251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35254         ... here.
35255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35256         Moved ...
35257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35259         Moved ...
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35261         ... here.
35262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35263         Moved ...
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35265         ... here.
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35267         Moved ...
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35269         ... here.
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35271         Moved ...
35272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35274         Moved ...
35275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35279         Moved ...
35280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35281         ... here.
35282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35283         Moved ...
35284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35285         ... here.
35286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35287         Moved ...
35288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35290         Moved ...
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35293         Moved ...
35294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35296         Moved ...
35297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35299         Moved ...
35300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35301         ... here.
35302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35303         Moved ...
35304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35306         Moved ...
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35309         Moved ...
35310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35312         Moved ...
35313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35317         Moved ...
35318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35320         Moved ...
35321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35323         Moved ...
35324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35325         ... here.
35326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35327         Moved ...
35328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35329         ... here.
35330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35331         Moved ...
35332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35333         ... here.
35334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35335         Moved ...
35336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35338         Moved ...
35339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35341         Moved ...
35342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35344         Moved ...
35345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35346         ... here.
35347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35348         Moved ...
35349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35350         ... here.
35351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35352         Moved ...
35353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35354         ... here.
35355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35356         Moved ...
35357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35359         Moved ...
35360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35362 2014-06-23  Will Newton  <will.newton@linaro.org>
35363             Wilco  <wdijkstr@arm.com>
35365         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35366         implementation.  Include get-rounding-mode.h.
35367         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35368         [!libc_feholdsetround_noex_ctx]: Define
35369         libc_feholdsetround_noex_ctx.
35370         [!libc_feholdsetround_noexf_ctx]: Define
35371         libc_feholdsetround_noexf_ctx.
35372         [!libc_feholdsetround_noexl_ctx]: Define
35373         libc_feholdsetround_noexl_ctx.
35374         (libc_feholdsetround_ctx): New function.
35375         (libc_feresetround_ctx): New function.
35376         (libc_feholdsetround_noex_ctx): New function.
35377         (libc_feresetround_noex_ctx): New function.
35379 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35381         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35382         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35383         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35384         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35385         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35386         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35388         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35389         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35390         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35391         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35392         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35393         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35395         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35396         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35397         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35398         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35399         Moved ...
35400         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35401         ... here.
35402         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35403         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35404         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35405         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35407         Moved ...
35408         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35409         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35410         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35411         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35412         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35413         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35414         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35415         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35416         Moved ...
35417         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35418         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35419         Moved ...
35420         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35421         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35422         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35423         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35424         Moved ...
35425         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35426         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35427         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35428         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35429         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35430         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35431         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35432         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35433         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35434         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35435         Moved ...
35436         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35437         ... here.
35438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35439         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35440         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35441         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35442         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35443         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35444         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35445         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35446         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35447         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35448         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35449         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35450         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35451         Moved ...
35452         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35453         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35454         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35455         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35456         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35458         Moved ...
35459         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35461         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35462         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35463         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35465         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35466         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35467         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35468         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35469         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35470         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35471         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35472         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35473         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35474         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35475         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35476         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35477         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35478         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35479         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35480         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35481         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35482         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35483         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35484         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35485         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35486         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35487         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35488         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35489         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35490         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35492         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35494 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35497         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35498         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35499         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35500         (IPV6_PMTUDISC_INTERFACE): Likewise.
35501         (IPV6_PMTUDISC_OMIT): Likewise.
35503 2014-06-23  Andreas Schwab  <schwab@suse.de>
35505         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35506         Remove unused errout label.
35508 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35510         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35511         macro: hardware supports Vector Crypto instructions.
35513 2014-06-23  Will Newton  <will.newton@linaro.org>
35515         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35516         rather than __builtin_expect.
35518         * elf/dl-lookup.c (undefined_msg): Remove variable.
35519         (_dl_lookup_symbol_x): Replace undefined_msg with string
35520         literal.
35522         * elf/dl-lookup.c (do_lookup_unique): New function.
35523         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35524         to a separate function.
35526 2014-06-23  Andreas Schwab  <schwab@suse.de>
35528         [BZ #17079]
35529         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35530         before reading the next line.
35532 2014-06-23  Will Newton  <will.newton@linaro.org>
35534         * test-skeleton.c (signal_handler): Use printf and %m
35535         rather than perror.  Use printf rather than fprintf to
35536         stderr.  Use puts rather than fputs to stderr.
35537         (main): Likewise.
35539 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35541         * nscd/nscd.c (thread_info_t): Remove typedef.
35542         (thread_info): Remove variable.
35544 2014-06-21  Allan McRae  <allan@archlinux.org>
35546         * NEWS: Mention CVE-2014-4043.
35548 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35550         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35551         * nptl/smp.h: ... here.
35553         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35555         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35556         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35557         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35558         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35560         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35561         * nptl/stack-aliasing.h: New file.
35562         * sysdeps/i386/i686/stack-aliasing.h: New file.
35563         * sysdeps/i386/i686/nptl/Makefile: File removed.
35564         * sysdeps/x86_64/stack-aliasing.h: New file.
35565         * sysdeps/x86_64/nptl/Makefile
35566         (CFLAGS-pthread_create.c): Variable removed.
35568         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35569         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35570         old file.
35571         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35572         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35573         old file.
35575 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35577         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35578         (__ASSUME_SIGFRAME_V2): Remove macro.
35579         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35580         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35581         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35582         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35583         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35584         Declare as function.  Remove conditional macro definitions.
35585         (__default_rt_sa_restorer): Likewise.
35586         (__default_sa_restorer_v1): Remove declaration.
35587         (__default_sa_restorer_v2): Likewise.
35588         (__default_rt_sa_restorer_v1): Likewise.
35589         (__default_rt_sa_restorer_v2): Likewise.
35590         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35591         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35592         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35594 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35596         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35597         (libpthread-routines): Add sysdep.
35598         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35599         * sysdeps/unix/sysv/linux/sparc/Versions
35600         (libpthread: GLIBC_2.3.3): New version set.
35601         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35602         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35603         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35604         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35605         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35606         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35607         Moved ...
35608         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35609         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35610         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35611         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35612         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35613         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35614         * sysdeps/sparc/nptl/sem_init.c: ... here.
35615         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35616         * sysdeps/sparc/nptl/sem_post.c: ... here.
35617         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35618         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35619         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35620         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35621         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35622         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35623         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35624         (libpthread-routines): Add cpu_relax.
35625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35626         File removed.
35627         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35628         (librt: GLIBC_2.3.3): New version set.
35629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35630         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35631         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35632         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35635         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35637         Moved ...
35638         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35640         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35642         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35644         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35646         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35648         Moved ...
35649         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35650         Update #include.
35651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35652         Moved ...
35653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35654         Update #include.
35655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35656         Moved ...
35657         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35658         Update #include.
35659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35660         Moved ...
35661         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35662         Update #include.
35663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35664         Moved ...
35665         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35666         Update #include.
35667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35668         Moved ...
35669         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35670         Update #include.
35671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35672         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35676         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35678         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35680         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35682         Moved ...
35683         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35685         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35687         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35689 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35691         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35692         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35693         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35694         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35695         * nscd/nscd.c: Likewise.
35696         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35697         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35698         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35699         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35701         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35702         <kernel-features.h>.
35703         (init_mq_netlink): Remove conditional have_sock_cloexec
35704         definitions.  Remove code conditional on have_sock_cloexec < 0.
35705         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35706         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35707         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35708         <kernel-features.h>.
35709         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35710         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35712 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35715         Add tests for memset_chk and memset.
35717         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35718         with AVX2_Usable.
35720 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35722         [BZ #16046]
35723         * elf/tst-dl-iter-static.c: New file.
35724         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35726         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35727         error.
35729 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35731         * sysdeps/unix/sysv/linux/kernel-features.h
35732         (__ASSUME_F_GETOWN_EX): Remove macro.
35733         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35734         <kernel-features.h>.
35735         (miss_F_GETOWN_EX): Remove variable or macro.
35736         (do_fcntl): Do not check miss_F_GETOWN_EX.
35737         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35739         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35740         Remove macro.
35741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35742         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35743         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35745         * sysdeps/unix/sysv/linux/kernel-features.h
35746         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35747         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35748         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35749         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35751 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35753         [BZ #17075]
35754         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35755         Fix calculation of the symbol's value.
35756         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35757         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35758         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35759         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35760         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35761         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35762         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35763         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35764         (modules-names): Add `tst-armtlsdescmod',
35765         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35766         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35767         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35768         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35769         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35770         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35771         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35772         ($(objpfx)tst-armtlsdescloc): New dependency.
35773         ($(objpfx)tst-armtlsdescextnow): Likewise.
35774         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35775         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35776         TLS scheme support.
35777         * sysdeps/arm/configure: Regenerate.
35779 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35781         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35782         (__atfct_seterrno_2): Likewise.
35783         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35784         <kernel-features.h>.
35785         (__ASSUME_ATFCTS): Do not undefine and redefine.
35786         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35787         (__have_atfcts): Remove conditional definition.
35788         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35789         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35790         unreachable if [__ASSUME_ATFCTS].
35791         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35792         not undefine and redefine.
35793         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35794         <kernel-features.h>.
35795         (faccessat) [__NR_faccessat]: Make code unconditional.
35796         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35797         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35798         <kernel-features.h>.
35799         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35800         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35801         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35802         <kernel-features.h>.
35803         (fchownat) [__NR_fchownat]: Make code unconditional.
35804         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35805         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35806         <kernel-features.h>.
35807         (futimesat) [__NR_futimesat]: Make code unconditional.
35808         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35809         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35810         <kernel-features.h>.
35811         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35812         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35813         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35814         <kernel-features.h>.
35815         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35816         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35817         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35818         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35819         <kernel-features.h>.
35820         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35821         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35822         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35823         <kernel-features.h>.
35824         (linkat) [__NR_linkat]: Make code unconditional.
35825         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35826         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35827         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35828         <kernel-features.h>.
35829         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35830         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35831         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35832         <kernel-features.h>.
35833         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35834         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35835         * sysdeps/unix/sysv/linux/openat.c: Do not include
35836         <kernel-features.h>.
35837         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35838         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35839         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35840         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35841         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35842         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35843         <kernel-features.h>.
35844         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35845         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35846         result of INLINE_SYSCALL directly, not via int variable.
35847         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35848         <kernel-features.h>.
35849         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35850         (renameat) [__NR_renameat]: Make code unconditional.
35851         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35852         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35853         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35854         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35855         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35856         (__ASSUME_ATFCTS): Do not undefine and redefine.
35857         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35858         <kernel-features.h>.
35859         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35860         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35861         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35862         <kernel-features.h>.
35863         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35864         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35865         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35866         (__ASSUME_ATFCTS): Do not undefine and redefine.
35867         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35868         <kernel-features.h>.
35869         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35870         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35871         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35872         <kernel-features.h>.
35873         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35874         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35876 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35878         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35880 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35882         [BZ #17069]
35883         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35884         constructed tree before returning error.
35885         * posix/bug-regexp36.c: Expand test case.
35887 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35889         [BZ #6803]
35890         * math/libm-test.inc (scalbln_test_date):
35891         Add errno expectations.
35892         * math/w_scalblnf.c: New File.
35893         Add wrapper which checks for setting errno to ERANGE.
35894         Add weak_alias for corresponding scalbln function.
35895         * math/w_scalbln.c: Likewise.
35896         * math/w_scalblnl.c: Likewise.
35897         * math/Makefile (libm-calls): Add w_scalbln.
35898         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35899         Remove weak_alias for corresponding scalbln function.
35900         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35901         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35902         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35903         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35904         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35905         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35906         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35907         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35908         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35909         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35910         Remove long_double_symbol for scalblnl function in libm, libc.
35911         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35912         Add wrapper which checks for setting errno to ERANGE.
35913         Add long_double_symbol for scalblnl function in libm, libc.
35914         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35915         Remove long_double_symbol for scalblnl in libm.
35916         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35917         Add wrapper which checks for setting errno to ERANGE.
35918         Add long_double_symbol for scalblnl function in libm.
35919         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35920         Do not use wrapper because of own implementation.
35922 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35924         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35925         3 bytes for __pad1 for x32.
35926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35928 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35929             H.J. Lu  <hongjiu.lu@intel.com>
35931         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35932         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35933         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35934         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35935         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35937 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35939         [BZ #17069]
35940         * posix/regcomp.c (parse_expression): Deallocate partially
35941         constructed tree before returning error.
35942         * posix/Makefile.c (tests): Add bug-regex36.
35943         (generated): Add bug-regex36.mtrace.
35944         (tests-special): Add $(objpfx)bug-regex36-mem.out
35945         (bug-regex36-ENV): New variable.
35946         ($(objpfx)bug-regex36-mem.out): New rule.
35947         * posix/bug-regex36.c: New file.
35949 2014-06-19  Will Newton  <will.newton@linaro.org>
35951         * malloc/malloc.c (systrim): If extra is zero then return
35952         early.
35954 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35956         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35958 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35960         * sysdeps/aarch64/strchr.S: New file.
35962 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35964         [BZ #17022]
35965         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35966         from arguments -2 or below.
35967         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35968         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35970 2014-06-18  Andreas Schwab  <schwab@suse.de>
35972         [BZ #17062]
35973         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35974         of a bracket expr not to run off the end of the string.
35975         * posix/Makefile (tests): Add tst-fnmatch3.
35976         * posix/tst-fnmatch3.c: New file.
35978 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35980         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35981         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35982         [$(cross-compiling) = no]: Likewise.
35983         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35984         [$(cross-compiling) = no]: Likewise.
35986 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35988         [BZ #17031]
35989         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35990         double, adjusted for any remainder from the high double.
35991         * math/libm-test.inc (nearbyint): Add tests.
35992         (rint): Likewise.
35994 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35996         * nptl/sysdeps/powerpc/Makefile: Moved ...
35997         * sysdeps/powerpc/nptl/Makefile: ... here.
35998         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35999         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36000         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36001         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36002         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36003         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36004         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36005         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36006         * nptl/sysdeps/powerpc/tls.h: Moved ...
36007         * sysdeps/powerpc/nptl/tls.h: ... here.
36009 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36011         [BZ #16681]
36012         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36013         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36014         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36015         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36016         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36017         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36018         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36019         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36020         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36022 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36024         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36026 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36028         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36029         defined operator.
36031         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36032         $TIMEOUTFACTOR.
36034 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36036         [BZ #17058]
36037         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36038         non-executed part of the test.
36040 2014-06-16  Andreas Schwab  <schwab@suse.de>
36042         * string/bits/string2.h (strdup, strndup): Update feature guard.
36044 2014-06-14  David S. Miller  <davem@davemloft.net>
36046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36048 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36050         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36051         that was previously under [RESET_PID].
36052         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36054         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36055         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36056         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36057         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36058         (__libc_vfork): New strong alias.
36059         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36061 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36063         * sysdeps/generic/elide.h: New file.
36065 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36067         * Makefile (installed-headers): Adjust path of pthread.h header.
36069 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36071         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36072         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36073         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36074         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36076         * nptl/sysdeps/s390/Makefile: Moved ...
36077         * sysdeps/s390/nptl/Makefile: ... here.
36078         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36079         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36080         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36081         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36082         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36083         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36084         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36085         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36086         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36087         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36088         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36089         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36090         * nptl/sysdeps/s390/tls.h: Moved ...
36091         * sysdeps/s390/nptl/tls.h: ... here.
36093         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36094         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36096 2014-06-13  David S. Miller  <davem@davemloft.net>
36098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36101         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36105         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36106         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36107         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36108         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36109         Remove RESET_PID cpp guards.
36110         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36111         Remove RESET_PID cpp guards.
36112         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36114 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36116         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36117         __sp to uintptr_t.
36119 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36121         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36122         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36125         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36129         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36131         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36133         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36136         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36138         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36142         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36143         (pthread_rwlock_rdlock): Add elision.
36144         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36145         (pthread_rwlock_wrlock): Add elision.
36146         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36147         (pthread_rwlock_trywrlock): Add elision.
36148         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36149         (pthread_rwlock_tryrdlock): Add elision.
36150         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36151         (pthread_rwlock_tryrdlock): Add elision unlock.
36152         * nptl/sysdeps/pthread/pthread.h:
36153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36154         (PTHREAD_RWLOCK_INITIALIZER,
36155         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36156         Handle new elision field.
36157         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36158         * sysdeps/arm/nptl/bits/pthreadtypes.h
36159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36160         * sysdeps/sh/nptl/bits/pthreadtypes.h
36161         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36162         * sysdeps/tile/nptl/bits/pthreadtypes.h
36163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36164         * sysdeps/a/nptl/bits/pthreadtypes.h
36165         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36166         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36168         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36170         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36172         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36174         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36175         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36176         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36178         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36180         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36182         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36183         (elision_init): Set try_xbegin to zero when no RTM.
36184         * sysdeps/x86/nptl/bits/pthreadtypes.h
36185         (pthread_rwlock_t): Change __pad1 to __rwelision.
36186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36188 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36190         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36191         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36192         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36193         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36195 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36197         [BZ #16996]
36198         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36199         that the cached result has been set before returning it.
36201 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36203         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36204         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36205         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36206         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36207         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36208         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36210         * nptl/sysdeps/sparc/Makefile: Moved ...
36211         * sysdeps/sparc/nptl/Makefile: ... here.
36212         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36213         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36214         * nptl/sysdeps/sparc/tls.h: Moved ...
36215         * sysdeps/sparc/nptl/tls.h: ... here.
36216         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36217         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36218         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36219         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36220         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36221         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36222         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36223         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36224         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36225         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36226         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36227         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36228         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36229         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36230         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36231         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36232         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36233         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36234         Update #include.
36235         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36236         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36237         Update #include.
36238         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36240         Update #include.
36241         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36242         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36243         Update #include.
36245         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36247         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36248         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36250         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36251         (struct list_links): Type removed.
36252         (struct thread_node, struct timer_node): Replace struct list_links
36253         with struct list_head.
36254         (list_unlink_ip): Likewise.
36255         * sysdeps/pthread/timer_routines.c
36256         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36257         (list_append, list_insbefore): Likewise.
36258         (list_init): Function removed.
36259         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36260         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36261         * sysdeps/pthread/Makefile: ... here, new file.
36263         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36264         * sysdeps/nptl/Implies: ... here.
36265         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36266         * nptl/sysdeps/pthread/list.h: Moved ...
36267         * include/list.h: ... here.
36268         * nptl/sysdeps/pthread/createthread.c: Moved ...
36269         * nptl/createthread.c: ... here.
36270         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36271         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36272         * nptl/pt-longjmp.c: ... here.
36273         * nptl/sysdeps/pthread/Makefile: Moved ...
36274         * sysdeps/nptl/Makefile: ... here.
36275         * nptl/sysdeps/pthread/Subdirs: Moved ...
36276         * sysdeps/nptl/Subdirs: ... here.
36277         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36278         * sysdeps/nptl/aio_misc.h: ... here.
36279         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36280         * sysdeps/nptl/bits/libc-lock.h: ... here.
36281         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36282         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36283         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36284         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36285         * nptl/sysdeps/pthread/configure: Moved ...
36286         * sysdeps/nptl/configure: ... here.
36287         * nptl/sysdeps/pthread/configure.ac: Moved ...
36288         * sysdeps/nptl/configure.ac: ... here.
36289         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36290         * sysdeps/nptl/gai_misc.h: ... here.
36291         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36292         * sysdeps/nptl/librt-cancellation.c: ... here.
36293         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36294         * sysdeps/nptl/malloc-machine.h: ... here.
36295         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36296         * sysdeps/nptl/pthread-functions.h: ... here.
36297         * nptl/sysdeps/pthread/pthread.h: Moved ...
36298         * sysdeps/nptl/pthread.h: ... here.
36299         * nptl/sysdeps/pthread/setxid.h: Moved ...
36300         * sysdeps/nptl/setxid.h: ... here.
36301         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36302         * sysdeps/nptl/sigfillset.c: ... here.
36303         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36304         * sysdeps/nptl/tcb-offsets.h: ... here.
36305         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36306         * sysdeps/nptl/tst-mqueue8x.c: ... here.
36307         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36308         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36309         * nptl/sysdeps/pthread/allocalim.h: Moved ...
36310         * sysdeps/pthread/allocalim.h: ... here.
36311         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36312         * sysdeps/pthread/bits/sigthread.h: ... here.
36313         * nptl/sysdeps/pthread/flockfile.c: Moved ...
36314         * sysdeps/pthread/flockfile.c: ... here.
36315         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36316         * sysdeps/pthread/ftrylockfile.c: ... here.
36317         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36318         * sysdeps/pthread/funlockfile.c: ... here.
36319         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36320         * sysdeps/pthread/posix-timer.h: ... here.
36321         * nptl/sysdeps/pthread/timer_create.c: Moved ...
36322         * sysdeps/pthread/timer_create.c: ... here.
36323         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36324         * sysdeps/pthread/timer_delete.c: ... here.
36325         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36326         * sysdeps/pthread/timer_getoverr.c: ... here.
36327         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36328         * sysdeps/pthread/timer_gettime.c: ... here.
36329         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36330         * sysdeps/pthread/timer_routines.c: ... here.
36331         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36332         * sysdeps/pthread/timer_settime.c: ... here.
36333         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36334         * sysdeps/pthread/tst-timer.c: ... here.
36335         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36336         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36338         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36339         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36341         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36342         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36343         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36344         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36345         Update #include target.
36346         * nptl/sysdeps/i386/i686/Makefile: Moved ...
36347         * sysdeps/i386/i686/nptl/Makefile: ... here.
36348         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36349         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36350         Update #include target.
36351         * nptl/sysdeps/i386/i686/tls.h: Moved ...
36352         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
36353         * nptl/sysdeps/i386/Makefile: Moved ...
36354         * sysdeps/i386/nptl/Makefile: ... here.
36355         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36356         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36357         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36358         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36359         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36360         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36361         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36362         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36363         * sysdeps/i386/nptl/pthreaddef.h: ... here.
36364         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36365         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36366         * nptl/sysdeps/i386/tls.h: Moved ...
36367         * sysdeps/i386/nptl/tls.h: ... here.
36369         * sysdeps/sh/Makefile [$(subdir) = csu]
36370         (gen-as-const-headers): Add tcb-offsets.sym.
36371         * nptl/sysdeps/sh/Makefile: File removed.
36372         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36373         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36374         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36375         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36376         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36377         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36378         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36379         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36380         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36381         * sysdeps/sh/nptl/pthreaddef.h: ... here.
36382         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36383         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36384         * nptl/sysdeps/sh/tls.h: Moved ...
36385         * sysdeps/sh/nptl/tls.h: ... here.
36386         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36387         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36388         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36389         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36390         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36391         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36392         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36393         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36394         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36395         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36396         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36397         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36398         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36399         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36400         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36401         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36402         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36403         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36404         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36405         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36406         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36407         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36408         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36409         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36410         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36411         Moved ...
36412         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36413         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36414         Moved ...
36415         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36416         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36417         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36418         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36419         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36420         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36421         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36422         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36423         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36424         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36425         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36426         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36427         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36428         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36429         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36430         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36431         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36432         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36433         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36435 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36437         * posix/spawn_faction_addopen.c: Include string.h.
36439 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36441         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36442         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36443         * nptl/sysdeps/x86_64/Makefile: Moved ...
36444         * sysdeps/x86_64/nptl/Makefile: ... here.
36445         * nptl/sysdeps/x86_64/configure: Moved ...
36446         * sysdeps/x86_64/nptl/configure: ... here.
36447         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36448         * sysdeps/x86_64/nptl/configure.ac: ... here.
36449         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36450         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36451         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36452         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36453         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36454         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36455         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36456         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36457         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36458         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36459         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36460         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36461         * nptl/sysdeps/x86_64/tls.h: Moved ...
36462         * sysdeps/x86_64/nptl/tls.h: ... here.
36463         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36464         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36465         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36466         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36468         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36470 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36474 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36476         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36477         type.
36478         [POSIX] (off_t): Likewise.
36479         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36480         [POSIX] (S_ISBLK): Require macro.
36481         [POSIX] (S_ISCHR): Likewise.
36482         [POSIX] (S_ISDIR): Likewise.
36483         [POSIX] (S_ISFIFO): Likewise.
36484         [POSIX] (S_ISREG): Likewise.
36485         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36486         optional-macro.
36487         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36488         type.
36489         [POSIX] (time_t): Likewise.
36490         [POSIX] (timer_t): Likewise.
36492 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36494         [BZ #17048]
36495         * posix/spawn_int.h (struct __spawn_action): Make the path string
36496         non-const to support deallocation.
36497         * posix/spawn_faction_addopen.c
36498         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36499         * posix/spawn_faction_destroy.c
36500         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36501         path in all spawn_do_open actions.
36502         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36503         posix_spawn_file_actions_addopen.
36505 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36507         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36508         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36509         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36510         conditional code always true.
36511         (__libc_vfork): New alias.
36513 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36515         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36516         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36518         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36520         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36521         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36523         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36524         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36526         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36527         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36529 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36531         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36532         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36533         multiarch strcmp for PPC64.
36534         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36535         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36537         multiarch optimizations.
36538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36539         (__libc_ifunc_impl_list): Likewise.
36541 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36543         * benchtests/scripts/validate_benchout.py: New script.
36544         * benchtests/Makefile (bench-func): Call it.
36545         * benchtests/scripts/benchout.schema.json: New file.
36547 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36549         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36550         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36551         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36552         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36553         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36554         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36555         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36556         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36557         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36558         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36559         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36560         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36561         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36562         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36563         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36564         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36566         Moved ...
36567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36568         ... here.
36569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36570         Moved ...
36571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36573         Moved ...
36574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36575         ... here.
36576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36577         Moved ...
36578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36579         ... here.
36580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36581         Moved ...
36582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36584         Moved ...
36585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36586         ... here.
36587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36588         Moved ...
36589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36590         ... here.
36591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36592         Moved ...
36593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36595         Moved ...
36596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36597         ... here.
36598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36599         Moved ...
36600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36601         ... here.
36602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36603         Moved ...
36604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36605         ... here.
36606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36607         Moved ...
36608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36610         Moved ...
36611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36612         ... here.
36613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36614         Moved ...
36615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36616         ... here.
36617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36618         Moved ...
36619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36620         ... here.
36621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36622         Moved ...
36623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36625         Moved ...
36626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36627         ... here.
36628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36629         Moved ...
36630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36631         ... here.
36632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36633         Moved ...
36634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36636         Moved ...
36637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36638         ... here.
36639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36640         Moved ...
36641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36643         Moved ...
36644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36646         Moved ...
36647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36648         ... here.
36649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36650         Moved ...
36651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36652         ... here.
36653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36654         Moved ...
36655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36656         ... here.
36657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36658         Moved ...
36659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36661         Moved ...
36662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36663         ... here.
36664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36665         Moved ...
36666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36667         ... here.
36668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36669         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36671         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36673         Moved ...
36674         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36675         ... here.
36676         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36677         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36678         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36679         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36680         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36681         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36682         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36683         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36684         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36685         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36687         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36689         Moved ...
36690         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36691         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36692         Moved ...
36693         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36694         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36695         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36696         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36697         Moved ...
36698         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36700         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36701         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36702         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36703         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36704         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36706 2014-06-10  Wilco  <wdijkstr@arm.com>
36708         * math/test-fenv-return.c: New file.
36709         * math/Makefile: Add new test test-fenv-return.
36711 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36713         [BZ #17042]
36714         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36715         when x - 1 is zero.
36716         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36717         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36718         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36719         0.0L for an argument of 1.0L.
36720         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36721         Likewise.
36722         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36723         value when x - 1 is zero.
36724         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36725         * sysdeps/i386/fpu/libm-test-ulps: Update.
36726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36728 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36730         [BZ #15119]
36731         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36733 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36735         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36736         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36738 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36740         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36741         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36743         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36744         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36746         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36747         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36749         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36750         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36752         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36753         if not already defined.
36754         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36755         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36756         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36757         (TLS_INIT_TP): Use it.
36758         (TLS_DEFINE_INIT_TP): New macro.
36759         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36761 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36763         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36764         constant.
36765         [POSIX] (IXANY): Likewise.
36766         [POSIX] (OLCUC): Likewise.
36767         [POSIX || POSIX2008] (CBAUD): Do not allow.
36768         [POSIX || POSIX2008] (DEFECHO): Likewise.
36769         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36770         [POSIX || POSIX2008] (ECHOKE): Likewise.
36771         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36772         [POSIX || POSIX2008] (EXTA): Likewise.
36773         [POSIX || POSIX2008] (EXTB): Likewise.
36774         [POSIX || POSIX2008] (FLUSHO): Likewise.
36775         [POSIX || POSIX2008] (LOBLK): Likewise.
36776         [POSIX || POSIX2008] (PENDIN): Likewise.
36777         [POSIX || POSIX2008] (SWTCH): Likewise.
36778         [POSIX || POSIX2008] (VDISCARD): Likewise.
36779         [POSIX || POSIX2008] (VDSUSP): Likewise.
36780         [POSIX || POSIX2008] (VLNEXT): Likewise.
36781         [POSIX || POSIX2008] (VREPRINT): Likewise.
36782         [POSIX || POSIX2008] (VSTATUS): Likewise.
36783         [POSIX || POSIX2008] (VWERASE): Likewise.
36784         (B*): Change to B[0123456789]*.
36785         * conform/data/time.h-data [POSIX || UNIX98]
36786         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36787         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36788         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36789         [POSIX] (tm_*): Do not allow.
36791 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36793         * Makefile (install): Don't set LANGUAGE.
36794         * Makefile.in (install): Likewise.
36795         * assert/Makefile (test-assert-ENV): Remove variable.
36796         (test-assert-perr-ENV): Likewise.
36797         * elf/Makefile (neededtest4-ENV): Likewise.
36798         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36799         [$(cross-compiling) = no]: Don't set LANGUAGE.
36800         * io/ftwtest-sh (LANG): Remove variable.
36801         * libio/Makefile (tst-widetext-ENV): Likewise.
36802         * manual/install.texi (Running make install): Don't refer to
36803         environment settings for make install.
36804         * INSTALL: Regenerated.
36805         * nptl/tst-tls6.sh: Don't set LANG.
36806         * posix/globtest.sh (LANG): Remove variable.
36807         * string/Makefile (tester-ENV): Likewise.
36808         (inl-tester-ENV): Likewise.
36809         (noinl-tester-ENV): Likewise.
36810         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36811         [$(cross-compiling) = no]: Don't set LANGUAGE.
36812         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36813         without explicit environment settings.
36815 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36817         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36818         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36819         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36820         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36822 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36824         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36825         other files in the crypt directory.
36826         * crypt/crypt.c: Remove duplicate includes.
36827         * crypt/crypt-entry.c: Likewise.
36828         * crypt/crypt_util.c: Likewise.
36830 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36832         * Makeconfig (run-program-env): New variable.
36833         (run-program-prefix-before-env): Likewise.
36834         (run-program-prefix-after-env): Likewise.
36835         (run-program-prefix): Define in terms of new variables.
36836         (built-program-cmd-before-env): New variable.
36837         (built-program-cmd-after-env): Likewise.
36838         (built-program-cmd): Define in terms of new variables.
36839         (test-program-prefix-before-env): New variable.
36840         (test-program-prefix-after-env): Likewise.
36841         (test-program-prefix): Define in terms of new variables.
36842         (test-program-cmd-before-env): New variable.
36843         (test-program-cmd-after-env): Likewise.
36844         (test-program-cmd): Define in terms of new variables.
36845         * Rules (make-test-out): Use $(run-program-env).
36846         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36847         (help): Do not mention environment variables.  Mention
36848         --timeoutfactor option.
36849         (timeoutfactor): New variable.
36850         (blacklist_exports): Remove function.
36851         (exports): Remove variable.
36852         (command): Do not include ${exports}.
36853         * manual/install.texi (Configuring and compiling): Do not mention
36854         test wrappers preserving environment variables.  Mention that last
36855         assignment to a variable must take precedence.
36856         * INSTALL: Regenerated.
36857         * benchtests/Makefile (run-bench): Use $(run-program-env).
36858         * catgets/Makefile ($(objpfx)test1.cat): Use
36859         $(built-program-cmd-before-env), $(run-program-env) and
36860         $(built-program-cmd-after-env).
36861         ($(objpfx)test2.cat): Do not specify environment variables
36862         explicitly.
36863         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36864         $(run-program-env) and $(built-program-cmd-after-env).
36865         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36866         $(run-program-env) and $(test-program-cmd-after-env).
36867         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36868         explicitly.
36869         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36870         run_program_env and test_program_cmd_after_env arguments.
36871         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36872         * elf/tst-pathopt.sh: Use run_program_env argument.
36873         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36874         $(test-wrapper-env) and $(run-program-env).
36875         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36876         run_program_env arguments.
36877         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36878         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36879         $(test-program-prefix-before-env), $(run-program-env) and
36880         $(test-program-prefix-after-env).
36881         ($(objpfx)tst-gettext2.out): Likewise.
36882         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36883         run_program_env and test_program_prefix_after_env arguments.
36884         * intl/tst-gettext2.sh: Likewise.
36885         * intl/tst-gettext4.sh: Do not set environment variables
36886         explicitly.
36887         * intl/tst-gettext6.sh: Likewise.
36888         * intl/tst-translit.sh: Likewise.
36889         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36890         $(test-program-prefix-before-env), $(run-program-env) and
36891         $(test-program-prefix-after-env).
36892         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36893         run_program_env and test_program_prefix_after_env arguments.
36894         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36895         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36896         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36897         explicitly with each use of ${test_wrapper_env}.
36898         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36899         $(test-program-prefix-before-env), $(run-program-env) and
36900         $(test-program-prefix-after-env).
36901         * posix/tst-getconf.sh: Do not set environment variables
36902         explicitly.
36903         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36904         run_program_env and test_program_prefix_after_env arguments.
36905         * stdio-common/tst-printf.sh: Do not set environment variables
36906         explicitly.
36907         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36908         $(test-program-prefix-before-env), $(run-program-env) and
36909         $(test-program-prefix-after-env).
36910         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36911         run_program_env and test_program_prefix_after_env arguments.
36912         Split $test calls into $test_pre and $test.
36913         * timezone/Makefile (build-testdata): Use
36914         $(built-program-cmd-before-env), $(run-program-env) and
36915         $(built-program-cmd-after-env).
36917 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36919         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36920         strlen for non SHARED builds.
36922 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36924         * nptl/allocatestack.c (check_list): Inlined function...
36925         (__reclaim_stacks): ... here.
36927 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36929         [BZ #15698]
36930         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36931         memory overrun.
36933 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36935         * Rules (make-test-out): Include
36936         LOCPATH=$(common-objpfx)localedata in default environment.
36937         * debug/Makefile (tst-chk1-ENV): Remove variable.
36938         (tst-chk2-ENV): Likewise.
36939         (tst-chk3-ENV): Likewise.
36940         (tst-chk4-ENV): Likewise.
36941         (tst-chk5-ENV): Likewise.
36942         (tst-chk6-ENV): Likewise.
36943         (tst-lfschk1-ENV): Likewise.
36944         (tst-lfschk2-ENV): Likewise.
36945         (tst-lfschk3-ENV): Likewise.
36946         (tst-lfschk4-ENV): Likewise.
36947         (tst-lfschk5-ENV): Likewise.
36948         (tst-lfschk6-ENV): Likewise.
36949         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36950         (tst-iconv7-ENV): Likewise.
36951         * intl/Makefile (LOCPATH-ENV): Likewise.
36952         (tst-codeset-ENV): Likewise.
36953         (tst-gettext3-ENV): Likewise.
36954         (tst-gettext5-ENV): Likewise.
36955         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36956         (tst-fopenloc-ENV): Likewise.
36957         (tst-fgetws-ENV): Remove variable.
36958         (tst-ungetwc1-ENV): Likewise.
36959         (tst-ungetwc2-ENV): Likewise.
36960         (bug-ungetwc2-ENV): Likewise.
36961         (tst-swscanf-ENV): Likewise.
36962         (bug-ftell-ENV): Likewise.
36963         (tst-fgetwc-ENV): Likewise.
36964         (tst-fseek-ENV): Likewise.
36965         (tst-ftell-partial-wide-ENV): Likewise.
36966         (tst-ftell-active-handler-ENV): Likewise.
36967         (tst-ftell-append-ENV): Likewise.
36968         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36969         (tst-regexloc-ENV): Likewise.
36970         (bug-regex1-ENV): Likewise.
36971         (tst-regex-ENV): Likewise.
36972         (tst-regex2-ENV): Likewise.
36973         (bug-regex5-ENV): Likewise.
36974         (bug-regex6-ENV): Likewise.
36975         (bug-regex17-ENV): Likewise.
36976         (bug-regex18-ENV): Likewise.
36977         (bug-regex19-ENV): Likewise.
36978         (bug-regex20-ENV): Likewise.
36979         (bug-regex22-ENV): Likewise.
36980         (bug-regex23-ENV): Likewise.
36981         (bug-regex25-ENV): Likewise.
36982         (bug-regex26-ENV): Likewise.
36983         (bug-regex30-ENV): Likewise.
36984         (bug-regex32-ENV): Likewise.
36985         (bug-regex33-ENV): Likewise.
36986         (bug-regex34-ENV): Likewise.
36987         (bug-regex35-ENV): Likewise.
36988         (tst-rxspencer-ENV): Likewise.
36989         (tst-rxspencer-no-utf8-ENV): Likewise.
36990         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36991         (tst-sscanf-ENV): Likewise.
36992         (tst-swprintf-ENV): Likewise.
36993         (tst-swscanf-ENV): Likewise.
36994         (test-vfprintf-ENV): Likewise.
36995         (scanf13-ENV): Likewise.
36996         (bug14-ENV): Likewise.
36997         (tst-grouping-ENV): Likewise.
36998         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36999         (tst-strtod3-ENV): Likewise.
37000         (tst-strtod4-ENV): Likewise.
37001         (tst-strtod5-ENV): Likewise.
37002         (testmb2-ENV): Likewise./
37003         * string/Makefile (tst-strxfrm-ENV): Likewise.
37004         (tst-strxfrm2-ENV): Likewise.
37005         (bug-strcoll1-ENV): Likewise.
37006         (test-strcasecmp-ENV): Likewise.
37007         (test-strncasecmp-ENV): Likewise.
37008         * time/Makefile (tst-strptime-ENV): Likewise.
37009         (tst-ftime_l-ENV): Likewise.
37010         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37011         (tst-mbrtowc-ENV): Likewise.
37012         (tst-wcrtomb-ENV): Likewise.
37013         (tst-mbrtowc2-ENV): Likewise.
37014         (tst-c16c32-1-ENV): Likewise.
37015         (tst-mbsnrtowcs-ENV): Likewise.
37017 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37019         * manual/resource.texi (How to get information about the memory
37020         subsystem?): Fix typo.
37021         Reported by Peon de la Parra Ivan <peon@keba.com>
37023 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37025         [BZ #16882]
37026         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37027         (pthread_spin_lock): Branch out of spin loop to proper location.
37028         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37029         (pthread_spin_lock): Likewise.
37031         * nptl/tst-spin4.c: New test.
37032         * nptl/Makefile (tests): Add tst-spin4.
37034 2014-06-03  Andreas Schwab  <schwab@suse.de>
37036         [BZ #15946]
37037         * resolv/res_send.c (send_dg): Reload file descriptor after
37038         calling reopen.
37040 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37042         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37044 2014-06-03  Richard Henderson  <rth@redhat.com>
37046         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37047         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37048         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37049         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37050         in the SAVE_PID block.
37051         (__libc_vfork): New alias.
37052         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37054         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37055         child in registers, not on the stack.  Remove RESET_PID conditionals.
37056         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37058 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37060         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37062 2014-06-03  Wilco  <wdijkstr@arm.com>
37064         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37065         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37066         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37067         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37068         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37069         Likewise.
37071 2014-06-03  Wilco  <wdijkstr@arm.com>
37073         * sysdeps/aarch64/fpu/math_private.h
37074         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37075         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37076         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37077         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37078         Fix declarations.
37080 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37082         * crypt/crypt-private.h: Include ufc-crypt.h.
37083         (__b64_from_24bit): Declare extern.
37084         * crypt/crypt_util.c(__b64_from_24bit): New function.
37085         (b64t): New static const variable.
37086         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37087         (b64t): Remove variable.
37088         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37089         * crypt/sha256-crypt.c: Include crypt-private.h.
37090         (b64t): Remove variable.
37091         (__sha256_crypt_r): Remove b64_from_24bit and replace
37092         with __b64_from_24bit.
37093         * crypt/sha512-crypt.c: Likewise.
37095 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37097         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37098         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37099         Label the code __libc_vfork rather than __vfork.
37100         [!NOT_IN_libc] (vfork): Define as weak alias.
37101         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37102         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37103         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37105 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37107         * malloc/malloc.c (malloc_info): Fix format specifier for
37108         n_mmaps.
37110 2014-06-02  Wilco  <wdijkstr@arm.com>
37112         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37113         FPCR write.
37115 2014-06-02  Wilco  <wdijkstr@arm.com>
37117         [BZ #17009]
37118         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37119         Rewrite to reduce FPCR/FPSR accesses.
37121 2014-06-01  David S. Miller  <davem@davemloft.net>
37123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37125 2014-05-31  David S. Miller  <davem@davemloft.net>
37127         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37128         to occur in round to nearest mode when |x| >= 2.0
37130 2014-05-30  Richard Henderson  <rth@twiddle.net>
37132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37133         (PSEUDO_RET_NOERRNO): Remove.
37134         (ret): Don't redefine.
37135         (ret_NOERRNO): Define in terms of ret.
37136         (ret_ERRVAL): Likewise.
37138         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37139         use of PSEUDO_RET; perform the error check directly.
37141 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37143         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37144         with __int128_t.
37146 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37148         * malloc/malloc (malloc_info): Fix formatting.
37150 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37151             Roland McGrath  <roland@hack.frob.com>
37153         * malloc/malloc (malloc_info): Also print mmapped statistics.
37155 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37157         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37158         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37160 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37162         * malloc/malloc.c (malloc_info): Inline mi_arena.
37164 2014-05-29  Richard Henderson  <rth@twiddle.net>
37166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37167         Remove comma before expanding ASM_ARGS_##nr.
37168         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37169         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37170         of ASM_ARGS_##nr.
37171         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37172         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37173         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37174         (ASM_ARGS_1): Add leading comma.
37176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37177         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37178         to __errno_location.
37179         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37180         Remove the expected plt for __errno_location.
37182         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37183         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37184         call to __read_tp.
37186         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37187         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37188         it and break it down.
37189         (DOCARGS_0, DOCARGS_1): Do nothing.
37190         (DOCARGS_2): Update to store into the new stack frame.
37191         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37192         (UNDOCARGS_1): Update to restore from the new stack frame.
37193         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37194         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37196         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37197         (SINGLE_THREAD_P): New parameter for result regno.
37198         (PSEUDO): Update to match; use cbz instead of beq.
37200         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37201         Use ENTRY to define the _nocancel entry point.  Share the syscall
37202         and syscall error check paths with the cancel path.
37203         (PSEUDO_END): New.
37205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37206         whitespace; tabs before and after asm mnemonics.
37208 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37210         [BZ #15132]
37211         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37212         Call fstat64 or stat64 internally, depending on arguments passed.
37213         Replace stat buffer argument with file descriptor argument.
37214         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37215         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37216         Pass fd to __internal_statvfs instead of calling fstat64.
37217         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37218         Pass fd to __internal_statvfs64 instead of calling fstat64.
37219         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37220         Pass -1 to __internal_statvfs instead of calling stat64.
37221         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37222         Pass -1 to __internal_statvfs64 instead of calling stat64.
37224 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37226         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37227         that was previously under [RESET_PID].
37228         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37230         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37231         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37233 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37235         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37237         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37238         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37240 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37242         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37244 2014-05-27  Andreas Schwab  <schwab@suse.de>
37246         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37247         TLS_INIT_TP macro.
37248         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37249         * elf/rtld.c (init_tls, dl_main): Likewise.
37250         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37251         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37252         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37253         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37254         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37255         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37256         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37257         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37258         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37259         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37260         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37261         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37262         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37263         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37264         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37265         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37266         * sysdeps/generic/tls.h: Update description.
37268 2014-05-27  Will Newton  <will.newton@linaro.org>
37270         [BZ #16990]
37271         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37272         and restore r2 rather than just restoring.
37274 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37276         [BZ #16724]
37277         * libio/tst-ftell-append.c: New test case.
37278         * libio/Makefile (tests): Add test case.
37279         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37280         append mode.
37281         * libio/wfileops.c (do_ftell_wide): Likewise.
37283 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37287         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37288         ...
37289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37291         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37292         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37293         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37294         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37295         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37298         Moved ...
37299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37301         Moved ...
37302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37303         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37304         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37305         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37306         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37307         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37308         ...
37309         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37310         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37311         Moved ...
37312         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37313         here.
37314         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37315         ...
37316         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37317         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37318         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37320         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37321         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37322         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37323         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37326         merge into ...
37327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37329         ...
37330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37332         ...
37333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37335         Moved ...
37336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37337         here.
37338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37339         Moved ...
37340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37342         Moved ...
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37346         conditional [RESET_PID].
37347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37349         removed.
37350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37351         removed.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37354         <tcb-offsets.h>.
37355         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37356         (__libc_vfork): New strong alias.
37357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37358         removed.
37359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37360         Removed.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37363         <tcb-offsets.h>.
37364         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37365         (__libc_vfork): New strong alias.
37366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37367         removed.
37368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37369         removed.
37371 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
37373         * malloc/malloc.c (mi_arena): New function.
37374         (malloc_info): Remove nested function mi_arena. Call non-nosted
37375         function mi_arena.
37377 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37379         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37380         by insrwi.
37381         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37382         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37383         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37384         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37385         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37386         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37387         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37389 2014-05-26  Andreas Schwab  <schwab@suse.de>
37391         [BZ #16984]
37392         * locale/programs/repertoire.c (repertoire_read): Add slash
37393         between I18NPATH element and file name.
37394         * locale/programs/locfile.c (locfile_read): Likewise.
37396 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37398         * nptl/pthread_mutexattr_settype.c
37399         (__pthread_mutexattr_settype):
37400         Disable lock elision for PTHREAD_MUTEX_NORMAL.
37402 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37404         * nptl/tst-mutex5 (do_test):
37405         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37407 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37409         * benchtests/README: Document 'init' directive.
37410         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37411         BENCH_INIT.
37412         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37413         (parse_file): Recognize 'init' directive.
37415 2014-05-26  Kyle McMartin  <kyle@redhat.com>
37417         [BZ #16796]
37418         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37419         alignment of struct pthread.
37421 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37423         [BZ #16878]
37424         * nscd/netgroupcache.c (addgetnetgrentX): Look for
37425         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37426         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37427         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37429 2014-05-25  Richard Henderson  <rth@twiddle.net>
37431         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37432         (SINGLE_THREAD_P_PIC): Remove.
37433         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37434         (SINGLE_THREAD_P_PIC): Remove.
37436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37437         branch to syscall error ...
37438         (PSEUDO): ... here.
37439         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37440         from __local_syscall_error to .Lsyscall_error.
37441         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37442         (SYSCALL_ERROR): Update label name.
37444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37445         Do not use DOARGS/UNDOARGS.
37446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37447         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37448         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37449         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37450         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37452         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37453         block comment.
37455         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37456         define if !NOT_IN_libc.
37457         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37458         define with non-default symbol versions.
37460 2014-05-23  Richard Henderson  <rth@twiddle.net>
37462         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37463         (vfork, __vfork): Define via compat_symbol.
37465         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37466         [!HAVE_IFUNC] (vfork_compat): Remove.
37467         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37469 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37471         [BZ #16978]
37472         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37473         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37474         variable.
37476 2014-05-23  Richard Henderson  <rth@twiddle.net>
37478         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37479         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37480         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37481         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37483         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37484         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37485         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37486         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37487         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37488         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37489         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37490         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37491         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37492         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37493         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37494         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37495         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37496         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37497         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37498         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37499         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37500         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37501         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37502         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37503         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37504         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37505         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37506         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37507         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37508         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37509         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37510         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37511         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37512         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37513         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37514         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37515         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37516         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37517         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37518         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37519         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37520         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37521         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37522         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37523         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37524         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37525         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37526         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37527         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37528         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37529         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37530         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37531         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37532         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37533         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37534         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37535         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37536         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37537         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37538         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37540         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37541         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37542         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37543         before exiting on error.
37544         (__libc_vfork): New strong alias.
37545         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37546         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37548         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37549         that was previously under [RESET_PID].
37550         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37552         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37554 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37556         [BZ #16977]
37557         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37558         value when x - 1 is zero.
37559         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37560         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37561         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37562         0.0L for an argument of 1.0L.
37563         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37564         Likewise.
37565         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37566         value when x - 1 is zero.
37567         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37568         * sysdeps/i386/fpu/libm-test-ulps: Update.
37569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37571 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37573         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37574         alphasort and versionsort.
37576 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37578         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37579         macro.
37580         [copysignf]: Likewise.
37582 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37584         * crypt/md5-crypt.c: Fix formatting.
37586 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37588         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37589         (b64_from_24bit): New function.
37591 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37593         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37594         libc_hidden_builtin_def to ifunc.
37595         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37596         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37598 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37600         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37601         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37603 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37605         * nscd/Depend (linuxthreads): Remove.
37606         (nptl): Add.
37607         * resolv/Depend (linuxthreads): Remove.
37608         * rt/Depend (linuxthreads): Remove.
37610         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37611         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37612         $(common-objpfx)elf/.
37613         (link-libc-before-gnulib): Likewise.
37614         (elfobjdir): Remove variable.
37615         * Makefile (install): Use $(elf-objpfx) instead of
37616         $(common-objpfx)elf/.
37617         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37618         $(elfobjdir)/.
37619         (link-libc-deps): Likewise.
37620         ($(common-objpfx)libc.so): Likewise.
37621         ($(common-objpfx)linkobj/libc.so): Likewise.
37622         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37623         instead of $(common-objpfx)elf/.
37624         (symbolic-link-list): Likewise.
37625         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37626         [$(cross-compiling) = no]: Likewise.
37627         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37628         $(elfobjdir)/.
37629         (static-gnulib-arch): Likewise.
37630         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37631         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37632         $(common-objpfx)elf/.
37634 2014-05-21  Richard Henderson  <rth@redhat.com>
37636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37637         (SINGLE_THREAD_P): Use the correct width load.  Fold
37638         into the ldr offset.
37640         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37641         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37643 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37645         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37646         (libgcc_s_resume): Use __attribute_used__.
37647         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37648         Likewise.
37650 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37652         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37653         optimization when used with float constants.
37655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37657 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37659         [BZ #16915]
37660         * locale/nl_langinfo_l.c: Make direct reference to every
37661         _nl_current_CATEGORY symbol.
37662         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37663         (tests-static): Add tst-langinfo-static.
37664         (tests-special): Add tst-langinfo-static.out.
37665         ($(objpfx)tst-langinfo.out): Redirect output.
37666         ($(objpfx)tst-langinfo-static.out): New.
37667         * localedata/tst-langinfo.sh: Send output to stdout.
37668         * localedata/tst-langinfo-static.c: New file.
37670         [BZ #16965]
37671         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37672         when the shift amount is modulo the limb size.
37674 2014-05-20  Richard Henderson  <rth@redhat.com>
37676         [BZ #16967]
37677         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37678         Change type of sa_flags from unsigned int to int.
37680         [BZ #16966]
37681         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37683         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37685 2014-05-20  Will Newton  <will.newton@linaro.org>
37687         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37688         Test the return value of the system call in the nocancel case.
37690 2014-05-20  Will Newton  <will.newton@linaro.org>
37691             Yvan Roux  <yvan.roux@linaro.org>
37693         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37694         #include of asm/ptrace.h.
37695         (PTRACE_GET_THREAD_AREA): Remove #undef.
37696         (PTRACE_GETHBPREGS): Likewise.
37697         (PTRACE_SETHBPREGS): Likewise.
37698         (struct user_regs_struct): New structure.
37699         (struct user_fpsimd_struct): New structure.
37700         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37701         #include of asm/ptrace.h and second #include of sys/user.h.
37702         (PTRACE_GET_THREAD_AREA): Remove #undef.
37703         (PTRACE_GETHBPREGS): Likewise.
37704         (PTRACE_SETHBPREGS): Likewise.
37705         (ELF_NGREG): Use new struct user_regs_struct.
37706         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37708 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37710         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37713 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37715         [BZ #16958]
37716         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37717         membar to avoid block loads/stores to overlap previous stores.
37719 2014-05-17  Richard Henderson  <rth@redhat.com>
37721         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37722         Create the __##syscall_name##_nocancel entry point.
37723         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37724         Remove; let the sysdep-cancel.h code create it.
37726 2014-05-17  David S. Miller  <davem@davemloft.net>
37728         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37729         Protect with __USE_GNU.
37730         (TIOCSET_TEMPT): Likewise.
37731         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37732         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37733         these are already provided in bits/ioctl-types.h
37735 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37737         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37738         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37740         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37741         Use wait4 regardless of [__NR_waitpid].
37743 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37745         PR libgcc/60166
37746         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37747         (_FP_NANSIGN_Q): Set the quiet bit.
37749 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37751         * benchtests/Makefile
37752         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37753         not $(common-objpfx)math/libm.so.
37754         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37755         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37756         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37757         $(common-objpfx)dlfcn/libdl.so.
37758         ($(objpfx)tst-audit8): Depend on $(libm), not
37759         $(common-objpfx)math/libm.so.
37760         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37761         not $(common-objpfx)dlfcn/libdl.so.
37762         * math/Makefile
37763         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37764         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37765         [$(build-shared) = yes].
37766         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37767         $(common-objpfx)nptl/libpthread.so.
37768         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37769         $(common-objpfx)math/libm.so$(libm.so-version) or
37770         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37771         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37772         $(common-objpfx)dlfcn/libdl.so.
37773         * setjmp/Makefile (link-libm): Remove variable.
37774         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37775         * stdio-common/Makefile (link-libm): Remove variable.
37776         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37777         * stdlib/Makefile (link-libm): Remove variable.
37778         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37779         ($(objpfx)tst-strtod-round): Likewise.
37780         ($(objpfx)tst-tininess): Likewise.
37781         ($(objpfx)tst-strtod-underflow): Likewise.
37782         ($(objpfx)tst-strtod6): Likewise.
37783         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37784         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37785         $(common-objpfx)dlfcn/libdl.so.
37787 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37789         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37790         BSD terminal modes definitions.
37792 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37794         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37795         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37797         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37798         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37799         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37800         Don't do #include_next.
37801         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37802         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37803         Don't do #include_next.
37804         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37805         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37806         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37807         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37809 2014-05-16  Allan McRae  <allan@archlinux.org>
37811         * po/sv.po: Update Swedish translation from translation project.
37813         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37814         in sed expression.
37816 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37818         [BZ #16917]
37819         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37820         errno if the TIOCGPTN ioctl fails with an error different than
37821         EINVAL.
37822         * login/tst-ptsname.c: New file.
37823         * login/Makefile (tests): Add tst-ptsname.
37825         [BZ #16943]
37826         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37827         and prlimit64.
37829 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37831         [BZ #16849]
37832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37833         herrno to return EAI_AGAIN.
37835 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37837         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37838         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37839         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37840         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37841         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37842         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37843         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37844         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37845         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37846         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37847         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37848         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37849         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37850         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37851         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37852         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37853         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37854         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37855         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37856         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37857         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37858         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37859         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37860         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37861         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37862         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37863         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37864         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37865         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37866         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37868         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37870         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37872         Moved ...
37873         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37875         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37877         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37879         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37881         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37883         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37885         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37887         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37889         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37891         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37893         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37895         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37897         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37899         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37901         Moved ...
37902         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37904         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37906         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37908         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37910         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37912         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37914         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37916         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37918         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37920         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37922         Moved ...
37923         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37925         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37927         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37928         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37929         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37930         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37931         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37932         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37933         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37934         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37935         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37936         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37937         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37938         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37939         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37940         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37941         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37942         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37943         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37944         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37945         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37946         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37947         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37948         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37949         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37950         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37951         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37952         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37953         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37954         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37955         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37956         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37957         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37959         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37960         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37962         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37963         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37964         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37965         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37966         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37968         Moved ...
37969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37970         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37971         Moved ...
37972         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37973         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37974         Moved ...
37975         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37976         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37977         Moved ...
37978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37979         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37980         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37981         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37982         Moved ...
37983         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37984         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37985         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37988         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37989         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37990         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37991         Moved ...
37992         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37994         Moved ...
37995         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37996         ... here.
37997         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37998         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37999         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38000         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38001         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38002         Moved ...
38003         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38004         ... here.
38005         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38006         Moved ...
38007         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38008         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38009         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38010         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38011         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38013         Moved ...
38014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38015         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38016         Moved ...
38017         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38018         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38019         Moved ...
38020         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38021         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38022         Moved ...
38023         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38024         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38025         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38026         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38027         Moved ...
38028         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38029         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38030         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38032         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38033         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38034         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38035         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38036         Moved ...
38037         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38039         Moved ...
38040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38041         ... here.
38042         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38043         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38044         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38045         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38046         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38047         Moved ...
38048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38049         ... here.
38050         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38051         Moved ...
38052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38053         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38054         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38055         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38056         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38057         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38058         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38059         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38060         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38061         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38062         Moved ...
38063         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38064         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38065         Moved ...
38066         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38067         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38068         Moved ...
38069         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38070         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38071         Moved ...
38072         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38073         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38074         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38075         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38076         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38078         Moved ...
38079         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38080         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38081         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38082         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38084         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38085         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38086         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38087         Moved ...
38088         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38089         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38090         Moved ...
38091         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38092         ... here.
38093         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38094         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38095         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38096         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38097         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38098         Moved ...
38099         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38100         ... here.
38101         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38102         Moved ...
38103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38104         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38105         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38106         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38107         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38108         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38109         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38110         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38111         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38112         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38113         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38115         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38116         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38118         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38119         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38121         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38122         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38123         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38124         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38125         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38126         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38127         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38128         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38129         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38130         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38132         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38134         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38135         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38137         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38139         Moved ...
38140         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38141         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38142         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38144         Moved ...
38145         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38146         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38147         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38148         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38149         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38150         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38151         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38152         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38153         Moved ...
38154         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38155         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38156         Moved ...
38157         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38159         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38160         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38161         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38163         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38164         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38165         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38166         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38167         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38168         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38169         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38170         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38171         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38172         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38173         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38175         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38176         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38177         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38178         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38179         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38181         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38182         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38183         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38184         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38185         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38186         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38187         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38188         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38189         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38190         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38192         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38195         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38196         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38197         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38198         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38199         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38200         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38201         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38202         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38203         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38204         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38205         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38206         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38207         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38208         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38210         Update #include.
38211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38212         Likewise.
38213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38214         Likewise.
38215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38216         Likewise.
38217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38218         Likewise.
38219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38220         Likewise.
38221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38222         Likewise.
38223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38224         Likewise.
38225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38226         Likewise.
38227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38228         Likewise.
38229         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38234         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38236         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38239         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38241         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38242         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38243         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38245         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38246         that was previously under [RESET_PID].
38247         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38248         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38249         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38251         * sysdeps/i386/nptl/Implies: New file.
38252         * sysdeps/x86_64/nptl/Implies: New file.
38253         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38254         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38255         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38256         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38258         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38259         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38260         (__libc_vfork): New strong alias.
38261         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38262         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38264         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38265         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38266         (__libc_vfork): New strong alias.
38267         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38268         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38270         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38271         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38272         (__libc_vfork): New strong alias.
38273         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38274         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38275         * nptl/pt-vfork.c: New file.
38276         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38277         (libpthread: GLIBC_2.20): New version set (empty).
38279 2014-05-14  Will Newton  <will.newton@linaro.org>
38281         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38282         rather than #if.
38284 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38286         [BZ #16564]
38287         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38288         arguments with exponent 65 or above.
38289         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38290         arguments 0x1p113L or above.
38291         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38292         to arguments 0x1p107L or above.
38293         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38294         positive arguments with exponent 65 or above.
38295         * math/auto-libm-test-in: Add more tests of log1p.
38296         * math/auto-libm-test-out: Regenerated.
38298         [BZ #16928]
38299         * math/s_cacos.c (__cacos): Ensure zero real part of result from
38300         non-finite arguments is +0.
38301         * math/s_cacosf.c (__cacosf): Likewise.
38302         * math/s_cacosl.c (__cacosl): Likewise.
38303         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38304         * sysdeps/i386/fpu/libm-test-ulps: Update.
38305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38307         [BZ #16927]
38308         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38309         value.
38310         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38311         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38312         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38313         for explicit high bit of mantissa when testing for argument equal
38314         to 1.
38315         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38316         * sysdeps/i386/fpu/libm-test-ulps: Update.
38317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38319         [BZ #16516]
38320         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38321         (__erf): Scale by 16 instead of 8 in potentially underflowing
38322         case.  Ensure exception if result actually underflows.
38323         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38324         (__erff): Scale by 16 instead of 8 in potentially underflowing
38325         case.  Ensure exception if result actually underflows.
38326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38327         (efx8): Remove variable.
38328         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38329         case.  Ensure exception if result actually underflows.
38330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38331         (efx8): Remove variable.
38332         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38333         case.  Ensure exception if result actually underflows.
38334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38335         (efx8): Remove variable.
38336         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38337         case.  Ensure exception if result actually underflows.
38338         * math/auto-libm-test-in: Add more tests of erf.
38339         * math/auto-libm-test-out: Regenerated.
38341 2014-05-14  Andreas Schwab  <schwab@suse.de>
38343         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38344         Remove code conditionalized on USE___THREAD.
38346         * config.h.in (HAVE_PT_CHOWN): Define as 0.
38347         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38348         not definedness.
38350 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38352         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38353         Define unconditionally.
38354         (__ASSUME_O_CLOEXEC): Likewise.
38355         (__ASSUME_SOCK_CLOEXEC): Likewise.
38356         (__ASSUME_IN_NONBLOCK): Likewise.
38357         (__ASSUME_PIPE2): Likewise.
38358         (__ASSUME_EVENTFD2): Likewise.
38359         (__ASSUME_SIGNALFD4): Likewise.
38360         (__ASSUME_DUP3): Likewise.
38361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38362         (__ASSUME_DUP3): Do not define.
38363         (__ASSUME_EVENTFD2): Likewise.
38364         (__ASSUME_IN_NONBLOCK): Likewise.
38365         (__ASSUME_O_CLOEXEC): Likewise.
38366         (__ASSUME_PIPE2): Likewise.
38367         (__ASSUME_SIGNALFD4): Likewise.
38368         (__ASSUME_SOCK_CLOEXEC): Likewise.
38369         (__ASSUME_UTIMES): Undefine.
38370         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38371         (__ASSUME_UTIMES): Do not define.
38372         (__ASSUME_O_CLOEXEC): Likewise.
38373         (__ASSUME_SOCK_CLOEXEC): Likewise.
38374         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38375         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38376         0x020621].
38377         (__ASSUME_PIPE2): Likewise.
38378         (__ASSUME_EVENTFD2): Likewise.
38379         (__ASSUME_SIGNALFD4): Likewise.
38380         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38381         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38382         Do not define.
38383         (__ASSUME_EVENTFD2): Likewise.
38384         (__ASSUME_SIGNALFD4): Likewise.
38385         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38386         (__ASSUME_32BITUIDS): Likewise.
38387         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38388         (__ASSUME_IPC64): Likewise.
38389         (__ASSUME_ST_INO_64_BIT): Likewise.
38390         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38391         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38392         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38393         (__ASSUME_UTIMES): Do not define.
38394         (__ASSUME_PSELECT): Likewise.
38395         (__ASSUME_PPOLL): Likewise.
38396         (__ASSUME_O_CLOEXEC): Likewise.
38397         (__ASSUME_SOCK_CLOEXEC): Likewise.
38398         (__ASSUME_IN_NONBLOCK): Likewise.
38399         (__ASSUME_PIPE2): Likewise.
38400         (__ASSUME_EVENTFD2): Likewise.
38401         (__ASSUME_SIGNALFD4): Likewise.
38402         (__ASSUME_DUP3): Likewise.
38403         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38404         (__ASSUME_UTIMES): Likewise.
38405         (__ASSUME_O_CLOEXEC): Likewise.
38406         (__ASSUME_SOCK_CLOEXEC): Likewise.
38407         (__ASSUME_IN_NONBLOCK): Likewise.
38408         (__ASSUME_PIPE2): Likewise.
38409         (__ASSUME_EVENTFD2): Likewise.
38410         (__ASSUME_SIGNALFD4): Likewise.
38411         (__ASSUME_DUP3): Likewise.
38412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38413         (__ASSUME_UTIMES): Likewise.
38414         (__ASSUME_O_CLOEXEC): Likewise.
38415         (__ASSUME_SOCK_CLOEXEC): Likewise.
38416         (__ASSUME_IN_NONBLOCK): Likewise.
38417         (__ASSUME_PIPE2): Likewise.
38418         (__ASSUME_EVENTFD2): Likewise.
38419         (__ASSUME_SIGNALFD4): Likewise.
38420         (__ASSUME_DUP3): Likewise.
38421         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38422         Likewise.
38423         (__ASSUME_UTIMES): Likewise.
38424         (__ASSUME_EVENTFD2): Likewise.
38425         (__ASSUME_SIGNALFD4): Likewise.
38426         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38427         (__ASSUME_O_CLOEXEC): Likewise.
38428         (__ASSUME_SOCK_CLOEXEC): Likewise.
38429         (__ASSUME_IN_NONBLOCK): Likewise.
38430         (__ASSUME_PIPE2): Likewise.
38431         (__ASSUME_EVENTFD2): Likewise.
38432         (__ASSUME_SIGNALFD4): Likewise.
38433         (__ASSUME_DUP3): Likewise.
38434         (__ASSUME_UTIMES): Undefine.
38436         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38437         feclearexcept.  Remove symbol versioning code.
38438         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
38439         symbol versioning code.
38440         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38441         symbol versioning code.
38442         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38443         feupdateenv.  Remove symbol versioning code.
38444         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38445         fegetexceptflag.  Remove symbol versioning code.
38446         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38447         fesetexceptflag.  Remove symbol versioning code.
38448         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38449         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38450         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38451         (__posix_fadvise64_l32): Remove prototype.
38452         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38453         code.
38455 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38457         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38458         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38459         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38460         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38462 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38464         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38465         current working directory
38467 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38469         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38470         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38471         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38472         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38473         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38474         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38475         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38476         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38477         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38478         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38479         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38480         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38481         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38482         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38483         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38484         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38485         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38486         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38487         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38488         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38489         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38490         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38491         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38492         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38493         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38494         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38495         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38496         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38497         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38498         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38499         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38500         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38501         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38502         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38503         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38504         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38505         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38506         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38507         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38508         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38509         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38510         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38512         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38513         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38515         * sysdeps/unix/sysv/linux/arm/Makefile
38516         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38517         Add rt-aeabi_unwind_cpp_pr1.
38518         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38519         Add nptl-aeabi_unwind_cpp_pr1.
38520         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38521         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38522         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38523         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38524         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38525         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38527         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38528         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38529         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38530         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38532         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38533         Deconditionalize the code that was previously under [RESET_PID].
38534         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38536         * sysdeps/generic/exit-thread.h: New file.
38537         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38538         * include/unistd.h (__exit_thread): Remove declaration.
38539         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38540         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38541         * csu/libc-start.c: Include <exit-thread.h>.
38542         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38543         * nptl/pthread_create.c: Include <exit-thread.h>.
38544         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38545         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38546         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38547         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38548         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38549         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38550         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38551         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38552         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38553         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38554         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38555         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38556         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38557         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38558         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38559         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38560         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38562 2014-05-13  Andreas Schwab  <schwab@suse.de>
38564         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38566 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38568         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38569         (__ASSUME_UTIMES): Do not condition on kernel version.
38570         (__ASSUME_PSELECT): Define unconditionally.
38571         (__ASSUME_PPOLL): Likewise.
38572         (__ASSUME_ATFCTS): Likewise.
38573         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38574         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38575         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38576         (__ASSUME_UTIMENSAT): Define unconditionally.
38577         (__ASSUME_PRIVATE_FUTEX): Likewise.
38578         (__ASSUME_FALLOCATE): Likewise.
38579         (__ASSUME_O_CLOEXEC): Likewise.
38580         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38581         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38582         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38583         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38584         (__ASSUME_IN_NONBLOCK): Likewise.
38585         (__ASSUME_PIPE2): Likewise.
38586         (__ASSUME_EVENTFD2): Likewise.
38587         (__ASSUME_SIGNALFD4): Likewise.
38588         (__ASSUME_DUP3): Likewise.
38589         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38590         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38591         (__ASSUME_AT_RANDOM): Likewise.
38592         (__ASSUME_PREADV): Likewise.
38593         (__ASSUME_PWRITEV): Likewise.
38594         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38595         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38596         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38597         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38598         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38599         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38600         (__ASSUME_O_CLOEXEC): Define unconditionally.
38601         (__ASSUME_PSELECT): Do not undefine conditionally.
38602         (__ASSUME_PPOLL): Likewise.
38603         (__ASSUME_ATFCTS): Likewise.
38604         (__ASSUME_SET_ROBUST_LIST): Likewise.
38605         (__ASSUME_UTIMENSAT): Likewise.
38606         (__ASSUME_FDATASYNC): Define unconditionally.
38607         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38608         (__ASSUME_SIGFRAME_V2): Likewise.
38609         )__ASSUME_EVENTFD2): Likewise.
38610         (__ASSUME_SIGNALFD4): Likewise.
38611         (__ASSUME_PSELECT): Do not undefine conditionally.
38612         (__ASSUME_PPOLL): Likewise.
38613         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38614         (__ASSUME_PSELECT): Define unconditionally.
38615         (__ASSUME_PPOLL): Likewise.
38616         (__ASSUME_O_CLOEXEC): Likewise.
38617         (__ASSUME_SOCK_CLOEXEC): Likewise.
38618         (__ASSUME_IN_NONBLOCK): Likewise.
38619         (__ASSUME_PIPE2): Likewise.
38620         (__ASSUME_EVENTFD2): Likewise.
38621         (__ASSUME_SIGNALFD4): Likewise.
38622         (__ASSUME_DUP3): Likewise.
38623         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38624         (__ASSUME_O_CLOEXEC): Likewise.
38625         (__ASSUME_SOCK_CLOEXEC): Likewise.
38626         (__ASSUME_IN_NONBLOCK): Likewise.
38627         (__ASSUME_PIPE2): Likewise.
38628         (__ASSUME_EVENTFD2): Likewise.
38629         (__ASSUME_SIGNALFD4): Likewise.
38630         (__ASSUME_DUP3): Likewise.
38631         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38632         (__ASSUME_EVENTFD2): Likewise.
38633         (__ASSUME_SIGNALFD4): Likewise.
38634         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38636 2014-05-12  Andreas Schwab  <schwab@suse.de>
38638         [BZ #16932]
38639         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38640         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38641         than maximum RPC packet size.
38642         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38643         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38644         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38645         (_nss_nis_getservbyport_r): Likewise.
38647 2014-05-12  Will Newton  <will.newton@linaro.org>
38649         * malloc/Makefile (tests): Add tst-mallopt.
38650         * malloc/tst-mallopt.c: New file.
38652 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38654         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38655         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38657 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38659         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38660         (tst-tlsmod6.so): Likewise.
38662 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38664         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38666 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38668         [BZ #16064]
38669         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38670         and <dl-procinfo.h>.
38671         (__fegetenv): Save SSE state in envp->__eip if supported.
38672         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38673         envp->__eip if supported.
38674         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38675         and <dl-procinfo.h>.
38676         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38677         __data_offset and __data_selector in environment to 0.  Set SSE
38678         state if supported.
38679         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38680         test-fenv-sse.
38681         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38682         -mfpmath=sse.
38683         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38685 2014-05-09  Will Newton  <will.newton@linaro.org>
38687         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38688         and libc_relro_required for ARM.
38689         * sysdeps/arm/preconfigure: Regenerate.
38691 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38692             Stefan Liebler  <stli@linux.vnet.ibm.com>
38694         * config.make.in (enable-lock-elision): New Makefile variable.
38695         * configure.ac: Likewise.
38696         * configure: Regenerate.
38697         * sysdeps/s390/configure.ac:
38698         Add check for gcc transactions support.
38699         * sysdeps/s390/configure: Regenerate.
38700         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38701         Build elision files if enabled.
38702         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38703         Add lock elision support for s390.
38704         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38705         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38706         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38707         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38708         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38709         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38710         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38711         Likewise.
38712         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38713         Likewise.
38714         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38715         Likewise.
38716         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38717         Likewise.
38718         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38719         (__lll_timedlock_elision, __lll_lock_elision)
38720         (__lll_unlock_elision, __lll_trylock_elision)
38721         (lll_timedlock_elision, lll_lock_elision)
38722         (lll_unlock_elision, lll_trylock_elision): Add.
38723         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38724         (pthread_mutex_t): Add lock elision support for s390.
38726 2014-05-14  Wilco  <wdijkstr@arm.com>
38728         * sysdeps/arm/fclrexcpt.c: Cleanup.
38729         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38730         * sysdeps/arm/feenablxcpt.c: Cleanup.
38731         * sysdeps/arm/fegetenv.c: Cleanup.
38732         * sysdeps/arm/fegetexcept.c: Cleanup.
38733         * sysdeps/arm/fegetround.c: Cleanup.
38734         * sysdeps/arm/feholdexcpt.c: Cleanup.
38735         * sysdeps/arm/fesetenv.c: Cleanup.
38736         * sysdeps/arm/fesetround.c: Cleanup.
38737         * sysdeps/arm/feupdateenv.c: Cleanup.
38738         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38739         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38740         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38741         * sysdeps/arm/ftestexcept.c: Cleanup.
38742         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38743         * sysdeps/arm/setfpucw.c: Cleanup.
38745 2014-05-09  Will Newton  <will.newton@linaro.org>
38747         * sysdeps/arm/armv7/strcmp.S: New file.
38748         * NEWS: Mention addition of ARMv7 optimized strcmp.
38750 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38752         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38753         look for %.ac rather than %.in.
38755         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38756         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38757         * sysdeps/mach/hurd/configure: Regenerated.
38758         * sysdeps/unix/sysv/linux/configure: Regenerated.
38760         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38762 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38764         [BZ# 16922]
38765         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38766         (LONG_SUB): Ditto.
38767         (PTR_SUB): Ditto.
38769 2014-05-07  Andreas Schwab  <schwab@suse.de>
38771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38772         when skipping over non-matching result from nscd.
38774 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38776         [BZ #16876]
38777         * nptl/sockperf.c (client): Check socket return value.
38779         [BZ #16877]
38780         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38781         nscd security class.
38783 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38785         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38786         * sysdeps/arm/unwind.h: ... here.
38788 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38790         [BZ# 16916]
38791         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38792         Define.
38794 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38796         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38797         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38798         multiarch strncpy for PPC64.
38799         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38802         multiarch optimizations.
38803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38804         (__libc_ifunc_impl_list): Likewise.
38805         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38806         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38807         multiarch stpncpy for PPC64.
38808         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38809         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38811 2014-05-06  Andreas Schwab  <schwab@suse.de>
38813         [BZ #16912]
38814         * gmon/mcount.c (_MCOUNT_DECL): Use
38815         atomic_compare_and_exchange_bool_acq instead of
38816         catomic_compare_and_exchange_bool_acq.
38818 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38820         * elf/Makefile (others, install-bin): Remove pldd.
38821         (pldd-modules): Variable removed.
38822         ($(objpfx)pldd): Target removed.
38823         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38824         (others, install-bin): Append pldd here.
38825         ($(objpfx)pldd): New target.
38827         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38828         to 0, so the first #if test emitted later doesn't see it undefined.
38829         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38830         * sysdeps/gnu/errlist.c: Regenerated.
38832 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38834         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38835         [libc_hidden_builtin_def]: Define to empty value.
38836         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38837         [libc_hidden_builtin_def]: Likewise.
38838         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38839         [libc_hidden_builtin_def]: Likewise.
38840         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38841         [libc_hidden_builtin_def]: Likewise.
38842         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38843         __redirect_memcpy and define ifunc as default hidden symbol.
38844         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38845         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38847 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38849         * locale/iso-4217.def: Reintroduce XDR currency.
38851 2014-05-04  Allan McRae  <allan@archlinux.org>
38853         * po/eo.po: Update Esperanto translation from translation project.
38855 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38857         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38858         and FEATURE_INDEX_MAX to 1.
38859         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38861 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38863         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38864         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38865         * iconvdata/big5.c (ONE_DIRECTION): Define.
38866         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38867         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38868         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38869         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38870         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38871         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38872         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38873         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38874         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38875         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38876         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38877         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38878         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38879         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38880         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38881         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38882         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38883         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38884         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38885         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38886         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38887         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38888         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38889         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38890         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38891         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38892         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38893         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38894         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38895         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38896         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38897         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38898         * iconvdata/johab.c (ONE_DIRECTION): Define.
38899         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38900         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38901         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38902         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38903         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38904         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38905         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38906         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38907         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38908         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38910 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38912         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38913         (_IO_JUMPS_OFFSET): Define to 0.
38915         * nptl/sysdeps/pthread/bits/libc-lock.h
38916         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38917         (__libc_lock_define_initialized_recursive): Always define using
38918         initializer.  Modern compilers treat uninitialized (implicit zero) and
38919         explicit zero initializers the same (i.e. put the datum in bss).
38921 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38923         * nscd/nscd-client.h: Include <string.h>.
38925 2014-05-01  David S. Miller  <davem@davemloft.net>
38927         [BZ #16885]
38928         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38929         multiple zero bytes exist at the end of a string.
38930         Reported by Aurelien Jarno <aurelien@aurel32.net>
38932         * string/test-strcmp.c (check): Add explicit test for situations where
38933         there are multiple zero bytes after the first.
38935 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38937         [BZ #16890]
38938         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38939         when compiling wprintf.
38940         * stdio-common/tstdiomisc.c (t3): New function.
38941         (main): Call it.
38943 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38945         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38946         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38947         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38948         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38950 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38952         * stdlib/longlong.h: Updated from GCC.
38954 2014-05-01  Will Newton  <will.newton@linaro.org>
38955             Bernard Ogden  <bernie.ogden@linaro.org>
38957         * NEWS: Update fixed bug list.
38959         [BZ #15119]
38960         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38962 2014-04-30  David S. Miller  <davem@davemloft.net>
38964         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38965         (libc_feholdexcept_setround_sparc_ctx): New function.
38966         (libc_fesetenv_sparc_ctx): Likewise.
38967         (libc_feupdateenv_sparc_ctx): Likewise.
38968         (libc_feholdsetround_sparc_ctx): Likewise.
38969         (libc_feholdexcept_setround_ctx): Define.
38970         (libc_feholdexcept_setroundf_ctx): Likewise.
38971         (libc_feholdexcept_setroundl_ctx): Likewise.
38972         (libc_fesetenv_ctx): Likewise.
38973         (libc_fesetenvf_ctx): Likewise.
38974         (libc_fesetenvl_ctx): Likewise.
38975         (libc_feupdateenv_ctx): Likewise.
38976         (libc_feupdateenvf_ctx): Likewise.
38977         (libc_feupdateenvl_ctx): Likewise.
38978         (libc_feresetround_ctx): Likewise.
38979         (libc_feresetroundf_ctx): Likewise.
38980         (libc_feresetroundl_ctx): Likewise.
38981         (libc_feholdsetround_ctx): Likewise.
38982         (libc_feholdsetroundf_ctx): Likewise.
38983         (libc_feholdsetroundl_ctx): Likewise.
38985         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38986         with __USE_GNU instead of XOPEN cpp guards.
38988         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38989         0.
38991         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38992         with XOPEN cpp guards.
38994 2014-04-30  Julian Brown  <julian@codesourcery.com>
38996         [BZ #16888]
38997         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38998         handling.
39000 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39002         [BZ #9894]
39003         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39004         Change to 2.6.32.
39005         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39006         * sysdeps/unix/sysv/linux/configure: Regenerated.
39007         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39008         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39009         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39010         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39011         * README: Update reference to required Linux kernel version.
39012         * manual/install.texi (Linux): Update reference to required Linux
39013         kernel headers version.
39014         * INSTALL: Regenerated.
39016         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39017         header inclusion.
39018         [POSIX] (limits.h): Likewise.
39019         [POSIX] (math.h): Likewise.
39020         [POSIX] (sys/wait.h): Likewise.
39021         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39022         function.
39023         [POSIX] (stddef.h): Do not allow header inclusion.
39025 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39027         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39029 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39031         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39032         Return immediately after lll_futex_wake.
39034 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39036         [BZ #16791]
39037         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39038         structure.
39039         (datahead_init_pos): Call datahead_init_common early.
39040         (datahead_init_neg): Likewise.
39042         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39043         datahead_init_neg): New functions.
39044         * nscd/aicache.c (addhstaiX): Use them.
39045         * nscd/grpcache.c (cache_addgr): Likewise.
39046         * nscd/hstcache.c (cache_addhst): Likewise.
39047         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39048         * nscd/netgroupcache.c (do_notfound): Likewise.
39049         (addgetnetgrentX): Likewise.
39050         (addinnetgrX): Likewise.
39051         * nscd/pwdcache.c (cache_addpw): Likewise.
39052         * nscd/servicescache.c (cache_addserv): Likewise.
39054 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39055             Atsushi Onoe  <atsushi@onoe.org>
39057         [BZ #14308]
39058         [BZ #12994]
39059         [BZ #13651]
39060         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39061         one response is valid.
39062         * resolv/res_send.c (send_dg): Check for validity of other
39063         response if the current response is a referral.
39065 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39067         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39069 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39071         [BZ #16823]
39072         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39073         Always divide by positive zero when computing -Inf result.
39074         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39075         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39077 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39079         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39080         FPSCR if value do not change.
39081         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39082         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39083         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39084         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39085         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39086         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39087         function.
39089 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39091         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39092         * sysdeps/unix/sysv/linux/hppa: Move directory from
39093         ports/systeps/unix/sysv/linux/hppa.
39094         * README: Update listing for hppa-*-linux-gnu.
39096 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39098         [BZ #16754]
39099         * manual/stdio.texi (Hook functions): Fix types of stream hook
39100         functions.
39101         [BZ #16854]
39102         * socket/sys/socket.h: Fix typo in comment.
39104 2014-04-28  Wilco  <wdijkstr@arm.com>
39106         * sysdeps/arm/fenv_private.h: New file.
39107         * sysdeps/arm/math_private.h: New file.
39108         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39110 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39112         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39113         with __int128_t.
39114         (La_x86_64_retval): Likewise.
39116 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39118         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39119         fpsr if value didn't change.
39120         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39121         to fpcr if value didn't change.
39122         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39123         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39124         fpsr or fpcr if value didn't change.
39125         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39126         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39127         fpcr if value didn't change.
39128         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39129         to fpsr if value didn't change.
39131 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39133         * nptl/tst-sem3.c: Use test-skeleton.c
39134         (main): Rename to do_test.  Use return instead of
39135         exit.
39136         * nptl/tst-sem4.c: Use test-skeleton.c
39137         (main): Rename to do_test.
39139 2014-04-22  David S. Miller  <davem@davemloft.net>
39141         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39142         (struct sigaction): New struct member __glibc_reserved0, change
39143         type of sa_flags to int.
39145 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39147         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39148         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39150 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39152         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39153         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39155 2014-04-22  Will Newton  <will.newton@linaro.org>
39156             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39158         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39159         (__longjmp): Add longjmp and longjmp_target SystemTap
39160         probes.
39161         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39162         (__sigsetjmp): Add setjmp SystemTap probe.
39164 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39166         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39167         match manual order.
39169 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39171         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39173         * sysdeps/powerpc/fpu/fenv_private.h
39174         (libc_feholdexcept_setroundl_ctx): Define to
39175         libc_feholdexcept_setround_ppc_ctx.
39176         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39177         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39178         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39179         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39181 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39183         * sysdeps/aarch64/math-tests.h: New file.
39185 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39187         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39188         New.
39189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39190         Check and set bit_AVX2_Usable.
39191         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39192         macro.
39193         (bit_AVX2): Likewise.
39194         (index_AVX2_Usable): Likewise.
39195         (CPUID_AVX2): Likewise.
39196         (HAS_AVX2): Likewise.
39198 2014-04-17  Will Newton  <will.newton@linaro.org>
39200         * manual/setjmp.texi (System V contexts): Add note that
39201         calling setcontext on a context created by a call to a
39202         signal handler is undefined.  Update text to note that
39203         setcontext from a signal handler is possible but not
39204         recommended.
39206         [BZ #16629]
39207         * stdlib/tst-setcontext.c: Include signal.h.
39208         (main): Check that the signal stack before and
39209         after swapcontext is the same.
39211         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39212         Re-implement to restore registers in user code and avoid
39213         rt_sigreturn system call.
39215 2014-04-17  Wilco  <wdijkstr@arm.com>
39217         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39218         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39219         * math/test-fenv.c: Skip exception trap tests on targets which only
39220         support non-stop mode.
39222 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39223             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39225         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39226         (libc_feholdsetround_aarch64_ctx)
39227         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39228         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39229         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39230         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39231         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39232         (libc_feresetround_noexl_ctx): Define.
39234 2014-04-16  Richard Henderson  <rth@redhat.com>
39236         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39238         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39239         unwind tables.
39241         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39242         const from the non-libc, non-ldso copy.
39244         * sysdeps/alpha/libm-test-ulps: Regenerate.
39246 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39247             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39249         * sysdeps/aarch64/fpu/math_private.h: New file.
39251 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39253         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39255 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39257         [BZ #16275]
39258         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39259         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39260         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39261         Intel MPX bound registers before _dl_profile_fixup.
39262         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39263         registers after _dl_profile_fixup.  Save and restore bound
39264         registers bnd0/bnd1 when calling _dl_call_pltexit.
39265         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39266         (LR_BND_OFFSET): Likewise.
39267         (LRV_BND0_OFFSET): Likewise.
39268         (LRV_BND1_OFFSET): Likewise.
39270 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39272         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39273         to...
39274         * sysdeps/mach/hurd/i386/tls.h: ... here.
39275         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39276         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39277         fields.
39279 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39281         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39283 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39285         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39287 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39289         [BZ #14770]
39290         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39291         * sysdeps/s390/configure: Regenerate.
39293         [BZ #16824]
39294         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39295         Set round-to-nearest internally to reduce error accumulation.
39297 2014-04-16  Alan Modra  <amodra@gmail.com>
39299         [BZ #16740]
39300         [BZ #16619]
39301         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39302         * math/libm-test.inc (frexp_test_data): Add tests.
39303         * NEWS: Update fixed bug list.
39305 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39307         * benchtests/Makefile: Depend on libraries in build directory.
39308         (bench-math): Separate out math tests.
39309         (bench-pthread): Separate out pthread tests.
39310         (bench): Include math and pthread tests.
39312 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
39314         [BZ #16831]
39315         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39316         _dl_debug_initialize.
39318         * configure.ac: Remove SELinux header check.
39319         * configure: Regenerate.
39320         * nscd/selinux.c (perms): Array of const char* to permission names.
39321         (nscd_request_avc_has_perm): Call security_deny_unknown to find
39322         default policy. Call string_to_security_class and string_to_av_perm to
39323         translate strings. Enforce default policy and call avs_has_perm with
39324         results of translated strings.
39326 2014-04-13  David S. Miller  <davem@davemloft.net>
39328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39330 2014-04-12  Allan McRae  <allan@archlinux.org>
39332         [BZ #16838]
39333         * manual/string.texi (Collation Functions): Fix qsort argument
39334         order in example.
39335         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39337 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
39339         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39340         Make the test a no-op if there are no exceptions defined.
39342 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39344         * elf/Makefile (tests): make tst-dlopen-aout conditional on
39345         enable-hardcoded-path-in-tests
39347 2014-04-11  Will Newton  <will.newton@linaro.org>
39349         * benchtests/Makefile (extra-objs): Add json-lib.o.
39350         (bench-func): Tidy up JSON output.
39351         * benchtests/bench-skeleton.c: Include json-lib.h.
39352         (main): Use JSON library functions to do output of
39353         benchmark results.
39354         * benchtests/bench-timing-type.c (main): Output the
39355         timing type simply, leaving formatting to the user.
39356         * benchtests/json-lib.c: New file.
39357         * benchtests/json-lib.h: Likewise.
39359 2014-04-11  Torvald Riegel  <triegel@redhat.com>
39361         [BZ #15215]
39362         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39363         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
39364         memory barriers.  Add comments.
39365         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39366         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39367         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39368         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39369         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39370         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39372 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39374         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39375         * sysdeps/s390/s390-64/configure.ac: ... this ...
39376         * sysdeps/s390/configure.ac: ... to here.
39377         * sysdeps/s390/s390-32/configure: Delete file.
39378         * sysdeps/s390/s390-64/configure: Delete file.
39379         * sysdeps/s390/configure: Regenerate.
39381 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
39383         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39385 2014-04-11  Will Newton  <will.newton@linaro.org>
39387         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39388         to zero if it is not defined elsewhere.  (mtrim): Test
39389         the value of MALLOC_DEBUG with #if rather than #ifdef.
39391 2014-04-10 Torvald Riegel  <triegel@redhat.com>
39393         * benchtests/pthread_once-inputs: New file.
39394         * benchtests/pthread_once-source.c: New file.
39395         * benchtests/README: Update documentation.
39397 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
39398             H.J. Lu  <hongjiu.lu@intel.com>
39400         [BZ #16275]
39401         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39402         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39403         * sysdeps/x86_64/configure: Regenerated.
39404         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39405         macro.
39406         (REGISTER_SAVE_RAX): Likewise.
39407         (REGISTER_SAVE_RCX): Likewise.
39408         (REGISTER_SAVE_RDX): Likewise.
39409         (REGISTER_SAVE_RSI): Likewise.
39410         (REGISTER_SAVE_RDI): Likewise.
39411         (REGISTER_SAVE_R8): Likewise.
39412         (REGISTER_SAVE_R9): Likewise.
39413         (REGISTER_SAVE_BND0): Likewise.
39414         (REGISTER_SAVE_BND1): Likewise.
39415         (REGISTER_SAVE_BND2): Likewise.
39416         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
39417         bound registers when calling _dl_fixup.
39419 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39421         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39422         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39423         of its definition.
39424         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39425         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39426         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39427         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39428         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39429         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39430         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39432 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
39434         [BZ #15514]
39435         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39436         pathconf(_PC_NAME_MAX).
39438 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39440         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39441         Remove macro usage.
39442         (__PTHREAD_SPINS): Move definition to ...
39443         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39444         (__PTHREAD_SPINS): ... here.
39445         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39446         (__PTHREAD_SPIN): Likewise.
39447         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39448         (__PTHREAD_SPIN): Likewise.
39449         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39450         (__PTHREAD_SPIN): Likewise.
39451         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39452         (__PTHREAD_SPIN): Likewise.
39453         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39454         (__PTHREAD_SPIN): Likewise.
39455         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39456         (__PTHREAD_SPIN): Likewise.
39457         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39458         (__PTHREAD_SPIN): Likewise.
39459         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39460         (__PTHREAD_SPIN): Likewise.
39461         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39462         (__PTHREAD_SPIN): Likewise.
39463         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39464         (__PTHREAD_SPIN): Likewise.
39465         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39466         (__PTHREAD_SPIN): Likewise.
39467         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39468         (__PTHREAD_SPIN): Likewise.
39470         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39471         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39472         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39473         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39474         imply folder.
39475         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39476         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39477         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39478         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39479         correct imply path.
39480         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39481         strlen symbol for non multi-arch builds.
39482         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39483         missing hidden_def and weak_alias.
39485 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39487         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39489 2014-04-07  Will Newton  <will.newton@linaro.org>
39491         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39492         and contents.  [!_LIBC] Remove #ifndef and contents.
39493         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39494         * string/memccpy.c (__memccpy): Use ANSI prototype.
39495         * string/memfrob.c (memfrob): Likewise.
39496         * string/strcoll.c (STRCOLL): Likewise.
39497         * string/strlen.c (strlen): Likewise.
39498         * string/strtok.c (STRTOK): Likewise.
39499         * string/strcat.c: Remove unused #include of memcopy.h.
39500         (strcat): Use ANSI prototype.
39501         * string/strchr.c: Remove unused #include of memcopy.h.
39502         (strchr): Use ANSI prototype.
39503         * string/strcmp.c: Remove unused #include of memcopy.h.
39504         (strcmp): Use ANSI prototype.
39505         * string/strcpy.c: Remove unused #include of memcopy.h.
39506         (strcpy): Use ANSI prototype.
39508 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39510         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39511         * config.make.in (config-extra-cppflags): Set it from
39512         libc_extra_cppflags.
39513         * configure.ac (libc_extra_cflags): Make it accumulate over
39514         configure fragments.
39515         (libc_extra_cppflags): New flag.
39516         * configure. Regenerate.
39517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39518         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39519         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39522         [BZ #16815]
39523         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39524         result for FE_DOWNWARD rounding mode.
39525         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39526         Likewise.
39527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39529 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39531         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39532         in function argument name.
39534 2014-04-03  David Svoboda  <svoboda@cert.org>
39536         [BZ #5666]
39537         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39538         explicitly.
39540 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39542         * elf/dl-unmap-segments.h: New file.
39543         * sysdeps/generic/ldsodefs.h
39544         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39545         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39546         * elf/dl-fptr.c: Likewise.
39547         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39548         * sysdeps/aarch64/tlsdesc.c: Likewise.
39549         * sysdeps/arm/tlsdesc.c: Likewise.
39550         * sysdeps/i386/tlsdesc.c: Likewise.
39551         * sysdeps/tile/dl-runtime.c: Likewise.
39552         * sysdeps/x86_64/tlsdesc.c: Likewise.
39553         * elf/dl-load.h: New file.
39554         * elf/dl-load.c: Include it.
39555         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39556         Macros moved to dl-load.h.
39557         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39558         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39559         Use _dl_unmap_segments in place of __munmap.
39560         Break out segment-mapping loop into ...
39561         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39563 2014-04-03  Will Newton  <will.newton@linaro.org>
39565         * elf/dl-lookup.c (do_lookup_x): Remove comment
39566         referring to nested function and move variable
39567         declarations down to before first use.
39569 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39571         [BZ #16799]
39572         [BZ #16800]
39573         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39574         with 0 numerator.
39575         * math/s_catanf.c (__catanf): Likewise.
39576         * math/s_catanh.c (__catanh): Likewise.
39577         * math/s_catanhf.c (__catanhf): Likewise.
39578         * math/s_catanhl.c (__catanhl): Likewise.
39579         * math/s_catanl.c (__catanl): Likewise.
39580         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39581         by positive zero when computing -Inf result.
39582         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39583         (catanh_test): Likewise.
39584         * sysdeps/i386/fpu/libm-test-ulps: Update.
39585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39587         [BZ #16789]
39588         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39589         instead of using underflowing value in computing result.
39590         * math/s_clog10.c (__clog10): Likewise.
39591         * math/s_clog10f.c (__clog10f): Likewise.
39592         * math/s_clog10l.c (__clog10l): Likewise.
39593         * math/s_clogf.c (__clogf): Likewise.
39594         * math/s_clogl.c (__clogl): Likewise.
39595         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39596         (clog10_test): Likewise.
39597         * sysdeps/i386/fpu/libm-test-ulps: Update.
39598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39600 2014-04-02  Alan Modra  <amodra@gmail.com>
39602         [BZ #16739]
39603         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39604         output when value is near a power of two.  Use int64_t for lx and
39605         remove casts.  Use decimal rather than hex exponent constants.
39606         Don't use long double multiplication when double will suffice.
39607         * math/libm-test.inc (nextafter_test_data): Add tests.
39608         * NEWS: Add 16739 and 16786 to bug list.
39610         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39612         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39614 2014-04-01  Will Newton  <will.newton@linaro.org>
39616         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39617         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39619 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39621         [BZ #13347]
39622         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39623         * nptl/tst-setuid2.c: New file.
39624         * nptl/Makefile (xtests): Add tst-setuid2.
39626 2014-04-01  Alan Modra  <amodra@gmail.com>
39628         [BZ #16786]
39629         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39631 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39633         [BZ #6803]
39634         [BZ #6804]
39635         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39636         set errno as appropriate.
39637         * math/w_scalbf.c (__scalbf): Likewise.
39638         * math/w_scalbl.c (__scalbl): Likewise.
39639         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39640         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39641         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39642         Add more NaN tests.
39644         [BZ #16349]
39645         * math/w_atan2.c: Include <errno.h>.
39646         (__atan2): Set errno for result underflowing to zero.
39647         * math/w_atan2f.c: Include <errno.h>.
39648         (__atan2f): Set errno for result underflowing to zero.
39649         * math/w_atan2l.c: Include <errno.h>.
39650         (__atan2l): Set errno for result underflowing to zero.
39651         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39652         tests.
39653         * math/auto-libm-test-out: Regenerated.
39655 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39657         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39658         Encode instruction correctly in little endian.
39659         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39660         Likewise.
39661         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39662         Likewise.
39663         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39664         Likewise.
39665         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39666         Likewise.
39668 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39670         [BZ #9894]
39671         * sysdeps/unix/sysv/linux/kernel-features.h
39672         [__sparc__ && !__arch64__ && !__sparc_v9__]
39673         (__ASSUME_SET_ROBUST_LIST): Do not define.
39674         [__sparc__ && !__arch64__ && !__sparc_v9__]
39675         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39676         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39677         Likewise.
39678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39679         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39680         (__ASSUME_REQUEUE_PI): Likewise.
39681         (__ASSUME_SET_ROBUST_LIST): Likewise.
39682         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39683         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39684         Undefine.
39685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39686         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39687         Likewise.
39688         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39689         Likewise.
39690         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39691         Likewise.
39692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39693         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39694         Undefine.
39695         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39696         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39697         Likewise.
39699         [BZ #16648]
39700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39702         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39704 2014-03-31  Will Newton  <will.newton@linaro.org>
39706         * benchtests/Makefile (bench): Add ffs and ffsll to list
39707         of tests.
39708         * benchtests/ffs-inputs: New file.
39709         * benchtests/ffsll-inputs: Likewise.
39711 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39713         [BZ #16770]
39714         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39715         too large before casting to int.
39716         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39717         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39718         * math/libm-test.inc (scalb_test_data): Add more tests.
39720 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39722         * benchtests/Makefile (DETAILED_OPT): New make option.
39723         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39724         set.
39725         * benchtests/bench-skeleton.c: Include stdbool.h.
39726         (main): Store and print timings per input.
39727         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39728         member to each argument value.
39729         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39730         (_print_arg_data): Initialize per-input timing to 0.
39732         * benchtests/Makefile (timing-type): New binary.
39733         (bench-clean): Also remove bench-timing-type.
39734         (bench): New target for timing-type.
39735         (bench-func): Print output in JSON format.
39736         * benchtests/bench-skeleton.c (main): Print output in JSON
39737         format.
39738         * benchtests/bench-timing-type.c: New file.
39739         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39740         (TIMING_PRINT_STATS): Remove.
39741         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39742         name separately.
39744         * benchtests/bench-modf.c: Remove.
39745         * benchtests/modf-inputs: New inputs file.
39747 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39749         [BZ #16362]
39750         * math/s_clog10.c (M_PI_LOG10E): New macro.
39751         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39752         imaginary parts are 0.
39753         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39754         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39755         imaginary parts are 0.
39756         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39757         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39758         imaginary parts are 0.
39759         * math/libm-test.inc (clog10_test_data): Update expected results
39760         for when real and imaginary parts are 0.
39762 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39764         * elf/dl-load.c: Finish conversion of __builtin_expect into
39765         __glibc_{un}likely.
39767 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39769         [BZ #16348]
39770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39771         1+x for argument with exponent below -67.
39772         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39773         Likewise.
39774         * math/auto-libm-test-in: Add more tests of exp.
39775         * math/auto-libm-test-out: Regenerated.
39777 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39779         [BZ #16759]
39780         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39781         (nscd_getnetgrent): Use it.
39783         [BZ #16760]
39784         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39785         of stpcpy.
39787 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39789         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39790         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39791         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39792         (lll_robust_unlock): Remove out of line section. Use cfi
39793         intrinsics.
39794         (LLL_STUB_UNWIND_INFO*): Remove.
39795         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39796         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39797         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39798         (lll_robust_unlock): Remove out of line section. Use cfi
39799         intrinsics.
39800         (LLL_STUB_UNWIND_INFO*): Remove.
39802 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39804         [BZ #16758]
39805         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39806         blank values.
39808 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39810         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39812 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39814         [BZ #16198]
39815         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39816         fnstenv.
39817         * math/test-fenv-preserve.c: New file.
39818         * math/Makefile (tests): Add test-fenv-preserve.
39820 2014-03-26  Will Newton <will.newton@linaro.org>
39822         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39824 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39826         * scripts/versionlist.awk: Partition the version sets and emit all
39827         GLIBC_* (sorted) before all others (sorted).
39829 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39831         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39832         GLIBC_2.2.5 version.
39834 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39836         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39837         calls.
39839         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39840         previous change.
39842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39844 2014-03-25  Andreas Schwab  <schwab@suse.de>
39846         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39847         label to be used after in6ailist is initialized.
39849 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39851         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39852         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39854 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39856         [BZ #16357]
39857         [BZ #16599]
39858         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39859         min_plus_half.
39860         (fp_formats): Update initializers.
39861         (init_fp_formats): Initialize new field.
39862         (output_for_one_input_case): Allow underflow for results up to
39863         min_plus_half.
39864         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39865         * math/auto-libm-test-in: Don't mark some underflows from asin and
39866         atanh as spurious.
39867         * math/auto-libm-test-out: Regenerated.
39868         * sysdeps/i386/fpu/libm-test-ulps: Update.
39869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39871 2014-03-25  Andreas Schwab  <schwab@suse.de>
39873         * libio/Makefile (tst-ftell-partial-wide-ENV)
39874         (tst-ftell-active-handler-ENV): Define.
39876 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39878         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39880 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39882         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39884 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39886         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39887         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39888         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39890 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39892         [BZ #16634]
39893         * elf/dl-load.c (open_verify): Add mode parameter.
39894         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39895         (open_path): Change from boolean 'secure' to complete flag 'mode'
39896         (_dl_map_object): Adjust.
39897         * elf/Makefile (tests): Add tst-dlopen-aout.
39898         * elf/tst-dlopen-aout.c: New test.
39900 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39902         [BZ #16714]
39903         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39904         (struct stat): Rename member pad0 to __glibc_reserved0.
39906         [BZ #16712]
39907         * sysdeps/s390/s390-32/bits/wordsize.h
39908         (__WORDSIZE32_SIZE_ULONG): New define.
39909         * sysdeps/s390/s390-64/bits/wordsize.h
39910         (__WORDSIZE32_SIZE_ULONG): Likewise.
39911         * sysdeps/generic/stdint.h (SIZE_MAX):
39912         Define as UL if __WORDSIZE32_SIZE_ULONG.
39914         [BZ #16713]
39915         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39916         (__glibc_reserved0): New variable.
39917         (sa_flags): Change type to int.
39919         * posix/Makefile (before-compile): Use += before-compile instead
39920         of a :=.
39922         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39923         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39925 2014-03-20  Andreas Schwab  <schwab@suse.de>
39927         [BZ #16743]
39928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39929         non-matching result from nscd.
39931 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39933         * scripts/bench.py: Moved to ...
39934         * benchtests/scripts/bench.py: ... here.
39935         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39937 2014-03-24  Andreas Schwab  <schwab@suse.de>
39939         [BZ #16002]
39940         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39941         alloca_account and account alloca use for struct in6ailist.
39943 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39945         [BZ #16284]
39946         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39947         rounding mode to recompute results that overflow to infinity or
39948         underflow to zero.
39949         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39950         bug 16284.
39951         * math/auto-libm-test-out: Regenerated.
39952         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39953         (ccosh_test): Likewise.
39954         (csin_test_data): Use plus_oflow.
39955         (csin_test): Use ALL_RM_TEST.
39956         (csinh_test_data): Use plus_oflow.
39957         (csinh_test): Use ALL_RM_TEST.
39958         * sysdeps/i386/fpu/libm-test-ulps: Update.
39959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39961 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39963         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39964         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39965         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39967         [BZ #16731]
39968         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39969         when x - 1 is zero.
39970         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39971         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39972         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39973         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39974         argument is 1.
39975         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39976         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39977         zero.
39978         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39979         * sysdeps/i386/fpu/libm-test-ulps: Update.
39980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39982 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39984         * scripts/bench.pl: Remove file.
39985         * scripts/bench.py: New benchmark script.
39986         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39987         * benchtests/README: Mention python dependency.
39988         * scripts/pylintrc: New file.
39989         * scripts/pylint: New file.
39991         * bits/mathdef.h: Use #ifdef instead of #if.
39992         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39993         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39994         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39995         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39996         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39997         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39999 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40000             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40002         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40004         and strpbrk-ppc64 objects.
40005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40006         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40007         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40008         multiarch strpbrk for POWER7.
40009         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40010         multiarch strpbrk for PPC64.
40011         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40012         ifunc selector.
40013         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40014         strpbrk for POWER7.
40016 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40018         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40019         (atan_test): Likewise.
40020         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40021         (atanh_test): Use ALL_RM_TEST.
40022         (atan2_test_data): Likewise.
40023         (cabs_test): Likewise.
40024         (cacosh_test): Likewise.
40025         (carg_test): Likewise.
40026         (casin_test): Likewise.
40027         (casinh_test): Likewise.
40028         (cbrt_test): Likewise.
40029         (csqrt_test): Likewise.
40030         (erf_test): Likewise.
40031         (erfc_test): Likewise.
40032         (pow10_test): Likewise.
40033         (exp2_test): Likewise.
40034         (hypot_test): Likewise.
40035         (j0_test): Likewise.
40036         (j1_test): Likewise.
40037         (lgamma_test): Likewise.
40038         (gamma_test): Likewise.
40039         (sincos_test): Likewise.
40040         (tanh_test): Likewise.
40041         (y0_test): Likewise.
40042         (y1_test): Likewise.
40043         * sysdeps/i386/fpu/libm-test-ulps: Update.
40044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40046 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40048         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40050         and strcspn-ppc64 objects.
40051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40052         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40053         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40054         multiarch strcspn for POWER7.
40055         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40056         multiarch strcspn for PPC64.
40057         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40058         ifunc selector.
40059         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40060         strcspn for POWER7.
40062 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40064         * math/gen-libm-test.pl (generate_testfile): Expect only function
40065         name as argument to AUTO_TESTS_* and pass results for all rounding
40066         modes to parse_args.
40067         (parse_auto_input): Separate inputs of automatic tests from
40068         outputs before storing in %auto_tests.
40069         * math/libm-test.inc (acos_test_data): Update call to
40070         AUTO_TESTS_f_f.
40071         (acos_test): Use ALL_RM_TEST.
40072         (acos_tonearest_test_data): Remove.
40073         (acos_test_tonearest): Likewise.
40074         (acos_towardzero_test_data): Likewise.
40075         (acos_test_towardzero): Likewise.
40076         (acos_downward_test_data): Likewise.
40077         (acos_test_downward): Likewise.
40078         (acos_upward_test_data): Likewise.
40079         (acos_test_upward): Likewise.
40080         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40081         (asin_test_data): Likewise.
40082         (asin_test): Use ALL_RM_TEST.
40083         (asin_tonearest_test_data): Remove.
40084         (asin_test_tonearest): Likewise.
40085         (asin_towardzero_test_data): Likewise.
40086         (asin_test_towardzero): Likewise.
40087         (asin_downward_test_data): Likewise.
40088         (asin_test_downward): Likewise.
40089         (asin_upward_test_data): Likewise.
40090         (asin_test_upward): Likewise.
40091         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40092         (atan_test_data): Likewise.
40093         (atanh_test_data): Likewise.
40094         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40095         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40096         (carg_test_data): Likewise.
40097         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40098         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40099         (ccosh_test_data): Likewise.
40100         (cexp_test_data): Likewise.
40101         (clog_test_data): Likewise.
40102         (clog10_test_data): Likewise.
40103         (cos_test_data): Update call to AUTO_TESTS_f_f.
40104         (cos_test): Use ALL_RM_TEST.
40105         (cos_tonearest_test_data): Remove.
40106         (cos_test_tonearest): Likewise.
40107         (cos_towardzero_test_data): Likewise.
40108         (cos_test_towardzero): Likewise.
40109         (cos_downward_test_data): Likewise.
40110         (cos_test_downward): Likewise.
40111         (cos_upward_test_data): Likewise.
40112         (cos_test_upward): Likewise.
40113         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40114         (cosh_test): Use ALL_RM_TEST.
40115         (cosh_tonearest_test_data): Remove.
40116         (cosh_test_tonearest): Likewise.
40117         (cosh_towardzero_test_data): Likewise.
40118         (cosh_test_towardzero): Likewise.
40119         (cosh_downward_test_data): Likewise.
40120         (cosh_test_downward): Likewise.
40121         (cosh_upward_test_data): Likewise.
40122         (cosh_test_upward): Likewise.
40123         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40124         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40125         (ctan_test_data): Likewise.
40126         (ctan_test): Use ALL_RM_TEST.
40127         (ctan_tonearest_test_data): Remove.
40128         (ctan_test_tonearest): Likewise.
40129         (ctan_towardzero_test_data): Likewise.
40130         (ctan_test_towardzero): Likewise.
40131         (ctan_downward_test_data): Likewise.
40132         (ctan_test_downward): Likewise.
40133         (ctan_upward_test_data): Likewise.
40134         (ctan_test_upward): Likewise.
40135         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40136         (ctanh_test): Use ALL_RM_TEST.
40137         (ctanh_tonearest_test_data): Remove.
40138         (ctanh_test_tonearest): Likewise.
40139         (ctanh_towardzero_test_data): Likewise.
40140         (ctanh_test_towardzero): Likewise.
40141         (ctanh_downward_test_data): Likewise.
40142         (ctanh_test_downward): Likewise.
40143         (ctanh_upward_test_data): Likewise.
40144         (ctanh_test_upward): Likewise.
40145         (erf_test_data): Update call to AUTO_TESTS_f_f.
40146         (erfc_test_data): Likewise.
40147         (exp_test_data): Likewise.
40148         (exp_test): Use ALL_RM_TEST.
40149         (exp_tonearest_test_data): Remove.
40150         (exp_test_tonearest): Likewise.
40151         (exp_towardzero_test_data): Likewise.
40152         (exp_test_towardzero): Likewise.
40153         (exp_downward_test_data): Likewise.
40154         (exp_test_downward): Likewise.
40155         (exp_upward_test_data): Likewise.
40156         (exp_test_upward): Likewise.
40157         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40158         (exp10_test): Use ALL_RM_TEST.
40159         (exp10_tonearest_test_data): Remove.
40160         (exp10_test_tonearest): Likewise.
40161         (exp10_towardzero_test_data): Likewise.
40162         (exp10_test_towardzero): Likewise.
40163         (exp10_downward_test_data): Likewise.
40164         (exp10_test_downward): Likewise.
40165         (exp10_upward_test_data): Likewise.
40166         (exp10_test_upward): Likewise.
40167         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40168         (expm1_test_data): Likewise.
40169         (expm1_test): Use ALL_RM_TEST.
40170         (expm1_tonearest_test_data): Remove.
40171         (expm1_test_tonearest): Likewise.
40172         (expm1_towardzero_test_data): Likewise.
40173         (expm1_test_towardzero): Likewise.
40174         (expm1_downward_test_data): Likewise.
40175         (expm1_test_downward): Likewise.
40176         (expm1_upward_test_data): Likewise.
40177         (expm1_test_upward): Likewise.
40178         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40179         (fma_test): Use ALL_RM_TEST.
40180         (fma_towardzero_test_data): Remove.
40181         (fma_test_towardzero): Likewise.
40182         (fma_downward_test_data): Likewise.
40183         (fma_test_downward): Likewise.
40184         (fma_upward_test_data): Likewise.
40185         (fma_test_upward): Likewise.
40186         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40187         (j0_test_data): Update call to AUTO_TESTS_f_f.
40188         (j1_test_data): Likewise.
40189         (jn_test_data): Update call to AUTO_TESTS_if_f.
40190         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40191         (log_test_data): Update call to AUTO_TESTS_f_f.
40192         (log10_test_data): Likewise.
40193         (log1p_test_data): Likewise.
40194         (log2_test_data): Likewise.
40195         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40196         (pow_tonearest_test_data): Likewise.
40197         (sin_test_data): Update call to AUTO_TESTS_f_f.
40198         (sin_test): Use ALL_RM_TEST.
40199         (sin_tonearest_test_data): Remove.
40200         (sin_test_tonearest): Likewise.
40201         (sin_towardzero_test_data): Likewise.
40202         (sin_test_towardzero): Likewise.
40203         (sin_downward_test_data): Likewise.
40204         (sin_test_downward): Likewise.
40205         (sin_upward_test_data): Likewise.
40206         (sin_test_upward): Likewise.
40207         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40208         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40209         (sinh_test): Use ALL_RM_TEST.
40210         (sinh_tonearest_test_data): Remove.
40211         (sinh_test_tonearest): Likewise.
40212         (sinh_towardzero_test_data): Likewise.
40213         (sinh_test_towardzero): Likewise.
40214         (sinh_downward_test_data): Likewise.
40215         (sinh_test_downward): Likewise.
40216         (sinh_upward_test_data): Likewise.
40217         (sinh_test_upward): Likewise.
40218         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40219         (sqrt_test): Use ALL_RM_TEST.
40220         (sqrt_tonearest_test_data): Remove.
40221         (sqrt_test_tonearest): Likewise.
40222         (sqrt_towardzero_test_data): Likewise.
40223         (sqrt_test_towardzero): Likewise.
40224         (sqrt_downward_test_data): Likewise.
40225         (sqrt_test_downward): Likewise.
40226         (sqrt_upward_test_data): Likewise.
40227         (sqrt_test_upward): Likewise.
40228         (tan_test_data): Update call to AUTO_TESTS_f_f.
40229         (tan_test): Use ALL_RM_TEST.
40230         (tan_tonearest_test_data): Remove.
40231         (tan_test_tonearest): Likewise.
40232         (tan_towardzero_test_data): Likewise.
40233         (tan_test_towardzero): Likewise.
40234         (tan_downward_test_data): Likewise.
40235         (tan_test_downward): Likewise.
40236         (tan_upward_test_data): Likewise.
40237         (tan_test_upward): Likewise.
40238         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40239         (tgamma_test_data): Likewise.
40240         (y0_test_data): Likewise.
40241         (y1_test_data): Likewise.
40242         (yn_test_data): Update call to AUTO_TESTS_if_f.
40243         (main): Do not call removed functions.
40245 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40247         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40248         (ldexp_test_data): Remove.
40249         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40250         scalbn_test_data.
40251         (scalb_test): Use ALL_RM_TEST.
40253 2014-03-19  Andreas Schwab  <schwab@suse.de>
40255         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40257 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40259         [BZ #16649]
40260         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40261         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40262         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40264         (__ASSUME_PREADV): Undefine.
40265         (__ASSUME_PWRITEV): Likewise.
40267 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40269         * bits/mman-linux.h: Add comment about non-Linux use.
40270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40271         bits/mman-linux.h resting place.
40273         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40274         * bits/mman-linux.h: ... here.
40276 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40278         * conform/conformtest.pl: Add standard definition when calling C
40279         preprocessor on data files.
40280         (checknamespace): Remove unused variable.
40282 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40284         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40285         minus_oflow, plus_uflow and minus_uflow in expected results.
40286         * math/libm-test.inc (scalbn_test_data): Add more tests of
40287         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40288         minus_uflow.
40289         (scalbn_test): Use ALL_RM_TEST.
40290         (scalbln_test_data): Add more tests of negative arguments.  Use
40291         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40292         (scalbln_test): Use ALL_RM_TEST.
40294 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40296         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40298 2014-03-18  Will Newton  <will.newton@linaro.org>
40300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40301         inaccurate comment.
40303 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40305         * Makerules [!subdir] (check-abi): Exit with error status if a
40306         test failed.
40308 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40310         * math/libm-test.inc (nearbyint_test_data): Include all tests used
40311         for rint.  Include results for all rounding modes.
40312         (nearbyint_test): Use ALL_RM_TEST.
40313         (rint_test_data): Include all tests used for nearbyint.
40315 2014-03-17  Will Newton  <will.newton@linaro.org>
40317         * nptl/sysdeps/pthread/pthread.h: Revert previous
40318         change.
40320         * sysdeps/generic/ldsodefs.h: Revert previous
40321         change.
40323         * libio/genops.c: Revert previous change.
40324         * libio/libioP.h: Likewise.
40325         * stdio-common/vfprintf.c: Likewise.
40327         * sysdeps/generic/math_private.h: Revert previous
40328         change.
40330         * sysdeps/generic/math_private.h: Check whether
40331         HAVE_RM_CTX is defined with #ifdef rather
40332         than #if.
40334         * argp/argp-fmtstream.h: Check whether
40335         __STRICT_ANSI__ is defined with #ifdef rather
40336         than #if.
40337         * argp/argp.h: Likewise.
40339         * libio/genops.c: Check whether
40340         _IO_JUMPS_OFFSET is defined with #ifdef rather
40341         than #if.
40342         * libio/libioP.h: Likewise.
40343         * stdio-common/vfprintf.c: Likewise.
40345         * sysdeps/generic/ldsodefs.h: Check whether
40346         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40347         than #if.
40349         * nptl/sysdeps/pthread/pthread.h: Check
40350         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40351         its value.
40353 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40355         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40356         setting O_APPEND.
40357         * libio/tst-ftell-active-handler.c (do_append_test): Add a
40358         test case.
40360         [BZ #16680]
40361         * libio/fileops.c (_IO_file_open): Seek to end of file but
40362         don't cache the offset.
40363         (get_file_offset): Remove function.
40364         (do_ftell): Use cached offset when available.
40365         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40366         don't cache the offset.
40367         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40368         case.
40369         (do_one_test): Call it.
40370         (do_ftell_test): Fix up expected old offset for a+ mode.
40371         * libio/wfileops.c (do_ftell_wide): Used cached offset when
40372         available.
40374         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40375         up test status with function return status.
40376         (do_write_test): Likewise.
40377         (do_append_test): Likewise.
40379         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40380         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40381         Remove.
40383 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40385         * math/gen-libm-test.pl (parse_args): Handle results specified for
40386         each rounding mode separately.
40387         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40388         tests and results from lrint_tonearest_test_data,
40389         lrint_towardzero_test_data, lrint_downward_test_data and
40390         lrint_upward_test_data.
40391         (lrint_test): Use ALL_RM_TEST.
40392         (lrint_tonearest_test_data): Remove.
40393         (lrint_test_tonearest): Likewise.
40394         (lrint_towardzero_test_data): Likewise.
40395         (lrint_test_towardzero): Likewise.
40396         (lrint_downward_test_data): Likewise.
40397         (lrint_test_downward): Likewise.
40398         (lrint_upward_test_data): Likewise.
40399         (lrint_test_upward): Likewise.
40400         (llrint_test_data): Merge in per-rounding-mode tests and results
40401         from llrint_tonearest_test_data, llrint_towardzero_test_data,
40402         llrint_downward_test_data and llrint_upward_test_data.
40403         (llrint_test): Use ALL_RM_TEST.
40404         (llrint_tonearest_test_data): Remove.
40405         (llrint_test_tonearest): Likewise.
40406         (llrint_towardzero_test_data): Likewise.
40407         (llrint_test_towardzero): Likewise.
40408         (llrint_downward_test_data): Likewise.
40409         (llrint_test_downward): Likewise.
40410         (llrint_upward_test_data): Likewise.
40411         (llrint_test_upward): Likewise.
40412         (rint_test_data): Merge in per-rounding-mode tests and results
40413         from rint_tonearest_test_data, rint_towardzero_test_data,
40414         rint_downward_test_data and rint_upward_test_data.  Add
40415         per-rounding-mode results for tests not in those arrays.
40416         (rint_test): Use ALL_RM_TEST.
40417         (rint_tonearest_test_data): Remove.
40418         (rint_test_tonearest): Likewise.
40419         (rint_towardzero_test_data): Likewise.
40420         (rint_test_towardzero): Likewise.
40421         (rint_downward_test_data): Likewise.
40422         (rint_test_downward): Likewise.
40423         (rint_upward_test_data): Likewise.
40424         (rint_test_upward): Likewise.
40425         (main): Don't call removed functions.
40427 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40429         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40430         "Compiled on ..." crapola.  It is anti-useful.
40432 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
40434         * scripts/evaluate-test.sh: Handle fourth argument to determine
40435         whether test run should stop on failure.
40436         * Makeconfig (stop-on-test-failure): New variable.
40437         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40438         $(stop-on-test-failure).
40439         * Makefile (tests): Give a summary of results from testing and
40440         exit with failure status if they include an ERROR or FAIL.
40441         (xtests): Likewise.
40442         * manual/install.texi (Configuring and compiling): Mention
40443         stop-on-test-failure=y.
40444         * INSTALL: Regenerated.
40446 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40448         * scripts/versionlist.awk: New file.
40449         * Makerules [$(build-shared) = yes]
40450         (postclean-generated): Add Versions.def, not Versions.def.v and
40451         Versions.def.v.i.
40452         ($(common-objpfx)Versions.def.v.i): Target removed.
40453         ($(common-objpfx)Versions.def): New target.
40454         ($(common-objpfx)Versions.all): Depend on that rather that
40455         $(common-objpfx)Versions.def.v.
40456         * Versions.def: File removed.
40458         * Makeconfig (+gccwarn): Add -Wundef.
40459         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40460         a dl-sysdep.h breaking its contract.
40461         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40462         * include/stackinfo.h: New file.
40463         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40464         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40465         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40466         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40467         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40468         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40469         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40470         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40471         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40472         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40473         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40474         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40475         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40476         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40477         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40479 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40481         [BZ #16707]
40482         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40483         implementation.
40484         * math/libm-test.inc (round_test_data): Add more tests.
40486         [BZ #16706]
40487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40488         implementation.
40489         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40491         [BZ #16701]
40492         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40493         implementation.
40494         * math/libm-test.inc (ceil_test_data): Add more tests.
40496         * math/libm-test.inc (trunc_test_data): Add more tests related to
40497         BZ#16414.
40499 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40501         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40502         with #if rather than #ifdef.
40503         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40505 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40507         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40508         first.  Disable AVX-512 GCC support if assembler doesn't support
40509         it.
40510         * sysdeps/x86_64/configure: Regenerated.
40512 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40514         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40515         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40516         (__old_pthread_attr_setstack): Likewise.
40517         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40518         [!_STACK_GROWS_DOWN]: Likewise.
40520 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40522         * config.make.in (have-bash2): Delete.
40523         * configure.ac (libc_cv_have_bash2): Delete.
40524         * configure: Regenerate.
40525         * elf/Makefile (common-ldd-rewrite): Rename to ...
40526         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40527         (sh-ldd-rewrite): Delete.
40528         (bash-ldd-rewrite): Delete.
40529         (have-bash2): Delete checks.
40530         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40531         ldd-rewrite.
40533         * config.make.in (have-ksh): Delete.
40534         (KSH): Delete.
40535         * configure.ac (libc_cv_have_ksh): Delete.
40536         * configure: Regenerate.
40538         * elf/Makefile: Delete $(have-ksh) check.
40539         ($(objpfx)sotruss): Change KSH to BASH.
40540         * elf/sotruss.ksh: Rename to ...
40541         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40542         function style to match POSIX.  Drop ksh vim mode setting.
40544         * manual/time.texi (Specifying the Time Zone with TZ): Change
40545         Tuesday to Thursday.
40547         * debug/tst-longjmp_chk2.c: Update header comment.
40548         (stackoverflow_handler): Add comment.  Call assert on pass value.
40550 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40552         [BZ #16194]
40553         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40554         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40555         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40556         (La_x86_64_vector): Add zmm.
40557         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40558         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40559         ($(objpfx)tst-audit10): New target.
40560         ($(objpfx)tst-audit10.out): Likewise.
40561         (tst-audit10-ENV): New.
40562         (AVX512-CFLAGS): Likewise.
40563         (CFLAGS-tst-audit10.c): Likewise.
40564         (CFLAGS-tst-auditmod10a.c): Likewise.
40565         (CFLAGS-tst-auditmod10b.c): Likewise.
40566         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40567         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40568         * sysdeps/x86_64/configure: Regenerated.
40569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40570         AVX-512 zmm register support.
40571         (_dl_x86_64_save_sse): Likewise.
40572         (_dl_x86_64_restore_sse): Likewise.
40573         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40574         size vector registers.
40575         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40576         (ZMM_SIZE): Likewise.
40577         * sysdeps/x86_64/tst-audit10.c: New file.
40578         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40579         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40581 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40583         * configure.ac (HAVE_EHDR_START): New check.
40584         * configure: Regenerated.
40585         * config.h.in (HAVE_EHDR_START): New #undef.
40586         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40587         assuming the lowest-addressed segment maps the start of the file.
40589 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40591         * INSTALL: Regenerated.
40593 2014-03-13  Will Newton  <will.newton@linaro.org>
40595         * manual/setjmp.texi (System V contexts): Improve
40596         clarity and grammar of documentation.
40598 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40600         [BZ #16381]
40601         * elf/Makefile (tests): Add tst-pie2.
40602         (tests-pie): Add tst-pie2.
40603         * elf/tst-pie2.c: New file.
40604         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40605         for ET_EXEC.
40606         * elf/rtld.c (map_doit): Load executable as lt_executable.
40607         (dl_main): Likewise.
40609 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40611         [BZ #16642]
40612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40613         (__ASSUME_PSELECT): Undefine.
40615 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40617         [BZ #16689]
40618         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40619         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40620         static build.
40621         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40622         selector for static builds.
40624 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40626         [BZ #16695]
40627         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40628         key in the buffer.
40630 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40632         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40633         IFUNC selector for static builds.
40635 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40637         * sysdeps/mips/math_private.h [__mips_hard_float]
40638         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40639         libc_feresetround_mips_ctx.
40640         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40641         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40642         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40644         [BZ #16677]
40645         * math/s_nextafter.c (__nextafter): Do not return value from
40646         overflowing computation.
40647         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40648         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40649         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40650         Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40652         Likewise.
40653         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40654         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40656 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40658         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40659         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40660         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40661         the new mov targetting sp.
40663 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40665         [BZ #16683]
40666         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40667         Define it for static builds as well.
40668         (NO_BZERO_IMPL): Likewise.
40670 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40672         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40673         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40674         multiarch strspn for PPC64.
40675         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40676         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40678         (__libc_ifunc_impl_list): Likewise.
40679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40680         multiarch optimizations
40681         * string/strspn.c (strspn): Using macro to redefine symbol name.
40683 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40684             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40686         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40687         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40688         multiarch strncat for PPC64.
40689         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40690         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40692         (__libc_ifunc_impl_list): Likewise.
40693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40694         multiarch optimizations
40696 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40698         [BZ #16639]
40699         * nscd/nscd.service: Make service type forking.
40701 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40704         sign in non default rounding modes.
40705         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40707 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40709         * math/libm-test.inc (ALL_RM_TEST): New macro.
40710         (ceil_test): Use ALL_RM_TEST.
40711         (cimag_test): Likewise.
40712         (conj_test): Likewise.
40713         (copysign_test): Likewise.
40714         (cproj_test): Likewise.
40715         (creal_test): Likewise.
40716         (fabs_test): Likewise.
40717         (floor_test): Likewise.
40718         (fmax_test): Likewise.
40719         (fmin_test): Likewise.
40720         (fmod_test): Likewise.
40721         (fpclassify_test): Likewise.
40722         (frexp_test): Likewise.
40723         (ilogb_test): Likewise.
40724         (isfinite_test): Likewise.
40725         (finite_test): Likewise.
40726         (isgreater_test): Likewise.
40727         (isgreaterequal_test): Likewise.
40728         (isinf_test): Likewise.
40729         (isless_test): Likewise.
40730         (islessequal_test): Likewise.
40731         (islessgreater_test): Likewise.
40732         (isnan_test): Likewise.
40733         (isnormal_test): Likewise.
40734         (issignaling_test): Likewise.
40735         (isunordered_test): Likewise.
40736         (logb_test): Likewise.
40737         (logb_downward_test_data): Remove.
40738         (logb_test_downward): Likewise.
40739         (lround_test): Use ALL_RM_TEST.
40740         (llround_test): Likewise.
40741         (modf_test): Likewise.
40742         (nexttoward_test): Likewise.
40743         (remainder_test): Likewise.
40744         (drem_test): Likewise.
40745         (remainder_tonearest_test_data): Likewise.
40746         (remainder_test_tonearest): Likewise.
40747         (drem_test_tonearest): Likewise.
40748         (remainder_towardzero_test_data): Likewise.
40749         (remainder_test_towardzero): Likewise.
40750         (drem_test_towardzero): Likewise.
40751         (remainder_downward_test_data): Likewise.
40752         (remainder_test_downward): Likewise.
40753         (drem_test_downward): Likewise.
40754         (remainder_upward_test_data): Likewise.
40755         (remainder_test_upward): Likewise.
40756         (drem_test_upward): Likewise.
40757         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40758         (round_test): Use ALL_RM_TEST.
40759         (signbit_test): Likewise.
40760         (trunc_test): Likewise.
40761         (significand_test): Likewise.
40762         (main): Don't call removed functions.
40764 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40766         [BZ #16674]
40767         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40768         || __USE_XOPEN2K8].
40769         (ILL_ILLOPN): Likewise.
40770         (ILL_ILLADR): Likewise.
40771         (ILL_ILLTRP): Likewise.
40772         (ILL_PRVOPC): Likewise.
40773         (ILL_PRVREG): Likewise.
40774         (ILL_COPROC): Likewise.
40775         (ILL_BADSTK): Likewise.
40776         (FPE_INTDIV): Likewise.
40777         (FPE_INTOVF): Likewise.
40778         (FPE_FLTDIV): Likewise.
40779         (FPE_FLTOVF): Likewise.
40780         (FPE_FLTUND): Likewise.
40781         (FPE_FLTRES): Likewise.
40782         (FPE_FLTINV): Likewise.
40783         (FPE_FLTSUB): Likewise.
40784         (SEGV_MAPERR): Likewise.
40785         (SEGV_ACCERR): Likewise.
40786         (BUS_ADRALN): Likewise.
40787         (BUS_ADRERR): Likewise.
40788         (BUS_OBJERR): Likewise.
40789         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40790         (TRAP_TRACE): Likewise.
40791         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40792         __USE_XOPEN2K8].
40793         (CLD_KILLED): Likewise.
40794         (CLD_DUMPED): Likewise.
40795         (CLD_TRAPPED): Likewise.
40796         (CLD_STOPPED): Likewise.
40797         (CLD_CONTINUED): Likewise.
40798         (POLL_IN): Likewise.
40799         (POLL_OUT): Likewise.
40800         (POLL_MSG): Likewise.
40801         (POLL_ERR): Likewise.
40802         (POLL_PRI): Likewise.
40803         (POLL_HUP): Likewise.
40804         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40805         Likewise.
40806         (ILL_ILLOPN): Likewise.
40807         (ILL_ILLADR): Likewise.
40808         (ILL_ILLTRP): Likewise.
40809         (ILL_PRVOPC): Likewise.
40810         (ILL_PRVREG): Likewise.
40811         (ILL_COPROC): Likewise.
40812         (ILL_BADSTK): Likewise.
40813         (FPE_INTDIV): Likewise.
40814         (FPE_INTOVF): Likewise.
40815         (FPE_FLTDIV): Likewise.
40816         (FPE_FLTOVF): Likewise.
40817         (FPE_FLTUND): Likewise.
40818         (FPE_FLTRES): Likewise.
40819         (FPE_FLTINV): Likewise.
40820         (FPE_FLTSUB): Likewise.
40821         (SEGV_MAPERR): Likewise.
40822         (SEGV_ACCERR): Likewise.
40823         (BUS_ADRALN): Likewise.
40824         (BUS_ADRERR): Likewise.
40825         (BUS_OBJERR): Likewise.
40826         (BUS_MCEERR_AR): Likewise.
40827         (BUS_MCEERR_AO): Likewise.
40828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40829         (TRAP_TRACE): Likewise.
40830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40831         __USE_XOPEN2K8].
40832         (CLD_KILLED): Likewise.
40833         (CLD_DUMPED): Likewise.
40834         (CLD_TRAPPED): Likewise.
40835         (CLD_STOPPED): Likewise.
40836         (CLD_CONTINUED): Likewise.
40837         (POLL_IN): Likewise.
40838         (POLL_OUT): Likewise.
40839         (POLL_MSG): Likewise.
40840         (POLL_ERR): Likewise.
40841         (POLL_PRI): Likewise.
40842         (POLL_HUP): Likewise.
40843         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40844         (ILL_ILLOPN): Likewise.
40845         (ILL_ILLADR): Likewise.
40846         (ILL_ILLTRP): Likewise.
40847         (ILL_PRVOPC): Likewise.
40848         (ILL_PRVREG): Likewise.
40849         (ILL_COPROC): Likewise.
40850         (ILL_BADSTK): Likewise.
40851         (FPE_INTDIV): Likewise.
40852         (FPE_INTOVF): Likewise.
40853         (FPE_FLTDIV): Likewise.
40854         (FPE_FLTOVF): Likewise.
40855         (FPE_FLTUND): Likewise.
40856         (FPE_FLTRES): Likewise.
40857         (FPE_FLTINV): Likewise.
40858         (FPE_FLTSUB): Likewise.
40859         (SEGV_MAPERR): Likewise.
40860         (SEGV_ACCERR): Likewise.
40861         (BUS_ADRALN): Likewise.
40862         (BUS_ADRERR): Likewise.
40863         (BUS_OBJERR): Likewise.
40864         (BUS_MCEERR_AR): Likewise.
40865         (BUS_MCEERR_AO): Likewise.
40866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40867         (TRAP_TRACE): Likewise.
40868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40869         __USE_XOPEN2K8].
40870         (CLD_KILLED): Likewise.
40871         (CLD_DUMPED): Likewise.
40872         (CLD_TRAPPED): Likewise.
40873         (CLD_STOPPED): Likewise.
40874         (CLD_CONTINUED): Likewise.
40875         (POLL_IN): Likewise.
40876         (POLL_OUT): Likewise.
40877         (POLL_MSG): Likewise.
40878         (POLL_ERR): Likewise.
40879         (POLL_PRI): Likewise.
40880         (POLL_HUP): Likewise.
40881         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40882         Likewise.
40883         (ILL_ILLOPN): Likewise.
40884         (ILL_ILLADR): Likewise.
40885         (ILL_ILLTRP): Likewise.
40886         (ILL_PRVOPC): Likewise.
40887         (ILL_PRVREG): Likewise.
40888         (ILL_COPROC): Likewise.
40889         (ILL_BADSTK): Likewise.
40890         (ILL_BADIADDR): Likewise.
40891         (ILL_BREAK): Likewise.
40892         (FPE_INTDIV): Likewise.
40893         (FPE_INTOVF): Likewise.
40894         (FPE_FLTDIV): Likewise.
40895         (FPE_FLTOVF): Likewise.
40896         (FPE_FLTUND): Likewise.
40897         (FPE_FLTRES): Likewise.
40898         (FPE_FLTINV): Likewise.
40899         (FPE_FLTSUB): Likewise.
40900         (FPE_DECOVF): Likewise.
40901         (FPE_DECDIV): Likewise.
40902         (FPE_DECERR): Likewise.
40903         (FPE_INVASC): Likewise.
40904         (FPE_INVDEC): Likewise.
40905         (SEGV_MAPERR): Likewise.
40906         (SEGV_ACCERR): Likewise.
40907         (SEGV_PSTKOVF): Likewise.
40908         (BUS_ADRALN): Likewise.
40909         (BUS_ADRERR): Likewise.
40910         (BUS_OBJERR): Likewise.
40911         (BUS_MCEERR_AR): Likewise.
40912         (BUS_MCEERR_AO): Likewise.
40913         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40914         (TRAP_TRACE): Likewise.
40915         (TRAP_BRANCH): Likewise.
40916         (TRAP_HWBKPT): Likewise.
40917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40918         __USE_XOPEN2K8].
40919         (CLD_KILLED): Likewise.
40920         (CLD_DUMPED): Likewise.
40921         (CLD_TRAPPED): Likewise.
40922         (CLD_STOPPED): Likewise.
40923         (CLD_CONTINUED): Likewise.
40924         (POLL_IN): Likewise.
40925         (POLL_OUT): Likewise.
40926         (POLL_MSG): Likewise.
40927         (POLL_ERR): Likewise.
40928         (POLL_PRI): Likewise.
40929         (POLL_HUP): Likewise.
40930         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40931         (ILL_ILLOPN): Likewise.
40932         (ILL_ILLADR): Likewise.
40933         (ILL_ILLTRP): Likewise.
40934         (ILL_PRVOPC): Likewise.
40935         (ILL_PRVREG): Likewise.
40936         (ILL_COPROC): Likewise.
40937         (ILL_BADSTK): Likewise.
40938         (FPE_INTDIV): Likewise.
40939         (FPE_INTOVF): Likewise.
40940         (FPE_FLTDIV): Likewise.
40941         (FPE_FLTOVF): Likewise.
40942         (FPE_FLTUND): Likewise.
40943         (FPE_FLTRES): Likewise.
40944         (FPE_FLTINV): Likewise.
40945         (FPE_FLTSUB): Likewise.
40946         (SEGV_MAPERR): Likewise.
40947         (SEGV_ACCERR): Likewise.
40948         (BUS_ADRALN): Likewise.
40949         (BUS_ADRERR): Likewise.
40950         (BUS_OBJERR): Likewise.
40951         (BUS_MCEERR_AR): Likewise.
40952         (BUS_MCEERR_AO): Likewise.
40953         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40954         (TRAP_TRACE): Likewise.
40955         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40956         __USE_XOPEN2K8].
40957         (CLD_KILLED): Likewise.
40958         (CLD_DUMPED): Likewise.
40959         (CLD_TRAPPED): Likewise.
40960         (CLD_STOPPED): Likewise.
40961         (CLD_CONTINUED): Likewise.
40962         (POLL_IN): Likewise.
40963         (POLL_OUT): Likewise.
40964         (POLL_MSG): Likewise.
40965         (POLL_ERR): Likewise.
40966         (POLL_PRI): Likewise.
40967         (POLL_HUP): Likewise.
40968         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40969         (ILL_ILLOPN): Likewise.
40970         (ILL_ILLADR): Likewise.
40971         (ILL_ILLTRP): Likewise.
40972         (ILL_PRVOPC): Likewise.
40973         (ILL_PRVREG): Likewise.
40974         (ILL_COPROC): Likewise.
40975         (ILL_BADSTK): Likewise.
40976         (FPE_INTDIV): Likewise.
40977         (FPE_INTOVF): Likewise.
40978         (FPE_FLTDIV): Likewise.
40979         (FPE_FLTOVF): Likewise.
40980         (FPE_FLTUND): Likewise.
40981         (FPE_FLTRES): Likewise.
40982         (FPE_FLTINV): Likewise.
40983         (FPE_FLTSUB): Likewise.
40984         (SEGV_MAPERR): Likewise.
40985         (SEGV_ACCERR): Likewise.
40986         (BUS_ADRALN): Likewise.
40987         (BUS_ADRERR): Likewise.
40988         (BUS_OBJERR): Likewise.
40989         (BUS_MCEERR_AR): Likewise.
40990         (BUS_MCEERR_AO): Likewise.
40991         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40992         (TRAP_TRACE): Likewise.
40993         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40994         __USE_XOPEN2K8].
40995         (CLD_KILLED): Likewise.
40996         (CLD_DUMPED): Likewise.
40997         (CLD_TRAPPED): Likewise.
40998         (CLD_STOPPED): Likewise.
40999         (CLD_CONTINUED): Likewise.
41000         (POLL_IN): Likewise.
41001         (POLL_OUT): Likewise.
41002         (POLL_MSG): Likewise.
41003         (POLL_ERR): Likewise.
41004         (POLL_PRI): Likewise.
41005         (POLL_HUP): Likewise.
41006         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41007         (ILL_ILLOPN): Likewise.
41008         (ILL_ILLADR): Likewise.
41009         (ILL_ILLTRP): Likewise.
41010         (ILL_PRVOPC): Likewise.
41011         (ILL_PRVREG): Likewise.
41012         (ILL_COPROC): Likewise.
41013         (ILL_BADSTK): Likewise.
41014         (FPE_INTDIV): Likewise.
41015         (FPE_INTOVF): Likewise.
41016         (FPE_FLTDIV): Likewise.
41017         (FPE_FLTOVF): Likewise.
41018         (FPE_FLTUND): Likewise.
41019         (FPE_FLTRES): Likewise.
41020         (FPE_FLTINV): Likewise.
41021         (FPE_FLTSUB): Likewise.
41022         (SEGV_MAPERR): Likewise.
41023         (SEGV_ACCERR): Likewise.
41024         (BUS_ADRALN): Likewise.
41025         (BUS_ADRERR): Likewise.
41026         (BUS_OBJERR): Likewise.
41027         (BUS_MCEERR_AR): Likewise.
41028         (BUS_MCEERR_AO): Likewise.
41029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41030         (TRAP_TRACE): Likewise.
41031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41032         __USE_XOPEN2K8].
41033         (CLD_KILLED): Likewise.
41034         (CLD_DUMPED): Likewise.
41035         (CLD_TRAPPED): Likewise.
41036         (CLD_STOPPED): Likewise.
41037         (CLD_CONTINUED): Likewise.
41038         (POLL_IN): Likewise.
41039         (POLL_OUT): Likewise.
41040         (POLL_MSG): Likewise.
41041         (POLL_ERR): Likewise.
41042         (POLL_PRI): Likewise.
41043         (POLL_HUP): Likewise.
41044         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41045         (ILL_ILLOPN): Likewise.
41046         (ILL_ILLADR): Likewise.
41047         (ILL_ILLTRP): Likewise.
41048         (ILL_PRVOPC): Likewise.
41049         (ILL_PRVREG): Likewise.
41050         (ILL_COPROC): Likewise.
41051         (ILL_BADSTK): Likewise.
41052         (ILL_DBLFLT): Likewise.
41053         (ILL_HARDWALL): Likewise.
41054         (FPE_INTDIV): Likewise.
41055         (FPE_INTOVF): Likewise.
41056         (FPE_FLTDIV): Likewise.
41057         (FPE_FLTOVF): Likewise.
41058         (FPE_FLTUND): Likewise.
41059         (FPE_FLTRES): Likewise.
41060         (FPE_FLTINV): Likewise.
41061         (FPE_FLTSUB): Likewise.
41062         (SEGV_MAPERR): Likewise.
41063         (SEGV_ACCERR): Likewise.
41064         (BUS_ADRALN): Likewise.
41065         (BUS_ADRERR): Likewise.
41066         (BUS_OBJERR): Likewise.
41067         (BUS_MCEERR_AR): Likewise.
41068         (BUS_MCEERR_AO): Likewise.
41069         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41070         (TRAP_TRACE): Likewise.
41071         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41072         __USE_XOPEN2K8].
41073         (CLD_KILLED): Likewise.
41074         (CLD_DUMPED): Likewise.
41075         (CLD_TRAPPED): Likewise.
41076         (CLD_STOPPED): Likewise.
41077         (CLD_CONTINUED): Likewise.
41078         (POLL_IN): Likewise.
41079         (POLL_OUT): Likewise.
41080         (POLL_MSG): Likewise.
41081         (POLL_ERR): Likewise.
41082         (POLL_PRI): Likewise.
41083         (POLL_HUP): Likewise.
41084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41085         (ILL_ILLOPN): Likewise.
41086         (ILL_ILLADR): Likewise.
41087         (ILL_ILLTRP): Likewise.
41088         (ILL_PRVOPC): Likewise.
41089         (ILL_PRVREG): Likewise.
41090         (ILL_COPROC): Likewise.
41091         (ILL_BADSTK): Likewise.
41092         (FPE_INTDIV): Likewise.
41093         (FPE_INTOVF): Likewise.
41094         (FPE_FLTDIV): Likewise.
41095         (FPE_FLTOVF): Likewise.
41096         (FPE_FLTUND): Likewise.
41097         (FPE_FLTRES): Likewise.
41098         (FPE_FLTINV): Likewise.
41099         (FPE_FLTSUB): Likewise.
41100         (SEGV_MAPERR): Likewise.
41101         (SEGV_ACCERR): Likewise.
41102         (BUS_ADRALN): Likewise.
41103         (BUS_ADRERR): Likewise.
41104         (BUS_OBJERR): Likewise.
41105         (BUS_MCEERR_AR): Likewise.
41106         (BUS_MCEERR_AO): Likewise.
41107         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41108         (TRAP_TRACE): Likewise.
41109         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41110         __USE_XOPEN2K8].
41111         (CLD_KILLED): Likewise.
41112         (CLD_DUMPED): Likewise.
41113         (CLD_TRAPPED): Likewise.
41114         (CLD_STOPPED): Likewise.
41115         (CLD_CONTINUED): Likewise.
41116         (POLL_IN): Likewise.
41117         (POLL_OUT): Likewise.
41118         (POLL_MSG): Likewise.
41119         (POLL_ERR): Likewise.
41120         (POLL_PRI): Likewise.
41121         (POLL_HUP): Likewise.
41122         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41123         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41125         [BZ #16670]
41126         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41127         before #include of <time.h>.
41128         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41129         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41130         (test-xfail-UNIX98/sched.h/conform): Likewise.
41132 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41134         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41135         error absence of trapping exception support.
41136         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41138 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41140         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41141         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41142         * timezone/Makefile (testdata): Move definition above include of
41143         Rules.
41144         (test-zones): New variable.
41145         (tests-special): Add zone files.
41146         (build-testdata): Use $(evaluate-test).
41148         * elf/Makefile (tests-special): Rename tests to end with .out.
41149         ($(objpfx)noload-mem): Likewise.
41150         ($(objpfx)tst-leaks1-mem): Likewise.
41151         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41152         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41153         $(objpfx)test-iconvconfig.out.
41154         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41155         set -e inside subshell and redirect output to file.
41156         * iconvdata/Makefile (generated): Rename tests to end with .out.
41157         Correct type.
41158         (tests-special): Rename tests to end with .out.
41159         ($(objpfx)mtrace-tst-loading): Likewise.
41160         * intl/Makefile (generated): Likewise.
41161         (tests-special): Likewise.
41162         ($(objpfx)mtrace-tst-gettext): Likewise.
41163         * misc/Makefile (generated): Likewise.
41164         (tests-special): Likewise.
41165         ($(objpfx)tst-error1-mem): Likewise.
41166         * nptl/Makefile (tests-special): Likewise.
41167         ($(objpfx)tst-stack3-mem): Likewise.
41168         (generated): Likewise.
41169         * posix/Makefile (generated): Likewise.
41170         (tests-special): Likewise.
41171         (xtests-special): Likewise.
41172         ($(objpfx)tst-fnmatch-mem): Likewise.
41173         ($(objpfx)bug-regex2-mem): Likewise.
41174         ($(objpfx)bug-regex14-mem): Likewise.
41175         ($(objpfx)bug-regex21-mem): Likewise.
41176         ($(objpfx)bug-regex31-mem): Likewise.
41177         ($(objpfx)tst-vfork3-mem): Likewise.
41178         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41179         ($(objpfx)tst-pcre-mem): Likewise.
41180         ($(objpfx)tst-boost-mem): Likewise.
41181         ($(objpfx)bug-ga2-mem): Likewise.
41182         ($(objpfx)bug-glob2-mem): Likewise.
41183         * resolv/Makefile (generate): Likewise.
41184         (tests-special): Likewise.
41185         (xtests-special): Likewise.
41186         (generated): Likewise.
41187         ($(objpfx)mtrace-tst-leaks): Likewise.
41188         ($(objpfx)mtrace-tst-leaks2): Likewise.
41190         * scripts/merge-test-results.sh: New file.
41191         * Makefile (tests-special-notdir): New variable.
41192         (tests): Run merge-test-results.sh.
41193         (xtests): Likewise.
41194         * Rules (tests-special-notdir): New variable.
41195         (xtests-special-notdir): Likewise.
41196         (tests): Run merge-test-results.sh
41197         (xtests): Likewise.
41199         * Makeconfig (test-xfail-name): New variable.
41200         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41201         compute variable name for expected failures.
41202         * conform/Makefile (conformtest-headers-data): New variable.
41203         (conformtest-standards): Likewise.
41204         (conformtest-headers-ISO): Likewise.
41205         (conformtest-headers-ISO99): Likewise.
41206         (conformtest-headers-ISO11): Likewise.
41207         (conformtest-headers-POSIX): Likewise.
41208         (conformtest-headers-XPG3): Likewise.
41209         (conformtest-headers-XPG4): Likewise.
41210         (conformtest-headers-UNIX98): Likewise.
41211         (conformtest-headers-XOPEN2K): Likewise.
41212         (conformtest-headers-POSIX2008): Likewise.
41213         (conformtest-headers-XOPEN2K8): Likewise.
41214         (conformtest-header-list-base): Likewise.
41215         (conformtest-header-list-tests): Likewise.
41216         (conformtest-header-base): Likewise.
41217         (conformtest-header-tests): Likewise.
41218         (tests-special): Add $(conformtest-header-list-tests).  If
41219         [$(fast-check) && !$(cross-compiling)], add
41220         $(conformtest-header-tests) instead of
41221         $(objpfx)run-conformtest.out.
41222         (generated): Add $(conformtest-header-list-base).  If
41223         [$(fast-check) && !$(cross-compiling)], add
41224         $(conformtest-header-base).  Remove previous setting.
41225         ($(conformtest-header-list-tests)): New target.
41226         (test-xfail-run-conformtest): Remove variable.
41227         ($(objpfx)run-conformtest.out): Remove target.
41228         (test-xfail-ISO11/complex.h/conform): New variable.
41229         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41230         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41231         (test-xfail-XPG3/varargs.h/conform): Likewise.
41232         (test-xfail-XPG4/varargs.h/conform): Likewise.
41233         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41234         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41235         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41236         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41237         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41238         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41239         (test-xfail-XPG3/ftw.h/conform): Likewise.
41240         (test-xfail-XPG3/grp.h/conform): Likewise.
41241         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41242         (test-xfail-XPG3/limits.h/conform): Likewise.
41243         (test-xfail-XPG3/pwd.h/conform): Likewise.
41244         (test-xfail-XPG3/search.h/conform): Likewise.
41245         (test-xfail-XPG3/signal.h/conform): Likewise.
41246         (test-xfail-XPG3/stdio.h/conform): Likewise.
41247         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41248         (test-xfail-XPG3/string.h/conform): Likewise.
41249         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41250         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41251         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41252         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41253         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41254         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41255         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41256         (test-xfail-XPG3/termios.h/conform): Likewise.
41257         (test-xfail-XPG3/time.h/conform): Likewise.
41258         (test-xfail-XPG3/unistd.h/conform): Likewise.
41259         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41260         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41261         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41262         (test-xfail-XPG4/netdb.h/conform): Likewise.
41263         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41264         (test-xfail-XPG4/signal.h/conform): Likewise.
41265         (test-xfail-XPG4/stdio.h/conform): Likewise.
41266         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41267         (test-xfail-XPG4/stropts.h/conform): Likewise.
41268         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41269         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41270         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41271         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41272         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41273         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41274         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41275         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41276         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41277         (test-xfail-XPG4/termios.h/conform): Likewise.
41278         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41279         (test-xfail-XPG4/unistd.h/conform): Likewise.
41280         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41281         (test-xfail-POSIX/sched.h/conform): Likewise.
41282         (test-xfail-POSIX/signal.h/conform): Likewise.
41283         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41284         (test-xfail-POSIX/tar.h/conform): Likewise.
41285         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41286         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41287         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41288         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41289         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41290         (test-xfail-UNIX98/sched.h/conform): Likewise.
41291         (test-xfail-UNIX98/signal.h/conform): Likewise.
41292         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41293         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41294         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41295         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41296         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41297         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41298         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41299         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41300         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41301         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41302         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41303         (test-xfail-UNIX98/unistd.h/conform): Likewise.
41304         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41305         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41306         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41307         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41308         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41309         (test-xfail-XOPEN2K/math.h/conform): Likewise.
41310         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41311         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41312         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41313         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41314         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41315         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41316         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41317         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41318         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41319         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41320         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41321         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41322         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41323         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41324         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41325         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41326         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41327         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41328         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41329         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41330         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41331         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41332         (test-xfail-POSIX2008/signal.h/conform): Likewise.
41333         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41334         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41335         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41336         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41337         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41338         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41339         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41340         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41341         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41342         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41343         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41344         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41345         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41346         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41347         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41348         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41349         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41350         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41351         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41352         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41353         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41354         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41355         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41356         (conformtest-cc-flags): Likewise.
41357         ($(conformtest-header-tests): New target.
41358         * conform/check-header-lists.sh: New file.
41359         * conform/run-conformtest.sh: Remove.
41361         * conform/conformtest.pl: Allow ' and \ in values given for
41362         constants.
41363         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41364         inclusion.
41365         [POSIX] (sys/types.h): Likewise.
41366         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41367         inclusion.
41368         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41369         inclusion.
41370         * conform/data/signal.h-data (SIGIO): Remove expectation.
41371         [XPG3] (SIGBUS): Do not expect.
41372         [POSIX || XPG3] (SIGPOLL): Likewise.
41373         [POSIX || XPG3] (SIGPROF): Likewise.
41374         [POSIX || XPG3] (SIGSYS): Likewise.
41375         [XPG3] (SIGTRAP): Likewise.
41376         [POSIX || XPG3] (SIGURG): Likewise.
41377         [POSIX || XPG3] (SIGVTALRM): Likewise.
41378         [POSIX || XPG3] (SIGXCPU): Likewise.
41379         [POSIX || XPG3] (SIGXFSZ): Likewise.
41380         [POSIX] (SA_SIGINFO): Expect.
41381         [XPG3] (siginfo_t): Do not expect type or contents.
41382         [POSIX] (si_pid): Do not expect element.
41383         [POSIX] (si_uid): Likewise.
41384         [POSIX] (si_addr): Likewise.
41385         [POSIX] (si_status): Likewise.
41386         [POSIX] (si_band): Likewise.
41387         [XPG4] (si_value): Likewise.
41388         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41389         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41390         [POSIX || XPG3] (ILL_ILLADR): Likewise.
41391         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41392         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41393         [POSIX || XPG3] (ILL_PRVREG): Likewise.
41394         [POSIX || XPG3] (ILL_COPROC): Likewise.
41395         [POSIX || XPG3] (ILL_BADSTK): Likewise.
41396         [POSIX || XPG3] (FPE_INTDIV): Likewise.
41397         [POSIX || XPG3] (FPE_INTOVF): Likewise.
41398         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41399         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41400         [POSIX || XPG3] (FPE_FLTUND): Likewise.
41401         [POSIX || XPG3] (FPE_FLTRES): Likewise.
41402         [POSIX || XPG3] (FPE_FLTINV): Likewise.
41403         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41404         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41405         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41406         [POSIX || XPG3] (BUS_ADRALN): Likewise.
41407         [POSIX || XPG3] (BUS_ADRERR): Likewise.
41408         [POSIX || XPG3] (BUS_OBJERR): Likewise.
41409         [POSIX || XPG3] (CLD_EXITED): Likewise.
41410         [POSIX || XPG3] (CLD_KILLED): Likewise.
41411         [POSIX || XPG3] (CLD_DUMPED): Likewise.
41412         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41413         [POSIX || XPG3] (CLD_STOPPED): Likewise.
41414         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41415         [POSIX || XPG3] (POLL_IN): Likewise.
41416         [POSIX || XPG3] (POLL_OUT): Likewise.
41417         [POSIX || XPG3] (POLL_MSG): Likewise.
41418         [POSIX || XPG3] (POLL_ERR): Likewise.
41419         [POSIX || XPG3] (POLL_PRI): Likewise.
41420         [POSIX || XPG3] (POLL_HUP): Likewise.
41421         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41422         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41423         (SIG*): Do not allow.
41424         [XPG3] (si_*): Likewise.
41425         [XPG3] (SI_*): Likewise.
41426         [XPG3 || XPG4] (sigev_*): Likewise.
41427         [XPG3 || XPG4] (SIGEV_*): Likewise.
41428         [XPG3 || XPG4] (sival_*): Likewise.
41429         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41430         [POSIX || XPG3] (BUS_*): Likewise.
41431         [POSIX || XPG3] (CLD_*): Likewise.
41432         [POSIX || XPG3] (FPE_*): Likewise.
41433         [POSIX || XPG3] (ILL_*): Likewise.
41434         [POSIX || XPG3] (POLL_*): Likewise.
41435         [POSIX || XPG3] (SEGV_*): Likewise.
41436         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41437         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41438         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41439         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41440         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41441         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41442         Specify type and value.
41443         (TVERSLEN): Likewise.
41444         (REGTYPE): Likewise.
41445         (AREGTYPE): Likewise.
41446         (LNKTYPE): Likewise.
41447         (SYMTYPE): Likewise.
41448         (CHRTYPE): Likewise.
41449         (BLKTYPE): Likewise.
41450         (DIRTYPE): Likewise.
41451         (FIFOTYPE): Likewise.
41452         (CONTTYPE): Likewise.
41453         (TSUID): Likewise.
41454         (TSGID): Likewise.
41455         (TSVTX): Likewise.
41456         (TUREAD): Likewise.
41457         (TUWRITE): Likewise.
41458         (TUEXEC): Likewise.
41459         (TGREAD): Likewise.
41460         (TGWRITE): Likewise.
41461         (TGEXEC): Likewise.
41462         (TOREAD): Likewise.
41463         (TOWRITE): Likewise.
41464         (TOEXEC): Likewise.
41465         [POSIX] (TSVTX): Expect constant.
41467 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41469         * Makefile (tests): Change dependencies to ....
41470         (tests-special): ... additions to this variable.
41471         (tests): Depend on $(tests-special).
41472         * Makerules (check-abi-list): New variable.
41473         (check-abi): Depend on $(check-abi-list).
41474         [$(subdir) = elf] (tests-special): Add
41475         $(objpfx)check-abi-libc.out.
41476         [$(build-shared) = yes && subdir] (tests-special): Add
41477         $(check-abi-list).
41478         [$(build-shared) = yes && subdir] (tests): Do not depend on
41479         check-abi.
41480         * Rules (tests): Depend on $(tests-special).
41481         (xtests): Depend on $(xtests-special).
41482         * catgets/Makefile (tests): Change dependencies to ....
41483         (tests-special): ... additions to this variable.
41484         * conform/Makefile (tests): Change dependencies to ....
41485         (tests-special): ... additions to this variable.
41486         * elf/Makefile (tests): Change dependencies to ....
41487         (tests-special): ... additions to this variable.
41488         * grp/Makefile (tests): Change dependencies to ....
41489         (tests-special): ... additions to this variable.
41490         * iconv/Makefile (xtests): Change dependencies to ....
41491         (xtests-special): ... additions to this variable.
41492         * iconvdata/Makefile (tests): Change dependencies to ....
41493         (tests-special): ... additions to this variable.
41494         * intl/Makefile (tests): Change dependencies to ....
41495         (tests-special): ... additions to this variable.  Also add
41496         $(objpfx)tst-gettext.out.
41497         * io/Makefile (tests): Change dependencies to ....
41498         (tests-special): ... additions to this variable.
41499         * libio/Makefile (tests): Change dependencies to ....
41500         (tests-special): ... additions to this variable.
41501         * malloc/Makefile (tests): Change dependencies to ....
41502         (tests-special): ... additions to this variable.
41503         * misc/Makefile (tests): Change dependencies to ....
41504         (tests-special): ... additions to this variable.
41505         * nptl/Makefile (tests): Change dependencies to ....
41506         (tests-special): ... additions to this variable.
41507         * nptl_db/Makefile (tests): Change dependencies to ....
41508         (tests-special): ... additions to this variable.
41509         * posix/Makefile (tests): Change dependencies to ....
41510         (tests-special): ... additions to this variable.
41511         (xtests): Change dependencies to ....
41512         (xtests-special): ... additions to this variable.
41513         * resolv/Makefile (tests): Change dependencies to ....
41514         (tests-special): ... additions to this variable.
41515         (xtests): Change dependencies to ....
41516         (xtests-special): ... additions to this variable.
41517         * stdio-common/Makefile (tests): Change dependencies to ....
41518         (tests-special): ... additions to this variable.
41519         (do-tst-unbputc): Remove target.
41520         (do-tst-printf): Likewise.
41521         * stdlib/Makefile (tests): Change dependencies to ....
41522         (tests-special): ... additions to this variable.
41523         * string/Makefile (tests): Change dependencies to ....
41524         (tests-special): ... additions to this variable.
41525         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41526         (tests-special): ... additions to this variable.
41528         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41529         whole file.
41530         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41531         whole file.
41532         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41533         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41535         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41536         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41537         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41538         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41539         * conform/data/libgen.h-data [XPG3]: Likewise.
41540         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41541         * conform/data/ndbm.h-data [XPG3]: Likewise.
41542         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41543         * conform/data/netdb.h-data [XPG3]: Likewise.
41544         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41545         * conform/data/poll.h-data [XPG3]: Likewise.
41546         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41547         * conform/data/strings.h-data [XPG3]: Likewise.
41548         * conform/data/stropts.h-data [XPG3]: Likewise.
41549         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41550         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41551         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41552         Likewise.
41553         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41554         * conform/data/sys/time.h-data [XPG3]: Likewise.
41555         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41556         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41557         * conform/data/sys/un.h-data [XPG3]: Likewise.
41558         * conform/data/syslog.h-data [XPG3]: Likewise.
41559         * conform/data/ucontext.h-data [XPG3]: Likewise.
41560         * conform/data/utmpx.h-data [XPG3]: Likewise.
41561         * conform/data/varargs.h-data [UNIX98]: Enable file.
41563         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41565         * math/libm-test.inc (struct test_f_f_data): Move expected results
41566         into structure for each rounding mode.
41567         (struct test_ff_f_data): Likewise.
41568         (struct test_ff_f_data_nexttoward): Likewise.
41569         (struct test_fi_f_data): Likewise.
41570         (struct test_fl_f_data): Likewise.
41571         (struct test_if_f_data): Likewise.
41572         (struct test_fff_f_data): Likewise.
41573         (struct test_c_f_data): Likewise.
41574         (struct test_f_f1_data): Likewise.
41575         (struct test_fF_f1_data): Likewise.
41576         (struct test_ffI_f1_data): Likewise.
41577         (struct test_c_c_data): Likewise.
41578         (struct test_cc_c_data): Likewise.
41579         (struct test_f_i_data): Likewise.
41580         (struct test_ff_i_data): Likewise.
41581         (struct test_f_l_data): Likewise.
41582         (struct test_f_L_data): Likewise.
41583         (struct test_fFF_11_data): Likewise.
41584         (RM_): New macro.
41585         (RM_FE_DOWNWARD): Likewise.
41586         (RM_FE_TONEAREST): Likewise.
41587         (RM_FE_TOWARDZERO): Likewise.
41588         (RM_FE_UPWARD): Likewise.
41589         (RUN_TEST_LOOP_f_f): Update references to expected results.
41590         (RUN_TEST_LOOP_2_f): Likewise.
41591         (RUN_TEST_LOOP_fff_f): Likewise.
41592         (RUN_TEST_LOOP_c_f): Likewise.
41593         (RUN_TEST_LOOP_f_f1): Likewise.
41594         (RUN_TEST_LOOP_fF_f1): Likewise.
41595         (RUN_TEST_LOOP_fI_f1): Likewise.
41596         (RUN_TEST_LOOP_ffI_f1): Likewise.
41597         (RUN_TEST_LOOP_c_c): Likewise.
41598         (RUN_TEST_LOOP_cc_c): Likewise.
41599         (RUN_TEST_LOOP_f_i): Likewise.
41600         (RUN_TEST_LOOP_f_i_tg): Likewise.
41601         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41602         (RUN_TEST_LOOP_f_b): Likewise.
41603         (RUN_TEST_LOOP_f_b_tg): Likewise.
41604         (RUN_TEST_LOOP_f_l): Likewise.
41605         (RUN_TEST_LOOP_f_L): Likewise.
41606         (RUN_TEST_LOOP_fFF_11): Likewise.
41607         * math/gen-libm-test.pl (parse_args): Output four copies of
41608         expected results for each test.
41610         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41611         (__ASSUME_UTIMES): Remove.
41612         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41613         (__ASSUME_UTIMES): Likewise.
41615         * math/gen-auto-libm-tests.c: Update comment on output format.
41616         (output_for_one_input_case): Generate before-rounding and
41617         after-rounding information as conditions on output flags not
41618         floating-point format.
41619         * math/auto-libm-test-out: Regenerated.
41620         * math/gen-libm-test.pl (cond_value): New function.
41621         (or_cond_value): Use cond_value.
41622         (generate_testfile): Handle conditional exceptions.
41624 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41626         * math/libm-test.inc (max_valid_error): New variable.
41627         (init_max_error): Take new argument specifying whether function
41628         results are exactly determined.  Set max_valid_error and bound
41629         other variables for errors based on this argument.
41630         (set_max_error): Do not record results above max_valid_error.
41631         (check_float_internal): Only accept errors of up to 0.5ulps if
41632         also at most max_valid_error.
41633         (START): Take new argument EXACT and pass it to init_max_error.
41634         (acos_test): Update call to START.
41635         (acos_test_tonearest): Likewise.
41636         (acos_test_towardzero): Likewise.
41637         (acos_test_downward): Likewise.
41638         (acos_test_upward): Likewise.
41639         (acosh_test): Likewise.
41640         (asin_test): Likewise.
41641         (asin_test_tonearest): Likewise.
41642         (asin_test_towardzero): Likewise.
41643         (asin_test_downward): Likewise.
41644         (asin_test_upward): Likewise.
41645         (asinh_test): Likewise.
41646         (atan_test): Likewise.
41647         (atanh_test): Likewise.
41648         (atan2_test): Likewise.
41649         (cabs_test): Likewise.
41650         (cacos_test): Likewise.
41651         (cacosh_test): Likewise.
41652         (carg_test): Likewise.
41653         (casin_test): Likewise.
41654         (casinh_test): Likewise.
41655         (catan_test): Likewise.
41656         (catanh_test): Likewise.
41657         (cbrt_test): Likewise.
41658         (ccos_test): Likewise.
41659         (ccosh_test): Likewise.
41660         (ceil_test): Likewise.
41661         (cexp_test): Likewise.
41662         (cimag_test): Likewise.
41663         (clog_test): Likewise.
41664         (clog10_test): Likewise.
41665         (conj_test): Likewise.
41666         (copysign_test): Likewise.
41667         (cos_test): Likewise.
41668         (cos_test_tonearest): Likewise.
41669         (cos_test_towardzero): Likewise.
41670         (cos_test_downward): Likewise.
41671         (cos_test_upward): Likewise.
41672         (cosh_test): Likewise.
41673         (cosh_test_tonearest): Likewise.
41674         (cosh_test_towardzero): Likewise.
41675         (cosh_test_downward): Likewise.
41676         (cosh_test_upward): Likewise.
41677         (cpow_test): Likewise.
41678         (cproj_test): Likewise.
41679         (creal_test): Likewise.
41680         (csin_test): Likewise.
41681         (csinh_test): Likewise.
41682         (csqrt_test): Likewise.
41683         (ctan_test): Likewise.
41684         (ctan_test_tonearest): Likewise.
41685         (ctan_test_towardzero): Likewise.
41686         (ctan_test_downward): Likewise.
41687         (ctan_test_upward): Likewise.
41688         (ctanh_test): Likewise.
41689         (ctanh_test_tonearest): Likewise.
41690         (ctanh_test_towardzero): Likewise.
41691         (ctanh_test_downward): Likewise.
41692         (ctanh_test_upward): Likewise.
41693         (erf_test): Likewise.
41694         (erfc_test): Likewise.
41695         (exp_test): Likewise.
41696         (exp_test_tonearest): Likewise.
41697         (exp_test_towardzero): Likewise.
41698         (exp_test_downward): Likewise.
41699         (exp_test_upward): Likewise.
41700         (exp10_test): Likewise.
41701         (exp10_test_tonearest): Likewise.
41702         (exp10_test_towardzero): Likewise.
41703         (exp10_test_downward): Likewise.
41704         (exp10_test_upward): Likewise.
41705         (pow10_test): Likewise.
41706         (exp2_test): Likewise.
41707         (expm1_test): Likewise.
41708         (expm1_test_tonearest): Likewise.
41709         (expm1_test_towardzero): Likewise.
41710         (expm1_test_downward): Likewise.
41711         (expm1_test_upward): Likewise.
41712         (fabs_test): Likewise.
41713         (fdim_test): Likewise.
41714         (floor_test): Likewise.
41715         (fma_test): Likewise.
41716         (fma_test_towardzero): Likewise.
41717         (fma_test_downward): Likewise.
41718         (fma_test_upward): Likewise.
41719         (fmax_test): Likewise.
41720         (fmin_test): Likewise.
41721         (fmod_test): Likewise.
41722         (fpclassify_test): Likewise.
41723         (frexp_test): Likewise.
41724         (hypot_test): Likewise.
41725         (ilogb_test): Likewise.
41726         (isfinite_test): Likewise.
41727         (finite_test): Likewise.
41728         (isgreater_test): Likewise.
41729         (isgreaterequal_test): Likewise.
41730         (isinf_test): Likewise.
41731         (isless_test): Likewise.
41732         (islessequal_test): Likewise.
41733         (islessgreater_test): Likewise.
41734         (isnan_test): Likewise.
41735         (isnormal_test): Likewise.
41736         (issignaling_test): Likewise.
41737         (isunordered_test): Likewise.
41738         (j0_test): Likewise.
41739         (j1_test): Likewise.
41740         (jn_test): Likewise.
41741         (ldexp_test): Likewise.
41742         (lgamma_test): Likewise.
41743         (gamma_test): Likewise.
41744         (lrint_test): Likewise.
41745         (lrint_test_tonearest): Likewise.
41746         (lrint_test_towardzero): Likewise.
41747         (lrint_test_downward): Likewise.
41748         (lrint_test_upward): Likewise.
41749         (llrint_test): Likewise.
41750         (llrint_test_tonearest): Likewise.
41751         (llrint_test_towardzero): Likewise.
41752         (llrint_test_downward): Likewise.
41753         (llrint_test_upward): Likewise.
41754         (log_test): Likewise.
41755         (log10_test): Likewise.
41756         (log1p_test): Likewise.
41757         (log2_test): Likewise.
41758         (logb_test): Likewise.
41759         (logb_test_downward): Likewise.
41760         (lround_test): Likewise.
41761         (llround_test): Likewise.
41762         (modf_test): Likewise.
41763         (nearbyint_test): Likewise.
41764         (nextafter_test): Likewise.
41765         (nexttoward_test): Likewise.
41766         (pow_test): Likewise.
41767         (pow_test_tonearest): Likewise.
41768         (pow_test_towardzero): Likewise.
41769         (pow_test_downward): Likewise.
41770         (pow_test_upward): Likewise.
41771         (remainder_test): Likewise.
41772         (drem_test): Likewise.
41773         (remainder_test_tonearest): Likewise.
41774         (drem_test_tonearest): Likewise.
41775         (remainder_test_towardzero): Likewise.
41776         (drem_test_towardzero): Likewise.
41777         (remainder_test_downward): Likewise.
41778         (drem_test_downward): Likewise.
41779         (remainder_test_upward): Likewise.
41780         (drem_test_upward): Likewise.
41781         (remquo_test): Likewise.
41782         (rint_test): Likewise.
41783         (rint_test_tonearest): Likewise.
41784         (rint_test_towardzero): Likewise.
41785         (rint_test_downward): Likewise.
41786         (rint_test_upward): Likewise.
41787         (round_test): Likewise.
41788         (scalb_test): Likewise.
41789         (scalbn_test): Likewise.
41790         (scalbln_test): Likewise.
41791         (signbit_test): Likewise.
41792         (sin_test): Likewise.
41793         (sin_test_tonearest): Likewise.
41794         (sin_test_towardzero): Likewise.
41795         (sin_test_downward): Likewise.
41796         (sin_test_upward): Likewise.
41797         (sincos_test): Likewise.
41798         (sinh_test): Likewise.
41799         (sinh_test_tonearest): Likewise.
41800         (sinh_test_towardzero): Likewise.
41801         (sinh_test_downward): Likewise.
41802         (sinh_test_upward): Likewise.
41803         (sqrt_test): Likewise.
41804         (sqrt_test_tonearest): Likewise.
41805         (sqrt_test_towardzero): Likewise.
41806         (sqrt_test_downward): Likewise.
41807         (sqrt_test_upward): Likewise.
41808         (tan_test): Likewise.
41809         (tan_test_tonearest): Likewise.
41810         (tan_test_towardzero): Likewise.
41811         (tan_test_downward): Likewise.
41812         (tan_test_upward): Likewise.
41813         (tanh_test): Likewise.
41814         (tgamma_test): Likewise.
41815         (trunc_test): Likewise.
41816         (y0_test): Likewise.
41817         (y1_test): Likewise.
41818         (yn_test): Likewise.
41819         (significand_test): Likewise.
41821         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41822         individual tests in comment.
41823         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41824         (prev_max_error): New variable.
41825         (prev_real_max_error): Likewise.
41826         (prev_imag_max_error): Likewise.
41827         (compare_ulp_data): Don't refer to test names in comment.
41828         (find_test_ulps): Remove function.
41829         (find_function_ulps): Likewise.
41830         (find_complex_function_ulps): Likewise.
41831         (init_max_error): Take function name as argument.  Look up ulps
41832         for that function.
41833         (print_ulps): Remove function.
41834         (print_max_error): Use prev_max_error instead of calling
41835         find_function_ulps.
41836         (print_complex_max_error): Use prev_real_max_error and
41837         prev_imag_max_error instead of calling find_complex_function_ulps.
41838         (check_float_internal): Take max_ulp parameter instead of calling
41839         find_test_ulps.  Don't call print_ulps.
41840         (check_float): Update call to check_float_internal.
41841         (check_complex): Update calls to check_float_internal.
41842         (START): Pass argument to init_max_error.
41843         * math/gen-libm-test.pl (%results): Don't include "kind"
41844         information.
41845         (parse_ulps): Don't handle ulps of individual tests.
41846         (print_ulps_file): Likewise.
41847         (output_ulps): Likewise.
41848         * math/README.libm-test: Update.
41849         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41850         individual tests.
41851         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41852         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41853         * sysdeps/arm/libm-test-ulps: Likewise.
41854         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41855         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41856         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41857         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41858         * sysdeps/microblaze/libm-test-ulps: Likewise.
41859         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41860         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41861         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41862         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41863         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41864         * sysdeps/sh/libm-test-ulps: Likewise.
41865         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41866         * sysdeps/tile/libm-test-ulps: Likewise.
41867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41869 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41871         * math/libm-test.inc (print_complex_max_error): Check separately
41872         whether real and imaginary errors are within allowed range and
41873         pass 0 to print_complex_function_ulps instead of value within
41874         allowed range.
41876 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41878         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41879         formatting.
41880         (get_handles_fopen): Likewise.
41881         (do_write_test): Likewise.
41883         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41885         * libio/fileops.c (do_ftell): Use cached offset when
41886         available.
41887         * libio/iofwide.c (do_ftell_wide): Likewise.
41888         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41889         _IO_file_attach.
41890         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41892         [BZ #16532]
41893         * libio/libioP.h (get_file_offset): New function.
41894         * libio/fileops.c (get_file_offset): Likewise.
41895         (do_ftell): Likewise.
41896         (_IO_new_file_seekoff): Split out ftell logic.
41897         * libio/wfileops.c (do_ftell_wide): Likewise.
41898         (_IO_wfile_seekoff): Split out ftell logic.
41899         * libio/tst-ftell-active-handler.c: New test case.
41900         * libio/Makefile (tests): Add it.
41902 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41904         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41905         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41907 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41909         [BZ #16639]
41910         * nscd/connections.c (nscd_init): Call do_exit.
41911         (start_threads): Call do_exit and notify_parent.
41912         (begin_drop_privileges): Call do_exit.
41913         (finish_drop_privileges): Likewise.
41914         * nscd/selinux.c (preserve_capabilities): Likewise.
41915         (install_real_capabilities): Likewise.
41916         (nscd_selinux_enabled): Likewise.
41917         (avc_create_thread): Likewise.
41918         (avc_alloc_lock): Likewise.
41919         (nscd_avc_init): Likewise.
41920         * nscd/nscd.c (parent_fd): New static variable.
41921         (main): Create a pipe between parent and child processes.
41922         Skip closing parent_fd.
41923         (monitor_child): New function.
41924         (do_exit): Likewise.
41925         (notify_parent): Likewise.
41926         * nscd/nscd.h (notify_parent): Likewise.
41927         (do_exit): Likewise.
41929 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41931         * malloc/malloc.c (__libc_calloc): Revert last change.
41933 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41937 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41939         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41941         implementation.
41942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41943         (__libc_ifunc_impl_list): Likewise.
41944         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41945         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41946         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41947         * string/strrchr.c: Define STRRCHR.
41949 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41951         * benchtest/bench-strtok.c (simple_strtok): Delete.
41952         (strtok_string): Use as benchmark.
41953         * string/strtok (STRTOK): New macro.
41955 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41957         * manual/threads.texi: Add header and standard comments to all
41958         functions.
41960         * elf/dl-lookup.c (check_match): New function.
41961         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41962         (do_lookup_x): Remove nested function check_match. Use non-nested
41963         function check_match.
41965 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41967         * csu/Makefile (generated, before-compile): Use += rather than =.
41968         * catgets/Makefile (generated, generated-dirs): Likewise.
41969         * debug/Makefile (generated): Likewise.
41970         * dlfcn/Makefile (generated): Likewise.
41971         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41972         * iconvdata/Makefile (before-compile, generated): Likewise.
41973         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41974         * libio/Makefile (generated): Likewise.
41975         * malloc/Makefile (generated): Likewise.
41976         * manual/Makefile (generated, generated-dirs): Likewise.
41977         * misc/Makefile (generated): Likewise.
41978         * posix/Makefile (generated): Likewise.
41979         * resolv/Makefile (generated): Likewise.
41980         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41981         * timezone/Makefile (generated, generated-dirs): Likewise.
41983         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41985 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41988         power8 implementation.
41989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41990         file: POWER8 llround ifunc implementation.
41991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41992         (__lllround): Add POWER8 implementation.
41993         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41994         POWER8 llround implementation.
41996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41997         power8 implementation.
41998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41999         file: POWER8 llrint ifunc implementation.
42000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42001         Add POWER8 implementation.
42002         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42003         POWER8 llrint implementation.
42005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42006         power8 implementation.
42007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42008         file: POWER8 finite ifunc implementation.
42009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42010         Add POWER8 implementation.
42011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42012         Likewise.
42013         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42014         POWER8 finite implementation.
42015         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42018         power8 implementation.
42019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42020         file: POWER8 isinf ifunc implementation.
42021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42022         POWER8 implementation.
42023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42024         Likewise.
42025         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42026         isinf implementation.
42027         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42029         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42030         (INIT_ARCH): Add hwcap2 initialization.
42031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42032         power8 implementation.
42033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42034         file: POWER8 isnan ifunc implementation.
42035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42036         POWER8 implementation.
42037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42038         Likewise.
42039         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42040         isnan implementation.
42041         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42043 2014-02-27  Joey Ye  <joey.ye@arm.com>
42045         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42046         (_FP_NANFRAC_Q): Set to zero.
42048 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42050         [BZ #16623]
42051         * math/auto-libm-test-in: New test inputs.
42052         * math/auto-libm-test-out: Regenerate.
42053         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42054         and DA.
42055         (__cos): Likewise.
42056         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42058 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42060         * scripts/evaluate-test.sh: Take new argument indicating whether
42061         failure is expected.
42062         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42063         indicating whether failure is expected.
42064         * conform/Makefile (test-xfail-run-conformtest): New variable.
42065         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42066         level.
42067         * posix/Makefile (test-xfail-annexc): New variable.
42068         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42070 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42072         * argp/Makefile: Include Makeconfig immediately after defining
42073         subdir.
42074         * assert/Makefile: Likewise.
42075         * benchtests/Makefile: Likewise.
42076         * catgets/Makefile: Likewise.
42077         * conform/Makefile: Likewise.
42078         * crypt/Makefile: Likewise.
42079         * csu/Makefile: Likewise.
42080         (all): Remove target.
42081         * ctype/Makefile: Include Makeconfig immediately after defining
42082         subdir.
42083         * debug/Makefile: Likewise.
42084         * dirent/Makefile: Likewise.
42085         * dlfcn/Makefile: Likewise.
42086         * gmon/Makefile: Likewise.
42087         * gnulib/Makefile: Likewise.
42088         * grp/Makefile: Likewise.
42089         * gshadow/Makefile: Likewise.
42090         * hesiod/Makefile: Likewise.
42091         * hurd/Makefile: Likewise.
42092         (all): Remove target.
42093         * iconvdata/Makefile: Include Makeconfig immediately after
42094         defining subdir.
42095         * inet/Makefile: Likewise.
42096         * intl/Makefile: Likewise.
42097         * io/Makefile: Likewise.
42098         * libio/Makefile: Likewise.
42099         (all): Remove target.
42100         * locale/Makefile: Include Makeconfig immediately after defining
42101         subdir.
42102         * login/Makefile: Likewise.
42103         * mach/Makefile: Likewise.
42104         (all): Remove target.
42105         * malloc/Makefile: Include Makeconfig immediately after defining
42106         subdir.
42107         (all): Remove target.
42108         * manual/Makefile: Include Makeconfig immediately after defining
42109         subdir.
42110         * math/Makefile: Likewise.
42111         * misc/Makefile: Likewise.
42112         * nis/Makefile: Likewise.
42113         * nss/Makefile: Likewise.
42114         * po/Makefile: Likewise.
42115         (all): Remove target.
42116         * posix/Makefile: Include Makeconfig immediately after defining
42117         subdir.
42118         * pwd/Makefile: Likewise.
42119         * resolv/Makefile: Likewise.
42120         * resource/Makefile: Likewise.
42121         * rt/Makefile: Likewise.
42122         * setjmp/Makefile: Likewise.
42123         * shadow/Makefile: Likewise.
42124         * signal/Makefile: Likewise.
42125         * socket/Makefile: Likewise.
42126         * soft-fp/Makefile: Likewise.
42127         * stdio-common/Makefile: Likewise.
42128         * stdlib/Makefile: Likewise.
42129         * streams/Makefile: Likewise.
42130         * string/Makefile: Likewise.
42131         * sunrpc/Makefile: Likewise.
42132         (all): Remove target.
42133         * sysvipc/Makefile: Include Makeconfig immediately after defining
42134         subdir.
42135         * termios/Makefile: Likewise.
42136         * time/Makefile: Likewise.
42137         * timezone/Makefile: Likewise.
42138         (all): Remove target.
42139         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42140         subdir.
42141         * wctype/Makefile: Likewise.
42143 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42145         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42146         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42147         (libc_feholdexcept_setround_mips): Ditto.
42148         (libc_feholdsetround): New.
42149         (libc_feholdsetroundf): New.
42150         (libc_feholdsetroundl): New.
42151         (libc_feupdateenv_test_mips): New.
42152         (libc_feupdateenv_test): New.
42153         (libc_feupdateenv_testf): New.
42154         (libc_feupdateenv_testl): New.
42155         (libc_feresetround): New.
42156         (libc_feresetroundf): New.
42157         (libc_feresetroundl): New.
42158         (libc_fetestexcept_mips): New.
42159         (libc_fetestexcept): New.
42160         (libc_fetestexceptf): New.
42161         (libc_fetestexceptl): New.
42162         (HAVE_RM_CTX): New.
42163         (libc_feholdexcept_setround_mips_ctx): New.
42164         (libc_feholdexcept_setround_ctx): New.
42165         (libc_feholdexcept_setroundf_ctx): New.
42166         (libc_feholdexcept_setroundl_ctx): New.
42167         (libc_fesetenv_mips_ctx): New.
42168         (libc_fesetenv_ctx): New.
42169         (libc_fesetenv_ctxf): New.
42170         (libc_fesetenv_ctxl): New.
42171         (libc_feupdateenv_mips_ctx): New.
42172         (libc_feupdateenv_ctx): New.
42173         (libc_feupdateenvf_ctx): New.
42174         (libc_feupdateenvl_ctx): New.
42175         (libc_feholdsetround_mips_ctx): New.
42176         (libc_feholdsetround_ctx): New.
42177         (libc_feholdsetroundf_ctx): New.
42178         (libc_feholdsetroundl_ctx): New.
42179         (libc_feresetround_mips_ctx): New.
42180         (libc_feresetround_ctx): New.
42181         (libc_feresetroundf_ctx): New.
42182         (libc_feresetroundl_ctx): New.
42184 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42186         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42188         * manual/ipc.texi: New file.
42189         * manual/Makefile (chapters): Add ipc.
42190         * manual/job.texi: Add "Inter-Process Communication" to next.
42191         * manual/process.texi: Add "Inter-Process Communication" to prev.
42193 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42197 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42199         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42201         * manual/arith.texi: Fix spaces after sentences.
42202         * manual/charset.texi: Likewise.
42203         * manual/errno.texi: Likewise.
42204         * manual/install.texi: Likewise.
42205         * manual/llio.texi: Likewise.
42206         * manual/locale.texi: Likewise.
42207         * manual/maint.texi: Likewise.
42208         * manual/math.texi: Likewise.
42209         * manual/memory.texi: Likewise.
42210         * manual/message.texi: Likewise.
42211         * manual/probes.texi: Likewise.
42212         * manual/resource.texi: Likewise.
42213         * manual/signal.texi: Likewise.
42214         * manual/socket.texi: Likewise.
42215         * manual/stdio.texi: Likewise.
42216         * manual/string.texi: Likewise.
42217         * manual/time.texi: Likewise.
42218         * manual/users.texi: Likewise.
42220 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42222         [BZ #16632]
42223         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42224         _DEFAULT_SOURCE is defined.
42226 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42227             Carlos O'Donell  <carlos@redhat.com>
42229         [BZ #16613]
42230         * elf/dl-tls.c (_dl_count_modids): New function.
42231         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42232         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42233         audit library and increment generation counter.
42234         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42235         * elf/tst-audit9.c: New file.
42236         * elf/tst-auditmod9a.c: New file.
42237         * elf/tst-auditmod9b.c: New file.
42238         * elf/Makefile: Add rules to build and run tst-audit9.
42240 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42242         [BZ #15347]
42243         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42245 2014-02-25  Will Newton  <will.newton@linaro.org>
42247         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42248         (__longjmp): Restore sp and lr before restoring callee
42249         saved registers.  Add longjmp and longjmp_target
42250         SystemTap probe point.
42251         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42252         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42253         Define to zero to match jmpbuf layout.
42254         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42255         (__sigsetjmp): Save sp and lr before saving callee
42256         saved registers.  Add setjmp SystemTap probe point.
42258 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42260         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42262 2014-02-24  Andreas Schwab  <schwab@suse.de>
42264         [BZ #15804]
42265         * elf/pldd.c (wait_for_ptrace_stop): New function.
42266         (main): Call it after attaching.
42268 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42270         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42271         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42272         Versions files is now verboten.
42273         * hurd/Versions (libc: GLIBC_2.0):
42274         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42275         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42276         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42277         * mach/Versions: Likewise.
42279         * csu/Versions: Remove unused %include.
42280         * resolv/Versions: Likewise.
42282 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42284         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42285         ($(objpfx)check-local-headers.out): Likewise.
42286         ($(objpfx)begin-end-check.out): Likewise.
42287         * Makerules (check-abi-%.out): Likewise.
42288         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42289         ($(objpfx)test2.cat): Likewise.
42290         ($(objpfx)de/libc.cat): Likewise.
42291         ($(objpfx)test-gencat.out): Likewise.
42292         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42293         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42294         ($(objpfx)noload-mem): Likewise.
42295         ($(objpfx)tst-pathopt.out): Likewise.
42296         ($(objpfx)tst-rtld-load-self.out): Likewise.
42297         ($(objpfx)tst-array1-cmp.out): Likewise.
42298         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42299         ($(objpfx)tst-array2-cmp.out): Likewise.
42300         ($(objpfx)tst-array3-cmp.out): Likewise.
42301         ($(objpfx)tst-array4-cmp.out): Likewise.
42302         ($(objpfx)tst-array5-cmp.out): Likewise.
42303         ($(objpfx)tst-array5-static-cmp.out): Likewise.
42304         ($(objpfx)check-textrel.out): Likewise.
42305         ($(objpfx)check-execstack.out): Likewise.
42306         ($(objpfx)check-localplt.out): Likewise.
42307         ($(objpfx)order2-cmp.out): Likewise.
42308         ($(objpfx)tst-leaks1-mem): Likewise.
42309         ($(objpfx)tst-leaks1-static-mem): Likewise.
42310         ($(objpfx)tst-initorder-cmp.out): Likewise.
42311         ($(objpfx)tst-initorder2-cmp.out): Likewise.
42312         ($(objpfx)tst-unused-dep.out): Likewise.
42313         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42314         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42315         * iconv/Makefile (test-iconvconfig): Likewise.
42316         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42317         ($(objpfx)iconv-test.out): Likewise.
42318         ($(objpfx)tst-tables.out): Likewise.
42319         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42320         ($(objpfx)tst-gettext.out): Likewise.
42321         ($(objpfx)tst-translit.out): Likewise.
42322         ($(objpfx)tst-gettext2.out): Likewise.
42323         ($(objpfx)tst-gettext4.out): Likewise.
42324         ($(objpfx)tst-gettext6.out): Likewise.
42325         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42326         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42327         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42328         ($(objpfx)tst-fopenloc-mem.out): Likewise.
42329         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42330         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42331         * posix/Makefile ($(objpfx)globtest.out): Likewise.
42332         ($(objpfx)wordexp-tst.out): Likewise.
42333         ($(objpfx)annexc.out): Likewise.
42334         ($(objpfx)tst-fnmatch-mem): Likewise.
42335         ($(objpfx)bug-regex2-mem): Likewise.
42336         ($(objpfx)bug-regex14-mem): Likewise.
42337         ($(objpfx)bug-regex21-mem): Likewise.
42338         ($(objpfx)bug-regex31-mem): Likewise.
42339         ($(objpfx)tst-vfork3-mem): Likewise.
42340         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42341         ($(objpfx)tst-pcre-mem): Likewise.
42342         ($(objpfx)tst-boost-mem): Likewise.
42343         ($(objpfx)tst-getconf.out): Likewise.
42344         ($(objpfx)bug-ga2-mem): Likewise.
42345         ($(objpfx)bug-glob2-mem): Likewise.
42346         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42347         ($(objpfx)mtrace-tst-leaks2): Likewise.
42348         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42349         ($(objpfx)tst-printf.out): Likewise.
42350         ($(objpfx)tst-setvbuf1.out): Likewise.
42351         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42352         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42353         ($(objpfx)tst-fmtmsg.out): Likewise.
42354         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42355         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42357         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42358         * bits/sigaction.h [__USE_MISC]: Likewise.
42359         * bits/waitstatus.h: Update #endif comments.
42360         * ctype/ctype.h: Likewise.
42361         * dirent/dirent.h: Likewise.
42362         [__USE_MISC]: Remove redundant conditionals.
42363         * grp/grp.h: Update #endif comments.
42364         [__USE_GNU]: Remove redundant conditionals.
42365         [__USE_MISC]: Likewise.
42366         * inet/netinet/in.h [__USE_GNU]: Likewise.
42367         * io/sys/stat.h [__USE_MISC]: Likewise.
42368         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42369         * libio/bits/stdio.h: Update #endif comments.
42370         [__USE_MISC]: Remove redundant conditionals.
42371         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42372         * libio/stdio.h: Update #endif comments.
42373         [__USE_MISC]: Remove redundant conditionals.
42374         * math/bits/math-finite.h [__USE_MISC]: Likewise.
42375         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42376         * math/math.h: Update #else and #endif comments.
42377         [__USE_MISC]: Remove redundant conditionals.
42378         * misc/sys/uio.h: Update #endif comments.
42379         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42380         * posix/glob.h [__USE_MISC]: Likewise.
42381         * posix/sys/types.h: Update #endif comments.
42382         [__USE_MISC]: Remove redundant conditionals.
42383         * posix/sys/wait.h: Update #endif comments.
42384         [__USE_MISC]: Remove redundant conditionals.
42385         * posix/unistd.h: Update #endif comments.
42386         [__USE_MISC]: Remove redundant conditionals.
42387         * pwd/pwd.h [__USE_GNU]: Likewise.
42388         [__USE_MISC]: Likewise.
42389         * resolv/netdb.h [__USE_GNU]: Likewise.
42390         * signal/signal.h: Update #endif comments.
42391         [__USE_MISC]: Remove redundant conditionals.
42392         * stdlib/stdlib.h: Update #else and #endif comments.
42393         [__USE_MISC]: Remove redundant conditionals.
42394         [__USE_GNU]: Likewise.
42395         * string/bits/string2.h [__USE_MISC]: Likewise.
42396         * string/string.h: Update #endif comments.
42397         [__USE_MISC]: Remove redundant conditionals.
42398         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42399         Likewise.
42400         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42401         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42402         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42403         Likewise.
42404         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42405         Likewise.
42406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42407         comments.
42408         [__USE_MISC]: Remove redundant conditionals.
42409         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42410         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42411         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42412         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42413         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42414         Likewise.
42415         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42416         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42417         Likewise.
42418         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42419         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42420         Likewise.
42421         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42422         Likewise.
42423         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42424         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42425         Likewise.
42426         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42427         Likewise.
42428         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42429         * sysdeps/x86/bits/string.h: Update #endif comments.
42430         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42431         conditionals.
42432         * time/sys/time.h: Update #endif comments.
42433         * time/time.h: Likewise.
42434         [__USE_MISC]: Remove redundant conditionals.
42436 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
42438         [BZ #16600]
42439         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42441 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42443         * Versions.def (librt): Add GLIBC_2.17.
42445 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42447         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42448         synonym for _SYS_AUXV_H to allow direct inclusion.
42449         * sysdeps/sparc/bits/hwcap.h: Likewise.
42450         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42451         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42452         * sysdeps/sparc/sysdep.h: Likewise.
42454 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42456         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42458 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42460         * benchtests/bench-strrchr.c: Print length instead of position.
42462 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42464         [BZ #16611]
42465         * sysdeps/unix/sysv/linux/kernel-features.h
42466         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42467         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42468         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42469         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42470         Likewise.
42471         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42472         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42473         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42474         (__ASSUME_SENDMMSG): Define instead of using previous
42475         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42476         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42477         (__ASSUME_SENDMMSG_SYSCALL): Define.
42478         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42479         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42480         Likewise.
42481         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42482         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42483         Likewise.
42484         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42485         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42486         Likewise.
42487         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42488         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42489         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42490         [__ASSUME_SENDMMSG]: Change conditionals to
42491         [__ASSUME_SENDMMSG_SOCKETCALL].
42492         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42493         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42494         Define.
42495         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42496         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42497         Likewise.
42498         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42499         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42500         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42501         [!__ASSUME_SENDMMSG]: Change conditional to
42502         [!__ASSUME_SENDMMSG_SOCKETCALL].
42503         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42504         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42505         Define.
42507         [BZ #16610]
42508         * sysdeps/unix/sysv/linux/kernel-features.h
42509         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42510         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42511         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42512         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42513         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42514         [__i386__ || __sparc__]
42515         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42516         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42517         (__ASSUME_RECVMMSG): Define instead of using previous
42518         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42519         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42520         (__ASSUME_RECVMMSG_SYSCALL): Define.
42521         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42522         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42523         Likewise.
42524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42525         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42526         Likewise.
42527         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42529         Likewise.
42530         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42531         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42532         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42533         [__ASSUME_RECVMMSG]: Change condition to
42534         [__ASSUME_RECVMMSG_SOCKETCALL].
42535         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42536         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42537         Define.
42538         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42540         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42541         Likewise.
42542         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42543         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42544         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42545         [!__ASSUME_RECVMMSG]: Change condition to
42546         [!__ASSUME_RECVMMSG_SOCKETCALL].
42547         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42548         (__ASSUME_RECVMMSG_SYSCALL): Define.
42550         [BZ #16609]
42551         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42552         __powerpc__ || __s390__ || __sh__ || __sparc__]
42553         (__ASSUME_SOCKETCALL): Define.
42554         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42555         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42556         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42557         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42558         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42559         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42560         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42561         (__ASSUME_ACCEPT4): Define instead of using previous
42562         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42563         __powerpc__ || __sparc__ || __s390__)] condition.
42564         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42565         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42566         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42567         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42568         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42569         [!__ASSUME_ACCEPT4]: Change condition to
42570         [!__ASSUME_ACCEPT4_SOCKETCALL].
42571         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42572         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42573         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42574         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42575         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42576         __ASSUME_ACCEPT4_SYSCALL.
42577         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42578         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42579         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42580         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42581         __ASSUME_ACCEPT4_SYSCALL.
42582         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42583         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42584         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42585         [__ASSUME_ACCEPT4]: Change condition to
42586         [__ASSUME_ACCEPT4_SOCKETCALL].
42587         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42588         (__ASSUME_SOCKETCALL): Define.
42589         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42590         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42591         (__ASSUME_SOCKETCALL): Define.
42592         (__ASSUME_ACCEPT4): Remove.
42593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42594         Define.
42595         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42596         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42597         Likewise.
42598         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42599         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42601         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42602         macro.
42603         (HWCAP_ARM_LPAE): Likewise.
42604         (HWCAP_ARM_EVTSTRM): Likewise.
42605         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42606         Add vpfd32, lpae and evtstrm.
42607         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42608         Increase to 22.
42610 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42612         * math/auto-libm-test-in: Add tests of clog10.
42613         * math/auto-libm-test-out: Regenerated.
42614         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42615         * sysdeps/i386/fpu/libm-test-ulps: Update.
42616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42618 2014-02-18  Andreas Schwab  <schwab@suse.de>
42620         [BZ #16574]
42621         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42622         Store non-zero if the second buffer was newly allocated.
42623         (send_dg): Likewise.
42624         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42625         to send_vc and send_dg.
42626         (res_nsend): Pass NULL for ansp2_malloced.
42627         * resolv/res_query.c (__libc_res_nquery): Add parameter
42628         answerp2_malloced and pass it down to __libc_res_nsend.
42629         (res_nquery): Pass additional NULL to __libc_res_nquery.
42630         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42631         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42632         second answer buffer if answerp2_malloced was set.
42633         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42634         (__libc_res_nquerydomain): Add parameter
42635         answerp2_malloced and pass it down to __libc_res_nquery.
42636         (res_nquerydomain): Pass additional NULL to
42637         __libc_res_nquerydomain.
42638         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42639         additional NULL to __libc_res_nsend and __libc_res_nquery.
42640         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42641         additional NULL to __libc_res_nsearch.
42642         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42643         parameter of __libc_res_nsearch to check for separately allocated
42644         second buffer.
42645         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42646         __libc_res_nquery.
42647         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42648         additional NULL to __libc_res_nquery.
42649         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42650         __libc_res_nsearch.
42651         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42652         * include/resolv.h: Update prototypes of __libc_res_nquery,
42653         __libc_res_nsearch, __libc_res_nsend.
42655 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42657         * math/auto-libm-test-in: Add tests of fma.
42658         * math/auto-libm-test-out: Regenerated.
42659         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42660         (fma_towardzero_test_data): Likewise.
42661         (fma_downward_test_data): Likewise.
42662         (fma_upward_test_data): Likewise.
42663         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42664         mpc_mode.
42665         (rounding_modes): Add values for new field.
42666         (func_calc_method): Add value mpfr_fff_f.
42667         (func_calc_desc): Add mpfr_fff_f union field.
42668         (test_function): Add field exact_args.
42669         (FUNC): Add macro argument EXACT_ARGS.
42670         (FUNC_mpfr_f_f): Update call to FUNC.
42671         (FUNC_mpfr_f_f): Likewise.
42672         (FUNC_mpfr_ff_f): Likewise.
42673         (FUNC_mpfr_if_f): Likewise.
42674         (FUNC_mpc_c_f): Likewise.
42675         (FUNC_mpc_c_c): Likewise.
42676         (test_functions): Add fma.  Update calls to FUNC.
42677         (handle_input_arg): Add argument exact_args.
42678         (add_test): Update call to handle_input_arg.
42679         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42680         (output_for_one_input_case): Update call to calc_generic_results.
42681         Recalculate exact zero results in each rounding mode.
42683         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42684         non-negative before setting low bit.
42685         * math/auto-libm-test-in: Mark one asin test possibly having
42686         spurious underflow.
42687         * math/auto-libm-test-out: Regenerated.
42688         * sysdeps/i386/fpu/libm-test-ulps: Update.
42689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42691 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42693         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42694         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42695         ports/sysdeps/unix/sysv/linux/microblaze.
42696         * README: Add missing listing for microblaze*-*-linux-gnu.
42698 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42701         duplicate code
42703 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42705         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42706         * sysdeps/unix/sysv/linux/ia64: Move directory from
42707         ports/sysdeps/unix/sysv/linux/ia64.
42708         * README: Update listing for ia64-*-linux-gnu.
42710 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42711             Joseph Myers  <joseph@codesourcery.com>
42713         * Makeconfig (test-name): New variable.
42714         (evaluate-test): Likewise.
42715         * Makerules (do-test-clean): Remove .test-result files.
42716         (common-mostlyclean): Likewise.
42717         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42718         * scripts/evaluate-test.sh: New file.
42720 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42722         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42723         separate $(objpfx)tst-fopenloc-cmp.out and
42724         $(objpfx)tst-fopenloc-mem.out targets.
42725         (tests): Update dependencies.
42726         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42727         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42728         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42729         (tst-rxspencer-no-utf8-ARGS): New variable.
42730         (tst-rxspencer-no-utf8-ENV): Likewise.
42731         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42732         instead of $(objpfx)tst-rxspencer-mem.
42733         ($(objpfx)tst-rxspencer-mem): Change target to
42734         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42735         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42736         * posix/tst-rxspencer-no-utf8.c: New file.
42738         * elf/Makefile ($(objpfx)order.out): Remove rule.
42739         [$(run-built-tests) = yes] (tests): Depend on
42740         $(objpfx)order-cmp.out.
42741         ($(objpfx)order-cmp.out): New rule.
42742         [$(run-built-tests) = yes] (tests): Depend on
42743         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42744         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42745         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42746         $(objpfx)tst-array5-static-cmp.out.
42747         ($(objpfx)tst-array1.out): Remove rule.
42748         ($(objpfx)tst-array1-cmp.out): New rule.
42749         ($(objpfx)tst-array1-static.out): Remove rule.
42750         ($(objpfx)tst-array1-static-cmp.out): New rule.
42751         ($(objpfx)tst-array2.out): Remove rule.
42752         ($(objpfx)tst-array2-cmp.out): New rule.
42753         ($(objpfx)tst-array3.out): Remove rule.
42754         ($(objpfx)tst-array3-cmp.out): New rule.
42755         ($(objpfx)tst-array4.out): Remove rule.
42756         ($(objpfx)tst-array4-cmp.out): New rule.
42757         ($(objpfx)tst-array5.out): Remove rule.
42758         ($(objpfx)tst-array5-cmp.out): New rule.
42759         ($(objpfx)tst-array5-static.out): Remove rule.
42760         ($(objpfx)tst-array5-static-cmp.out): New rule.
42761         [$(run-built-tests) = yes] (tests): Depend on
42762         $(objpfx)order2-cmp.out.
42763         ($(objpfx)order2.out): Remove rule.
42764         ($(objpfx)order2-cmp.out): New rule.
42765         ($(objpfx)tst-initorder.out): Remove rule.
42766         [$(run-built-tests) = yes] (tests): Depend on
42767         $(objpfx)tst-initorder-cmp.out.
42768         ($(objpfx)tst-initorder-cmp.out): New rule.
42769         ($(objpfx)tst-initorder2.out): Remove rule.
42770         [$(run-built-tests) = yes] (tests): Depend on
42771         $(objpfx)tst-initorder2-cmp.out.
42772         ($(objpfx)tst-initorder2-cmp.out): New rule.
42773         [$(run-built-tests) = yes] (tests): Depend on
42774         $(objpfx)tst-unused-dep-cmp.out.
42775         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42776         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42777         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42778         on $(objpfx)tst-setvbuf1-cmp.out.
42779         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42780         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42781         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42782         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42783         ($(objpfx)tst-svc.out): Remove rule.
42784         ($(objpfx)tst-svc-cmp.out): New rule.
42786 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42788         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42789         * ctype/ctype.h [__USE_MISC]: Likewise.
42790         * dirent/dirent.h [__USE_MISC]: Likewise.
42791         * grp/grp.h [__USE_MISC]: Likewise.
42792         * io/fcntl.h [__USE_MISC]: Likewise.
42793         * io/sys/stat.h [__USE_MISC]: Likewise.
42794         * libio/stdio.h [__USE_MISC]: Likewise.
42795         * posix/unistd.h [__USE_MISC]: Likewise.
42796         * pwd/pwd.h [__USE_MISC]: Likewise.
42797         * stdlib.h [__USE_MISC]: Likewise.
42798         * string/bits/string2.h [__USE_MISC]: Likewise.
42799         * string/string.h [__USE_MISC]: Likewise.
42800         * time/time.h [__USE_MISC]: Likewise.
42802 2014-02-13  Andreas Schwab  <schwab@suse.de>
42804         [BZ #16574]
42805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42806         second answer buffer if it was separately allocated.
42808 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42810         * sysdeps/mips/math-tests.h: Include <features.h>.
42811         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42812         (ROUNDING_TESTS_long_double): Do not define.
42813         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42814         (EXCEPTION_TESTS_long_double): Likewise.
42815         * sysdeps/mips/mips64/libm-test-ulps: Update.
42817         * include/features.h (__USE_BSD): Remove macro definitions.
42818         (__USE_SVID): Likewise.
42819         (_BSD_SOURCE): Likewise.
42820         (_SVID_SOURCE): Likewise.
42821         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42822         from definition of _DEFAULT_SOURCE.
42823         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42824         [_DEFAULT_SOURCE].
42825         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42826         * bits/mman.h [__USE_BSD]: Likewise.
42827         * bits/termios.h [__USE_BSD]: Likewise.
42828         * bits/waitstatus.h [__USE_BSD]: Likewise.
42829         * ctype/ctype.h [__USE_SVID]: Likewise.
42830         * dirent/dirent.h [__USE_BSD]: Likewise.
42831         * grp/grp.h [__USE_SVID]: Likewise.
42832         [__USE_BSD]: Likewise.
42833         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42834         * io/fcntl.h [__USE_BSD]: Likewise.
42835         * io/ftw.h [__USE_BSD]: Likewise.
42836         * io/sys/stat.h [__USE_BSD]: Likewise.
42837         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42838         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42839         * libio/stdio.h [__USE_SVID]: Likewise.
42840         [__USE_BSD]: Likewise.
42841         * math/math.h [__USE_SVID]: Likewise.
42842         [__USE_BSD]: Likewise.
42843         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42844         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42845         * misc/search.h [__USE_SVID]: Likewise.
42846         * misc/sys/mman.h [__USE_BSD]: Likewise.
42847         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42848         * misc/sys/uio.h [__USE_BSD]: Likewise.
42849         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42850         * posix/glob.h [__USE_BSD]: Likewise.
42851         * posix/regex.h [__USE_BSD]: Likewise.
42852         * posix/sys/types.h [__USE_BSD]: Likewise.
42853         [__USE_SVID]: Likewise.
42854         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42855         * posix/sys/wait.h [__USE_BSD]: Likewise.
42856         [__USE_SVID]: Likewise.
42857         * posix/unistd.h [__USE_BSD]: Likewise.
42858         [__USE_SVID]: Likewise.
42859         * pwd/pwd.h [__USE_SVID]: Likewise.
42860         * resolv/netdb.h [__USE_BSD]: Likewise.
42861         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42862         * signal/signal.h [__USE_BSD]: Likewise.
42863         [__USE_SVID]: Likewise.
42864         * socket/sys/socket.h [__USE_BSD]: Likewise.
42865         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42866         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42867         [__USE_SVID]: Likewise.
42868         * string/bits/string2.h [__USE_BSD]: Likewise.
42869         [__USE_SVID]: Likewise.
42870         * string/bits/string3.h [__USE_BSD]: Likewise.
42871         * string/endian.h [__USE_BSD]: Likewise.
42872         * string/string.h [__USE_SVID]: Likewise.
42873         [__USE_BSD]: Likewise.
42874         * string/strings.h [__USE_BSD]: Likewise.
42875         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42876         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42877         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42878         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42879         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42880         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42881         Likewise.
42882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42883         Likewise.
42884         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42885         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42886         Likewise.
42887         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42888         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42889         Likewise.
42890         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42891         Likewise.
42892         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42893         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42894         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42895         Likewise.
42896         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42897         Likewise.
42898         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42899         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42900         * termios/termios.h [__USE_BSD]: Likewise.
42901         * time/sys/time.h [__USE_BSD]: Likewise.
42902         * time/time.h [__USE_BSD]: Likewise.
42903         [__USE_SVID]: Likewise.
42905         * Makefile (subdir_targets): Remove subdir_lint.out.
42907         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42908         (do-tst-printf): Likewise.
42909         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42910         $(objpfx)tst-printf.out.
42912         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42914         * Makerules (check-abi-%): Change target to
42915         $(objpfx)check-abi-%.out.
42916         (check-abi target): Update dependencies.
42917         (check-abi-pattern variable): Redirect output of diff to $@.
42918         (check-abi variable): Likewise.
42919         * elf/Makefile (check-abi): Update dependencies.
42921         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42922         unused.
42923         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42924         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42925         subnormal range.
42926         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42927         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42928         value has largest subnormal exponent.
42929         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42930         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42931         * sysdeps/aarch64/soft-fp/sfp-machine.h
42932         (_FP_TININESS_AFTER_ROUNDING): New macro.
42933         * sysdeps/alpha/soft-fp/sfp-machine.h
42934         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42935         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42936         Likewise.
42937         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42938         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42939         * sysdeps/mips/soft-fp/sfp-machine.h
42940         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42941         * sysdeps/powerpc/soft-fp/sfp-machine.h
42942         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42943         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42944         Likewise.
42945         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42946         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42947         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42948         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42949         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42950         Likewise.
42952 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42954         [BZ #16545]
42955         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42956         model 1.
42958 2014-02-12  Richard Henderson  <rth@redhat.com>
42960         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42961         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42962         * sysdeps/unix/sysv/linux/alpha: Move directory from
42963         ports/sysdeps/unix/sysv/linux/alpha.
42964         * README: Update listing for alpha-*-linux-gnu.
42966 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42968         * include/features.h: Update comment documenting feature test
42969         macros.
42970         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42971         _DEFAULT_SOURCE.
42972         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42973         (_SVID_SOURCE): Likewise.
42974         (_DEFAULT_SOURCE): Update description of default features.
42975         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42976         with _GNU_SOURCE.
42977         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42978         (S_ISVTX): Likewise.
42979         * manual/math.texi (Mathematical Constants): Likewise.
42980         * manual/signal.texi (Interrupted Primitives): Likewise.
42981         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42982         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42983         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42984         Don't refer to _SVID_SOURCE in warning text.
42986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42988         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42989         already defined.
42990         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42991         * sysdeps/mips/dl-lookup.c: Remove.
42992         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42994 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42996         [BZ #16447]
42997         * math/auto-libm-test-in: Add testcase for expl.
42998         * math/auto-libm-test-out: Regenerate.
42999         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43000         calculation of unsafe.
43001         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43003 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43005         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43006         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43007         ports/sysdeps/unix/sysv/linux/aarch64.
43008         * README: Update listing for aarch64*-*-linux-gnu.
43010 2014-02-11  Will Newton  <will.newton@linaro.org>
43012         * manual/probes.texi (Mathematical Function Probes): Use
43013         "triggered" instead of "hit".
43015         * manual/probes.texi (Internal Probes): Add documentation
43016         of setjmp, longjmp and longjmp_target probes.
43018         * include/stap-probe.h: Add comment about probe argument
43019         format.
43021         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43022         definition.  (tr_where, tr_freehook, tr_mallochook,
43023         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43025 2014-02-11  David S. Miller  <davem@davemloft.net>
43027         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43028         processing int_tests.
43030 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43032         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43033         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43034         * sysdeps/unix/sysv/linux/mips: Move directory from
43035         ports/sysdeps/unix/sysv/linux/mips.
43036         * README: Update listing for mips-*-linux-gnu and
43037         mips64-*-linux-gnu.
43039 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43041         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43042         * sysdeps/unix/sysv/linux/m68k: Move directory from
43043         ports/sysdeps/unix/sysv/linux/m68k.
43044         * README: Update listing for m68k-*-linux-gnu.
43046 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43048         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43049         * sysdeps/unix/sysv/linux/generic: Move directory from
43050         ports/sysdeps/unix/sysv/linux/generic.
43051         * sysdeps/unix/sysv/linux/tile: Move directory from
43052         ports/sysdeps/unix/sysv/linux/tile.
43053         * README: Update listing for tile*-*-linux-gnu.
43055 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43057         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43058         __builtin_expect.
43059         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43060         * catgets/open_catalog.c (__open_catalog): Likewise.
43061         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43062         * debug/confstr_chk.c: Likewise.
43063         * debug/fread_chk.c (__fread_chk): Likewise.
43064         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43065         * debug/getgroups_chk.c: Likewise.
43066         * debug/mbsnrtowcs_chk.c: Likewise.
43067         * debug/mbsrtowcs_chk.c: Likewise.
43068         * debug/mbstowcs_chk.c: Likewise.
43069         * debug/memcpy_chk.c: Likewise.
43070         * debug/memmove_chk.c: Likewise.
43071         * debug/mempcpy_chk.c: Likewise.
43072         * debug/memset_chk.c: Likewise.
43073         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43074         * debug/strcat_chk.c (__strcat_chk): Likewise.
43075         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43076         * debug/strncat_chk.c (__strncat_chk): Likewise.
43077         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43078         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43079         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43080         * debug/wcpncpy_chk.c: Likewise.
43081         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43082         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43083         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43084         * debug/wcsncpy_chk.c: Likewise.
43085         * debug/wcsnrtombs_chk.c: Likewise.
43086         * debug/wcsrtombs_chk.c: Likewise.
43087         * debug/wcstombs_chk.c: Likewise.
43088         * debug/wmemcpy_chk.c: Likewise.
43089         * debug/wmemmove_chk.c: Likewise.
43090         * debug/wmempcpy_chk.c: Likewise.
43091         * debug/wmemset_chk.c: Likewise.
43092         * dirent/scandirat.c (SCANDIRAT): Likewise.
43093         * dlfcn/dladdr1.c (dladdr1): Likewise.
43094         * dlfcn/dladdr.c (dladdr): Likewise.
43095         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43096         * dlfcn/dlerror.c (__dlerror): Likewise.
43097         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43098         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43099         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43100         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43101         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43102         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43103         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43104         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43105         Likewise.
43106         * elf/dl-conflict.c: Likewise.
43107         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43108         * elf/dl-dst.h: Likewise.
43109         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43110         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43111         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43112         * elf/dl-init.c (call_init, _dl_init): Likewise.
43113         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43114         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43115         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43116         Likewise.
43117         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43118         Likewise.
43119         * elf/dl-minimal.c (__libc_memalign): Likewise.
43120         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43121         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43122         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43123         * elf/dl-sym.c (do_sym): Likewise.
43124         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43125         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43126         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43127         * elf/dl-writev.h (_dl_writev): Likewise.
43128         * elf/ldconfig.c (search_dir): Likewise.
43129         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43130         (dl_main): Likewise.
43131         * elf/setup-vdso.h (setup_vdso): Likewise.
43132         * grp/compat-initgroups.c (compat_call): Likewise.
43133         * grp/fgetgrent.c (fgetgrent): Likewise.
43134         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43135         * grp/putgrent.c (putgrent): Likewise.
43136         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43137         Likewise.
43138         * hurd/hurdinit.c: Likewise.
43139         * iconvdata/8bit-gap.c (struct): Likewise.
43140         * iconvdata/ansi_x3.110.c : Likewise.
43141         * iconvdata/big5.c : Likewise.
43142         * iconvdata/big5hkscs.c : Likewise.
43143         * iconvdata/cp1255.c: Likewise.
43144         * iconvdata/cp1258.c : Likewise.
43145         * iconvdata/cp932.c : Likewise.
43146         * iconvdata/euc-cn.c: Likewise.
43147         * iconvdata/euc-jisx0213.c : Likewise.
43148         * iconvdata/euc-jp.c: Likewise.
43149         * iconvdata/euc-jp-ms.c : Likewise.
43150         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43151         * iconvdata/gb18030.c : Likewise.
43152         * iconvdata/gbbig5.c (const): Likewise.
43153         * iconvdata/gbgbk.c: Likewise.
43154         * iconvdata/gbk.c : Likewise.
43155         * iconvdata/ibm1364.c : Likewise.
43156         * iconvdata/ibm930.c : Likewise.
43157         * iconvdata/ibm932.c: Likewise.
43158         * iconvdata/ibm933.c : Likewise.
43159         * iconvdata/ibm935.c : Likewise.
43160         * iconvdata/ibm937.c : Likewise.
43161         * iconvdata/ibm939.c : Likewise.
43162         * iconvdata/ibm943.c: Likewise.
43163         * iconvdata/iso_11548-1.c: Likewise.
43164         * iconvdata/iso-2022-cn.c : Likewise.
43165         * iconvdata/iso-2022-cn-ext.c : Likewise.
43166         * iconvdata/iso-2022-jp-3.c: Likewise.
43167         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43168         * iconvdata/iso-2022-kr.c : Likewise.
43169         * iconvdata/iso646.c (gconv_end): Likewise.
43170         * iconvdata/iso_6937-2.c : Likewise.
43171         * iconvdata/iso_6937.c : Likewise.
43172         * iconvdata/iso8859-1.c: Likewise.
43173         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43174         * iconvdata/shift_jisx0213.c : Likewise.
43175         * iconvdata/sjis.c : Likewise.
43176         * iconvdata/t.61.c : Likewise.
43177         * iconvdata/tcvn5712-1.c : Likewise.
43178         * iconvdata/tscii.c: Likewise.
43179         * iconvdata/uhc.c : Likewise.
43180         * iconvdata/unicode.c (gconv_end): Likewise.
43181         * iconvdata/utf-16.c (gconv_end): Likewise.
43182         * iconvdata/utf-32.c (gconv_end): Likewise.
43183         * iconvdata/utf-7.c (base64): Likewise.
43184         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43185         * iconv/gconv_close.c (__gconv_close): Likewise.
43186         * iconv/gconv_open.c (__gconv_open): Likewise.
43187         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43188         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43189         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43190         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43191         (ucs4le_internal_loop_single): Likewise.
43192         * iconv/iconv.c (iconv): Likewise.
43193         * iconv/iconv_close.c: Likewise.
43194         * iconv/loop.c (SINGLE): Likewise.
43195         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43196         * include/atomic.h: Likewise.
43197         * inet/inet6_option.c (option_alloc): Likewise.
43198         * intl/bindtextdom.c (set_binding_values): Likewise.
43199         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43200         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43201         * intl/localealias.c (read_alias_file): Likewise.
43202         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43203         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43204         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43205         * libio/fmemopen.c (fmemopen): Likewise.
43206         * libio/iofgets.c (_IO_fgets): Likewise.
43207         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43208         * libio/iofgetws.c (fgetws): Likewise.
43209         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43210         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43211         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43212         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43213         * locale/findlocale.c (_nl_find_locale): Likewise.
43214         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43215         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43216         Likewise.
43217         * locale/setlocale.c (setlocale): Likewise.
43218         * login/programs/pt_chown.c (main): Likewise.
43219         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43220         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43221         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43222         (mmap, mmap64, mremap, munmap): Likewise.
43223         * math/e_exp2l.c: Likewise.
43224         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43225         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43226         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43227         * math/s_catan.c (__catan): Likewise.
43228         * math/s_catanf.c (__catanf): Likewise.
43229         * math/s_catanh.c (__catanh): Likewise.
43230         * math/s_catanhf.c (__catanhf): Likewise.
43231         * math/s_catanhl.c (__catanhl): Likewise.
43232         * math/s_catanl.c (__catanl): Likewise.
43233         * math/s_ccosh.c (__ccosh): Likewise.
43234         * math/s_ccoshf.c (__ccoshf): Likewise.
43235         * math/s_ccoshl.c (__ccoshl): Likewise.
43236         * math/s_cexp.c (__cexp): Likewise.
43237         * math/s_cexpf.c (__cexpf): Likewise.
43238         * math/s_cexpl.c (__cexpl): Likewise.
43239         * math/s_clog10.c (__clog10): Likewise.
43240         * math/s_clog10f.c (__clog10f): Likewise.
43241         * math/s_clog10l.c (__clog10l): Likewise.
43242         * math/s_clog.c (__clog): Likewise.
43243         * math/s_clogf.c (__clogf): Likewise.
43244         * math/s_clogl.c (__clogl): Likewise.
43245         * math/s_csin.c (__csin): Likewise.
43246         * math/s_csinf.c (__csinf): Likewise.
43247         * math/s_csinh.c (__csinh): Likewise.
43248         * math/s_csinhf.c (__csinhf): Likewise.
43249         * math/s_csinhl.c (__csinhl): Likewise.
43250         * math/s_csinl.c (__csinl): Likewise.
43251         * math/s_csqrt.c (__csqrt): Likewise.
43252         * math/s_csqrtf.c (__csqrtf): Likewise.
43253         * math/s_csqrtl.c (__csqrtl): Likewise.
43254         * math/s_ctan.c (__ctan): Likewise.
43255         * math/s_ctanf.c (__ctanf): Likewise.
43256         * math/s_ctanh.c (__ctanh): Likewise.
43257         * math/s_ctanhf.c (__ctanhf): Likewise.
43258         * math/s_ctanhl.c (__ctanhl): Likewise.
43259         * math/s_ctanl.c (__ctanl): Likewise.
43260         * math/w_pow.c: Likewise.
43261         * math/w_powf.c: Likewise.
43262         * math/w_powl.c: Likewise.
43263         * math/w_scalb.c (sysv_scalb): Likewise.
43264         * math/w_scalbf.c (sysv_scalbf): Likewise.
43265         * math/w_scalbl.c (sysv_scalbl): Likewise.
43266         * misc/error.c (error_tail): Likewise.
43267         * misc/pselect.c (__pselect): Likewise.
43268         * nis/nis_callback.c (__nis_create_callback): Likewise.
43269         * nis/nis_call.c (__nisfind_server): Likewise.
43270         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43271         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43272         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43273         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43274         * nis/nis_lookup.c (nis_lookup): Likewise.
43275         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43276         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43277         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43278         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43279         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43280         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43281         * nis/nss_compat/compat-initgroups.c (add_group)
43282         (internal_getgrent_r): Likewise.
43283         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43284         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43285         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43286         (internal_getspnam_r): Likewise.
43287         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43288         (_nss_nis_getaliasbyname_r): Likewise.
43289         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43290         (_nss_nis_getntohost_r): Likewise.
43291         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43292         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43293         (_nss_nis_getgrgid_r): Likewise.
43294         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43295         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43296         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43297         (_nss_nis_gethostbyname4_r): Likewise.
43298         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43299         (initgroups_netid): Likewise.
43300         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43301         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43302         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43303         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43304         (_nss_nis_getprotobynumber_r): Likewise.
43305         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43306         (_nss_nis_getsecretkey): Likewise.
43307         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43308         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43309         (_nss_nis_getpwuid_r): Likewise.
43310         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43311         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43312         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43313         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43314         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43315         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43316         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43317         Likewise.
43318         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43319         (_nss_nisplus_getntohost_r): Likewise.
43320         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43321         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43322         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43323         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43324         Likewise.
43325         * nis/nss_nisplus/nisplus-initgroups.c
43326         (_nss_nisplus_initgroups_dyn): Likewise.
43327         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43328         (_nss_nisplus_getnetbyaddr_r): Likewise.
43329         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43330         (_nss_nisplus_getprotobynumber_r): Likewise.
43331         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43332         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43333         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43334         Likewise.
43335         * nis/nss_nisplus/nisplus-service.c
43336         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43337         (_nss_nisplus_getservbyport_r): Likewise.
43338         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43339         (_nss_nisplus_getspnam_r): Likewise.
43340         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43341         Likewise.
43342         * nscd/aicache.c (addhstaiX): Likewise.
43343         * nscd/cache.c (cache_search, prune_cache): Likewise.
43344         * nscd/connections.c (register_traced_file, send_ro_fd)
43345         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43346         (main_loop_epoll): Likewise.
43347         * nscd/grpcache.c (addgrbyX): Likewise.
43348         * nscd/hstcache.c (addhstbyX): Likewise.
43349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43350         * nscd/mem.c (gc, mempool_alloc): Likewise.
43351         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43352         (addinnetgrX): Likewise.
43353         * nscd/nscd-client.h (__nscd_acquire_maplock)
43354         (__nscd_drop_map_ref): Likewise.
43355         * nscd/nscd_getai.c (__nscd_getai): Likewise.
43356         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43357         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43358         Likewise.
43359         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43360         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43361         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43362         (__nscd_get_map_ref): Likewise.
43363         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43364         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43365         Likewise.
43366         * nscd/pwdcache.c (addpwbyX): Likewise.
43367         * nscd/selinux.c (preserve_capabilities): Likewise.
43368         * nscd/servicescache.c (addservbyX): Likewise.
43369         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43370         * posix/fnmatch.c (fnmatch): Likewise.
43371         * posix/getopt.c (_getopt_internal_r): Likewise.
43372         * posix/glob.c (glob, glob_in_dir): Likewise.
43373         * posix/wordexp.c (exec_comm_child): Likewise.
43374         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43375         (getanswer_r, gaih_getanswer_slice): Likewise.
43376         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43377         * resolv/res_init.c: Likewise.
43378         * resolv/res_mkquery.c (res_nmkquery): Likewise.
43379         * resolv/res_query.c (__libc_res_nquery): Likewise.
43380         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43381         Likewise.
43382         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43383         * stdio-common/perror.c (perror): Likewise.
43384         * stdio-common/printf_fp.c (___printf_fp): Likewise.
43385         * stdio-common/tmpnam.c (tmpnam): Likewise.
43386         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43387         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43388         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43389         Likewise.
43390         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43391         * stdlib/putenv.c (putenv): Likewise.
43392         * stdlib/setenv.c (__add_to_environ): Likewise.
43393         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43394         * stdlib/strtol_l.c (INTERNAL): Likewise.
43395         * string/memmem.c (memmem): Likewise.
43396         * string/strerror.c (strerror): Likewise.
43397         * string/strnlen.c (__strnlen): Likewise.
43398         * string/test-memmem.c (simple_memmem): Likewise.
43399         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43400         * sunrpc/pm_getport.c (__get_socket): Likewise.
43401         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43402         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43403         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43404         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43405         Likewise.
43406         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43407         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43408         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43409         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43410         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43411         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43412         Likewise.
43413         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43414         Likewise.
43415         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43416         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43417         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43418         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43419         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43421         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43422         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43423         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43424         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43425         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43426         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43427         Likewise.
43428         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43429         Likewise.
43430         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43431         Likewise.
43432         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43435         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43436         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43437         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43438         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43439         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43440         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43441         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43442         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43443         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43444         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43445         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43447         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43448         Likewise.
43449         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43450         Likewise.
43451         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43452         Likewise.
43453         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43454         Likewise.
43455         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43457         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43458         Likewise.
43459         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43460         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43461         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43462         * sysdeps/posix/sleep.c: Likewise.
43463         * sysdeps/posix/tempname.c: Likewise.
43464         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43465         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43466         Likewise.
43467         * sysdeps/powerpc/powerpc32/dl-machine.h
43468         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43469         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43471         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43472         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43473         Likewise.
43474         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43475         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43476         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43477         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43478         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43479         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43480         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43481         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43482         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43483         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43485         (elf_machine_lazy_rel): Likewise.
43486         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43487         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43488         (elf_machine_lazy_rel): Likewise.
43489         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43490         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43491         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43492         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43493         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43494         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43495         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43497         Likewise.
43498         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43499         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43500         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43501         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43502         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43503         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43504         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43505         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43506         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43507         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43508         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43509         Likewise.
43510         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43511         (__posix_fallocate64_l64): Likewise.
43512         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43513         (posix_fallocate): Likewise.
43514         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43515         Likewise.
43516         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43517         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43518         (getifaddrs_internal): Likewise.
43519         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43520         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43521         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43522         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43523         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43524         (__posix_fallocate64_l64): Likewise.
43525         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43526         Likewise.
43527         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43528         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43529         (__get_clockfreq): Likewise.
43530         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43531         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43532         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43535         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43536         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43537         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43538         Likewise.
43539         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43540         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43541         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43542         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43543         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43544         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43545         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43546         Likewise.
43547         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43548         (posix_fallocate): Likewise.
43549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43550         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43551         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43552         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43553         (elf_machine_rela, elf_machine_rela_relative)
43554         (elf_machine_lazy_rel): Likewise.
43555         * time/asctime.c (asctime_internal): Likewise.
43556         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43557         * time/tzset.c (__tzset_parse_tz): Likewise.
43558         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43559         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43560         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43561         * wcsmbs/wcsmbsload.h: Likewise.
43563         [BZ #15894]
43564         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43566         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43567         (arena_get2): Remove THREAD_STATS conditionals.
43568         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43569         (__malloc_stats, int): Likewise.
43571 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43573         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43574         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43576         * manual/setjmp.texi: Fix typos/grammar errors.
43578         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43579         Only return early when n is <= 0.  Delete unused return statement.
43581         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43582         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43583         * debug/tst-longjmp_chk3.c: New file.
43585         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43586         (test_main): Replace code with set_fortify_handler call.
43587         * debug/test-strcpy_chk.c: Likewise.
43588         * debug/tst-chk1.c: Likewise.
43589         * debug/tst-longjmp_chk.c: Likewise.
43590         * test-skeleton.c: Include fcntl.h & paths.h
43591         (set_fortify_handler): Define.
43593         * debug/tst-longjmp_chk.c: Add header comment and include
43594         ../test-skeleton.c.
43595         (do_test): Mark static.
43596         (TEST_FUNCTION): Define.
43598         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43599         (IP_PMTUDISC_INTERFACE): Likewise.
43600         (IP_MULTICAST_IF): Likewise.
43601         (IP_MULTICAST_TTL): Likewise.
43602         (IP_MULTICAST_LOOP): Likewise.
43603         (IP_ADD_MEMBERSHIP): Likewise.
43604         (IP_DROP_MEMBERSHIP): Likewise.
43605         (IP_UNBLOCK_SOURCE): Likewise.
43606         (IP_BLOCK_SOURCE): Likewise.
43607         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43608         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43609         (IP_MSFILTER): Likewise.
43610         (MCAST_JOIN_GROUP): Likewise.
43611         (MCAST_BLOCK_SOURCE): Likewise.
43612         (MCAST_UNBLOCK_SOURCE): Likewise.
43613         (MCAST_LEAVE_GROUP): Likewise.
43614         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43615         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43616         (MCAST_MSFILTER): Likewise.
43617         (IP_MULTICAST_ALL): Likewise.
43618         (IP_UNICAST_IF): Likewise.
43620         * timezone/Makefile: Delete $(have-ksh) check.
43621         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43622         * timezone/tzselect.ksh: Add +x mode bits.
43624         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43625         (ANON_INODE_FS_MAGIC): Likewise.
43626         (BDEVFS_MAGIC): Likewise.
43627         (BINFMTFS_MAGIC): Likewise.
43628         (BTRFS_TEST_MAGIC): Likewise.
43629         (CRAMFS_MAGIC_WEND): Likewise.
43630         (DEBUGFS_MAGIC): Likewise.
43631         (ECRYPTFS_SUPER_MAGIC): Likewise.
43632         (EXT3_SUPER_MAGIC): Likewise.
43633         (EXT4_SUPER_MAGIC): Likewise.
43634         (FUTEXFS_SUPER_MAGIC): Likewise.
43635         (HOSTFS_SUPER_MAGIC): Likewise.
43636         (HUGETLBFS_MAGIC): Likewise.
43637         (MINIX3_SUPER_MAGIC): Likewise.
43638         (MTD_INODE_FS_MAGIC): Likewise.
43639         (NILFS_SUPER_MAGIC): Likewise.
43640         (OPENPROM_SUPER_MAGIC): Likewise.
43641         (PIPEFS_MAGIC): Likewise.
43642         (PSTOREFS_MAGIC): Likewise.
43643         (QNX6_SUPER_MAGIC): Likewise.
43644         (RAMFS_MAGIC): Likewise.
43645         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43646         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43647         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43648         (SECURITYFS_MAGIC): Likewise.
43649         (SELINUX_MAGIC): Likewise.
43650         (SMACK_MAGIC): Likewise.
43651         (SOCKFS_MAGIC): Likewise.
43652         (SQUASHFS_MAGIC): Likewise.
43653         (STACK_END_MAGIC): Likewise.
43654         (TMPFS_MAGIC): Likewise.
43655         (USBDEVICE_SUPER_MAGIC): Likewise.
43656         (V9FS_MAGIC): Likewise.
43657         (XENFS_SUPER_MAGIC): Likewise.
43658         (CRAMFS_MAGIC): Fix typo in comment.
43659         (EXT2_SUPER_MAGIC): Update comment.
43660         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43662 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43664         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43665         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43666         * sysdeps/unix/sysv/linux/arm: Move directory from
43667         ports/sysdeps/unix/sysv/linux/arm.
43668         * README: Update listing for arm-*-linux-gnueabi.
43670         * README: Remove mention of am33.
43672 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43674         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43675         than the comma operator, to avoid "rhs of comma has no effect"
43676         compiler warnings.
43677         (__sigfillset, __sigandset, __sigorset): Likewise.
43678         * include/signal.h (__sigemptyset): Likewise.
43679         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43681 2014-02-07  Allan McRae  <allan@archlinux.org>
43683         * version.h (RELEASE): Set to "development".
43684         (VERSION): Set to "2.19.90"
43685         * NEWS: Add 2.20 section.
43687 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43689         [BZ #16529]
43690         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43692 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43694         * manual/contrib.texi: Update entry for Carlos O'Donell,
43695         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43697 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43699         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43701         * sysdeps/unix/sysv/linux/kernel-features.h
43702         [__LINUX_KERNEL_VERSION >= 0x020621]
43703         (__ASSUME_PROC_PID_TASK_COMM): Define.
43705 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43707         [BZ #16398]
43708         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43709         conversion when destination buffer does not have enough space.
43710         * libio/tst-ftell-partial-wide.c: New test case.
43711         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43713         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43714         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43715         Leonard and Allan McRae.
43717 2014-02-04  David S. Miller  <davem@davemloft.net>
43719         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43720         32-bit.
43722 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43725         New file
43726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43727         New file
43728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43729         New file.
43730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43731         New file.
43732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43733         New file.
43734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43735         New file.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43737         New file.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43739         New file.
43740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43741         New file.
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43743         New file.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43745         New file.
43746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43747         New file.
43748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43749         New file.
43751 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43753         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43754         * shlib-versions: Likewise.
43756 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43757             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43759         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43760         (abilist-pattern): New variable, set to %-le.abilist.
43762         * Makerules (abilist-pattern): New variable.
43763         (vpath): Use $(abilist-pattern) in place of %.abilist.
43764         (check-abi-% pattern rule): Likewise.
43765         (check-abi, update-abi): Likewise.
43767 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43771 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43773         * manual/startup.texi: Add next, previous, and top entries for
43774         the `Program Arguments' and `Environment Variables' nodes.
43776 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43778         * manual/macros.texi: Add comments before MTASC-safety macros.
43780         * manual/users.texi: Document MTASC-safety properties.
43782         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43783         (pthread_getspecific, pthread_setspecific): Format with
43784         @deftypefun, and add @safety note.
43785         * manual/signal.texi: Move comments that analyze the above
43786         functions to their home place.
43788 2014-02-03  Allan McRae  <allan@archlinux.org>
43790         * po/sl.po: Update Slovenian translation from translation project.
43792 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43794         * manual/time.texi (timegm): Add missing blank after @c.
43795         Reported by Joseph Myers <joseph@codesourcery.com>.
43797 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43799         * manual/check-safety.sh: New.
43800         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43802         * manual/terminal.texi: Document MTASC-safety properties.
43804         * manual/filesys.texi: Document MTASC-safety properties.
43806         * manual/errno.texi: Document MTASC-safety properties.
43808         * manual/intro.texi: Document safety identifiers and
43809         conditionals.
43811         * manual/string.texi (wcstok): Fix prototype.
43812         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43814         * manual/time.texi: Document MTASC-safety properties.
43816         * manual/string.texi: Document MTASC-safety properties.
43818         * manual/threads.texi: Document MTASC-safety properties.
43820         * manual/stdio.texi: Document MTASC-safety properties.
43822         * manual/syslog.texi: Document MTASC-safety properties.
43824         * manual/sysinfo.texi: Document MTASC-safety properties.
43826         * manual/startup.texi: Document MTASC-safety properties.
43828         * manual/socket.texi: Document MTASC-safety properties.
43830         * manual/signal.texi: Document MTASC-safety properties.
43832 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43834         * manual/setjmp.texi: Document MTASC-safety properties.
43836         * manual/search.texi: Document MTASC-safety properties.
43838         * manual/resource.texi: Document MTASC-safety properties.
43840         * manual/process.texi: Document MTASC-safety properties.
43842         * manual/platform.texi: Document MTASC-safety properties.
43844         * manual/pipe.texi: Document MTASC-safety properties.
43846         * manual/pattern.texi: Document MTASC-safety properties.
43848         * manual/message.texi: Document MTASC-safety properties.
43850         [BZ #12751]
43851         * manual/memory.texi: Document MTASC-safety properties.
43853         * manual/math.texi: Document MTASC-safety properties.
43855         * manual/locale.texi: Document MTASC-safety properties.
43857         * manual/llio.texi: Document MTASC-safety properties.
43859         * manual/libdl.texi: New.
43861         * manual/lang.texi: Document MTASC-safety properties.
43863         * manual/job.texi: Document MTASC-safety properties.
43865         * manual/getopt.texi: Document MTASC-safety properties.
43867         * manual/ctype.texi: Document MTASC-safety properties.
43869 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43871         [BZ #16046]
43872         * csu/libc-tls.c (static_map): Remove variable.
43873         (__libc_setup_tls): Use main executable's link map for TLS data.
43874         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43875         casing for LM_ID_BASE and GL(dl_nns).
43876         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43877         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43878         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43879         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43880         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43881         member.
43882         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43883         l_phnum members.
43885 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43887         * manual/debug.texi: Document MTASC-safety properties.
43889 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43891         [BZ #16510]
43892         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43893         of __x86_64__ when disabling x87 inline functions.
43895 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43897         * manual/charset.texi: Document MTASC-safety properties.
43899         * manual/crypt.texi: Document MTASC-safety properties.
43901         * manual/conf.texi: Document MTASC-safety properties.
43903         * manual/arith.texi: Document MTASC-safety properties.
43905         * manual/argp.texi: Document MTASC-safety properties.
43907         * manual/macros.texi: Introduce macros to document multi
43908         thread, asynchronous signal and asynchronous cancellation
43909         safety properties.
43910         * manual/intro.texi: Introduce the properties themselves.
43912 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43914         * sysdeps/sh/sh4/Makefile: New file.
43916 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43918         * math/gen-libm-test.pl ($srcdir): New variable.
43919         ($auto_input): Use it.
43921 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43923         [BZ #16506]
43924         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43925         access beyond array bounds when parsing netgroups file.
43927         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43928         the old buffer before realloc.
43930 2014-01-27  Allan McRae  <allan@archlinux.org>
43932         * po/fr.po: Update French translation from translation project.
43934 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43936         * sysdeps/sh/libm-test-ulps: Regenerate.
43938 2014-01-24  David S. Miller  <davem@davemloft.net>
43940         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43942 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43944         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43945         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43947 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43949         [BZ #16474]
43950         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43951         string pointers after reallocation.
43953 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43955         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43956         __SH4A__ instead of __SH_FPU_ANY__.
43958 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43960         * sysdeps/sh/fpu_control.h: New file.
43961         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43962         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43963         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43964         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43965         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43966         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43967         * sysdeps/sh/sys/ucontext.h: Remove.
43968         * sysdeps/sh/sys: Remove directory.
43970 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43972         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43973         s390/sys/ucontext.h.
43974         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43975         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43977 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43979         [BZ #15605]
43980         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43982 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43984         [BZ#16431]
43985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43986         Adjust the vDSO correctly for internal calls.
43987         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43989 2014-01-20  Allan McRae  <allan@archlinux.org>
43991         * po/ca.po: Update Catalan translation from translation project.
43993 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43995         * sysdeps/s390/sotruss-lib.c: New file.
43997 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43999         [BZ#16430]
44000         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44001         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44002         local calls issues by not having a PLT stub required for IFUNC calls.
44003         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44005 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44007         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44008         * math/test-fpucw-static.c: Likewise.
44010 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44012         [BZ #16453]
44013         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44015 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44017         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44018         implementation for powerpc.
44020 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44022         [BZ #14782]
44023         * sysdeps/posix/system.c (__libc_system): Do not enable
44024         asynchronous cancellation.
44026 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44028         [BZ #16427]
44029         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44030         handling only for numbers special also in the IEEE case.
44032 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44034         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44036 2014-01-11  Allan McRae  <allan@archlinux.org>
44038         * po/bg.po: Update Bulgarian translation from translation project.
44040         * po/de.po: Update German translation from translation project.
44042 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44044         * sysdeps/generic/gcc-compat.h: New file.
44046 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44048         * benchtests/asin-inputs: Correct slow inputs.
44049         * benchtests/acos-inputs: Likewise.
44051 2014-01-10  Allan McRae  <allan@archlinux.org>
44053         * po:sv.po: Update Swedish translation from translation project.
44055         * po/vi.po: Update Vietnamese translation from translation project.
44057         * po/eo.po: Update Esperanto translation from translation project.
44059         * po/cs.po: Update Czech translation from translation project.
44061         * po/nl.po: Update Dutch translation from translation project.
44063         * po/pl.po: Update Polish translation from translation project.
44065         * po/ru.po: Update Russian translation from translation project.
44067         * po/uk.po: Update Ukrainian translation from translation project.
44069 2014-01-08  Brooks Moses  <bmoses@google.com>
44071         * elf/dl-load.c: Fix comment typo.
44073 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44075         * po/header.pot: Rename to...
44076         * po/pot.header: ... this.
44077         * po/Makefile: Use pot.header.
44079 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44080             Maxim Kuvyrkov  <maxim@kugelworks.com>
44082         [BZ #16394]
44083         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44084         SRC and DEST against LEN.
44086 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44088         [BZ #16414]
44089         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44090         implementation.
44091         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44093 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44097 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44099         [BZ #16408]
44100         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44101         for large positive arguments.
44103 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44105         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44107         * math/auto-libm-test-in: Mark various tests with
44108         xfail-rounding:ldbl-128ibm.
44109         * math/auto-libm-test-out: Regenerated.
44111         [BZ #16407]
44112         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44113         Increase overflow threshold.
44115 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44117         [BZ #14286]
44118         * stdio-common/vfprintf.c: Check for integer overflow.
44120 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44122         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44123         the first argument and return value of __tls_get_addr_internal.
44125 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44127         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44128         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44130 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44132         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44133         * sysdeps/s390/rtld-global-offsets.sym: New file.
44134         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44135         GLIBC_2.19 symbol.
44136         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44137         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44138         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44139         ... this.
44140         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44141         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44142         ... this.
44143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44144         Regenerate.
44145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44146         Regenerate.
44147         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44148         halfs of GPRs for high_gprs contexts.
44149         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44150         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44151         field.
44152         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44153         uc_flags field.
44154         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44155         64 bit versions:
44156         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44157         for high GPRs (uc_high_gprs) and for future extensions
44158         (__reserved).
44159         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44160         for future extensions (__reserved).
44161         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44162         64 bit versions:
44163         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44164         SC_HIGHGPRS offset definition.
44165         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44166         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44168         * Versions.def: Add GLIBC_2.19 for libpthread.
44169         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44170         siglongjmp for libpthread with GLIBC_2.19 symver.
44171         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44172         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44173         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44174         * sysdeps/s390/__longjmp.c: New file.
44175         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44176         * sysdeps/s390/longjmp.c: New file.
44177         * sysdeps/s390/setjmp.S: New file.
44178         * sysdeps/s390/sigjmp.S: New file.
44179         * sysdeps/s390/v1-longjmp.c: New file.
44180         * sysdeps/s390/v1-setjmp.h: New file.
44181         * sysdeps/s390/v1-sigjmp.c: New file.
44182         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44183         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44184         GLIBC_2.19 version.
44185         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44186         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44187         versioned symbols for ____longjmp_chk.
44188         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44189         Likewise.
44190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44191         Regenerate.
44192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44193         Regenerate.
44194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44195         Regenerate.
44196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44197         Regenerate.
44198         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44199         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44200         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44201         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44202         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44203         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44204         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44205         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44206         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44207         * sysdeps/s390/rtld-__longjmp.c: New file.
44208         * sysdeps/s390/rtld-setjmp.S: New file.
44210 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44212         [BZ #16400]
44213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44214         Return -__logl (x) for small positive arguments without evaluating
44215         a polynomial.
44217 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44219         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44220         Rename to ...
44221         (__ptrace_peeksiginfo_args): ... this.
44222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44223         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44224         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44226 2014-01-06  Allan McRae  <allan@archlinux.org>
44228         * inet/netinet/in.h: Fix typo in comment.
44230 2014-01-05  Andreas Jaeger  <aj@suse.de>
44232         * sysdeps/i386/fpu/libm-test-ulps: Update.
44234 2014-01-05  Allan McRae  <allan@archlinux.org>
44236         * po/libc.pot: Regenerated.
44238         * malloc/memusagestat.c: Fix gettext call formatting.
44240 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44242         * nscd/nscd.c: Improve usage() output.
44244 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44246         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44247         * sysdeps/unix/sysv/linux/configure: Regenerated.
44248         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44249         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44251 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44253         [BZ #16390]
44254         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44255         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44257 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44259         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44260         extra tokens at end of #undef directive.
44261         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44262         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44263         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44265 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44267         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44269         * math/auto-libm-test-in: Mark various tests with
44270         xfail-rounding:ldbl-128ibm.
44271         * math/auto-libm-test-out: Regenerated.
44273 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44275         [BZ #16386]
44276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44277         numbers with subnormal high part when calculating exponent.
44279         [BZ #16385]
44280         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44281         fabs.
44283         [BZ #16384]
44284         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44285         M_LN2l.
44286         (__ieee754_acoshl): Use __log1pl not __log1p.
44288 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44290         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44291         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44292         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44293         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44294         (reused_arena, arena_get2): Convert to GNU style.
44295         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44296         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44297         (memalign_check, __malloc_set_state): Likewise.
44298         * malloc/mallocbug.c (main): Likewise.
44299         * malloc/malloc.c (__malloc_assert, malloc_init_state)
44300         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44301         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44302         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44303         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44304         (__posix_memalign, malloc_info): Likewise.
44305         * malloc/malloc.h: Likewise.
44306         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44307         (mallochook, memalignhook, reallochook, mabort): Likewise.
44308         * malloc/mcheck.h: Likewise.
44309         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44310         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44311         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44312         * malloc/morecore.c (__default_morecore): Likewise.
44313         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44314         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44315         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44316         (print_and_abort): Likewise.
44317         * malloc/obstack.h: Likewise.
44318         * malloc/set-freeres.c (__libc_freeres): Likewise.
44319         * malloc/tst-mallocstate.c (main): Likewise.
44320         * malloc/tst-mtrace.c (main): Likewise.
44321         * malloc/tst-realloc.c (do_test): Likewise.
44323 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44325         [BZ #16366]
44326         * nscd/netgroupcache.c (do_notfound): New function.
44327         (addgetnetgrentX): Use it.
44329         [BZ # 16365]
44330         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44331         NSS_STATUS_NOTFOUND.
44333 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
44335         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44338 2014-01-01  Allan McRae  <allan@archlinux.org>
44340         * scripts/update-copyrights: Update configure input file suffix.
44342         * NEWS: Update copyright year.
44343         * catgets/gencat.c: Likewise.
44344         * csu/version.c: Likewise.
44345         * debug/catchsegv.sh: Likewise.
44346         * debug/pcprofiledump.c: Likewise.
44347         * debug/xtrace.sh: Likewise.
44348         * elf/ldconfig.c: Likewise.
44349         * elf/ldd.bash.in: Likewise.
44350         * elf/pldd.c: Likewise.
44351         * elf/sotruss.ksh: Likewise.
44352         * elf/sprof.c: Likewise.
44353         * iconv/iconv_prog.c: Likewise.
44354         * iconv/iconvconfig.c: Likewise.
44355         * locale/programs/locale.c: Likewise.
44356         * locale/programs/localedef.c: Likewise.
44357         * login/programs/pt_chown.c: Likewise.
44358         * malloc/memusage.sh: Likewise.
44359         * malloc/memusagestat.c: Likewise.
44360         * malloc/mtrace.pl: Likewise.
44361         * manual/libc.texinfo: Likewise.
44362         * nscd/nscd.c: Likewise.
44363         * nss/getent.c: Likewise.
44364         * nss/makedb.c: Likewise.
44365         * posix/getconf.c: Likewise.
44366         * scripts/test-installation.pl: Likewise.
44368         * All files with FSF copyright notices: Update copyright dates
44369         using scripts/update-copyrights.
44370         * intl/plural.c: Regenerated.
44371         * locale/programs/charmap-kw.h: Likewise.
44372         * locale/programs/locfile-kw.h: Likewise.
44374 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
44376         * sysdeps/unix/sysv/linux/configure: Regenerated.
44377         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44378         the linux/fanotify.h header.
44379         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44380         HAVE_LINUX_FANOTIFY_H is defined.
44382 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44384         * benchtests/cos-inputs: New inputs.
44385         * benchtests/sin-inputs: Likewise.
44387         * benchtests/atan-inputs: New inputs. Fix name of multiple
44388         precision fallback inputs.
44390         * benchtests/atanh-inputs: New inputs.
44391         * benchtests/tanh-inputs: Likewise.
44393         * benchtests/acosh-inputs: New inputs.
44394         * benchtests/asinh-inputs: Likewise.
44396         * benchtests/cosh-inputs: New inputs.
44397         * benchtests/sinh-inputs: Likewise.
44399         * benchtests/acos-inputs: Add more inputs.
44400         * benchtests/asin-inputs: Likewise.
44402 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
44404         [BZ #16375]
44405         * manual/arith.texi: Fix spelling.
44406         * manual/charset.texi: Likewise.
44407         * manual/errno.texi: Likewise.
44408         * manual/filesys.texi: Likewise.
44409         * manual/lang.texi: Likewise.
44410         * manual/llio.texi: Likewise.
44411         * manual/locale.texi: Likewise.
44412         * manual/message.texi: Likewise.
44413         * manual/resource.texi: Likewise.
44414         * manual/search.texi: Likewise.
44415         * manual/setjmp.texi: Likewise.
44416         * manual/stdio.texi: Likewise.
44417         * manual/string.texi: Likewise.
44418         * manual/sysinfo.texi: Likewise.
44419         * manual/time.texi: Likewise.
44421 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
44423         * po/sl.po: New file.
44425 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
44427         * .gitignore: Add core/.gdbinit/.gdb_history.
44429 2013-12-27  Allan McRae  <allan@archlinux.org>
44431         [BZ #16369]
44432         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44433         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44435 2013-12-24  Brooks Moses  <bmoses@google.com>
44437         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44438         all compilers that claim C++98 compliance, not just GCC.
44439         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44440         Likewise.
44442 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44444         * NEWS: Restore accidentally deleted bug-fix entries.
44446 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44447             Ondřej Bílka  <neleai@seznam.cz>
44449         [BZ #15073]
44450         * malloc/malloc.c (_int_free): Perform sanity check only if we
44451         have_lock.
44453 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44455         [BZ #12986]
44456         * manual/stdio.texi (String Input Conversions): Clarify that character
44457         classes are not supported.
44459 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44463 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44465         [BZ #16337]
44466         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44467         Calculate results for small negative arguments directly rather
44468         than using reflection formula with special underflow handling.
44470         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44471         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44472         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44473         (fchflags): Likewise.
44474         (revoke): Likewise.
44475         (setlogin): Likewise.
44476         (sigaltstack): Likewise.
44477         (wait4): Likewise.
44478         (sigblock): Remove.
44479         (sigsetmask): Likewise.
44480         (wait3): Likewise.
44481         (waitpid): Likewise.
44482         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44483         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44484         file.
44485         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44486         * sysdeps/unix/bsd/Makefile: ... here.
44487         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44488         * sysdeps/unix/bsd/Versions: ... here.
44489         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44490         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44491         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44492         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44493         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44494         * sysdeps/unix/bsd/sigblock.c: ... here.
44495         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44496         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44497         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44498         * sysdeps/unix/bsd/sigvec.c: ... here.
44499         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44500         * sysdeps/unix/bsd/tcdrain.c: ... here.
44501         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44502         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44503         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44504         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44505         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44506         * sysdeps/unix/bsd/wait.c: ... here.
44507         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44508         * sysdeps/unix/bsd/wait3.c: ... here.
44509         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44510         * sysdeps/unix/bsd/waitpid.c: ... here.
44512 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44514         [BZ #16356]
44515         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44516         round-to-nearest for [!USE_AS_EXPM1L].
44517         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44518         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44519         more tests of exp and exp10.  Expect some exp10 tests to miss
44520         exceptions or fail in directed rounding modes.
44521         * math/auto-libm-test-out: Regenerated.
44522         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44523         (exp10_test_tonearest): New function.
44524         (exp10_towardzero_test_data): New array.
44525         (exp10_test_towardzero): New function.
44526         (exp10_downward_test_data): New array.
44527         (exp10_test_downward): New function.
44528         (exp10_upward_test_data): New array.
44529         (exp10_test_upward): New function.
44530         (main): Call the new functions.
44531         * sysdeps/i386/fpu/libm-test-ulps: Update.
44532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44534 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44536         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44537         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44538         * math/auto-libm-test-out: Regenerated.
44539         * math/libm-test.inc (acosh_test_data): Add more tests.
44540         (atanh_test_data): Likewise.
44541         (ceil_test_data): Likewise.
44542         (copysign_test_data): Likewise.
44543         * sysdeps/i386/fpu/libm-test-ulps: Update.
44544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44546         * timezone/checktab.awk: Update from tzcode 2013i.
44547         * timezone/private.h: Likewise.
44548         * timezone/scheck.c: Likewise.
44549         * timezone/tzfile.h: Likewise.
44550         * timezone/tzselect.ksh: Likewise.
44551         * timezone/zdump.c: Likewise.
44552         * timezone/zic.c: Likewise.
44554         * math/auto-libm-test-in: Add tests of cpow.
44555         * math/auto-libm-test-out: Regenerated.
44556         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44557         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44558         mpc_cc_c.
44559         (func_calc_desc): Add mpc_cc_c union field.
44560         (test_functions): Add cpow.
44561         (special_fill_2pi): New function.
44562         (special_real_inputs): Add 2pi.
44563         (calc_generic_results): Handle mpc_cc_c.
44564         * sysdeps/i386/fpu/libm-test-ulps: Update.
44565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44567         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44568         csqrt, ctan and ctanh.
44569         * math/auto-libm-test-out: Regenerated.
44570         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44571         (TEST_COND_x86): Likewise.
44572         (ccos_test_data): Use AUTO_TESTS_c_c.
44573         (ccosh_test_data): Likewise.
44574         (cexp_test_data): Likewise.
44575         (clog_test_data): Likewise.
44576         (csqrt_test_data): Likewise.
44577         (ctan_test_data): Likewise.
44578         (ctan_tonearest_test_data): Likewise.
44579         (ctan_towardzero_test_data): Likewise.
44580         (ctan_downward_test_data): Likewise.
44581         (ctan_upward_test_data): Likewise.
44582         (ctanh_test_data): Likewise.
44583         (ctanh_tonearest_test_data): Likewise.
44584         (ctanh_towardzero_test_data): Likewise.
44585         (ctanh_downward_test_data): Likewise.
44586         (ctanh_upward_test_data): Likewise.
44587         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44588         mpc_c_c.
44589         (func_calc_desc): Add mpc_c_c union field.
44590         (FUNC_mpc_c_c): New macro.
44591         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44592         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44593         ctanh.
44594         (special_fill_min_subnorm_p120): New function.
44595         (special_real_inputs): Add min_subnorm_p120.
44596         (calc_generic_results): Handle mpc_c_c.
44597         * sysdeps/i386/fpu/libm-test-ulps: Update.
44598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44600 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44602         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44603         (do_sin_slow): New functions.
44604         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44605         (cslow2, csloww1, csloww2): Use the new functions.
44607         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44608         Use M to change sign of result instead of X.  Assume X is
44609         positive.
44610         (csloww1): Likewise.
44611         (__sin): Adjust.
44612         (__cos): Adjust.
44614         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44615         arguments A and DA.
44616         (__sin): Adjust.
44617         (__cos): Likewise.
44619         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44620         (__cos): Likewise.
44621         (sloww1): Don't adjust sign of DX.
44622         (csloww1): Likewise.
44623         (sloww2): Use X directly and don't adjust sign of DX.
44624         (csloww2): Likewise.
44626 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44628         * math/auto-libm-test-in: Add tests of cabs and carg.
44629         * math/auto-libm-test-out: Regenerated.
44630         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44631         (carg_test_data): Likewise.
44632         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44633         mpc_c_f.
44634         (func_calc_desc): Add mpc_c_f union field.
44635         (test_functions): Add cabs and carg.
44636         (calc_generic_results): Handle mpc_c_f.
44638         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44639         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44640         as a macro and a compat symbol.
44641         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44642         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44643         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44644         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44645         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44646         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44647         not use .hidden.
44648         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44649         Likewise.
44650         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44651         Likewise.
44652         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44653         Likewise.
44654         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44655         Likewise.
44656         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44657         Likewise.
44658         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44659         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44660         from GLIBC_2.3.2.
44662 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44666 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44668         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44669         trailing whitespace removed.
44670         * scripts/config.guess: Update to version 2013-11-29.
44671         * scripts/config.sub: Update to version 2013-10-01.
44673         * math/auto-libm-test-in: Add tests of sincos.
44674         * math/auto-libm-test-out: Regenerated.
44675         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44676         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44677         mpfr_f_11.
44678         (func_calc_desc): Add mpfr_f_11 union field.
44679         (test_functions): Add sincos.
44680         (calc_generic_results): Handle mpfr_f_11.
44681         * sysdeps/i386/fpu/libm-test-ulps: Update.
44682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44684 2013-12-19  Andreas Schwab  <schwab@suse.de>
44686         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44687         CALL_MCOUNT.
44688         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44689         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44690         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44692 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44694         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44695         * sysdeps/i386/fpu/libm-test-ulps: Update.
44696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44698         [BZ #16293]
44699         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44700         round-to-nearest mode when using frndint.
44701         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44702         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44704         Likewise.
44705         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44706         sinh test to fail.
44707         * math/auto-libm-test-out: Regenerated.
44708         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44709         (TEST_COND_x86): Likewise.
44710         (expm1_tonearest_test_data): New array.
44711         (expm1_test_tonearest): New function.
44712         (expm1_towardzero_test_data): New array.
44713         (expm1_test_towardzero): New function.
44714         (expm1_downward_test_data): New array.
44715         (expm1_test_downward): New function.
44716         (expm1_upward_test_data): New array.
44717         (expm1_test_upward): New function.
44718         (main): Run the new test functions.
44719         * sysdeps/i386/fpu/libm-test-ulps: Update.
44720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44722         * include/features.h: Update comment documenting feature test
44723         macros.  Mention _DEFAULT_SOURCE in comment.
44724         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44725         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44726         _BSD_SOURCE and _SVID_SOURCE.
44727         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44728         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44729         !_SVID_SOURCE]: Likewise.
44730         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44731         (__USE_POSIX_IMPLICITLY): Define.
44732         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44733         (_POSIX_SOURCE): Undefine and redefine.
44734         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44735         (_POSIX_C_SOURCE): Likewise.
44736         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44737         (Feature Test Macros): Update documentation of default features.
44739 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44741         * benchtests/Makefile: Add bench-strtok.
44742         * benchtests/bench-strtok.c: New file: strtok benchtest.
44744 2013-12-19  Allan McRae  <allan@archlinux.org>
44746         * manual/install.texi: Suppress menu for plain text output.
44747         * INSTALL: Regenerated.
44749 2013-12-18  Brooks Moses  <bmoses@google.com>
44751         [BZ #15846]
44752         * misc/getauxval.c: Include errno.h.
44753         (__getauxval): Set errno to ENOENT if the requested type is not
44754         found.
44755         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44756         don't declare with __attribute_const__.
44757         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44758         * manual/startup.texi: Document that getauxval sets errno.
44760 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44762         * math/auto-libm-test-in: Add tests of jn and yn.
44763         * math/auto-libm-test-out: Regenerated.
44764         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44765         (yn_test_data): Likewise.
44766         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44767         mpfr_if_f.
44768         (func_calc_desc): Add mpfr_if_f union field.
44769         (FUNC_mpfr_if_f): New macro.
44770         (test_functions): Add jn and yn.
44771         (calc_generic_results): Assert type of second input for
44772         mpfr_ff_f.  Handle mpfr_if_f.
44773         (output_for_one_input_case): Disable all checking for arguments
44774         fitting floating-point types in case of an integer argument.
44775         * sysdeps/i386/fpu/libm-test-ulps: Update.
44776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44779         Don't expect fegetround reference in libm.so.
44781 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44783         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44784         $(config-cflags-nofma).
44786 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44788         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44789         * math/auto-libm-test-out: Regenerated.
44791         [BZ #16338]
44792         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44793         to determine exponent and adjust argument to have exponent of -1.
44794         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44795         log2.
44796         * math/auto-libm-test-out: Regenerated.
44797         * sysdeps/i386/fpu/libm-test-ulps: Update.
44798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44800 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44802         * manual/probes.texi: Remove cases when per-thread arenas are
44803         disabled.
44805 2013-12-18  Andreas Schwab  <schwab@suse.de>
44807         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44808         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44809         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44810         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44811         * sysdeps/i386/i686/multiarch/Makefile: Update.
44812         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44814 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44816         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44817         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44819 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44821         [BZ #15968]
44822         Support TZ transition times < 00:00:00.
44823         This is needed for version-3 tz-format files; it supports time
44824         stamps past 2037 for America/Godthab (the only entry in the tz
44825         database for which this change is relevant).
44826         * manual/time.texi (TZ Variable): Document transition times
44827         from -167:59:59 through -00:00:01.
44828         * time/tzset.c (tz_rule): Time of day is now signed.
44829         (__tzset_parse_tz): Parse negative time of day.
44831         Document TZ transition times >= 25:00:00.
44832         * manual/time.texi (TZ Variable): Document transition times from
44833         25:00:00 through 167:59:59.  These are already supported, and this
44834         support will help with version-3 tz-format files.
44836         * manual/time.texi (TZ Variable): Modernize North America example
44837         to reflect current (i.e., 2007-and-later) daylight saving rules.
44839         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44841 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44843         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44844         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44847         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44848         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44849         * sysdeps/unix/bsd/clock.c: Likewise.
44850         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44851         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44852         * sysdeps/unix/bsd/init-posix.c: Likewise.
44853         * sysdeps/unix/bsd/poll.c: Likewise.
44854         * sysdeps/unix/bsd/ptsname.c: Likewise.
44855         * sysdeps/unix/bsd/seekdir.c: Likewise.
44856         * sysdeps/unix/bsd/setegid.c: Likewise.
44857         * sysdeps/unix/bsd/seteuid.c: Likewise.
44858         * sysdeps/unix/bsd/setgid.c: Likewise.
44859         * sysdeps/unix/bsd/setrgid.c: Likewise.
44860         * sysdeps/unix/bsd/setruid.c: Likewise.
44861         * sysdeps/unix/bsd/setsid.c: Likewise.
44862         * sysdeps/unix/bsd/setuid.c: Likewise.
44863         * sysdeps/unix/bsd/sigaction.c: Likewise.
44864         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44865         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44866         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44867         * sysdeps/unix/bsd/telldir.c: Likewise.
44868         * sysdeps/unix/bsd/times.c: Likewise.
44869         * sysdeps/unix/bsd/usleep.c: Likewise.
44871         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44872         ($(objpfx)libbsd-compat.a): Remove rule.
44874         * include/features.h (__FAVOR_BSD): Do not define.
44875         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44876         features conflicting with POSIX.
44877         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44878         (_BSD_SOURCE): Remove description of not being a subset of other
44879         feature test macros.
44880         * manual/job.texi (getpgrp): Do not document BSD version.
44881         (getpgid): Do not document by reference to BSD getpgrp.
44882         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44883         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44884         * signal/signal.h [__FAVOR_BSD]: Likewise.
44885         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44886         instead of making contents conditional on [__FAVOR_BSD].
44887         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44889 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44893 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44895         [BZ #16314]
44896         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44897         values below 2**-450, not 2**-500.
44898         * math/auto-libm-test-in: Don't allow spurious underflow from
44899         hypot.
44900         * math/auto-libm-test-out: Regenerated.
44902         [BZ #16316]
44903         [BZ #16330]
44904         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44905         values of ha and hb and sort them after adjusting subnormal
44906         arguments.
44907         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44908         Likewise.
44909         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44910         values of ea and eb and sort them after adjusting subnormal
44911         arguments.
44912         * math/auto-libm-test-in: Do not expect some hypot tests of
44913         subnormals to fail.  Add more hypot tests.
44914         * math/auto-libm-test-out: Regenerated.
44916 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44918         [BZ #13304]
44919         * sysdeps/sh/s_fma.c: New file.
44920         * sysdeps/sh/s_fmaf.c: New file.
44921         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44922         version.
44923         * sysdeps/sh/Implies: Add sh/soft-fp.
44925 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44927         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44928         level of indirection to members `objname', `errstring', `malloced'.
44929         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44930         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44931         it as the __longjmp argument (just pass 1 instead).
44932         (_dl_catch_error): Initialize C with argument pointers and address of
44933         volatile local ERRCODE rather than copying values out of C at return.
44935 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44937         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44938         * math/auto-libm-test-out: Regenerated.
44939         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44940         (hypot_test_data): Likewise.
44941         (pow_test_data): Likewise.
44942         (pow_tonearest_test_data): Likewise.
44943         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44944         mpfr_ff_f.
44945         (func_calc_desc): Add mpfr_ff_f union field.
44946         (FUNC_mpfr_ff_f): New macro.
44947         (test_functions): Add atan2, hypot and pow.
44948         (special_fill_min): New function.
44949         (special_fill_minus_min): Likewise.
44950         (special_fill_min_subnorm): Likewise.
44951         (special_fill_minus_min_subnorm): Likewise.
44952         (special_real_inputs): Add min, -min, min_subnorm and
44953         -min_subnorm.
44954         (calc_generic_results): Handle mpfr_ff_f.
44955         * sysdeps/i386/fpu/libm-test-ulps: Update.
44956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44958 2013-12-16  Will Newton  <will.newton@linaro.org>
44960         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44961         (Aligned Memory Blocks): Add documentation for aligned_alloc
44962         and suggest it as an alternative to posix_memalign.
44963         (Hooks for Malloc): Document __memalign_hook is also called
44964         for aligned_alloc.  (Summary of Malloc): Add summary for
44965         aligned alloc.  Document __memalign_hook is also called
44966         for aligned_alloc.
44968 2013-12-16  Will Newton  <will.newton@linaro.org>
44970         * manual/memory.texi (Malloc Examples): Clarify default
44971         alignment documentation.  Suggest posix_memalign rather
44972         than memalign or valloc.
44973         (Aligned Memory Blocks): Remove suggestion to use memalign
44974         or valloc.  Remove obsolete comment about BSD.
44975         Document memalign errno values and mark the function obsolete.
44976         Document posix_memalign returned error codes.  Mark valloc
44977         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44978         called for posix_memalign and valloc.
44979         (Summary of Malloc): Add posix_memalign to function summary.
44980         __memalign_hook is also called for posix_memalign and valloc.
44982 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44984         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44985         TAYLOR_SIN.
44986         (__sin): Adjust.
44987         (__cos): Likewise.
44988         (sloww): Use mynumber union.  Expand ternary operator into
44989         if-else statements.
44990         (cslow): use mynumber union.
44992 2013-12-16  Allan McRae  <allan@archlinux.org>
44994         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44995         * configure: Regenerated.
44997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44999         [BZ #14120]
45000         * configure.ac: Added --enable-maintainer-mode. Check for
45001         autoconf when enabled.
45002         * configure: Regenerated.
45004         * nscd/nscd.service: New file.
45005         * nscd/nscd.tmpfiles: New file.
45007 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45009         [BZ #12100]
45010         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45011         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45012         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45013         (strstr): Add __strstr_sse2_unaligned ifunc.
45014         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45015         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45016         (strcasestr): Remove __strcasestr_sse42 ifunc.
45017         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45021 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45023         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45024         * sysdeps/sh/bits/fenv.h: ... here.
45025         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45027 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45029         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45032         hypotf multiarch implementations.
45033         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45035         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45036         multiarch hypot for PPC64.
45037         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45040         multiarch hypotf for PPC64.
45042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45043         modff multiarch implementations.
45044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45047         multiarch modf for PPC64.
45048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45051         multiarch modff for PPC64.
45053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45054         and logl multiarch implementations.
45055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45058         multiarch logb for PPC64.
45059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45062         multiarch logb for PPC64.
45063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45066         multiarch logb for PPC64.
45068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45069         isinff multiarch implementation.
45070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45071         file.
45072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45074         multiarch isinf for PPC64.
45075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45076         file.
45077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45078         multiarch isinff for PPC64.
45080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45081         finitef multiarch implementation.
45082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45083         file.
45084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45086         multiarch finite for PPC64.
45087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45088         file.
45089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45090         multiarch finitef for PPC64.
45092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45093         lrint multiarch implementation.
45094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45095         file.
45096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45098         multiarch llrint for PPC64.
45099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45100         multiarch lrint for PPC64.
45102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45103         copysignf multiarch implementation.
45104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45105         file.
45106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45107         file.
45108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45109         multiarch copysign for PPC64.
45110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45111         multiarch copysignf for PPC64.
45113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45114         multiarch implementation.
45115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45116         file.
45117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45118         file.
45119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45120         file.
45121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45122         file.
45123         multiarch llround for PPC64.
45124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45125         multiarch trunc for PPC64.
45126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45127         multiarch truncf for PPC64.
45129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45130         multiarch implementation.
45131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45132         file.
45133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45134         file.
45135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45136         file.
45137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45138         file.
45139         multiarch llround for PPC64.
45140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45141         multiarch round for PPC64.
45142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45143         multiarch roundf for PPC64.
45145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45146         multiarch implementation.
45147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45148         file.
45149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45150         file.
45151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45152         file.
45153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45154         file.
45155         multiarch llround for PPC64.
45156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45157         multiarch floor for PPC64.
45158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45159         multiarch floorf for PPC64.
45161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45162         multiarch implementation.
45163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45164         file.
45165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45166         file.
45167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45168         file.
45169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45170         file.
45171         multiarch llround for PPC64.
45172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45173         multiarch ceil for PPC64.
45174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45175         multiarch ceilf for PPC64.
45177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45178         multiarch implementation.
45179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45180         file.
45181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45182         file.
45183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45184         file.
45185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45186         multiarch llround for PPC64.
45187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45188         multiarch lround for PPC64.
45190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45191         multiarch implementation.
45192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45195         file.
45196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45199         multiarch isnan for PPC64.
45200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45201         multiarch isnanf for PPC64.
45203         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45204         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45205         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45206         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45207         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45210         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45211         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45216         multiarch implementations.
45217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45218         (__libc_ifunc_impl_list): Likewise.
45219         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45222         multiarch stpcpy for PPC64.
45224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45225         multiarch implementations.
45226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45227         (__libc_ifunc_impl_list): Likewise.
45228         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45230         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45231         multiarch strcpy for PPC64.
45233         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45234         redefine function name.
45235         (_wordcopy_fwd_dest_aligned): Likewise.
45236         (_wordcopy_bwd_aligned): Likewise.
45237         (_wordcopy_bwd_dest_aligned): Likewise.
45238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45239         multiarch implementations.
45240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45241         (__libc_ifunc_impl_list): Likewise.
45242         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45243         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45244         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45245         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45246         multiarch wcscpy for PPC64.
45248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45249         multiarch implementations.
45250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45251         (__libc_ifunc_impl_list): Likewise.
45252         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45253         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45254         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45255         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45256         multiarch wcscpy for PPC64.
45258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45259         multiarch implementations.
45260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45261         (__libc_ifunc_impl_list): Likewise.
45262         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45263         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45264         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45265         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45266         multiarch wcsrchr for PPC64.
45268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45269         multiarch implementations.
45270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45271         (__libc_ifunc_impl_list): Likewise.
45272         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45273         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45274         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45275         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45276         multiarch wcschr for PPC64.
45278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45279         multiarch implementations.
45280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45281         (__libc_ifunc_impl_list): Likewise.
45282         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45283         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45284         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45285         multiarch strchrnul for PPC64.
45287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45288         implementations.
45289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45290         (__libc_ifunc_impl_list): Likewise.
45291         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45292         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45293         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45294         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45295         strchr for PPC64.
45297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45298         implementations.
45299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45300         (__libc_ifunc_impl_list): Likewise.
45301         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45302         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45303         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45304         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45305         strncmp for PPC64.
45307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45308         multiarch implementations.
45309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45310         (__libc_ifunc_impl_list): Likewise.
45311         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45312         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45313         strncasecmp for PPC64.
45314         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45316         multiarch strncasecmp_l for PPC64.
45318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45319         multiarch implementations.
45320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45321         (__libc_ifunc_impl_list): Likewise.
45322         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45323         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45324         multiarch strcasecmp for PPC64.
45325         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45326         file.
45327         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45328         multiarch strcasecmp_l for PPC64.
45330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45331         implementations.
45332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45333         (__libc_ifunc_impl_list): Likewise.
45334         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45335         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45336         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45337         strnlen for PPC64.
45339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45340         implementations.
45341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45342         (__libc_ifunc_impl_list): Likewise.
45343         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45344         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45345         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45346         strlen for PPC64.
45348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45349         implementations.
45350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45351         (__libc_ifunc_impl_list): Likewise.
45352         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45353         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45354         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45355         rawmemrchr for PPC64.
45357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45358         implementation.
45359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45360         (__libc_ifunc_impl_list): Likewise.
45361         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45362         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45363         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45364         memrchr for PPC64.
45366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45367         implementation.
45368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45369         (__libc_ifunc_impl_list): Likewise.
45370         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45371         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45372         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45373         memchr for PPC64.
45375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45376         implementation.
45377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45378         (__libc_ifunc_impl_list): Likewise.
45379         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45380         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45381         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45382         mempcpy for PPC64.
45384         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45385         avoid cretion of __bzero symbol.
45386         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45387         Likewise.
45388         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45389         Likewise.
45390         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45391         Likewise.
45392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45393         multiarch implementations.
45394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45395         (__libc_ifunc_impl_list): Likewise.
45396         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45397         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45398         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45399         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45400         bzero for PPC32.
45401         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45402         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45403         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45404         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45405         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45406         memset for PPC64.
45407         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45409         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45411         implementations.
45412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45413         (__libc_ifunc_impl_list): Likewise.
45414         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45415         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45416         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45417         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45418         memcmp for PPC64.
45420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45421         multiarch for POWER/PPC64.
45422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45423         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45424         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45426         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45427         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45428         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45430         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45431         memcpy for PPC64.
45433         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45434         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45435         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45436         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45437         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45438         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45439         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45440         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45441         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45442         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45443         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45444         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45445         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45446         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45447         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45456 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45458         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45460 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45462         * benchtests/Makefile (bench): Add exp2 and log2.
45463         (LDLIBS-bench-exp2): Add -lm.
45464         (LDLIBS-bench-log2): Likewise.
45465         * benchtests/exp2-inputs: New inputs file.
45466         * benchtests/log2-inputs: New inputs file.
45467         * benchtests/log-inputs: Add new inputs.
45468         * benchtests/tan-inputs: Likewise.
45470 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45472         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45473         definition...
45474         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45475         (csloww2): ... from here.
45477         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45478         instead of structures.
45479         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45480         (POLYNOMIAL): Likewise.
45481         (TAYLOR_SLOW): Likewise.
45482         (__sin): Likewise.
45483         (__cos): Likewise.
45484         (slow1): Likewise.
45485         (slow2): Likewise.
45486         (sloww): Likewise.
45487         (sloww1); Likewise.
45488         (sloww2): Likewise.
45489         (bsloww1): Likewise.
45490         (bsloww2): Likewise.
45491         (cslow2): Likewise.
45492         (csloww): Likewise.
45493         (csloww1): Likewise.
45494         (csloww2): Likewise.
45496 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45498         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45499         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45500         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45501         * malloc/hooks.c (realloc_check): Likewise.
45503         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45504         * malloc/arena.c: Remove PER_THREAD conditional.
45505         [!PER_THREAD]: Remove code.
45506         (ptmalloc_unlock_all2): Likewise.
45507         (ptmalloc_init): Likewise.
45508         (_int_new_arena): Likewise.
45509         (arena_get2): Likewise.
45510         * malloc/hooks.c (__malloc_get_state): Likewise.
45511         (__malloc_set_state): Likewise.
45512         * malloc/malloc.c: Likewise.
45513         (struct malloc_state): Likewise.
45514         (struct malloc_par): Likewise.
45515         (__libc_realloc): Likewise.
45516         (__libc_mallopt): Likewise.
45518 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45520         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45522 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45524         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45525         macro to a function.  Check for zero perturb_byte.
45526         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45528         * malloc/malloc.c: (force_reg): Remove.
45529         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45530         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45531         force_reg by atomic_forced_read.
45532         * malloc/arena.c (ptmalloc_init): Likewise.
45533         * malloc/hooks.c (top_check): Likewise.
45535 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45539 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45543 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45545         * math/auto-libm-test-in: Add tests of lgamma.
45546         * math/auto-libm-test-out: Regenerated.
45547         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45548         (M_LOG_2_SQRT_PIl): Likewise.
45549         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45550         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45551         mpfr_f_f1.
45552         (func_calc_desc): Add mpfr_f_f1 union field.
45553         (ARGS1): New macro.
45554         (ARGS2): Likewise.
45555         (ARGS3): Likewise.
45556         (ARGS4): Likewise.
45557         (RET1): Likewise.
45558         (RET2): Likewise.
45559         (CALC): Likewise.
45560         (FUNC): Likewise.
45561         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45562         (test_functions): Add lgamma.
45563         (calc_generic_results): Handle mpfr_f_f1.
45564         * sysdeps/i386/fpu/libm-test-ulps: Update.
45565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45567 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45569         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45570         __mpn_add_n for PowerPC64/POWER7.
45571         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45572         __mpn_sub_n for PowerPC64/POWER7.
45574         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45575         __mpn_addmul_1 for PowerPC64.
45576         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45577         __mpn_submul_1 for PowerPC64.
45578         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45579         for PowerPC64.
45580         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45581         for PowerPC64.
45583 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45585         [BZ #15089]
45586         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45588 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45590         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45592         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45593         add multiarch folders.
45594         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45595         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45596         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45597         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45598         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45599         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45600         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45601         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45602         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45603         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45604         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45613         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45615         New file.
45616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45617         New file.
45618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45619         multiarch __ieee754_hypot for PowerPC32.
45620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45621         New file.
45622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45623         New file.
45624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45625         multiarch __ieee754_hypotf for PowerPC32.
45627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45628         long_double_symbol only if __logbl is defined.
45629         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45630         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45631         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45632         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45633         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45634         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45635         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45636         path for implementation.
45637         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45638         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45640         logb, and logbl multiarch implementations for PowerPC32.
45641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45642         file.
45643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45644         file.
45645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45646         multiarch logb for PowerPC32.
45647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45648         file.
45649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45650         file.
45651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45652         multiarch logbf for PowerPC32.
45653         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45655         file.
45656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45657         multiarch logbl implementation for PowerPC32.
45659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45660         and modff multiarch implementations.
45661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45662         New file.
45663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45664         New file.
45665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45666         multiarch modf for PowerPC32.
45667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45668         New file.
45669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45670         New file.
45671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45672         multiarch modff for PowerPC32.
45674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45675         and lrintf multiarch implementations.
45676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45677         New file.
45678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45679         New file.
45680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45681         multiarch lrint for PowerPC32.
45682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45683         file: multiarch lrintf for PowerPC32.
45685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45686         and lroundf multiarch implementations.
45687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45688         New file.
45689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45690         New file.
45691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45692         New file.
45693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45694         multiarch lround for PowerPC32.
45695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45696         file: multiarch lroundf for PowerPC32.
45698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45699         copysign and copysignf multiarch implementations.
45700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45701         New file.
45702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45703         New file.
45704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45705         file: multiarch copysign for PowerPC32.
45706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45707         file: multiarch copysignf for PowerPC32.
45709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45710         and truncf multiarch implementations.
45711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45712         New file.
45713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45714         file.
45715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45716         multiarch trunc for PowerPC32.
45717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45718         New file.
45719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45720         New file.
45721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45722         multiarch truncf for PowerPC32.
45724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45725         and roundf multiarch implementations.
45726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45727         New file.
45728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45729         file.
45730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45731         multiarch round for PowerPC32.
45732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45733         New file.
45734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45735         New file.
45736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45737         multiarch roundf for PowerPC32.
45739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45740         and floorf multiarch implementations.
45741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45742         New file.
45743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45744         file.
45745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45746         multiarch floor for PowerPC32.
45747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45748         New file.
45749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45750         New file.
45751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45752         multiarch floorf for PowerPC32.
45754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45755         and ceilf multiarch implementations.
45756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45757         New file.
45758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45759         file.
45760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45761         multiarch ceil for PowerPC32.
45762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45763         New file.
45764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45765         file.
45766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45767         multiarch ceilf for PowerPC32.
45769         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45770         is defined.
45771         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45772         FINITEF is defined.
45773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45774         and finitef multiarch implementations.
45775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45776         New file.
45777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45778         file.
45779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45780         multiarch finite for PowerPC32.
45781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45782         New file.
45783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45784         file: multiarch finitef for PowerPC32.
45786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45787         and isinff multiarch implementations.
45788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45789         file.
45790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45791         file.
45792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45793         multiarch isinf for PowerPC32.
45794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45795         New file.
45796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45797         multiarch isinff for PowerPC32.
45799         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45800         alias when __isnan is defined.
45801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45802         and isnanf multiarch implementations.
45803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45804         file.
45805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45806         file.
45807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45808         file.
45809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45810         file.
45811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45812         multiarch isnan for PowerPC32.
45813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45814         New file.
45815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45816         New file.
45817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45818         multiarch isnanf for PowerPC32.
45820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45821         and sqrtf multiarch implementations.
45822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45823         file.
45824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45825         file.
45826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45827         multiarch sqrt for PowerPC32.
45828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45829         file.
45830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45831         file.
45832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45833         multiarch sqrtf for PowerPC32.
45835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45836         and llroundf multiarch implementations.
45837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45838         New file.
45839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45840         New file.
45841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45842         New file.
45843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45844         file: multiarch llround for PowerPC32.
45845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45846         file: multiarch llroundf for PowerPC32.
45848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45849         multiarch PowerPC32 fpu implementations.
45850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45851         New file.
45852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45853         New file.
45854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45855         multiarch llrint for PowerPC32.
45856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45857         New file.
45858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45859         New file.
45860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45861         file.
45863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45865         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45866         file.
45867         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45868         file.
45869         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45870         file.
45871         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45872         multiarch wordcopy for PPC32.
45873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45874         wordcopy objects.
45875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45876         (__libc_ifunc_impl_list): Likewise.
45877         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45878         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45879         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45880         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45881         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45882         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45884         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45886         file.
45887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45888         file.
45889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45890         file.
45891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45892         multiarch wcscpy for PPC32.
45893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45894         multiarch objects.
45895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45896         (__libc_ifunc_impl_list): Likewise.
45897         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45898         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45899         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45900         sysdeps/powerpc/power6/wcscpy.c.
45902         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45904         file.
45905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45906         file.
45907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45908         file.
45909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45910         multiarch wcsrchr for PPC32.
45911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45912         multiarch objects.
45913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45914         (__libc_ifunc_impl_list): Likewise.
45915         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45916         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45917         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45918         sysdeps/powerpc/power6/wcsrchr.c.
45920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45921         file.
45922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45923         file.
45924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45926         multiarch wcschr for PPc32.
45927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45928         multiarch objects.
45929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45930         (__libc_ifunc_impl_list): Likewise.
45931         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45932         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45933         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45934         sysdeps/powerpc/power6/wcschr.c.
45936         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45937         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45938         file.
45939         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45940         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45941         file: multiarch strchr for PPC32.
45942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45943         multiarch objects.
45944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45945         (__libc_ifunc_impl_list): Likewise.
45947         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45948         name.
45949         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45950         file.
45951         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45952         file.
45953         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45954         multiarch strchrnul for PPC32.
45955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45956         multiarch objects.
45957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45958         (__libc_ifunc_impl_list): Likewise.
45960         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45961         file.
45962         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45963         multiarch strncasecmp for PPC32.
45964         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45965         file.
45966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45967         multiarch strncasecmp_l for PPC32.
45968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45969         strncasecmp multiarch objects.
45970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45971         (__libc_ifunc_impl_list): Likewise.
45973         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45974         file.
45975         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45976         multiarch strncasecmp for PPC32.
45977         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45978         New file.
45979         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45980         multiarch strcasecmp_l for PPC32.
45981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45982         multiarch objects.
45983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45984         (__libc_ifunc_impl_list): Likewise.
45986         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45987         file.
45988         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45989         file.
45990         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45991         multiarch strncmp for PPC32.
45992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45993         multiarch objects.
45994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45995         (__libc_ifunc_impl_list): Likewise.
45997         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45998         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45999         file.
46000         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46001         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46003         multiarch objects.
46004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46005         (__libc_ifunc_impl_list): Likewise.
46007         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46008         file.
46009         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46010         file.
46011         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46013         multiarch objects.
46014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46015         (__libc_ifunc_impl_list): Likewise.
46017         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46018         file.
46019         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46020         file.
46021         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46022         multiarch rawmemchr for PPC32.
46023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46024         multiarch objects.
46025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46026         (__libc_ifunc_impl_list): Likewise.
46028         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46029         file.
46030         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46031         file.
46032         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46033         file: memrchr multiarch for PPC32.
46034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46035         multiarch objects.
46036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46037         (__libc_ifunc_impl_list): Likewise.
46039         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46040         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46041         file.
46042         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46043         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46044         multiarch memchr for PPC32.
46045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46046         multiarch objects.
46047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46048         (__libc_ifunc_impl_list): Likewise.
46050         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46051         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46052         file.
46053         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46054         file.
46055         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46056         file: multiarch mempcpy for PPC32.
46057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46058         multiarch objects.
46059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46060         (__libc_ifunc_impl_list): Likewise.
46062         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46063         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46064         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46065         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46066         multiarch bzero for PPC32.
46067         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46068         file.
46069         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46070         file.
46071         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46072         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46073         file: multiarch memset for PPC32.
46074         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46076         memset multiarch objects.
46077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46078         (__libc_ifunc_impl_list): Likewise.
46080         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46081         file.
46082         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46084         memcmp for PPC32.
46085         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46087         multiarch objects.
46088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46089         (__libc_ifunc_impl_list): Likewise.
46091         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46094         file.
46095         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46096         file.
46097         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46098         file.
46099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46100         multiarch memcpy for PPC32.
46101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46102         multiarch objects.
46103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46104         (__libc_ifunc_impl_list): Likewise.
46106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46107         support multiarch for POWER/PPC32.
46108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46109         Likewise.
46110         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46112         Implies file to make multiarch folder appers before the fpu and
46113         default folder for power4 configuration.
46115 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46117         * scripts/bench.pl: Append volatile keyword to type.
46119 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46121         * sysdeps/sh/sotruss-lib.c: New file.
46122         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46124 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46128 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46130         [BZ #6810]
46131         * math/w_tgamma.c: Include <errno.h>.
46132         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46133         * math/w_tgammaf.c: Include <errno.h>.
46134         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46135         * math/w_tgammal.c: Include <errno.h>.
46136         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46137         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46138         underflow.  Add more tgamma tests.
46139         * math/auto-libm-test-out: Regenerated.
46140         * sysdeps/i386/fpu/libm-test-ulps: Update.
46141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46143         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46144         sin, sinh, tan, tanh, tgamma, y0 and y1.
46145         * math/auto-libm-test-out: Regenerated.
46146         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46147         (TEST_COND_x86): Likewise.
46148         (M_E2l): Remove macro.
46149         (M_E3l): Likewise.
46150         (M_2_SQRT_PIl): Likewise.
46151         (M_SQRT_PIl): Likewise.
46152         (M_1_DIV_El): Likewise.
46153         (log_test_data): Use AUTO_TESTS_f_f.
46154         (log10_test_data): Likewise.
46155         (log1p_test_data): Likewise.
46156         (log2_test_data): Likewise.
46157         (sin_test_data): Likewise.
46158         (sin_tonearest_test_data): Likewise.
46159         (sin_towardzero_test_data): Likewise.
46160         (sin_downward_test_data): Likewise.
46161         (sin_upward_test_data): Likewise.
46162         (sinh_test_data): Likewise.
46163         (sinh_tonearest_test_data): Likewise.
46164         (sinh_towardzero_test_data): Likewise.
46165         (sinh_downward_test_data): Likewise.
46166         (sinh_upward_test_data): Likewise.
46167         (tan_test_data): Likewise.
46168         (tan_tonearest_test_data): Likewise.
46169         (tan_towardzero_test_data): Likewise.
46170         (tan_downward_test_data): Likewise.
46171         (tan_upward_test_data): Likewise.
46172         (tanh_test_data): Likewise.
46173         (tgamma_test_data): Likewise.
46174         (y0_test_data): Likewise.
46175         (y1_test_data): Likewise.
46176         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46177         (special_real_inputs): Add pi/4.
46178         * sysdeps/i386/fpu/libm-test-ulps: Update.
46179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46181 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46183         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46184         "longjmp_target" static probes.
46185         (__longjmp): Rename to __longjmp_symbol.
46186         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46187         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46188         on which longjmp to generate.
46189         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46190         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46191         probe.
46192         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46193         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46194         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46195         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46196         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46197         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46199         __longjmp_symbol based on which __longjmp to generate.
46200         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46201         probe.
46202         (setjmp): Rename to setjmp_symbol.
46203         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46204         (_setjmp): Rename to _setjmp_symbol.
46205         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46206         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46207         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46208         which setjmp to generate.
46209         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46210         "longjmp_target" static probes.
46212 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46214         * benchtests/README: Add note about output arguments.
46215         * benchtests/bench-sincos.c: Remove file.
46216         * benchtests/sincos-inputs: New file.
46217         * scripts/bench.pl: Identify output arguments and define
46218         static variables for them.
46220         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46222         [BZ #15941]
46223         * Makefile (INSTALL): Add install-plain.texi as the primary
46224         dependency.
46225         * manual/install-plain.texi: New file.
46226         * manual/install.texi: Include node directive only for
46227         non-plaintext output.
46229 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46231         * stdlib/longlong.h: Update from GCC.
46233         [BZ #6807]
46234         [BZ #15901]
46235         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46236         * math/w_j0f.c (y0f): Likewise.
46237         * math/w_j0l.c (__y0l): Likewise.
46238         * math/w_j1.c (y1): Likewise.
46239         * math/w_j1f.c (y1f): Likewise.
46240         * math/w_j1l.c (__y1l): Likewise.
46241         * math/w_jn.c (yn): Likewise.
46242         * math/w_jnf.c (ynf): Likewise.
46243         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46244         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46245         value for Bessel function domain errors outside _SVID_ mode.
46246         Adjust sign of return value for yn (negative integer, 0).
46247         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46248         by zero in return for negative x and set sign appropriately for
46249         negative n.
46250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46251         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46252         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46253         expectations in error cases.
46254         (y1_test_data): Likewise.
46255         (yn_test_data): Likewise.
46256         * sysdeps/i386/fpu/libm-test-ulps: Update.
46257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46259 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46261         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46262         "64" to "64-v1".  Add "64-v2".
46263         (abi-64-options): Rename to ...
46264         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46265         (abi-64-condition): Rename to ...
46266         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46267         (abi-64-ld-soname): Rename to ...
46268         (abi-64-v1-ld-soname): ... this.
46269         (abi-64-v2-options): Define.
46270         (abi-64-v2-condition): Likewise.
46271         (abi-64-v2-ld-soname): Likewise.
46272         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46273         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46278 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46279             Alan Modra  <amodra@gmail.com>
46281         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46282         New versions for use with the ELFv2 ABI.
46283         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46284         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46285         declaration.
46286         (struct La_ppc64v2_retval): Likewise.
46287         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46288         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46289         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46290         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46291         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46292         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46293         Do not save or restore CR.
46294         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46295         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46296         return values for ELFv2 ABI.  Fix location of FPR return registers.
46297         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46298         updated values for _CALL_ELF == 2.
46299         (La_regs, La_retval, int_retval): Likewise.
46301 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46303         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46304         (FRAME_MIN_SIZE_PARM): Likewise.
46305         (FRAME_BACKCHAIN): Likewise.
46306         (FRAME_CR_SAVE): Likewise.
46307         (FRAME_LR_SAVE): Likewise.
46308         (FRAME_TOC_SAVE): Likewise.
46309         (FRAME_PARM_SAVE): Likewise.
46310         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46311         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46312         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46313         (call_mcount_parm_offset): New macro.
46314         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46315         (PROF): Use symbolic stack frame offsets.
46316         (TAIL_CALL_SYSCALL_ERROR): Likewise.
46317         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46318         Redefine in terms of FRAME_MIN_SIZE.
46319         (_dl_runtime_resolve): Use symbolic stack frame offsets.
46320         (_dl_profile_resolve): Likewise.  Update comment.
46321         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46322         symbols stack frame offsets.
46323         (__sigsetjmp): Likewise.
46324         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46325         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46326         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46327         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46330         (FRAME_BACKCHAIN): Remove.
46331         (FRAME_CR_SAVE): Likewise.
46332         (FRAME_LR_SAVE): Likewise.
46333         (FRAME_COMPILER_DW): Likewise.
46334         (FRAME_LINKER_DW): Likewise.
46335         (FRAME_TOC_SAVE): Likewise.
46336         (FRAME_PARM_SAVE): Likewise.
46337         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46338         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46339         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46341         (CHECK_SP): Use symbolic stack frame offsets.
46342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46343         zone" instead of caller's parameter save area for temp storage.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46345         Likewise.  Also, use symbolic stack frame offsets.
46346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46347         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46348         our own stack frame instead of the caller's.
46349         (__socket): Use symbolic stack frame offsets.
46351 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46352             Alan Modra  <amodra@gmail.com>
46354         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46355         Define.
46356         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46357         (PPC64_LOCAL_ENTRY_OFFSET): Define.
46358         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46359         New function.
46360         (elf_machine_fixup_plt): Call it.
46361         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
46362         reloc arguments.
46363         (elf_machine_rela): Update call to elf_machine_plt_conflict.
46364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46365         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46366         r2 before calling target.
46368 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46369             Alan Modra  <amodra@gmail.com>
46371         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46372         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46373         versions of macros to support ELFv2 ABI.
46374         (LOCALENTRY): New macro.
46375         (ENTRY, EALIGN): Use it.
46376         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46377         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46378         fall through into ENTRY entry point.
46379         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46380         Only define if _CALL_ELF != 2.
46382         (elf_machine_matches_host): Verify ABI version matches.
46383         (RTLD_START): Use LOCALENTRY.
46384         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46385         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46386         (PLT_ENTRY_WORDS): New macro.
46387         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46388         (elf_machine_runtime_setup): Support ELFv2 ABI.
46389         (elf_machine_fixup_plt): Likewise.
46390         (elf_machine_plt_conflict): Likewise.
46391         (resolve_ifunc): Likewise.
46392         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46394         Likewise.
46395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46396         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46398         (makecontext): Support ELFv2 ABI.
46399         * elf/elf.h (EF_PPC64_ABI): Define.
46401 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46403         * sysdeps/powerpc/powerpc64/sysdep.h
46404         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46405         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46406         (ENTRY) [ASSEMBLER]: ... but instead here ...
46407         (EALIGN) [ASSEMBLER]: ... and here.
46408         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46409         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46410         (ENTRY_2) [!ASSEMBLER]: Use it.
46411         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46412         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
46413         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46414         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46415         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46417         Use PPC64_LOAD_FUNCPTR.
46419         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46421 2013-12-04  Alan Modra  <amodra@gmail.com>
46423         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46424         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46425         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46426         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46428         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46429         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46430         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46431         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46432         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46433         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46435 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46438         (__makecontext): Fix incorrect CFI when backtracing out of
46439         context created via makecontext.
46440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46441         (__setcontext): Fix incorrect CFI during switch to new context.
46442         (__novec_setcontext): Likewise.
46444 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46446         [BZ #4772]
46447         * time/strptime_l.c (__strptime_internal): Allow modifiers
46448         in strptime.
46449         * time/tst-strptime.c (day_tests): Add testcase.
46451 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46453         * scripts/bench.pl: Skip over blank lines.
46455 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46457         [BZ #926]
46458         * manual/time.texi (Calendar Time): Clarify what timezone functions
46459         use.
46461 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46465 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46467         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46468         implementation.
46469         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46470         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46471         * debug/memset_chk.c (__memset_chk): Likewise.
46472         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46473         * debug/strncpy_chk.c: Likewise.
46475 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46477         [BZ #15268]
46478         [BZ #15425]
46479         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46480         (__ieee754_exp): For possibly underflowing results, check size of
46481         result and force underflow exception if required.
46482         * math/auto-libm-test-in: Add more tests of exp.
46483         * math/auto-libm-test-out: Regenerated.
46484         * sysdeps/i386/fpu/libm-test-ulps: Update.
46485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46487         [BZ #16283]
46488         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46489         * math/w_exp2f.c (__exp2f): Likewise.
46490         * math/w_exp2l.c (__exp2l): Likewise.
46491         * math/auto-libm-test-in: Do not allow missing errno on exp2
46492         underflow.
46493         * math/auto-libm-test-out: Regenerated.
46495 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46497         [BZ #16274]
46498         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46499         handle filename validation.
46500         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46501         (do_open): Delete.
46503 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46505         [BZ #6786]
46506         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46507         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46508         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46509         <float.h>.
46510         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46511         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46512         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46514         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46516         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46517         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46518         Add more erfc tests.
46519         * math/auto-libm-test-out: Regenerated.
46520         * sysdeps/i386/fpu/libm-test-ulps: Update.
46521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46523         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46524         exp2, expm1, j0 and j1.
46525         * math/auto-libm-test-out: Regenerated.
46526         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46527         (erfc_test_data): Likewise.
46528         (exp_test_data): Likewise.
46529         (exp_tonearest_test_data): Likewise.
46530         (exp_towardzero_test_data): Likewise.
46531         (exp_downward_test_data): Likewise.
46532         (exp_upward_test_data): Likewise.
46533         (exp10_test_data): Likewise.
46534         (exp2_test_data): Likewise.
46535         (expm1_test_data): Likewise.
46536         (j0_test_data): Likewise.
46537         (j1_test_data): Likewise.
46538         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46539         (input_flag_type): Add flag_xfail_rounding.
46540         (input_flags): Add xfail-rounding.
46541         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46542         (output_for_one_input_case): Handle flag_xfail_rounding.
46543         * sysdeps/i386/fpu/libm-test-ulps: Update.
46544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46546 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46548         [BZ #16289]
46549         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46550         division by 0.
46552 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46554         [BZ #16195]
46555         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46556         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46557         (STAP_PROBE0): New macro.
46558         (STAP_PROBE1): Likewise.
46559         (STAP_PROBE2): Likewise.
46560         (STAP_PROBE3): Likewise.
46561         (STAP_PROBE4): Likewise.
46563 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46565         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46567 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46569         * benchtests/Makefile (bench): Add sqrt.
46570         (LDLIBS-bench-sqrt): New.
46571         * benchtests/sqrt-input: New.
46573 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46575         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46576         (GAIH_EAI): Likewise.
46577         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46578         (gaih_inet): Likewise.
46579         (getaddrinfo): Don't use GAIH_EAI.
46581         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46582         (struct gaih): Remove definition.
46584 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46586         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46587         Use HERRNOP directly.
46589 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46593 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46595         * math/gen-auto-libm-tests.c (test_functions): Add more
46596         single-argument functions.
46597         (special_fill_pi_2): New function.
46598         (special_fill_minus_pi_2): Likewise.
46599         (special_fill_pi_6): Likewise.
46600         (special_fill_minus_pi_6): Likewise.
46601         (special_fill_pi_3): Likewise.
46602         (special_fill_2pi_3): Likewise.
46603         (special_fill_e): Likewise.
46604         (special_fill_1_e): Likewise.
46605         (special_fill_e_minus_1): Likewise.
46606         (special_real_inputs): Add more special inputs.
46607         (output_for_one_input_case): Do not require ERANGE on underflow to
46608         zero if round-to-nearest result does not underflow to zero, unless
46609         exact results required.
46610         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46611         atan, atanh, cbrt, cos and cosh.
46612         * math/auto-libm-test-out: Regenerated.
46613         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46614         (acos_tonearest_test_data): Likewise.
46615         (acos_towardzero_test_data): Likewise.
46616         (acos_downward_test_data): Likewise.
46617         (acos_upward_test_data): Likewise.
46618         (acosh_test_data): Likewise.
46619         (asin_test_data): Likewise.
46620         (asin_tonearest_test_data): Likewise.
46621         (asin_towardzero_test_data): Likewise.
46622         (asin_upward_test_data): Likewise.
46623         (asinh_test_data): Likewise.
46624         (atan_test_data): Likewise.
46625         (atanh_test_data): Likewise.
46626         (cbrt_test_data): Likewise.
46627         (cos_test_data): Likewise.
46628         (cos_tonearest_test_data): Likewise.
46629         (cos_towardzero_test_data): Likewise.
46630         (cos_downward_test_data): Likewise.
46631         (cos_upward_test_data): Likewise.
46632         (cosh_test_data): Likewise.
46633         (cosh_tonearest_test_data): Likewise.
46634         (cosh_towardzero_test_data): Likewise.
46635         (cosh_downward_test_data): Likewise.
46636         (cosh_upward_test_data): Likewise.
46637         * sysdeps/i386/fpu/libm-test-ulps: Update.
46638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46640 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46642         [BZ #6787]
46643         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46644         * math/w_exp10f.c (__exp10f): Likewise.
46645         * math/w_exp10l.c (__exp10l): Likewise.
46646         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46647         errno settings in existing tests.
46649         [BZ #14032]
46650         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46651         precision control set to double precision.
46652         * sysdeps/i386/fpu/w_sqrt.c: New file.
46653         * math/auto-libm-test-in: Add more tests.
46654         * math/auto-libm-test-out: Update.
46656         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46657         (sqrt_test_tonearest): New function.
46658         (sqrt_towardzero_test_data): New variable.
46659         (sqrt_test_towardzero): New function.
46660         (sqrt_downward_test_data): New variable.
46661         (sqrt_test_downward): New function.
46662         (sqrt_upward_test_data): New variable.
46663         (sqrt_test_upward): New function.
46664         (main): Call the new functions.
46666         * math/gen-auto-libm-tests.c: New file.
46667         * math/auto-libm-test-in: Likewise.
46668         * math/auto-libm-test-out: New generated file.
46669         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46670         variables.
46671         (%beautify): Add generated representations of zero.
46672         (top level): Set $auto_input and call parse_auto_input.
46673         (beautify): Remove trailing "f" from hex float constants.
46674         (parse_args): Handle XFAIL_TEST.
46675         (convert_condition): New function.
46676         (or_value): Likewise.
46677         (or_cond_value): Likewise.
46678         (generate_testfile): Handle AUTO_TESTS_* lines.
46679         (parse_auto_input): New function.
46680         * math/libm-test.inc (XFAIL_TEST): New macro.
46681         (ERRNO_UNCHANGED): Update value.
46682         (ERRNO_EDOM): Likewise.
46683         (ERRNO_ERANGE): Likewise.
46684         (IGNORE_RESULT): Likewise.
46685         (TEST_COND_flt_32): New macro.
46686         (TEST_COND_dbl_64): Likewise.
46687         (TEST_COND_ldbl_96_intel): Likewise.
46688         (TEST_COND_ldbl_96_m68k): Likewise.
46689         (TEST_COND_ldbl_128): Likewise.
46690         (TEST_COND_ldbl_128ibm): Likewise.
46691         (TEST_COND_long32): Likewise.
46692         (TEST_COND_long64): Likewise.
46693         (TEST_COND_before_rounding): Likewise.
46694         (TEST_COND_after_rounding): Likewise.
46695         (enable_test): Handle XFAIL_TEST flag.
46696         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46697         with finite results.
46698         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46699         auto-libm-test-out.
46701 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46702             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46704         [BZ #16214]
46705         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46706         __tls_get_addr_internal instead of __tls_get_offset in order to
46707         avoid GOT pointer dependency.  Make rtld export
46708         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46709         __tls_get_addr since we are a __tls_get_offset platform.
46710         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46711         GOT pointer being set up before.
46712         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46714 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46716         * manual/math.texi (Errors in Math Functions): Document accuracy
46717         goals.
46719         [BZ #15004]
46720         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46721         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46722         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46723         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46724         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46725         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46726         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46727         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46728         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46729         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46730         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46731         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46732         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46733         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46734         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46735         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46737         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46738         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46739         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46740         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46741         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46742         Likewise.
46743         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46744         Likewise.
46745         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46746         Likewise.
46747         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46748         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46749         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46750         atomic-feupdateenv and flt-rounds.
46751         * sysdeps/powerpc/nofpu/Versions (libc): Add
46752         __atomic_feholdexcept, __atomic_feclearexcept,
46753         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46754         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46755         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46756         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46757         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46758         here.
46759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46760         Update.
46762         * manual/arith.texi (FP Exceptions): Document that exceptions may
46763         not be raised when matherr is used.
46764         (Math Error Reporting): Document overflow in directed rounding
46765         modes.  Document that errno may not be set when finite values are
46766         returned on overflow.  Document intent to set errno on underflow
46767         only for underflow to zero.
46769         [BZ #16271]
46770         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46771         round-to-nearest then adjust result for other rounding modes.
46772         * include/fenv.h (fegetround): Use libm_hidden_proto.
46773         * math/fegetround.c (fegetround): Use libm_hidden_def.
46774         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46775         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46776         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46777         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46778         Likewise.
46779         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46780         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46781         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46782         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46784 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46786         [BZ #16077]
46787         * nss/Versions (libnss_files): Add
46788         _nss_files_gethostbyname3_r.
46789         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46790         New function.
46791         (HOST_DB_LOOKUP): Remove macro.
46792         (_nss_files_gethostbyname_r): Implement function without the
46793         HOST_DB_LOOKUP macro.
46794         (_nss_files_gethostbyname2_r): Likewise.
46796 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46798         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46800 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46802         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46803         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46804         warning.
46806 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46808         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46809         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46810         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46811         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46812         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46813         __fe_nomask_env_priv and attribute_hidden.
46814         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46815         (libc_feupdateenv_test_ppc): Likewise.
46816         (libc_feresetround_ppc): Likewise.
46817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46818         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46819         compat_symbol macro.
46820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46821         (__fe_nomask_env): Likewise.
46822         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46824 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46826         * string/Makefile: Remove ifunc tests.
46827         * string/test-string.h: Define TEST_IFUNC.
46828         * string/test-bcopy-ifunc.c: Remove.
46829         * string/test-bzero-ifunc.c: Likewise.
46830         * string/test-memccpy-ifunc.c: Likewise.
46831         * string/test-memchr-ifunc.c: Likewise.
46832         * string/test-memcmp-ifunc.c: Likewise.
46833         * string/test-memcpy-ifunc.c: Likewise.
46834         * string/test-memmem-ifunc.c: Likewise.
46835         * string/test-memmove-ifunc.c: Likewise.
46836         * string/test-mempcpy-ifunc.c: Likewise.
46837         * string/test-memrchr-ifunc.c: Likewise.
46838         * string/test-memset-ifunc.c: Likewise.
46839         * string/test-rawmemchr-ifunc.c: Likewise.
46840         * string/test-stpcpy-ifunc.c: Likewise.
46841         * string/test-stpncpy-ifunc.c: Likewise.
46842         * string/test-strcasecmp-ifunc.c: Likewise.
46843         * string/test-strcasestr-ifunc.c: Likewise.
46844         * string/test-strcat-ifunc.c: Likewise.
46845         * string/test-strchr-ifunc.c: Likewise.
46846         * string/test-strchrnul-ifunc.c: Likewise.
46847         * string/test-strcmp-ifunc.c: Likewise.
46848         * string/test-strcpy-ifunc.c: Likewise.
46849         * string/test-strcspn-ifunc.c: Likewise.
46850         * string/test-strlen-ifunc.c: Likewise.
46851         * string/test-strncasecmp-ifunc.c: Likewise.
46852         * string/test-strncat-ifunc.c: Likewise.
46853         * string/test-strncmp-ifunc.c: Likewise.
46854         * string/test-strncpy-ifunc.c: Likewise.
46855         * string/test-strnlen-ifunc.c: Likewise.
46856         * string/test-strpbrk-ifunc.c: Likewise.
46857         * string/test-strrchr-ifunc.c: Likewise.
46858         * string/test-strspn-ifunc.c: Likewise.
46859         * string/test-strstr-ifunc.c: Likewise.
46861 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46863         * benchtests/Makefile: Remove ifunc tests.
46864         * benchtests/bench-string.h: Define TEST_IFUNC.
46865         * benchtests/bench-bcopy-ifunc.c: Remove.
46866         * benchtests/bench-bzero-ifunc.c: Likewise.
46867         * benchtests/bench-memccpy-ifunc.c: Likewise.
46868         * benchtests/bench-memchr-ifunc.c: Likewise.
46869         * benchtests/bench-memcmp-ifunc.c: Likewise.
46870         * benchtests/bench-memcpy-ifunc.c: Likewise.
46871         * benchtests/bench-memmem-ifunc.c: Likewise.
46872         * benchtests/bench-memmove-ifunc.c: Likewise.
46873         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46874         * benchtests/bench-memrchr-ifunc.c: Likewise.
46875         * benchtests/bench-memset-ifunc.c: Likewise.
46876         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46877         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46878         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46879         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46880         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46881         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46882         * benchtests/bench-strcat-ifunc.c: Likewise.
46883         * benchtests/bench-strchr-ifunc.c: Likewise.
46884         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46885         * benchtests/bench-strcmp-ifunc.c: Likewise.
46886         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46887         * benchtests/bench-strcpy-ifunc.c: Likewise.
46888         * benchtests/bench-strcspn-ifunc.c: Likewise.
46889         * benchtests/bench-strlen-ifunc.c: Likewise.
46890         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46891         * benchtests/bench-strncat-ifunc.c: Likewise.
46892         * benchtests/bench-strncmp-ifunc.c: Likewise.
46893         * benchtests/bench-strncpy-ifunc.c: Likewise.
46894         * benchtests/bench-strnlen-ifunc.c: Likewise.
46895         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46896         * benchtests/bench-strrchr-ifunc.c: Likewise.
46897         * benchtests/bench-strsep-ifunc.c: Likewise.
46898         * benchtests/bench-strspn-ifunc.c: Likewise.
46899         * benchtests/bench-strstr-ifunc.c: Likewise.
46901 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46903         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46905 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46907         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46908         * rt/aio.h: Likewise.
46909         * sysdeps/gnu/bits/utmp.h: Likewise.
46910         * sysdeps/gnu/bits/utmpx.h: Likewise.
46911         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46912         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46913         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46914         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46915         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46916         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46917         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46918         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46919         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46920         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46921         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46922         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46923         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46925         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46926         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46927         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46928         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46929         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46930         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46931         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46932         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46933         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46934         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46935         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46937         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46938         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46939         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46940         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46941         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46942         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46943         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46944         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46945         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46946         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46947         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46948         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46949         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46950         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46951         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46952         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46954 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46956         [BZ #16245]
46957         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46958         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46960 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46962         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46963         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46964         Likewise.
46966 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46969         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46970         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46971         (__fesetround): Remove define.
46972         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46973         rounding and exceptions handling.
46974         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46975         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46976         (__fe_nomask_env): Likewise.
46977         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46978         __fegetround instead of fegetround.
46979         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46980         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46982 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46984         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46985         it's there.
46987         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46989 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46991         [BZ #11157]
46992         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46993         (encrypt_r): Likewise.
46994         * malloc/obstack.h (obstack_free): Likewise.
46995         * posix/unistd.h (encrypt): Likewise.
46997 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46999         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47000         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47001         DL_CALL_DT_FINI() that call the functions directly.
47002         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47003         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47004         * elf/dl-fini.c: Likewise.
47006 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47008         * malloc/hooks.c (memalign_check): Add alignment rounding.
47009         * malloc/malloc.c (_mid_memalign): New function.
47010         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47011         Implement by calling _mid_memalign.
47012         * manual/probes.texi (Memory Allocation Probes): Remove
47013         memory_valloc_retry and memory_pvalloc_retry.
47015 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47017         * locale/programs/locarchive.c (open_archive): Add const
47018         qualifier to ARCHIVEFNAME and copy default fname to
47019         DEFAULT_FNAME.
47021         [BZ #15601]
47022         * libio/tst-widetext.input: Rename Oriya to Odia.
47023         * locale/iso-639.def: Likewise.
47025         * manual/probes.texi (Mathematical Function Probes): Add
47026         documentation for sin, cos, asin and acos probes.
47027         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47028         (__sin32): Add slowasin probe.
47029         (__cos32): Add slowacos probe.
47030         (__mpsin): Add slowsin probe.
47031         (__mpcos): Add slowcos probe.
47033 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47035         [BZ #15483]
47036         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47037         thread-local __sim_exceptions_thread and global
47038         __sim_exceptions_global.
47039         (__sim_disabled_exceptions): Change to thread-local
47040         __sim_disabled_exceptions_thread and global
47041         __sim_disabled_exceptions_global.
47042         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47043         and global __sim_round_mode_global.
47044         (__simulate_exceptions): Use thread-local floating-point state and
47045         set global state from it as needed.
47046         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47047         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47048         __sim_round_mode_thread.
47049         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47050         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47051         and global __sim_exceptions_global.
47052         (__sim_disabled_exceptions): Change to thread-local
47053         __sim_disabled_exceptions_thread and global
47054         __sim_disabled_exceptions_global.
47055         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47056         and global __sim_round_mode_global.
47057         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47058         (SIM_SET_GLOBAL): Likewise.
47059         * sysdeps/powerpc/soft-fp/sfp-machine.h
47060         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47061         __sim_round_mode_thread.
47062         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47063         __sim_disabled_exceptions_thread.
47064         (__sim_exceptions): Change to __sim_exceptions_thread.
47065         (__sim_disabled_exceptions): Change to
47066         __sim_disabled_exceptions_thread.
47067         (__sim_round_mode): Change to __sim_round_mode_thread.
47068         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47069         thread-local floating-point state and set global state from it as
47070         needed.
47071         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47072         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47073         (__sim_disabled_exceptions): Remove extern declaration.
47074         (feenableexcept): Use thread-local floating-point state and set
47075         global state from it as needed.
47076         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47077         extern declaration.
47078         (__sim_disabled_exceptions): Likewise.
47079         (__sim_round_mode): Likewise.
47080         (__fegetenv): Use thread-local floating-point state.
47081         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47082         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47083         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47084         floating-point state and set global state from it as needed.
47085         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47086         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47087         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47088         Likewise.
47089         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47090         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47091         Likewise.
47092         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47093         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47094         Use __sim_round_mode_thread.
47095         * math/test-fenv-tls.c: New file.
47096         * math/Makefile (tests): Add test-fenv-tls.
47097         ($(objpfx)test-fenv-tls): Depend on
47098         $(common-objpfx)nptl/libpthread.so.
47100 2013-11-19  Andreas Schwab  <schwab@suse.de>
47102         * locale/programs/locale.c (show_info): Decode wordarray elements.
47103         * locale/categories.def (LC_MONETARY): Add element for
47104         _NL_MONETARY_CRNCYSTR.
47105         * locale/C-monetary.c (conversion_rate): New variable.
47106         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47107         element.
47109 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47111         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47112         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47114 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47116         * elf/Makefile (tst-auxv): New test.
47117         * elf/tst-auxv.c: New
47118         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47120 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47122         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47123         (hidden_proto): Caller changed.
47124         (hidden_tls_proto): New macro.
47125         (libc_hidden_tls_proto): Likewise.
47126         (rtld_hidden_tls_proto): Likewise.
47127         (libm_hidden_tls_proto): Likewise.
47128         (libresolv_hidden_tls_proto): Likewise.
47129         (librt_hidden_tls_proto): Likewise.
47130         (libdl_hidden_tls_proto): Likewise.
47131         (libnss_files_hidden_tls_proto): Likewise.
47132         (libnsl_hidden_tls_proto): Likewise.
47133         (libnss_nisplus_hidden_tls_proto): Likewise.
47134         (libutil_hidden_tls_proto): Likewise.
47136 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47138         [BZ #10253]
47139         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47140         (decompose_rpath): Defer expansion to fillin_rpath.
47141         (_dl_init_paths): Pass linkmap to fillin_rpath.
47143 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47145         * benchtests/Makefile: Add strsep.
47146         * benchtests/bench-strsep.c: New file: strsep benchtest.
47147         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47149 2013-11-18  Andreas Schwab  <schwab@suse.de>
47151         * locale/programs/locale.c (show_info) [case byte]: Check for
47152         '\377' instead of '\177'.
47153         * locale/C-monetary.c (not_available): Always use "\377".
47154         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47155         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47156         detect unavailable sign_posn locale elements.
47157         * locale/localeconv.c (__localeconv): For grouping and
47158         mon_grouping handle "\177" and "\377" like no grouping.
47159         (INT_ELEM): New macro.  Use it to set all numeric members.
47160         * locale/programs/ld-monetary.c (monetary_read)
47161         <tok_mon_grouping>: Normalize single -1 to the empty string.
47162         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47163         Likewise.
47165 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47167         [BZ #16055]
47168         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47169         when we match (nil).
47170         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47172 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47174         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47175         (NO_TEST_INLINE): Update value.
47176         (ERRNO_UNCHANGED): Likewise.
47177         (ERRNO_EDOM): Likewise.
47178         (ERRNO_ERANGE): Likewise.
47179         (IGNORE_RESULT): Likewise.
47180         (check_float_internal): Check signs of NaN results if
47181         TEST_NAN_SIGN used.
47182         (check_complex): Pass TEST_NAN_SIGN flag through to second
47183         check_float_internal call.
47184         (copysign_test_data): Add tests with quiet NaNs as second
47185         argument.  Use TEST_NAN_SIGN.
47186         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47187         TEST_NAN_SIGN.
47188         (signbit_test_data): Add tests of quiet NaN argument.
47189         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47191         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47192         $ignore_result.
47193         (parse_args): Handle function results specified as IGNORE.
47194         * math/libm-test.inc (IGNORE_RESULT): New macro.
47195         (check_float_internal): Do not check numerical result if flag
47196         IGNORE_RESULT set.
47197         (check_complex): Pass through IGNORE_RESULT to second
47198         check_float_internal call.
47199         (check_int): Do not check numerical result if flag IGNORE_RESULT
47200         set.
47201         (check_long): Likewise.
47202         (check_bool): Likewise.
47203         (check_longlong): Likewise.
47204         (lrint_test_data): Add tests of infinite and NaN arguments.
47205         (lrint_tonearest_test_data): Likewise.
47206         (lrint_towardzero_test_data): Likewise.
47207         (lrint_downward_test_data): Likewise.
47208         (lrint_upward_test_data): Likewise.
47209         (llrint_test_data): Likewise.
47210         (llrint_tonearest_test_data): Likewise.
47211         (llrint_towardzero_test_data): Likewise.
47212         (llrint_downward_test_data): Likewise.
47213         (llrint_upward_test_data): Likewise.
47214         (lround_test_data): Likewise.
47215         (llround_test_data): Likewise.
47217         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47218         (ERRNO_UNCHANGED): Update value.
47219         (ERRNO_EDOM): Likewise.
47220         (ERRNO_ERANGE): Likewise.
47221         (NO_TEST_INLINE_FLOAT): New macro.
47222         (NO_TEST_INLINE_DOUBLE): Likewise.
47223         (enable_test): New function.
47224         (RUN_TEST_f_f): Check enable_test before running test.
47225         (RUN_TEST_2_f): Likewise.
47226         (RUN_TEST_fff_f): Likewise.
47227         (RUN_TEST_c_f): Likewise.
47228         (RUN_TEST_f_f1): Likewise.
47229         (RUN_TEST_fF_f1): Likewise.
47230         (RUN_TEST_fI_f1): Likewise.
47231         (RUN_TEST_ffI_f1): Likewise.
47232         (RUN_TEST_c_c): Likewise.
47233         (RUN_TEST_cc_c): Likewise.
47234         (RUN_TEST_f_i): Likewise.
47235         (RUN_TEST_f_i_tg): Likewise.
47236         (RUN_TEST_ff_i_tg): Likewise.
47237         (RUN_TEST_f_b): Likewise.
47238         (RUN_TEST_f_b_tg): Likewise.
47239         (RUN_TEST_f_l): Likewise.
47240         (RUN_TEST_f_L): Likewise.
47241         (RUN_TEST_fFF_11): Likewise.
47242         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47243         conditionals.
47244         (cosh_test_data): Likewise.
47245         (exp_test_data): Likewise.
47246         (expm1_test_data): Likewise.
47247         (hypot_test_data): Likewise.
47248         (pow_test_data): Likewise.
47249         (sinh_test_data): Likewise.
47250         (tanh_test_data): Likewise.
47251         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47252         flags argument.
47254         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47255         tests with quiet NaN input and output.
47256         (acosh_test_data): Likewise.
47257         (asin_test_data): Likewise.
47258         (asinh_test_data): Likewise.
47259         (atan_test_data): Likewise.
47260         (atanh_test_data): Likewise.
47261         (atan2_test_data): Likewise.
47262         (cbrt_test_data): Likewise.
47263         (cos_test_data): Likewise.
47264         (cosh_test_data): Likewise.
47265         (erf_test_data): Likewise.
47266         (erfc_test_data): Likewise.
47267         (exp_test_data): Likewise.
47268         (exp10_test_data): Likewise.
47269         (exp2_test_data): Likewise.
47270         (expm1_test_data): Likewise.
47271         (hypot_test_data): Likewise.
47272         (j0_test_data): Likewise.
47273         (j1_test_data): Likewise.
47274         (jn_test_data): Likewise.
47275         (lgamma_test_data): Likewise.
47276         (log_test_data): Likewise.
47277         (log10_test_data): Likewise.
47278         (log1p_test_data): Likewise.
47279         (log2_test_data): Likewise.
47280         (pow_test_data): Likewise.
47281         (scalb_test_data): Likewise.
47282         (sin_test_data): Likewise.
47283         (sincos_test_data): Likewise.
47284         (sinh_test_data): Likewise.
47285         (tan_test_data): Likewise.
47286         (tanh_test_data): Likewise.
47287         (tgamma_test_data): Likewise.
47288         (y0_test_data): Likewise.
47289         (y1_test_data): Likewise.
47290         (yn_test_data): Likewise.
47292         [BZ #16167]
47293         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47294         argument being NaN and avoid computations with second argument in
47295         that case.
47296         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47297         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47298         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47300 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
47302         * locale/iso-639.def: Add Chitwani Tharu (the).
47304 2013-11-14  Andreas Schwab  <schwab@suse.de>
47306         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47307         word instead of empty string.
47309 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47312         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47314         (__fe_nomask_env): Likewise.
47316 2013-11-13  Steve Ellcey  <sellcey@mips.com>
47318         * benchtests/bench-timing.h: Include time.h.
47320 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
47322         [BZ #15997]
47323         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47324         to 3.4.0 for x32.
47325         * sysdeps/unix/sysv/linux/configure: Regenerated.
47327 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
47329         [BZ #16151]
47330         * stdlib/strtod_l.c (round_and_return): Do not consider
47331         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47332         exponent one less than half the least subnormal exponent.
47333         * stdlib/test-strtod-round-data: Add more tests.
47334         * stdlib/tst-strtod-round.c (tests): Regenerated.
47336 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47338         [BZ #14143]
47339         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47340         (__fe_mask_env): Likewise.
47341         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47342         libm_hidden_proto and add function prototype.
47343         (__fe_mask_env): Add function prototype.
47344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47345         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47347         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47349         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47351 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47353         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47354         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47356 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47358         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47359         of htab_find_slot().
47361 2013-11-11  David S. Miller  <davem@davemloft.net>
47363         [BZ #16150]
47364         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47365         symbol in the non-vis3 case in static builds.
47366         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47367         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47368         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47369         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47371 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
47373         [BZ #387]
47374         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47375         it is empty.
47377 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47379         * benchtests/Makefile: Add bench-strtod.
47380         * benchtests/bench-strtod.c: New file: strtod benchtest
47382 2013-11-11  Andreas Schwab  <schwab@suse.de>
47384         [BZ #16153]
47385         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47386         terminating NUL in key length.
47388 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47390         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47391         Add artificial ODP entry for vDSO symbol for PPC64.
47392         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47393         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47395 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47397         [BZ #15374]
47398         * nss/getent.c (services_keys): Recognize services starting with digit.
47400 2013-11-06  David S. Miller  <davem@davemloft.net>
47402         [BZ #15985]
47403         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47404         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47406 2013-11-06  Will Newton  <will.newton@linaro.org>
47408         * manual/memory.texi (Malloc Examples): Remove register
47409         keyword from examples.
47411 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
47413         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47415 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
47417         [BZ #6981]
47418         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47419         depending on [__GCC_IEC_559 > 0].
47420         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47421         depending on [__GCC_IEC_559_COMPLEX > 0].
47423 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
47425         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47426         to iso-639.def.
47428 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
47430         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47432 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
47434         [BZ #16112]
47435         * malloc/malloc (malloc_info): Do not handle first bin as
47436         special case.
47438 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47440         * locale/iso-639.def: Add Central Nahuatl (nhn).
47442 2013-11-01  Bruno Haible  <bruno@clisp.org>
47444         [BZ #7003]
47445         * manual/math.texi (BSD Random): Specify range upper bound as
47446         in POSIX.
47448 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47450         * locale/iso-639.def: Add Meadow Mari (mhr).
47452 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47454         [BZ #14752], [BZ #15763]
47455         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47456         Validate name.
47457         * rt/tst_shm.c: Add test for escaping directory.
47459 2013-10-31  Andreas Schwab  <schwab@suse.de>
47461         [BZ #15917]
47462         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47463         followed by 'x' as part of digit sequence.
47464         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47466 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47468         [BZ #16037]
47469         * configure.ac: allow GNU Make 4.0 and greater.
47470         * configure: Regenerated.
47472 2013-10-30  Will Newton  <will.newton@linaro.org>
47474         [BZ #16038]
47475         * malloc/hooks.c (memalign_check): Limit alignment to the
47476         maximum representable power of two.
47477         * malloc/malloc.c (__libc_memalign): Likewise.
47478         * malloc/tst-memalign.c (do_test): Add test for very
47479         large alignment values.
47480         * malloc/tst-posix_memalign.c (do_test): Likewise.
47482 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47484         [BZ #11087]
47485         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47486         (munmap_chunk): Likewise.
47487         (mremap_chunk): Likewise.
47489 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47491         [BZ #15799]
47492         * stdlib/div.c (div): Remove obsolete code.
47493         * stdlib/ldiv.c (ldiv): Likewise.
47494         * stdlib/lldiv.c (lldiv): Likewise.
47496 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47498         [BZ #16071]
47499         * nss/nss_files/files-XXX.c (get_contents_ret): New
47500         enumerator.
47501         (get_contents): New function.
47502         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47504 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47506         * configure.in: Moved to ...
47507         * configure.ac: ... here. Change reference to configure.in
47508         to configure.ac.
47509         * sysdeps/arm/preconfigure.ac: ... here.
47510         configure.in to configure.ac.
47511         * sysdeps/gnu/configure.in: Moved to ...
47512         * sysdeps/gnu/configure.ac: ... here.
47513         * sysdeps/i386/configure.in: Moved to ...
47514         * sysdeps/i386/configure.ac: ... here.
47515         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47516         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47517         * sysdeps/mach/configure.in: Moved to ...
47518         * sysdeps/mach/configure.ac: ... here.
47519         * sysdeps/mach/hurd/configure.in: Moved to ...
47520         * sysdeps/mach/hurd/configure.ac: ... here.
47521         * sysdeps/powerpc/configure.in: Moved to ...
47522         * sysdeps/powerpc/configure.ac: ... here.
47523         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47524         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47525         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47526         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47527         * sysdeps/s390/s390-32/configure.in: Moved to ...
47528         * sysdeps/s390/s390-32/configure.ac: ... here.
47529         * sysdeps/s390/s390-64/configure.in: Moved to ...
47530         * sysdeps/s390/s390-64/configure.ac: ... here.
47531         * sysdeps/sh/configure.in: Moved to ...
47532         * sysdeps/sh/configure.ac: ... here.
47533         * sysdeps/sparc/configure.in: Moved to ...
47534         * sysdeps/sparc/configure.ac: ... here.
47535         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47536         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47537         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47538         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47539         * sysdeps/x86_64/configure.in: Moved to ...
47540         * sysdeps/x86_64/configure.ac: ... here.
47541         * sysdeps/x86_64/preconfigure.in: Moved to ...
47542         * sysdeps/x86_64/preconfigure.ac: ... here.
47543         * aclocal.m4: Change reference to configure.in to configure.ac.
47544         * config.h.in: Likewise.
47545         * manual/install.texi: Likewise.
47546         * manual/maint.texi: Likewise.
47547         * Makefile: Likewise.
47548         * malloc/Makefile: Likewise.
47549         * nscd/Makefile: Likewise.
47550         * Makeconfig: Change reference to configure.in and
47551         preconfigure.in to configure.ac and preconfigure.ac
47552         respectively.
47553         * INSTALL: Regenerated.
47554         * configure: Likewise.
47555         * sysdeps/gnu/configure: Likewise.
47556         * sysdeps/i386/configure: Likewise.
47557         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47558         * sysdeps/mach/configure: Likewise.
47559         * sysdeps/mach/hurd/configure: Likewise.
47560         * sysdeps/powerpc/configure: Likewise.
47561         * sysdeps/powerpc/powerpc32/configure: Likewise.
47562         * sysdeps/powerpc/powerpc64/configure: Likewise.
47563         * sysdeps/s390/s390-32/configure: Likewise.
47564         * sysdeps/s390/s390-64/configure: Likewise.
47565         * sysdeps/sh/configure: Likewise.
47566         * sysdeps/sparc/configure: Likewise.
47567         * sysdeps/unix/sysv/linux/configure: Likewise.
47568         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47569         * sysdeps/x86_64/configure: Likewise.
47570         * sysdeps/x86_64/preconfigure: Likewise.
47572 2013-10-29  Andreas Schwab  <schwab@suse.de>
47574         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47576 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47578         * benchtests/pow-inputs: Add new inputs.
47580         * benchtests/exp-inputs: Add new inputs.
47582         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47583         conditional check for return value.
47584         (__cos32): Likewise.
47586 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47588         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47589         to provide a boost for large inputs with word alignment.
47590         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47591         implementation based on optimized PPC64 strcpy.
47592         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47593         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47594         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47595         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47597 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47599         [BZ #2801]
47600         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47602 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47604         [BZ #14876]
47605         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47606         * time/tst-strptime.c (day_tests): Add testcase.
47608 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47610         [BZ #14029]
47611         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47613 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47615         [BZ #16074]
47616         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47617         MAP_FAILED on error.
47619 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47621         [BZ #16072]
47622         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47623         heap for large requests.
47625 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47627         [BZ #9954]
47628         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47629         result if the result has no associated interface.
47630         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47631         interface for all 127.X.Y.Z addresses.
47633 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47635         * locale/iso-639.def: Add Ligurian (lij)
47637 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47639         [BZ #15825]
47640         * sunrpc/rpc_main.c: Document rpcgen -5.
47642 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47644         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47646 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47648         [BZ #10278]
47649         * posix/glob.c: Match only directories when trailing slash is present.
47650         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47651         (main): Add testcase.
47653 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47655         [BZ #15670]
47656         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47658 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47660         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47661         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47662         AUTH_DES and cindex for FIPS 140-2.
47663         (DES Encryption): Add cindex FIPS 46-3.
47665         * locale/locarchive.h (struct locarhandle): Add fname.
47666         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47667         if an optional argument was specified to --list-archive,
47668         otherwise NULL.
47669         * locale/programs/locarchive.c (show_archive_content): Take new
47670         argument fname and pass it via ah.fname to open_archive.
47671         * locale/programs/localedef.h: Update decl.
47672         (open_archive): If AH->fname is non-null, open that file
47673         rather than the default file name, and don't ignore ENOENT.
47674         (create_archive): Set AH.fname to NULL.
47675         (delete_locales_from_archive): Likewise.
47676         (add_locales_to_archive): Likewise.
47677         * locale/programs/locfile.c (write_all_categories): Likewise.
47679 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47680             Aldy Hernandez  <aldyh@redhat.com>
47682         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47683         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47684         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47685         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47686         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47687         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47689         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47690         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47691         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47692         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47693         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47694         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47695         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47696         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47697         Likewise.
47698         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47699         Likewise.
47700         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47701         Likewise.
47702         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47703         Likewise.
47704         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47705         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47706         Likewise.
47707         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47708         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47709         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47710         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47711         Likewise.
47712         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47713         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47714         * sysdeps/powerpc/preconfigure: Likewise.
47715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47716         Likewise.
47717         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47718         Replace contents of file by #include of <fenv_libc.h>.
47719         * sysdeps/powerpc/soft-fp/sfp-machine.h
47720         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47721         and <sys/prctl.h>.
47722         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47723         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47725         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47726         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47727         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47729         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47730         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47732         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47735         Allow copysignl PLT reference to be missing.
47737 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47738             Joseph Myers  <joseph@codesourcery.com
47740         [BZ #15948]
47741         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47742         single character.
47743         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47745 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47748         * elf/tst-tls1.c: Likewise.
47749         * elf/tst-tls10.h: Likewise.
47750         * elf/tst-tls14.c: Likewise.
47751         * elf/tst-tls2.c: Likewise.
47752         * elf/tst-tls3.c: Likewise.
47753         * elf/tst-tls4.c: Likewise.
47754         * elf/tst-tls5.c: Likewise.
47755         * elf/tst-tls6.c: Likewise.
47756         * elf/tst-tls7.c: Likewise.
47757         * elf/tst-tls8.c: Likewise.
47758         * elf/tst-tls9.c: Likewise.
47759         * elf/tst-tlsmod1.c: Likewise.
47760         * elf/tst-tlsmod13.c: Likewise.
47761         * elf/tst-tlsmod13a.c: Likewise.
47762         * elf/tst-tlsmod14a.c: Likewise.
47763         * elf/tst-tlsmod16a.c: Likewise.
47764         * elf/tst-tlsmod16b.c: Likewise.
47765         * elf/tst-tlsmod2.c: Likewise.
47766         * elf/tst-tlsmod3.c: Likewise.
47767         * elf/tst-tlsmod4.c: Likewise.
47768         * elf/tst-tlsmod5.c: Likewise.
47769         * elf/tst-tlsmod6.c: Likewise.
47771 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47773         [BZ #12486]
47774         * malloc/malloc.c: remove checks for statistics.
47776 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47778         [BZ #15277]
47779         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47780         * inet/tst-network.c: Add testcase.
47782 2013-10-17  Andreas Schwab  <schwab@suse.de>
47784         [BZ #15218]
47785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47786         to determine canonical name.
47788 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47790         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47791         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47792         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47793         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47794         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47795         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47796         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47797         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47798         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47799         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47800         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47801         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47802         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47803         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47804         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47805         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47807         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47808         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47809         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47810         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47811         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47812         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47813         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47814         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47815         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47816         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47817         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47818         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47819         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47820         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47821         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47822         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47823         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47824         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47825         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47826         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47827         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47828         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47829         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47830         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47831         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47832         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47833         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47834         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47835         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47836         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47837         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47838         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47839         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47840         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47841         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47842         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47843         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47844         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47845         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47846         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47847         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47849 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47851         [BZ #16041]
47852         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47853         make result into a quiet NaN.
47855 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47857         * soft-fp/adddf3.c: Fix horizontal whitespace.
47858         * soft-fp/addsf3.c: Likewise.
47859         * soft-fp/addtf3.c: Likewise.
47860         * soft-fp/divdf3.c: Likewise.
47861         * soft-fp/divsf3.c: Likewise.
47862         * soft-fp/divtf3.c: Likewise.
47863         * soft-fp/double.h: Likewise.
47864         * soft-fp/eqdf2.c: Likewise.
47865         * soft-fp/eqsf2.c: Likewise.
47866         * soft-fp/eqtf2.c: Likewise.
47867         * soft-fp/extenddftf2.c: Likewise.
47868         * soft-fp/extended.h: Likewise.
47869         * soft-fp/extendsfdf2.c: Likewise.
47870         * soft-fp/extendsftf2.c: Likewise.
47871         * soft-fp/extendxftf2.c: Likewise.
47872         * soft-fp/fixdfdi.c: Likewise.
47873         * soft-fp/fixdfsi.c: Likewise.
47874         * soft-fp/fixdfti.c: Likewise.
47875         * soft-fp/fixsfdi.c: Likewise.
47876         * soft-fp/fixsfsi.c: Likewise.
47877         * soft-fp/fixsfti.c: Likewise.
47878         * soft-fp/fixtfdi.c: Likewise.
47879         * soft-fp/fixtfsi.c: Likewise.
47880         * soft-fp/fixtfti.c: Likewise.
47881         * soft-fp/fixunsdfdi.c: Likewise.
47882         * soft-fp/fixunsdfsi.c: Likewise.
47883         * soft-fp/fixunsdfti.c: Likewise.
47884         * soft-fp/fixunssfdi.c: Likewise.
47885         * soft-fp/fixunssfsi.c: Likewise.
47886         * soft-fp/fixunssfti.c: Likewise.
47887         * soft-fp/fixunstfdi.c: Likewise.
47888         * soft-fp/fixunstfsi.c: Likewise.
47889         * soft-fp/fixunstfti.c: Likewise.
47890         * soft-fp/floatdidf.c: Likewise.
47891         * soft-fp/floatdisf.c: Likewise.
47892         * soft-fp/floatditf.c: Likewise.
47893         * soft-fp/floatsidf.c: Likewise.
47894         * soft-fp/floatsisf.c: Likewise.
47895         * soft-fp/floatsitf.c: Likewise.
47896         * soft-fp/floattidf.c: Likewise.
47897         * soft-fp/floattisf.c: Likewise.
47898         * soft-fp/floattitf.c: Likewise.
47899         * soft-fp/floatundidf.c: Likewise.
47900         * soft-fp/floatundisf.c: Likewise.
47901         * soft-fp/floatunditf.c: Likewise.
47902         * soft-fp/floatunsidf.c: Likewise.
47903         * soft-fp/floatunsisf.c: Likewise.
47904         * soft-fp/floatunsitf.c: Likewise.
47905         * soft-fp/floatuntidf.c: Likewise.
47906         * soft-fp/floatuntisf.c: Likewise.
47907         * soft-fp/floatuntitf.c: Likewise.
47908         * soft-fp/fmadf4.c: Likewise.
47909         * soft-fp/fmasf4.c: Likewise.
47910         * soft-fp/fmatf4.c: Likewise.
47911         * soft-fp/gedf2.c: Likewise.
47912         * soft-fp/gesf2.c: Likewise.
47913         * soft-fp/getf2.c: Likewise.
47914         * soft-fp/ledf2.c: Likewise.
47915         * soft-fp/lesf2.c: Likewise.
47916         * soft-fp/letf2.c: Likewise.
47917         * soft-fp/muldf3.c: Likewise.
47918         * soft-fp/mulsf3.c: Likewise.
47919         * soft-fp/multf3.c: Likewise.
47920         * soft-fp/negdf2.c: Likewise.
47921         * soft-fp/negsf2.c: Likewise.
47922         * soft-fp/negtf2.c: Likewise.
47923         * soft-fp/op-1.h: Likewise.
47924         * soft-fp/op-2.h: Likewise.
47925         * soft-fp/op-4.h: Likewise.
47926         * soft-fp/op-8.h: Likewise.
47927         * soft-fp/op-common.h: Likewise.
47928         * soft-fp/quad.h: Likewise.
47929         * soft-fp/single.h: Likewise.
47930         * soft-fp/soft-fp.h: Likewise.
47931         * soft-fp/sqrtdf2.c: Likewise.
47932         * soft-fp/sqrtsf2.c: Likewise.
47933         * soft-fp/sqrttf2.c: Likewise.
47934         * soft-fp/subdf3.c: Likewise.
47935         * soft-fp/subsf3.c: Likewise.
47936         * soft-fp/subtf3.c: Likewise.
47937         * soft-fp/truncdfsf2.c: Likewise.
47938         * soft-fp/trunctfdf2.c: Likewise.
47939         * soft-fp/trunctfsf2.c: Likewise.
47940         * soft-fp/trunctfxf2.c: Likewise.
47941         * soft-fp/unorddf2.c: Likewise.
47942         * soft-fp/unordsf2.c: Likewise.
47943         * soft-fp/unordtf2.c: Likewise.
47945 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47947         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47948         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47950 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47952         * elf/dl-libc.c: Clear initfini list after freeing.
47954 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47956         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47957         * soft-fp/addsf3.c: Likewise.
47958         * soft-fp/addtf3.c: Likewise.
47959         * soft-fp/divdf3.c: Likewise.
47960         * soft-fp/divsf3.c: Likewise.
47961         * soft-fp/divtf3.c: Likewise.
47962         * soft-fp/double.h: Likewise.
47963         * soft-fp/eqdf2.c: Likewise.
47964         * soft-fp/eqsf2.c: Likewise.
47965         * soft-fp/eqtf2.c: Likewise.
47966         * soft-fp/extenddftf2.c: Likewise.
47967         * soft-fp/extended.h: Likewise.
47968         * soft-fp/extendsfdf2.c: Likewise.
47969         * soft-fp/extendsftf2.c: Likewise.
47970         * soft-fp/extendxftf2.c: Likewise.
47971         * soft-fp/fixdfdi.c: Likewise.
47972         * soft-fp/fixdfsi.c: Likewise.
47973         * soft-fp/fixdfti.c: Likewise.
47974         * soft-fp/fixsfdi.c: Likewise.
47975         * soft-fp/fixsfsi.c: Likewise.
47976         * soft-fp/fixsfti.c: Likewise.
47977         * soft-fp/fixtfdi.c: Likewise.
47978         * soft-fp/fixtfsi.c: Likewise.
47979         * soft-fp/fixtfti.c: Likewise.
47980         * soft-fp/fixunsdfdi.c: Likewise.
47981         * soft-fp/fixunsdfsi.c: Likewise.
47982         * soft-fp/fixunsdfti.c: Likewise.
47983         * soft-fp/fixunssfdi.c: Likewise.
47984         * soft-fp/fixunssfsi.c: Likewise.
47985         * soft-fp/fixunssfti.c: Likewise.
47986         * soft-fp/fixunstfdi.c: Likewise.
47987         * soft-fp/fixunstfsi.c: Likewise.
47988         * soft-fp/fixunstfti.c: Likewise.
47989         * soft-fp/floatdidf.c: Likewise.
47990         * soft-fp/floatdisf.c: Likewise.
47991         * soft-fp/floatditf.c: Likewise.
47992         * soft-fp/floatsidf.c: Likewise.
47993         * soft-fp/floatsisf.c: Likewise.
47994         * soft-fp/floatsitf.c: Likewise.
47995         * soft-fp/floattidf.c: Likewise.
47996         * soft-fp/floattisf.c: Likewise.
47997         * soft-fp/floattitf.c: Likewise.
47998         * soft-fp/floatundidf.c: Likewise.
47999         * soft-fp/floatundisf.c: Likewise.
48000         * soft-fp/floatunsidf.c: Likewise.
48001         * soft-fp/floatunsisf.c: Likewise.
48002         * soft-fp/floatuntidf.c: Likewise.
48003         * soft-fp/floatuntisf.c: Likewise.
48004         * soft-fp/floatuntitf.c: Likewise.
48005         * soft-fp/fmadf4.c: Likewise.
48006         * soft-fp/fmasf4.c: Likewise.
48007         * soft-fp/fmatf4.c: Likewise.
48008         * soft-fp/gedf2.c: Likewise.
48009         * soft-fp/gesf2.c: Likewise.
48010         * soft-fp/getf2.c: Likewise.
48011         * soft-fp/ledf2.c: Likewise.
48012         * soft-fp/lesf2.c: Likewise.
48013         * soft-fp/letf2.c: Likewise.
48014         * soft-fp/muldf3.c: Likewise.
48015         * soft-fp/mulsf3.c: Likewise.
48016         * soft-fp/multf3.c: Likewise.
48017         * soft-fp/negdf2.c: Likewise.
48018         * soft-fp/negsf2.c: Likewise.
48019         * soft-fp/negtf2.c: Likewise.
48020         * soft-fp/op-1.h: Likewise.
48021         * soft-fp/op-2.h: Likewise.
48022         * soft-fp/op-4.h: Likewise.
48023         * soft-fp/op-8.h: Likewise.
48024         * soft-fp/op-common.h: Likewise.
48025         * soft-fp/quad.h: Likewise.
48026         * soft-fp/single.h: Likewise.
48027         * soft-fp/soft-fp.h: Likewise.
48028         * soft-fp/sqrtdf2.c: Likewise.
48029         * soft-fp/sqrtsf2.c: Likewise.
48030         * soft-fp/sqrttf2.c: Likewise.
48031         * soft-fp/subdf3.c: Likewise.
48032         * soft-fp/subsf3.c: Likewise.
48033         * soft-fp/subtf3.c: Likewise.
48034         * soft-fp/truncdfsf2.c: Likewise.
48035         * soft-fp/trunctfdf2.c: Likewise.
48036         * soft-fp/trunctfsf2.c: Likewise.
48037         * soft-fp/trunctfxf2.c: Likewise.
48038         * soft-fp/unorddf2.c: Likewise.
48039         * soft-fp/unordsf2.c: Likewise.
48040         * soft-fp/unordtf2.c: Likewise.
48042 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48044         [BZ #15672]
48045         * misc/error.c (error_tail): Fix possible buffer overflow.
48047 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48049         [BZ #13028]
48050         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48051         address.
48053 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48055         [BZ #832]
48056         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48057         testing pipefail option.
48059 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48061         * soft-fp/double.h: Indent preprocessor directives inside #if.
48062         * soft-fp/extended.h: Likewise.
48063         * soft-fp/op-2.h: Likewise.
48064         * soft-fp/op-4.h: Likewise.
48065         * soft-fp/op-common.h: Likewise.
48066         * soft-fp/quad.h: Likewise.
48067         * soft-fp/single.h: Likewise.
48068         * soft-fp/soft-fp.h: Likewise.
48070 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48072         * iconv/iconv_prog.c: Fix typos.
48073         * stdio-common/psiginfo-data.h: Likewise.
48075 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48077         [BZ #15764]
48078         * locale/setlocale.c: Fix typo.
48080 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48082         [BZ #16036]
48083         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48084         signaling NaN arguments.
48085         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48086         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48088         [BZ #14910]
48089         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48090         unordered operands.
48091         * soft-fp/gesf2.c (__gesf2): Likewise.
48092         * soft-fp/getf2.c (__getf2): Likewise.
48093         * soft-fp/ledf2.c (__ledf2): Likewise.
48094         * soft-fp/lesf2.c (__lesf2): Likewise.
48095         * soft-fp/letf2.c (__letf2): Likewise.
48097         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48098         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48099         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48100         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48101         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48102         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48103         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48104         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48105         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48106         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48107         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48108         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48109         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48110         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48111         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48112         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48113         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48114         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48115         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48116         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48117         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48118         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48119         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48120         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48121         * soft-fp/floattidf.c (__floattidf): Likewise.
48122         * soft-fp/floattisf.c (__floattisf): Likewise.
48123         * soft-fp/floattitf.c (__floattitf): Likewise.
48124         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48125         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48126         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48127         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48128         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48129         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48130         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48131         * soft-fp/gesf2.c (__gesf2): Likewise.
48132         * soft-fp/getf2.c (__getf2): Likewise.
48133         * soft-fp/ledf2.c (__ledf2): Likewise.
48134         * soft-fp/lesf2.c (__lesf2): Likewise.
48135         * soft-fp/letf2.c (__letf2): Likewise.
48137         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48138         Undefine and redefine.
48139         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48140         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48141         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48142         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48143         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48144         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48145         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48146         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48147         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48148         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48149         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48150         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48151         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48152         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48153         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48155         [BZ #16032]
48156         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48157         without decrementing exponent if mantissa >= that for the
48158         denominator, not >.
48159         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48160         denominator, not >.  Decrement exponent in < case instead of
48161         incrementing in >= case.
48162         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48163         without decrementing exponent if mantissa >= that for the
48164         denominator, not >.
48166         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48167         computing saturated result for unsigned overflow.
48169 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48170             Jeff Law  <law@redhat.com>
48172         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48173         (atan2Mp): Add systemtap probe marker.
48174         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48175         (__ieee754_log): Add systemtap probe marker.
48176         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48177         (atanMp): Add systemtap probe marker.
48178         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48179         (tanMp): Add systemtap probe marker.
48180         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48181         (__slowexp): Add systemtap probe marker.
48182         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48183         (__slowpow): Add systemtap probe marker.
48184         * manual/probes.texi: Document probes.
48186 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48188         [BZ #15362]
48189         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48190         written.
48191         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48192         written.
48193         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48194         written to buffer but not flushed.
48195         * libio/iofwrite_u.c:  Likewise.
48196         * libio/iopadn.c:  Return bytes returned even if EOF was
48197         encountered.
48198         * libio/iowpadn.c:  Likewise.
48199         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48200         if _IO_padn does not write the whole buffer.
48201         [!COMPILE_WPRINTF] (PAD): Likewise.
48203 2013-10-10  David S. Miller  <davem@davemloft.net>
48205         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48206         directory block.
48208 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48210         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48211         instead of FSF address.
48212         * soft-fp/fixdfti.c: Likewise.
48213         * soft-fp/fixsfti.c: Likewise.
48214         * soft-fp/fixtfti.c: Likewise.
48215         * soft-fp/fixunsdfti.c: Likewise.
48216         * soft-fp/fixunssfti.c: Likewise.
48217         * soft-fp/fixunstfti.c: Likewise.
48218         * soft-fp/floattidf.c: Likewise.
48219         * soft-fp/floattisf.c: Likewise.
48220         * soft-fp/floattitf.c: Likewise.
48221         * soft-fp/floatuntidf.c: Likewise.
48222         * soft-fp/floatuntisf.c: Likewise.
48223         * soft-fp/floatuntitf.c: Likewise.
48224         * soft-fp/trunctfxf2.c: Likewise.
48226         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48227         * soft-fp/fixdfti.c: Likewise.
48228         * soft-fp/fixsfti.c: Likewise.
48229         * soft-fp/fixtfti.c: Likewise.
48230         * soft-fp/fixunsdfti.c: Likewise.
48231         * soft-fp/fixunssfti.c: Likewise.
48232         * soft-fp/fixunstfti.c: Likewise.
48233         * soft-fp/floattidf.c: Likewise.
48234         * soft-fp/floattisf.c: Likewise.
48235         * soft-fp/floattitf.c: Likewise.
48236         * soft-fp/floatuntidf.c: Likewise.
48237         * soft-fp/floatuntisf.c: Likewise.
48238         * soft-fp/floatuntitf.c: Likewise.
48239         * soft-fp/trunctfxf2.c: Likewise.
48241 2013-10-10  David S. Miller  <davem@davemloft.net>
48243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48245 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48247         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48248         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48249         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48250         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48251         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48252         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48253         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48255         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48256         for NaNs before doing comparisons on argument.
48257         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48258         Likewise.
48260 2013-10-10  Will Newton  <will.newton@linaro.org>
48262         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48263         passed to _int_memalign does not overflow.
48265 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48267         * scripts/bench.pl: Add include-sources directive.
48268         * benchtests/README: Update documentation.
48270 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48272         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48273         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48274         instead of FP_INIT_ROUNDMODE.
48275         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48276         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48278         [BZ #16034]
48279         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48280         copy class of input value.
48281         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48282         not handle exceptions.
48283         * soft-fp/negsf2.c (__negsf2): Likewise.
48284         * soft-fp/negtf2.c (__negtf2): Likewise.
48285         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48287 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48289         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48290         semicolon.  From Linux kernel.
48292 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48294         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48296 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48298         [BZ #156]
48299         * manual/socket.texi: Added statement about buffer
48300         for gethostbyname2_r.
48302 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
48304         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48305         Use .p2align directive instead, throughout.
48306         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48307         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48308         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48309         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48311         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48312         * sysdeps/x86_64/strchr.S: Likewise.
48313         * sysdeps/x86_64/strrchr.S: Likewise.
48315 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48317         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48319         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48321         * sysdeps/generic/math_private.h (__mpsin1): Remove
48322         declaration.
48323         (__mpcos1): Likewise.
48324         (__mpsin): New argument __range_reduce.
48325         (__mpcos): Likewise.
48326         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48327         (slow): Use __mpsin and __mpcos.
48328         (slow1): Likewise.
48329         (slow2): Likewise.
48330         (sloww): Likewise.
48331         (sloww1): Likewise.
48332         (sloww2): Likewise.
48333         (bsloww): Likewise.
48334         (bsloww1): Likewise.
48335         (bsloww2): Likewise.
48336         (cslow2): Likewise.
48337         (csloww): Likewise.
48338         (csloww1): Likewise.
48339         (csloww2): Likewise.
48340         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48341         range_reduce.  Merge in __mpsin1.
48342         (__mpcos): Likewise.
48343         (__mpsin1): Remove.
48344         (__mpcos1): Likewise.
48346 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
48348         * locale/loadlocale.c (_nl_intern_locale_data): Use
48349         LOCFILE_ALIGNED_P.
48350         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48351         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48352         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48353         obstack data is appropriately aligned.
48354         (obstack_int32_grow_fast): Likewise.
48355         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48356         * locale/programs/locfile.c (add_locale_uint32): Likewise.
48357         (add_locale_uint32_array): Likewise.
48359 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48361         * benchtests/Makefile: Remove ARGLIST and RET variables.
48362         ($(objpfx)bench-%.c): Pass only function name to the script.
48363         * benchtests/README: Update documentation.
48364         * benchtests/acos-inputs: Add new directives.
48365         * benchtests/acosh-inputs: Likewise.
48366         * benchtests/asin-inputs: Likewise.
48367         * benchtests/asinh-inputs: Likewise.
48368         * benchtests/atan-inputs: Likewise.
48369         * benchtests/atanh-inputs: Likewise.
48370         * benchtests/cos-inputs: Likewise.
48371         * benchtests/cosh-inputs: Likewise.
48372         * benchtests/exp-inputs: Likewise.
48373         * benchtests/log-inputs: Likewise.
48374         * benchtests/pow-inputs: Likewise.
48375         * benchtests/rint-inputs: Likewise.
48376         * benchtests/sin-inputs: Likewise.
48377         * benchtests/sinh-inputs: Likewise.
48378         * benchtests/tan-inputs: Likewise.
48379         * benchtests/tanh-inputs: Likewise.
48380         * scripts/bench.pl: Add support for new directives.
48382 2013-10-07  Alan Modra  <amodra@gmail.com>
48384         * README: Fix careless merge.
48386 2013-10-05  Alan Modra  <amodra@gmail.com>
48388         * NEWS: Mention powerpc64le support and bugs fixed.
48389         * README: Both big-endian and little-endian powerpc64 supported.
48391 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48393         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48394         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48395         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48396         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48398 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
48400         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48401         match prototype.
48403 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
48405         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48406         Move -mhard-float appending from
48407         ports/sysdeps/powerpc/powerpc32/Makefile.
48408         [$(with-fp) = yes] (ASFLAGS): Likewise.
48409         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48410         * sysdeps/powerpc/nofpu: Move directory from
48411         ports/sysdeps/powerpc/nofpu.
48412         * sysdeps/powerpc/soft-fp: Move directory from
48413         ports/sysdeps/powerpc/soft-fp.
48414         * sysdeps/powerpc/powerpc32/405: Move directory from
48415         ports/sysdeps/powerpc/powerpc32/405.
48416         * sysdeps/powerpc/powerpc32/440: Move directory from
48417         ports/sysdeps/powerpc/powerpc32/440.
48418         * sysdeps/powerpc/powerpc32/464: Move directory from
48419         ports/sysdeps/powerpc/powerpc32/464.
48420         * sysdeps/powerpc/powerpc32/476: Move directory from
48421         ports/sysdeps/powerpc/powerpc32/476.
48422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48423         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48425         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48427         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48429         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48431         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48432         * README: Update for powerpc-*-linux-gnu software floating point
48433         support in libc.
48435         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48436         case to powerpc/powerpc32*.
48437         * sysdeps/unix/sysv/linux/configure: Regenerated.
48439         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48440         (_FPU_MASK_OM): Define as 0x04.
48441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48443         0x00c10080.
48444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48445         0x0000003c.
48446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48449         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48450         getcontext_e500.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48452         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48453         setcontext_e500.
48454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48455         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48456         and setcontext_e500.
48458 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48460         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48462 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48464         * manual/threads.texi (Default Thread Attributes): Fix typo.
48466 2013-10-04  Will Newton  <will.newton@linaro.org>
48468         * malloc/Makefile: Add tst-memalign.
48469         * malloc/tst-memalign.c: New file.
48471         * malloc/tst-posix_memalign.c: Add comments.
48472         (do_test): Add comments and call free on all potentially
48473         allocated pointers. Add space after cast.
48475         * malloc/tst-pvalloc.c: Add comments.
48476         (do_test): Add comments and call free on all potentially
48477         allocated pointers. Remove duplicate check for NULL pointer.
48478         Add space after cast.
48480         * malloc/tst-valloc.c: Add comments.
48481         (do_test): Add comments and call free on all potentially
48482         allocated pointers. Remove duplicate check for NULL pointer.
48483         Add space after cast.
48485 2013-10-04  Alan Modra  <amodra@gmail.com>
48487         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48488         Use stdint types in rather than __attribute__((mode())).
48489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48491 2013-10-04  Alan Modra  <amodra@gmail.com>
48493         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48494         Correct handling of unaligned relocs for little-endian.
48495         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48497 2013-10-04  Alan Modra  <amodra@gmail.com>
48499         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48500         * configure: Regenerate.
48501         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48502         * shlib-versions: Likewise.
48504 2013-10-04  Alan Modra  <amodra@gmail.com>
48506         * string/tester.c (test_memrchr): Increment reported test cycle.
48508 2013-10-04  Alan Modra  <amodra@gmail.com>
48510         * string/test-memcpy.c (do_one_test): When reporting errors, print
48511         string address and don't overrun end of string.
48513 2013-10-04  Alan Modra  <amodra@gmail.com>
48515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48516         insrdi.  Make better use of reg selection to speed exit slightly.
48517         Schedule entry path a little better.  Remove useless "are we done"
48518         checks on entry to main loop.  Handle wrapping around zero address.
48519         Correct main loop count.  Handle single left-over word from main
48520         loop inline rather than by using loop_small.  Remove extra word
48521         case in loop_small caused by wrong loop count.  Add little-endian
48522         support.
48523         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48524         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48525         cache hint.
48526         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48527         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48528         support.  Avoid rlwimi.
48529         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48531 2013-10-04  Alan Modra  <amodra@gmail.com>
48533         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48534         insrdi.  Formatting.
48535         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48536         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48537         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48538         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48539         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48540         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48542 2013-10-04  Alan Modra  <amodra@gmail.com>
48544         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48545         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48546         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48547         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48548         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48549         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48550         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48551         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48552         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48553         use of regs.  Use power7 mtocrf.  Tidy function tails.
48555 2013-10-04  Alan Modra  <amodra@gmail.com>
48557         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48558         Formatting.  Consistently use rXXX register defines or rN defines.
48559         Use early exit labels that avoid restoring unused non-volatile regs.
48560         Make cr field use more consistent with rWORDn compares.  Rename
48561         regs used as shift registers for unaligned loop, using rN defines
48562         for short lifetime/multiple use regs.
48563         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48564         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48565         addi 1,1,64 to pop stack frame.  Simplify return value code.
48566         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48568 2013-10-04  Alan Modra  <amodra@gmail.com>
48570         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48571         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48572         rather than rlwimi.
48573         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48574         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48575         little-endian support.  Correct typos.
48576         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48577         rather than rlwimi.
48578         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48579         in loop and entry code to keep "and." results.
48580         (strchr): Add little-endian support.  Comment.  Move cntlzd
48581         earlier in tail.
48582         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48584 2013-10-04  Alan Modra  <amodra@gmail.com>
48586         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48587         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48588         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48589         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48591 2013-10-04  Alan Modra  <amodra@gmail.com>
48593         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48594         (rTMP): Define as r11.
48595         (strcmp): Add little-endian support.  Optimise tail.
48596         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48597         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48598         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48599         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48601         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48604 2013-10-04  Alan Modra  <amodra@gmail.com>
48606         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48607         little-endian support.  Remove unnecessary "are we done" tests.
48608         Handle "s" wrapping around zero and extremely large "size".
48609         Correct main loop count.  Handle single left-over word from main
48610         loop inline rather than by using small_loop.  Correct comments.
48611         Delete "zero" tail, use "end_max" instead.
48612         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48614 2013-10-04  Alan Modra  <amodra@gmail.com>
48616         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48617         support.  Don't branch over align.
48618         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48619         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48620         support.  Rearrange tmp reg use to suit.  Comment.
48621         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48623 2013-10-04  Alan Modra  <amodra@gmail.com>
48625         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48627 2013-10-04  Alan Modra  <amodra@gmail.com>
48629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48630         conditional form of branch and link when obtaining pc.
48631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48633 2013-10-04  Alan Modra  <amodra@gmail.com>
48635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48636         HIWORD/LOWORD.
48637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48640 2013-10-04  Alan Modra  <amodra@gmail.com>
48642         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48643         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48644         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48645         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48646         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48647         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48648         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48649         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48650         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48651         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48653 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48654             Alistair Popple <alistair@ozlabs.au.ibm.com>
48655             Alan Modra <amodra@gmail.com>
48657         [BZ #15723]
48658         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48659         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48660         _dl_hwcap access for little-endian.
48661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48662         destroy vmx regs when saving unaligned.
48663         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48664         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48665         destroy vmx regs when saving unaligned.
48667 2013-10-04  Alan Modra  <amodra@gmail.com>
48669         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48670         Don't use a union to pack hi/low value.
48672 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48674         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48675         for little-endian.
48676         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48677         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48678         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48679         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48680         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48682 2013-10-04  Alan Modra  <amodra@gmail.com>
48684         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48685         constants to usual value for .cst8 section, and remove redundant
48686         high address load.
48687         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48688         constant for 0x1p52.  Load little-endian words of double from
48689         correct stack offsets.
48691 2013-10-04  Alan Modra  <amodra@gmail.com>
48693         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48694         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48695         words of double from correct stack offsets.
48696         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48697         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48698         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48699         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48701         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48702         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48703         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48704         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48705         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48706         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48708         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48709         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48710         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48711         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48712         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48714 2013-10-04  Alan Modra  <amodra@gmail.com>
48716         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48717         64-bit int/double union.
48718         (_FPU_SETCW): Likewise.
48719         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48720         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48722 2013-10-04  Alan Modra  <amodra@gmail.com>
48724         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48725         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48727 2013-10-04  Alan Modra  <amodra@gmail.com>
48729         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48730         use vector int constants.
48731         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48733 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48735         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48736         array with long long.
48737         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48738         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48739         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48740         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48741         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48742         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48743         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48744         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48745         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48746         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48747         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48748         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48749         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48751 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48753         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48754         (__signbit): Likewise.  Correct for little-endian.
48755         (__signbitl): Call __signbit.
48756         (lrint): Correct for little-endian.
48757         (lrintf): Call lrint.
48759 2013-10-04  Alan Modra  <amodra@gmail.com>
48761         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48762         union 32-bit int array member with 64-bit int array.
48763         (t515, tm256): Double rather than long double.
48764         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48766 2013-10-04  Alan Modra  <amodra@gmail.com>
48768         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48769         Delete.
48770         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48771         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48772         version of math_ldbl.h.
48774 2013-10-04  Alan Modra  <amodra@gmail.com>
48776         [BZ #15734], [BZ #15735]
48777         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48778         all uses of ieee875 long double macros and unions.  Simplify test
48779         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48780         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48781         normalize after ldbl_extract_mantissa, and don't add hidden bit
48782         already handled.  Don't treat low word of ieee854 mantissa like
48783         low word of IBM long double and mask off bit when testing for
48784         zero.
48785         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48786         all uses of ieee875 long double macros and unions.  Simplify tests
48787         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48788         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48789         two1022, instead use their values.  Recognise that tests for large
48790         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48791         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48792         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48793         test for 0.0L and nan.  Correct negation.
48794         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48795         ieee875 long double macros and unions.  Correct output for large
48796         magnitude x.  Correct absolute value calculation.
48797         (__erfcl): Likewise.
48798         * math/libm-test.inc: Add tests for errors discovered in IBM long
48799         double versions of fmodl, remainderl, erfl and erfcl.
48801 2013-10-04  Alan Modra  <amodra@gmail.com>
48803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48804         all uses of ieee854 long double macros and unions.  Simplify tests
48805         for long doubles that are fully specified by the high double.
48806         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48807         Likewise.
48808         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48809         Remove dead code too.
48810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48811         (__ieee754_ynl): Likewise.
48812         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48813         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48814         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48815         Remove dead code too.
48816         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48818         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48819         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48820         Simplify.
48821         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48822         Simplify.
48823         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48824         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48825         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48826         Comment on variable precision.
48827         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48828         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48829         Likewise.
48830         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48832         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48833         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48834         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48836 2013-10-04  Alan Modra  <amodra@gmail.com>
48838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48839         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48840         all uses of ieee854 long double macros and unions.
48841         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48842         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48843         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48844         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48845         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48846         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48847         Likewise.
48848         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48849         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48850         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48851         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48852         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48853         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48854         Simplify sign and nan test too.
48855         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48856         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48857         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48858         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48859         Likewise.
48860         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48861         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48862         Likewise.
48863         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48864         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48865         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48866         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48867         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48870 2013-10-04  Alan Modra  <amodra@gmail.com>
48872         * stdio-common/printf_size.c (__printf_size): Don't use
48873         union ieee854_long_double in fpnum union.
48874         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48875         signbit macro to retrieve sign from long double.
48876         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48877         retrieve sign from long double.
48878         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48879         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48880         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48881         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48882         * math/test-misc.c (main): Don't use union ieee854_long_double.
48884 2013-10-04  Alan Modra  <amodra@gmail.com>
48886         [BZ #15680]
48887         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48888         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48889         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48890         calculation.  Remove unnecessary test for denormal exponent.
48891         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48892         Correct handling of denormals.  Avoid undefined shift behaviour.
48893         Correct normalisation of low mantissa when low double is denormal.
48894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48895         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48896         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48897         Correct normalisation of low mantissa.  Test for overflow of high
48898         mantissa and normalise.
48899         (ldbl_nearbyint): Use more readable constant for two52.
48900         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48901         (__mpn_construct_long_double): Fix test for overflow of high
48902         mantissa and correct normalisation.  Avoid undefined shift.
48904 2013-10-04  Alan Modra  <amodra@gmail.com>
48906         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48907         (union ibm_extended_long_double): Define as an array of ieee754_double.
48908         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48909         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48910         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48911         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48912         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48913         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48915         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48916         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48917         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48918         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48920 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48922         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48923         page size instead of calling getpagesize.
48925         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48926         (LOCFILE_ALIGN_MASK): Likewise.
48927         (LOCFILE_ALIGN_UP): Likewise.
48928         (LOCFILE_ALIGNED_P): Likewise.
48929         * locale/programs/ld-collate.c (collate_output): Use the new
48930         macros instead of __alignof__ (int32_t).
48931         * locale/weight.h (findidx): Likewise.
48933 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48935         [BZ #431]
48936         * manual/string.texi: Fix strncat and wcsncat.
48938 2013-10-03  Brooks Moses  <bmoses@google.com>
48940         [BZ #15915]
48941         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48942         * Makerules: ...here, and adjust associated comments.
48944 2013-10-02  Will Newton  <will.newton@linaro.org>
48946         * malloc/Makefile: Add tst-pvalloc.
48947         * malloc/tst-pvalloc.c: New file.
48949 2013-10-02  Will Newton  <will.newton@linaro.org>
48951         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48952         improve test coverage.
48954 2013-10-02  Will Newton  <will.newton@linaro.org>
48956         * malloc/Makefile: Add tst-posix_memalign.
48957         * malloc/tst-posix_memalign.c: New file.
48959 2013-10-01  Eric Blake  <eblake@redhat.com>
48961         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48962         Use __THROWNL rather than __THROW on static functions.
48964 2013-09-30  Petr Machata  <pmachata@redhat.com>
48966         * elf/elf.h (R_AARCH64_ABS16): New macro.
48967         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48968         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48969         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48970         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48971         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48972         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48973         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48974         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48975         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48976         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48977         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48978         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48979         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48980         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48981         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48982         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48983         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48984         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48985         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48986         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48987         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48988         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48989         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48990         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48991         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48992         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48993         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48994         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48995         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48996         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48997         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48998         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48999         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49000         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49001         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49002         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49003         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49004         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49005         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49006         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49007         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49008         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49009         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49010         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49011         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49012         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49013         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49014         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49015         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49016         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49017         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49018         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49019         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49020         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49021         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49022         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49023         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49024         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49025         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49026         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49027         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49028         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49029         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49030         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49031         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49032         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49033         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49034         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49035         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49036         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49037         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49038         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49039         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49040         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49041         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49042         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49043         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49044         (R_AARCH64_TLSDESC_LDR): Likewise.
49045         (R_AARCH64_TLSDESC_ADD): Likewise.
49046         (R_AARCH64_TLSDESC_CALL): Likewise.
49048 2013-09-30  Andreas Schwab  <schwab@suse.de>
49050         [BZ #15048]
49051         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49052         the nss database lookup.
49053         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49056 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49058         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49060 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49062         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49063         ${Bash-specific parameter/pattern/string} parameter expansion.
49064         * sysdeps/unix/make-syscalls.sh: Likewise.
49066 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49068         * sysdeps/sh/stackguard-macros.h: New file.
49070 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49074         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49075         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49076         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49077         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49079 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49081         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49082         Fix thread ID register.
49084 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49086         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49087         [POSIX || UNIX98]: Require rather than permitting all symbols from
49088         <time.h>.
49089         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49090         element of struct sched_param.
49091         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49092         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49093         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49094         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49095         constant.
49097 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49099         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49100         argument calculation.
49102 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49104         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49105         Expect macro.
49106         [POSIX] (pthread_attr_t): Do not require type.
49107         [POSIX] (pthread_cond_t): Likewise.
49108         [POSIX] (pthread_condattr_t): Likewise.
49109         [POSIX] (pthread_key_t): Likewise.
49110         [POSIX] (pthread_mutex_t): Likewise.
49111         [POSIX] (pthread_mutexattr_t): Likewise.
49112         [POSIX] (pthread_once_t): Likewise.
49113         [POSIX] (pthread_t): Likewise.
49114         [POSIX-based standards] (pthread_atfork): Expect function.
49116 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49117             Richard Sandiford  <richard@codesourcery.com>
49119         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49120         (swap_endianness_p): New extern variable.
49121         (set_big_endian): New inline function.
49122         (maybe_swap_uint32): Likewise.
49123         (maybe_swap_uint32_array): Likewise.
49124         (maybe_swap_uint32_obstack): Likewise.
49125         * locale/programs/locfile.c: Include <stdbool.h>.
49126         (swap_endianness_p): New variable.
49127         (add_locale_uint32): Call maybe_swap_uint32.
49128         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49129         (write_locale_data): Call maybe_swap_uint32_array.
49130         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49131         maybe_swap_uint32.
49132         (obstack_int32_grow_fast): Likewise.
49133         (output_weightwc): Call maybe_swap_uint32_obstack.
49134         (collate_output): Likewise.
49135         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49136         (OPT_LITTLE_ENDIAN): Likewise.
49137         (options): Add --little-endian and --big-endian options.
49138         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49139         * locale/programs/locarchive.c: Include "locfile.h".
49140         (GET): New macro.
49141         (SET): Likewise.
49142         (INC): Likewise.
49143         (create_archive): Use the new macros to access fields of
49144         structures directly mapped from or written to locale archives.
49145         (oldlocrecentcmp): Likewise.
49146         (enlarge_archive): Likewise.
49147         (insert_name): Likewise.
49148         (add_alias): Likewise.
49149         (add_locale): Likewise.
49150         (delete_locales_from_archive): Likewise.
49151         (show_archive_content): Likewise.
49152         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49153         locale data.
49155 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49157         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49158         http://www.gnu.org/doc/freemanuals.texi.
49159         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49161 2013-09-24  Will Newton  <will.newton@linaro.org>
49163         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49164         macro.
49166 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49168         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49169         unsigned char.
49171 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49173         * manual/threads.texi (POSIX Threads): Fix a typo.
49175 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49177         [BZ #14547]
49178         * string/tst-strcoll-overflow.c: New test case.
49179         * string/Makefile (xtests): Add tst-strcoll-overflow.
49180         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49181         cache if string sizes may cause integer overflow.
49183         [BZ #14547]
49184         * string/strcoll_l.c (coll_seq): New members rule, idx,
49185         save_idx and back_us.
49186         (get_next_seq_nocache): New function.
49187         (do_compare_nocache): New function.
49188         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49189         when malloc fails.
49191 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49193         [BZ #15754]
49194         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49195         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49196         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49198         [BZ #15754]
49199         * elf/Makefile (tests): Add tst-ptrguard1.
49200         (tests-static): Add tst-ptrguard1-static.
49201         (tst-ptrguard1-ARGS): Define.
49202         (tst-ptrguard1-static-ARGS): Define.
49203         * elf/tst-ptrguard1.c: New file.
49204         * elf/tst-ptrguard1-static.c: New file.
49205         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49206         * sysdeps/i386/stackguard-macros.h: Likewise.
49207         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49208         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49209         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49210         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49211         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49212         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49214 2013-09-23  Hector Marco  <hecmargi@upv.es>
49215             Ismael Ripoll  <iripoll@disca.upv.es>
49216             Carlos O'Donell  <carlos@redhat.com>
49218         [BZ #15754]
49219         * sysdeps/generic/stackguard-macros.h: Define
49220         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49221         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49222         Define __pointer_chk_guard_local.
49223         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49224         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49226 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49228         [BZ #15859]
49229         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49231 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49233         * include/string.h (__ffs): Declare as hidden.
49234         * string/ffs.c (__ffs): Define as hidden.
49235         * sysdeps/i386/ffs.c (__ffs): Likewise.
49236         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49237         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49238         * sysdeps/s390/ffs.c (__ffs): Likewise.
49239         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49241 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49243         * NEWS: Mention malloc probes.
49245         * malloc/arena.c (new_heap): New memory_heap_new probe.
49246         (grow_heap): New memory_heap_more probe.
49247         (shrink_heap): New memory_heap_less probe.
49248         (heap_trim): New memory_heap_free probe.
49249         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49250         (systrim): New memory_sbrk_less probe.
49251         * manual/probes.texi: Document them.
49253         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49254         * manual/probes.texi: Document it.
49256         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49257         (__libc_realloc): Add memory_realloc_retry probe.
49258         (__libc_memalign): Add memory_memalign_retry probe.
49259         (__libc_valloc): Add memory_valloc_retry probe.
49260         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49261         (__libc_calloc): Add memory_calloc_retry probe.
49262         * manual/probes.texi: Document them.
49264         * malloc/arena.c (get_free_list): Add probe
49265         memory_arena_reuse_free_list.
49266         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49267         and memory_arena_reuse.
49268         (arena_get2) [!PER_THREAD]: Likewise.
49269         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49270         memory_arena_reuse_realloc.
49271         * manual/probes.texi: Document them.
49273         * malloc/malloc.c (__libc_free): Add
49274         memory_mallopt_free_dyn_thresholds probe.
49275         (__libc_mallopt): Add multiple memory_mallopt probes.
49276         * manual/probes.texi: Document them.
49278         * malloc/malloc.c: Include stap-probe.h.
49279         (__libc_mallopt): Add memory_mallopt probe.
49280         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49281         * manual/probes.texi: New.
49282         * manual/Makefile (chapters): Add probes.
49283         * manual/threads.texi: Set next node.
49285 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49287         [BZ #15963, #13985]
49288         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49289         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49290         Add `Chinese' to `nan' entry name.
49292 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49294         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49295         (POLYNOMIAL): Likewise.
49296         (TAYLOR_SINCOS): Likewise.
49297         (TAYLOR_SLOW): Likewise.
49298         (__sin): Use TAYLOR_SINCOS.
49299         (__cos): Likewise.
49300         (slow): Use TAYLOR_SLOW.
49301         (sloww): Likewise.
49302         (bsloww): Likewise.
49303         (csloww): Likewise.
49305 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49307         * stdlib/strtod_l.c: Fix buffer overrun.
49309 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49311         * benchtests/Makefile (bench): Add sincos.
49312         * benchtests/bench-sincos.c: New file.
49314         * math/libm-test.inc (cos_test_data): New test inputs.
49315         (sin_test_data): Likewise.
49317         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49318         macro.
49319         (__sin): Use it.
49320         (__cos): Likewise.
49321         (slow1): Likewise.
49322         (slow2): Likewise.
49323         (sloww1): Likewise.
49324         (sloww2): Likewise.
49325         (bsloww1): Likewise.
49326         (bsloww2): Likewise.
49327         (cslow2): Likewise.
49328         (csloww1): Likewise.
49329         (csloww2): Likewise.
49331         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49332         function.
49333         (__sin): Use it.
49334         (__cos): Likewise.
49336         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49337         gotos.
49338         (__cos): Likewise.
49340 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
49342         * config.h.in (HAVE_MIPS_NAN2008): New macro.
49343         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49344         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49345         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49346         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49347         * elf/cache.c (print_entry): Handle the new cache flags.
49349 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49350             Aldy Hernandez  <aldyh@redhat.com>
49352         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49353         Change condition to [_SOFT_FLOAT].
49354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49366         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49369         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49370         declaration.
49372 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49374         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49375         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49376         (__longjmp): Use LOAD_GP to load saved GPRs.
49377         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49378         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49379         (__sigsetjmp): Use SAVE_GP to save GPRs.
49381         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49382         Do not append -msoft-float.
49383         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49385 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49387         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49389 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
49391         [BZ #15966]
49392         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49393         (_FPU_GETCW): Use initial "__" on variable and field names but not
49394         on macro parameter name.
49395         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
49396         parentheses around reference to macro parameter.
49398 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
49400         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49401         prototype.
49402         (ctype_startup): Use uint32_t in cast and sizeof for
49403         ctype->charnames.
49405 2013-09-11  Jia Liu  <proljc@gmail.com>
49407         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49408         __daddr_t_defined.
49409         [__FreeBSD__]: Likewise.
49411 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
49413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49414         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49415         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49416         (strchr): Remove __strchr_sse42 ifunc selection.
49417         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49418         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49420 2013-09-11  Will Newton  <will.newton@linaro.org>
49422         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49423         parameter to RES. Remove hardcoded 1000 value.
49424         * benchtests/bench-skeleton.c (main): Pass RES parameter
49425         to TIMING_INIT and multiply result by 1000.
49427 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49431 2013-09-11  Andreas Schwab  <schwab@suse.de>
49433         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49434         if not defined.
49435         (O_TMPFILE) [__USE_GNU]: Define.
49436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49437         Define.
49439 2013-09-11  Will Newton  <will.newton@linaro.org>
49441         [BZ #15857]
49442         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49443         does not overflow.
49445 2013-09-11  Will Newton  <will.newton@linaro.org>
49447         [BZ #15856]
49448         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49449         does not overflow.
49451 2013-09-11  Will Newton  <will.newton@linaro.org>
49453         [BZ #15855]
49454         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49455         does not overflow.
49457 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49459         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49460         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49461         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49462         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49463         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49465 2013-09-10  Allan McRae  <allan@archlinux.org>
49467         [BZ #15748]
49468         * manual/arith.texi (Parsing of Floats): Clarify
49469         cross-reference.
49471         [BZ #15849]
49472         * manual/install.texi (Running make install): Mention
49473         --enable-pt-chown.
49474         * INSTALL: Regenerated.
49476 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49478         * csu/init-first.c (_init): Remove the !SHARED condition around
49479         FPU control word initialization.
49480         * elf/dl-support.c (_dl_fpu_control): New variable.
49481         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49482         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49483         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49484         * math/test-fpucw-static.c: New file.
49485         * math/test-fpucw-ieee.c: New file.
49486         * math/test-fpucw-ieee-static.c: New file.
49487         * math/Makefile (tests): Add `test-fpucw-ieee' and
49488         `$(tests-static)'.
49489         (tests-static): New variable.
49490         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49491         dependency to...
49492         [($(build-shared),yes)]
49493         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49494         ... this.
49495         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49496         New dependency.
49498 2013-09-09  Allan McRae  <allan@archlinux.org>
49500         [BZ #15939]
49501         * manual/string.texi (Collation Functions): Fix typo in
49502         strcoll example.
49503         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49505         [BZ #15893]
49506         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49508         [BZ #15892]
49509         * libio/memstream.c (open_memstream): Fix memory leak.
49510         * libio/wmemstream.c (open_wmemstream): Likewise.
49512         [BZ #15895]
49513         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49515 2013-09-09  Will Newton  <will.newton@linaro.org>
49517         * malloc/Makefile: Add tst-realloc to tests.
49518         * malloc/tst-realloc.c: New file.
49520 2013-09-09  Allan McRae  <allan@archlinux.org>
49522         [BZ #15844]
49523         * COPYING: Update from GNU website to fix FSF address.
49524         * COPYING.LIB: Likewise.
49526 2013-09-06  David S. Miller  <davem@davemloft.net>
49528         * po/zh_TW.po: Update Chinese (traditional) translation from
49529         translation project.
49531 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49532             Joseph Myers  <joseph@codesourcery.com>
49534         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49535         "localeinfo.h".
49536         (obstack_chunk_alloc): New macro.
49537         (obstack_chunk_free): Likewise.
49538         (record_offset): New function.
49539         (init_locale_data): Likewise.
49540         (align_locale_data): Likewise.
49541         (add_locale_empty): Likewise.
49542         (add_locale_raw_data): Likewise.
49543         (add_locale_raw_obstack): Likewise.
49544         (add_locale_string): Likewise.
49545         (add_locale_wstring): Likewise.
49546         (add_locale_uint32): Likewise.
49547         (add_locale_uint32_array): Likewise.
49548         (add_locale_char): Likewise.
49549         (start_locale_structure): Likewise.
49550         (end_locale_structure): Likewise.
49551         (start_locale_prelude): Likewise.
49552         (end_locale_prelude): Likewise.
49553         (write_locale_data): Take locale_file structure rather than an
49554         iovec.
49555         * locale/programs/locfile.h: Include "obstack.h".
49556         (struct locale_file): Change to store locale file contents instead
49557         of header.
49558         (init_locale_data): New prototype.
49559         (align_locale_data): Likewise.
49560         (add_locale_empty): Likewise.
49561         (add_locale_raw_data): Likewise.
49562         (add_locale_raw_obstack): Likewise.
49563         (add_locale_string): Likewise.
49564         (add_locale_wstring): Likewise.
49565         (add_locale_uint32): Likewise.
49566         (add_locale_uint32_array): Likewise.
49567         (add_locale_char): Likewise.
49568         (start_locale_structure): Likewise.
49569         (end_locale_structure): Likewise.
49570         (start_locale_prelude): Likewise.
49571         (end_locale_prelude): Likewise.
49572         (write_locale_data): Update prototype.
49573         * locale/programs/3level.h (struct TABLE): Remove result field.
49574         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49575         Use new locale_file interface.
49576         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49577         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49578         * locale/programs/ld-address.c (address_output): Use new
49579         locale_file interface.
49580         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49581         NO_ADD_LOCALE.
49582         (collate_finish): Don't call collseq_table_finalize.
49583         (collate_output): Use new locale_file interface.
49584         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49585         in file.
49586         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49587         (TABLE): Move defines earlier in file.
49588         (ELEMENT): Likewise.
49589         (DEFAULT): Likewise.
49590         (wctrans_table_add): Move macro and inline function earlier in
49591         file.
49592         (struct wctype_table): Move type earlier in file.
49593         (add_locale_wctype_table): New static prototype.
49594         (struct locale_ctype_t): Use logical types instead of struct iovec
49595         pointers for members.
49596         (ctype_output): Use new locale_file interface.
49597         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49598         new locale_file interface.
49599         (allocate_arrays): Update for use of new locale_file interface.
49600         * locale/programs/ld-identification.c (identification_output): Use
49601         new locale_file interface.
49602         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49603         * locale/programs/ld-messages.c (messages_output): Likewise.
49604         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49605         * locale/programs/ld-name.c (name_output): Likewise.
49606         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49607         * locale/programs/ld-paper.c (paper_output): Likewise.
49608         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49609         * locale/programs/ld-time.c (time_output): Likewise.
49611 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49613         * benchtests/Makefile: Add memrchr benchmark.
49614         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49615         benchmark as memrchr.
49616         * benchtests/bench-memrchr-ifunc.c: New file.
49617         * benchtests/bench-memrchr.c: New file.
49619 2013-09-06   Will Newton  <will.newton@linaro.org>
49621         * benchtests/Makefile (string-bench): Add memcpy.
49623 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49624             Cong Wang  <amwang@redhat.com>
49626         [BZ #15850]
49627         * sysdeps/unix/sysv/linux/bits/in.h
49628         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49629         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49630         before __USE_KERNEL_IPV6_DEFS uses.
49631         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49632         IPPROTO_BEETPH.
49633         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49634         sockaddr_in6, or ipv6_mreq.
49636 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49638         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49639         memory access for final bytes in some large inputs.
49640         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49642 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49644         * string/test-memrchr.c: New file.
49645         * string/test-memrchr-ifunc.c: New file.
49646         * string/Makefile: Add new memrchr testcase.
49648 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49650         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49651         fanotify_init returns EPERM.
49653 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49655         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49656         errors.
49657         (top level): Treat second token from macro or constant entries for
49658         allowed headers as allowed.
49659         * include/complex.h: Condition internal declarations on
49660         [!_ISOMAC].
49661         * include/fenv.h: Condition include of <stdbool.h> and internal
49662         declarations on [!_ISOMAC].
49664 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49666         [BZ #15923]
49667         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49669 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49671         * configure.in (--enable-versioning): Remove configure option.
49672         (libc_cv_asm_symver_directive): Remove configure test.
49673         (libc_cv_ld_version_script_option): Likewise.
49674         (VERSIONING): Remove variable and AC_SUBST.
49675         (DO_VERSIONING): Remove AC_DEFINE.
49676         * configure: Regenerated.
49677         * config.h.in (DO_VERSIONING): Remove macro.
49678         * Makerules [$(versioning) = yes]: Change conditionals to
49679         [$(build-shared) = yes].
49680         * config.make.in (versioning): Remove variable.
49681         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49682         [$(build-shared) = yes].
49683         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49684         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49685         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49686         [$(build-shared) = yes].
49687         * extra-lib.mk [$(versioning) = yes]: Likewise.
49688         * hurd/Makefile [$(versioning) = yes]: Likewise.
49689         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49690         [SHARED].
49691         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49692         [SHARED].
49693         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49694         [SHARED && !NO_HIDDEN].
49695         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49696         [SHARED].
49697         [SHARED && DO_VERSIONING]: Likewise..
49698         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49699         [$(build-shared) = yes].
49700         * manual/install.texi (--disable-versioning): Remove
49701         documentation.
49702         * INSTALL: Regenerated.
49703         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49704         to [SHARED].
49705         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49706         [$(build-shared) = yes].
49707         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49708         * sysdeps/i386/i686/multiarch/strstr-c.c
49709         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49710         [SHARED && !NO_HIDDEN].
49711         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49712         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49713         * sysdeps/powerpc/powerpc32/dl-machine.c
49714         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49715         * sysdeps/powerpc/powerpc32/sysdep.h
49716         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49717         to [SHARED && PIC && !NO_HIDDEN].
49718         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49719         conditional to [SHARED].
49721 2013-09-04   Will Newton  <will.newton@linaro.org>
49723         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49724         * benchtests/bench-string.h: Include bench-timing.h instead
49725         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49726         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49727         call to HP_TIMING_DIFF_INIT.
49728         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49729         instead of hp-timing.h macros.
49730         * benchtests/bench-memchr.c: Likewise.
49731         * benchtests/bench-memcmp.c: Likewise.
49732         * benchtests/bench-memcpy.c: Likewise.
49733         * benchtests/bench-memmem.c: Likewise.
49734         * benchtests/bench-memmove.c: Likewise.
49735         * benchtests/bench-memset.c: Likewise.
49736         * benchtests/bench-rawmemchr.c: Likewise.
49737         * benchtests/bench-strcasecmp.c: Likewise.
49738         * benchtests/bench-strcasestr.c: Likewise.
49739         * benchtests/bench-strcat.c: Likewise.
49740         * benchtests/bench-strchr.c: Likewise.
49741         * benchtests/bench-strcmp.c: Likewise.
49742         * benchtests/bench-strcpy.c: Likewise.
49743         * benchtests/bench-strcpy_chk.c: Likewise.
49744         * benchtests/bench-strlen.c: Likewise.
49745         * benchtests/bench-strncasecmp.c: Likewise.
49746         * benchtests/bench-strncat.c: Likewise.
49747         * benchtests/bench-strncmp.c: Likewise.
49748         * benchtests/bench-strncpy.c: Likewise.
49749         * benchtests/bench-strnlen.c: Likewise.
49750         * benchtests/bench-strpbrk.c: Likewise.
49751         * benchtests/bench-strrchr.c: Likewise.
49752         * benchtests/bench-strspn.c: Likewise.
49753         * benchtests/bench-strstr.c: Likewise.
49755 2013-09-04  Will Newton  <will.newton@linaro.org>
49757         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49759 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49761         [BZ #15427]
49762         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49763         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49764         * math/libm-test.inc (lgamma_test_data): Add more tests.
49765         * sysdeps/i386/fpu/libm-test-ulps: Update.
49766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49768 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49770         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49772         Add ifunc.
49773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49774         Add strcmp-sse2-unaligned
49775         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49777 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49779         * Versions.def (libc): Add GLIBC_2.19.
49781 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49783         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49784         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49786 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49788         [BZ #14155]
49789         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49790         intermediate calculations in recurrence.
49791         (__ieee754_ynf): Likewise.
49792         * math/libm-test.inc (jn_test_data): Do not allow spurious
49793         underflow exception.  Add more tests.
49794         (yn_test_data): Add more tests.
49795         * sysdeps/i386/fpu/libm-test-ulps: Update.
49796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49798 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49800         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49802 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49804         * csu/init-first.c: Fix then/than typos.
49805         * locale/programs/ld-collate.c: Likewise.
49806         * locale/programs/linereader.h: Likewise.
49807         * manual/charset.texi: Likewise.
49808         * manual/filesys.texi: Likewise.
49809         * manual/stdio.texi: Likewise.
49810         * manual/string.texi: Likewise.
49811         * stdlib/fmtmsg.c: Likewise.
49812         * sysdeps/i386/stpncpy.S: Likewise.
49813         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49814         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49815         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49816         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49818 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49820         * elf/dl-open.c: Fix typos.
49821         * iconvdata/gbbig5.c: Likewise.
49822         * iconvdata/iso-2022-jp.c: Likewise.
49823         * iconv/gconv_int.h: Likewise.
49824         * iconv/loop.c: Likewise.
49825         * nis/rpcsvc/nis.h: Likewise.
49826         * resolv/ns_name.c: Likewise.
49827         * stdio-common/vfscanf.c: Likewise.
49828         * streams/stropts.h: Likewise.
49829         * sunrpc/rpc_thread.c: Likewise.
49830         * sysdeps/i386/strpbrk.S: Likewise.
49831         * sysdeps/ieee754/k_standard.c: Likewise.
49832         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49834         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49835         * sysdeps/mach/hurd/profil.c: Likewise.
49836         * sysdeps/s390/dl-procinfo.h: Likewise.
49837         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49838         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49839         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49840         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49841         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49843 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49845         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49848 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49850         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49851         aix specific files.
49852         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49853         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49854         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49855         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49856         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49857         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49858         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49859         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49861 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49862             Roland McGrath  <roland@hack.frob.com>
49864         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49865         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49867 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49869         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49870         __executable_start symbol instead of _start.
49872 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49874         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49875         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49876         Move macros to...
49877         * sysdeps/gnu/ldsodefs.h: ... this new file.
49879         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49880         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49881         instead of ELFOSABI_LINUX.
49883         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49884         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49885         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49886         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49887         Likewise.
49888         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49889         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49890         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49891         Likewise.
49892         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49893         (ibm_extended_long_double): Add ieee_nan member.
49894         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49895         (do_test): New function.
49897         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49898         TEST_TRUNC.
49899         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49900         functions, renamed from truncdfsf_test, trunctfsf_test,
49901         trunctfdf_test.
49902         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49903         functions.
49904         (do_test): Run all these.
49906 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49908         * argp/argp-help.c: Fix typos.
49909         * argp/argp-parse.c: Likewise.
49910         * debug/backtracesyms.c: Likewise.
49911         * elf/elf.h: Likewise.
49912         * malloc/malloc.c: Likewise.
49913         * nis/nis_print.c: Likewise.
49914         * resolv/res_comp.c: Likewise.
49915         * stdlib/stdlib.h: Likewise.
49916         * sunrpc/clnt_tcp.c: Likewise.
49917         * sunrpc/clnt_udp.c: Likewise.
49918         * sunrpc/clnt_unix.c: Likewise.
49919         * sysdeps/unix/bsd/ptsname.c: Likewise.
49920         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49923         Likewise.
49924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49925         Likewise.
49926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49927         Likewise.
49928         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49930 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49932         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49935 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49937         [BZ #15897]
49938         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49939         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49940         ($(objpfx)bug-dl-leaf): New rule.
49941         ($(objpfx)bug-dl-leaf.so): Likewise.
49942         ($(objpfx)bug-dl-leaf.out): Likewise.
49943         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49944         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49945         * dlfcn/bug-dl-leaf.c: New test.
49946         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49947         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49948         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49949         (dlclose): Likewise.
49950         (dlmopen): Likewise.
49952 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49954         * include/netdb.h [!_ISOMAC]:
49955         Don't include <tls.h>.
49956         (h_errno, __libc_h_errno): Move declaration and macros out of
49957         [_LIBC_REENTRANT].
49959         * include/resolv.h [_RESOLV_H_]:
49960         Don't include <tls.h>.
49961         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49962         * resolv/res_libc.c: Don't include <tls.h>.
49963         (_res): Use __attribute__ ((nocommon)) in place of
49964         __attribute__ ((section (".bss"))).
49966         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49967         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49969         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49971         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49972         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49974         * resolv/res_mkquery.c: Include <sys/time.h>.
49976         * inet/ifreq.c: Moved to ...
49977         * sysdeps/unix/ifreq.c: ... here.
49978         * inet/ifreq.c: New file, true stub version.
49980         * socket/sa_len.c: New file.
49981         * socket/Makefile (aux): Add it.
49982         * sysdeps/unix/sysv/linux/Makefile
49983         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49984         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49985         and #include <socket/sa_len.c>.
49986         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49987         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49989         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49990         * bits/socket.h: ... here.
49992         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49993         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49994         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49996 2013-08-27  Andreas Schwab  <schwab@suse.de>
49998         [BZ #15736]
49999         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50000         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50001         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50002         * string/test-strcasecmp.c (test_main): Run tests in several
50003         locales.
50004         * string/test-strncasecmp.c (test_main): Likewise.
50006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50007         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50008         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50009         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50010         (__strncasecmp_ssse3) [PIC]: Likewise.
50012 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50014         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50016         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50017         instead of explicitly declaring xdecrypt.
50018         * nis/nss_nis/nis-publickey.c: Likewise.
50020 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50022         [BZ #15890]
50023         * nscd/aicache.c: Include res_hconf.h.
50024         (addhstaiX): Initialize res_hconf.
50026 2013-08-26  Andreas Schwab  <schwab@suse.de>
50028         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50029         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50031 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50033         * nscd/aicache.c (addhstaiX): Fix indentation.
50035 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50037         * configure.ac: Quote $build_pt_chown test.
50038         * configure: Regenerated.
50040 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50042         [BZ #15532]
50043         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50044         * math/s_cexpf.c (__cexpf): Likewise.
50045         * math/s_cexpl.c (__cexpl): Likewise.
50046         * math/libm-test.inc (cexp_test_data): Correct expected return
50047         value for NaN + i0.  Add another test.
50049 2013-08-22  David S. Miller  <davem@davemloft.net>
50051         * po/ca.po: Update Catalan translation from translation project.
50052         * po/uk.po: Add Ukrainian translations from translation project.
50054 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50056         [BZ #15797]
50057         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50058         is infinite, not alongside NaN test.
50059         * math/s_fdimf.c (__fdimf): Likewise.
50060         * math/s_fdiml.c (__fdiml): Likewise.
50061         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50062         errno is unchanged.
50064 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50066         * argp/argp-help.c: Fix typos.
50067         * crypt/speeds.c: Likewise.
50068         * csu/check_fds.c: Likewise.
50069         * elf/dl-load.c: Likewise.
50070         * elf/dl-open.c: Likewise.
50071         * elf/reldep3.c: Likewise.
50072         * elf/reldep.c: Likewise.
50073         * elf/sprof.c: Likewise.
50074         * iconv/iconv_charmap.c: Likewise.
50075         * iconv/skeleton.c: Likewise.
50076         * iconv/strtab.c: Likewise.
50077         * io/lockf64.c: Likewise.
50078         * libio/libioP.h: Likewise.
50079         * resolv/gai_notify.c: Likewise.
50080         * resolv/ns_name.c: Likewise.
50081         * resolv/ns_samedomain.c: Likewise.
50082         * resolv/res_send.c: Likewise.
50083         * stdlib/random.c: Likewise.
50084         * sunrpc/rpc/xdr.h: Likewise.
50085         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50086         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50087         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50088         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50089         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50090         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50092         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50093         * sysdeps/mach/hurd/check_fds.c: Likewise.
50094         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50095         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50096         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50097         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50098         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50099         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50100         * sysdeps/pthread/aio_notify.c: Likewise.
50101         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50102         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50103         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50104         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50105         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50107 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50109         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50110         version if bit_Slow_SSE4_2 is set.
50111         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50112         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50114 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50116         [BZ #15867]
50117         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50118         trampoline stack frame information.
50119         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50120         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50121         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50122         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50123         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50124         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50125         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50126         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50127         sa_flags value.
50128         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50129         interrupting a syscall and set with option SA_SIGINFO.
50131 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50133         [BZ #15531]
50134         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50135         argument is infinite.
50136         * math/s_cprojf.c (__cprojf): Likewise.
50137         * math/s_cprojl.c (__cprojl): Likewise.
50138         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50139         * math/libm-test.inc (cproj_test_data): Add more tests.
50141         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50143         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50144         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50145         size.  Use __ffs to determine corresponding shift.
50147 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50148             Roland McGrath  <roland@hack.frob.com>
50150         * Makefile (INSTALL): Remove trailing blank lines from output of
50151         makeinfo.
50153 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50155         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50156         Align 32 bit compat elf_greg to 8 bytes.
50158 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50160         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50162 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50164         * string/strcoll_l.c (coll_seq): New structure.
50165         (get_next_seq_cached): New function.
50166         (get_next_seq): New function.
50167         (do_compare): New function.
50168         (STRCOLL): Use GNU style definition.  Simplify implementation
50169         by using get_next_seq, get_next_seq_cached and do_compare.
50171 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50173         [BZ #14699]
50174         CVE-2013-4237
50175         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50176         member.
50177         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50178         member.
50179         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50180         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50181         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50182         conditional.
50183         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50184         GETDENTS_64BIT_ALIGNED.
50185         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50186         * manual/filesys.texi (Reading/Closing Directory): Document
50187         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50188         strongly.
50189         * manual/conf.texi (Limits for Files): Add portability note to
50190         NAME_MAX, PATH_MAX.
50191         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50193 2013-08-13  Andreas Schwab  <schwab@suse.de>
50195         [BZ #15749]
50196         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50197         of fabs.
50198         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50199         LDBL_MAX_EXP >= 16384]: Add tests for it.
50201 2013-08-12  David S. Miller  <davem@davemloft.net>
50203         * version.h (RELEASE): Set to "development".
50204         (VERSION): Set to "2.18.90".
50205         * NEWS: Add 2.19 section.
50207 2013-08-03  David S. Miller  <davem@davemloft.net>
50209         * po/ko.po: Update Korean translation from translation project.
50211 2013-08-01  David S. Miller  <davem@davemloft.net>
50213         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50214         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50215         Bilka.
50217 2013-07-30  David S. Miller  <davem@davemloft.net>
50219         * po/fr.po: Update French translation from translation project.
50221 2013-07-28  David S. Miller  <davem@davemloft.net>
50223         * po/cs.po: Update Czech translation from translation project.
50225         * po/sv.po: Update Swedish translation from translation project.
50227 2013-07-27  David S. Miller  <davem@davemloft.net>
50229         * po/eo.po: Update Esperanto translation from translation project.
50231         * po/vi.po: Update Vietnamese translation from translation project.
50233         * po/de.po: Update German translation from translation project.
50235 2013-07-26  David S. Miller  <davem@davemloft.net>
50237         * po/bg.po: Update Bulgarian translation from translation project.
50239         * po/nl.po: Update Dutch translation from translation project.
50240         * po/pl.po: Update Polish translation from translation project.
50241         * po/ru.po: Update Russian translation from translation project.
50243 2013-07-24  David S. Miller  <davem@davemloft.net>
50245         * po/libc.pot: Update.
50247 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50249         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50250         variable page size.
50251         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50252         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50253         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50255 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50257         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50259 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50260             Andreas Schwab  <schwab@suse.de>
50261             Roland McGrath  <roland@hack.frob.com>
50262             Joseph Myers  <joseph@codesourcery.com>
50263             Carlos O'Donell  <carlos@redhat.com>
50265         [BZ #15755]
50266         * config.h.in: Define HAVE_PT_CHOWN.
50267         * config.make.in (build-pt-chown): New variable.
50268         * configure.in (--enable-pt_chown): New configure option.
50269         * configure: Regenerate.
50270         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50271         build-pt-chown is enabled.
50272         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50273         pt_chown to fix pty ownership.
50274         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50275         CLOSE_ALL_FDS.
50276         * manual/install.texi (Configuring and compiling): Mention
50277         --enable-pt_chown. Add @findex for grantpt.
50278         * INSTALL: Regenerate.
50280 2013-07-20  David S. Miller  <davem@davemloft.net>
50282         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50283         difference between 32-bit and 64-bit.
50285 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50287         [BZ #15711]
50288         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50289         Avoid system header dependency with -ffreestanding.
50290         ($(objpfx)bits/syscall%d): Likewise.
50292 2013-07-13  David S. Miller  <davem@davemloft.net>
50294         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50295         underflows from atanl/atan2l due to bug 15319.
50296         (casinh_test_data): Likewise.
50298 2013-07-07  David S. Miller  <davem@davemloft.net>
50300         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50302 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
50304         * sysdeps/i386/fpu/libm-test-ulps: Update.
50305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50307 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50309         * configure.in (--enable-lock-elision): Fix message text.
50310         * INSTALL: Regenerate.
50311         * configure: Regenerate.
50313 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50317 2013-07-03  Andreas Jaeger  <aj@suse.de>
50319         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50320         define.
50321         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50322         (ptrace_peeksiginfo_args): Add.
50323         (__ptrace_peeksiginfo_flags): Add.
50324         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50326         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50328 2013-07-03  Allan McRae  <allan@archlinux.org>
50330         * sysdeps/i386/fpu/libm-test-ulps: Update.
50332 2013-07-02  David S. Miller  <davem@davemloft.net>
50334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50336 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
50338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50340 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50342         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50345 2013-07-02  Andi Kleen <ak@linux.intel.com>
50347         * config.h.in (ENABLE_LOCK_ELISION): Add.
50348         * configure.in (--enable-lock-elision): Add option.
50349         * manual/install.texi: Document --enable lock elision.
50350         * configure: Regenerate
50351         * INSTALL: Regenerate.
50353 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
50355         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50356         SSE4.2 strcasecmp for libc.a.
50357         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50359 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50361         [BZ #13304]
50362         * soft-fp/op-common.h (_FP_FMA): New macro.
50363         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50364         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
50365         (_FP_MUL_MEAT_1_imm): ... here.
50366         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
50367         (_FP_MUL_MEAT_1_wide): ... here.
50368         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
50369         (_FP_MUL_MEAT_1_hard): ... here.
50370         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50371         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
50372         (_FP_MUL_MEAT_2_wide): ... here.
50373         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
50374         (_FP_MUL_MEAT_2_wide_3mul): ... here.
50375         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
50376         (_FP_MUL_MEAT_2_gmp): ... here.
50377         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50378         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
50379         (_FP_MUL_MEAT_4_wide): ... here.
50380         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
50381         (_FP_MUL_MEAT_4_gmp): ... here.
50382         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50383         (_FP_WFRACBITS_DW_S): Likewise.
50384         (_FP_WFRACXBITS_DW_S): Likewise.
50385         (_FP_HIGHBIT_DW_S): Likewise.
50386         (FP_FMA_S): Likewise.
50387         (_FP_FRAC_HIGH_DW_S): Likewise.
50388         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50389         (_FP_WFRACBITS_DW_D): Likewise.
50390         (_FP_WFRACXBITS_DW_D): Likewise.
50391         (_FP_HIGHBIT_DW_D): Likewise.
50392         (FP_FMA_D): Likewise.
50393         (_FP_FRAC_HIGH_DW_D): Likewise.
50394         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50395         (_FP_WFRACBITS_DW_E): Likewise.
50396         (_FP_WFRACXBITS_DW_E): Likewise.
50397         (_FP_HIGHBIT_DW_E): Likewise.
50398         (FP_FMA_E): Likewise.
50399         (_FP_FRAC_HIGH_DW_E): Likewise.
50400         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50401         (_FP_WFRACBITS_DW_Q): Likewise.
50402         (_FP_WFRACXBITS_DW_Q): Likewise.
50403         (_FP_HIGHBIT_DW_Q): Likewise.
50404         (FP_FMA_Q): Likewise.
50405         (_FP_FRAC_HIGH_DW_Q): Likewise.
50406         * soft-fp/fmasf4.c: New file.
50407         * soft-fp/fmadf4.c: Likewise.
50408         * soft-fp/fmatf4.c: Likewise.
50410 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50413         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50414         Silvermont.
50415         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50416         macro.
50417         (index_Slow_SSE4_2): Likewise.
50418         (index_Prefer_PMINUB_for_stringop): Likewise.
50419         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50420         bit_Slow_SSE4_2 is set.
50421         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50422         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50424 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50426         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50427         rtld_global._dl_hwcap2.
50428         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50429         POWER8.
50430         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50431         POWER8 feature descriptions defined in _dl_hwcap2.
50432         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50433         string handling for POWER8 feature bits.
50434         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50435         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50436         _dl_powerpc_cap_flags.
50437         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50438         * sysdeps/powerpc/rtld-global-offsets.sym
50439         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50440         _dl_hwcap2 in the rtld_global_ro structure.
50442 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50444         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50445         hardware capabilities in support of AT_HWCAP2.
50446         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50447         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50448         GLRO(dl_hwcap2).
50449         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50450         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50451         explicitly the unknown a_type display mechanism is used.
50452         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50453         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50454         struct member.
50455         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50456         to macro prototype for AT_HWCAP2 support.
50457         * sysdeps/i386/dl-procinfo.h: Likewise.
50458         * sysdeps/s390/dl-procinfo.h: Likewise.
50459         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50460         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50461         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50462         return -1 for unknown a_type display fallback.
50463         * sysdeps/sparc/dl-procinfo.h: Likewise.
50464         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50465         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50467 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50469         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50470         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50472 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50474         [BZ #12492]
50475         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50476         mprotect making __stack_prot writable.
50478 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50479             Joseph Myers  <joseph@codesourcery.com>
50481         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50482         as being properly aligned.
50484 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50486         * dlfcn/modstatic5.c: New file.
50487         * dlfcn/tststatic5.c: New file.
50488         * dlfcn/Makefile (tests): Add tststatic5.
50489         (tests-static): Likewise.
50490         (modules-names): Add modstatic5.
50491         (tststatic5-ENV): New variable.
50492         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50494         [BZ #15022]
50495         * elf/dl-support.c (_dl_main_map): New variable.
50496         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50497         (_dl_nns, _dl_load_adds): Set to 1.
50498         (_dl_initial_searchlist): Refer to _dl_main_map.
50499         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50500         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50501         call to _dl_get_origin.
50502         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50503         around call_map.
50504         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50505         * dlfcn/modstatic3.c: New file.
50506         * dlfcn/tststatic3.c: New file.
50507         * dlfcn/tststatic4.c: New file.
50508         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50509         (tests-static): Likewise.
50510         (modules-names): Add modstatic3.
50511         (tststatic3-ENV, tststatic4-ENV): New variables.
50512         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50513         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50515 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50517         * configure.in (CC): Require GCC version 4.4 or later.
50518         * configure: Regenerated.
50519         * manual/install.texi (Tools for Compilation): Update GCC version
50520         requirement.
50521         * INSTALL: Regenerated.
50523 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50525         [BZ #15674]
50526         * string/test-memcmp.c (check2): New.
50527         (main): Call check2.
50529         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50531 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50533         [BZ #15022]
50534         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50535         over to...
50536         (dl_open_worker) [!SHARED]: ... here.
50538 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50540         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50542 2013-06-25  Richard Henderson  <rth@redhat.com>
50544         * locale/programs/locarchive.c: Include <libc-internal.h>
50546 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50548         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50549         trailing whitespace removed.
50551 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50553         [BZ #10283]
50554         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50555         * locale/programs/locarchive.c: Include libc-mmap.h.
50556         (prepare_address_space): Take two new outputs (the mmap base and len).
50557         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50558         values.
50559         (create_archive): Declare new mmap base and len values for
50560         prepare_address_space, and store the result in ah.
50561         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50562         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50563         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50564         Declare new mmap base and len values for
50565         prepare_address_space, and store the result in new_ah.
50566         (open_archive): Declare new mmap base and len values for
50567         prepare_address_space, and store the result in ah.
50568         (close_archive): If ah->mmap_base is not NULL, use that and
50569         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50570         * sysdeps/generic/libc-mmap.h: New file.
50572 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50574         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50575         (ALIGN_UP): Likewise.
50576         (PTR_ALIGN_DOWN): Likewise.
50577         (PTR_ALIGN_UP): Likewise.
50579 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50581         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50582         entry mapped to PPC_PLATFORM_POWER8.
50583         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50584         POWER8.
50585         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50586         (_dl_string_platform): Add case for exporting platform position for
50587         POWER8.
50588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50589         search path to sysdeps/powerpc/powerpc32/power8 directory.
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50591         search path to sysdeps/powerpc/powerpc64/power8 directory.
50592         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50593         power7 directories.
50594         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50595         power7 directories.
50597 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50599         * INSTALL: Regenerate.
50601         * nscd/connections.c (nscd_init): Fix comment.
50603 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50605         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50607         [BZ #15667]
50608         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50609         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50611 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50613         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50614         DL_DST_REQ_STATIC.
50615         (DL_DST_REQ_STATIC): Remove macro.
50617 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50619         [BZ #7006]
50620         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50621         with a shift of 0 bits.
50623 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50625         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50626         $(tststatic-ENV).
50628 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50630         [BZ #15655]
50631         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50633 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50635         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50636         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50637         accepts -fno-tree-loop-distribute-patterns.
50638         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50639         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50640         recursive call.
50641         * string/memset.c (memset): Likewise.
50642         * string/test-memmove.c (simple_memmove): Disable loop transformation
50643         to library calls.
50644         * string/test-memset.c (simple_memset): Likewise.
50645         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50646         * benchtests/bench-memset.c (simple_memset): Likewise.
50647         * configure: Regenerated.
50649 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50651         * math/test-misc.c (main): Ignore fesetround failure when failures
50652         of subsequent rounding tests would be ignored.
50654         [BZ #15654]
50655         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50656         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50657         * math/fegetenv.c (__fegetenv): Return 0.
50658         * math/fegetexcept.c (fegetexcept): Return 0.
50659         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50660         FE_TONEAREST.
50661         * math/feholdexcpt.c (feholdexcept): Return 0.
50662         * math/fesetenv.c (__fesetenv): Return 0.
50663         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50664         argument FE_TONEAREST.
50665         * math/feupdateenv.c (__feupdateenv): Return 0.
50666         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50668 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50670         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50671         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50672         ($(objpfx)rtld-%.os rules): Use them.
50674 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50676         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50677         fields.
50679 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50681         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50682         length of target pattern, then descending length of dependency pattern.
50683         * configure.in (AWK): Require gawk 3.1.2 or newer.
50684         * manual/install.texi (Tools for Compilation): Say that we do.
50685         * configure: Regenerated.
50687         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50688         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50689         * scripts/sysd-rules.awk: ... this new script.
50690         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50691         than a glob-style pattern.
50693 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50695         * math/test-misc.c (main): Do not treat incorrectly rounded
50696         conversions as failure unless ROUNDING_TESTS passes.
50698 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50700         [BZ #15631]
50701         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50702         restore exception state around main square root computation, then
50703         check for inexactness explicitly.
50705         * math/libm-test.inc (fma_test_data): Add another test.
50707 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50709         * manual/threads.texi (Non-POSIX Extensions): New document
50710         node.  Document pthread_getattr_default_np and
50711         pthread_setattr_default_np.
50713         * Versions.def (libpthread): Add GLIBC_2.18.
50714         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50716         Likewise.
50717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50718         Likewise.
50719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50720         Likewise.
50721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50722         Likewise.
50723         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50724         Likewise.
50725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50726         Likewise.
50727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50728         Likewise.
50729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50730         Likewise.
50731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50732         Likewise.
50734 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50737         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50739 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50740             H.J. Lu  <hjl.tools@gmail.com>
50742         [BZ #15627]
50743         * sysdeps/x86_64/rtld-memset.c: Remove file.
50744         * sysdeps/x86_64/rtld-memset.S: New file.
50746 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50748         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50749         (test_in_one_mode): Take arguments for whether the rounding mode
50750         is supported for each floating-point type.
50751         (do_test): Pass new arguments to test_in_one_mode using
50752         ROUNDING_TESTS.
50754 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50756         * posix/tst-waitid.c (do_test): Distinguish different instances of
50757         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50758         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50759         before entering the kernel for waitpid.
50761 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50763         * NEWS: Fix note on clock function precision.  Text by Roland
50764         McGrath.
50766 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50768         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50769         it into place only when and if the sanity check passes.
50771 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50773         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50774         output for whether conversion result is exact.  Take argument
50775         indicating whether type is IBM long double.
50776         (round_for_all): Change need_exact field to ibm_ld.
50777         * stdlib/tst-strtod-round.c (struct exactness): New type.
50778         (struct test): Change bool ld_ok field to struct exactness exact.
50779         (TEST): Update all definitions for change to field.
50780         (tests): Regenerate array contents.
50781         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50782         field value.  Check for IBM long double here.
50783         (do_test): Update calls to test_in_one_mode.
50785 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50787         [BZ #12515]
50788         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50789         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50791 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50793         [BZ #15605]
50794         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50795         generated by the compiler on loop optimizations.
50796         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50797         general definitions.
50799 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50801         * math/bug-nextafter.c: Include <math-tests.h>.
50802         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50803         the relevant type.
50804         * math/bug-nexttoward.c: Include <math-tests.h>.
50805         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50806         the relevant type.
50807         * math/test-misc.c: Include <math-tests.h>.
50808         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50809         the relevant type.
50811 2013-06-12  Andreas Jaeger  <aj@suse.de>
50813         * po/ia.po: Update Interlingua translation from translation
50814         project.
50816 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50818         * include/fenv.h: Include stdbool.h.
50819         (struct rm_ctx): New structure.
50820         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50821         Define macro.
50822         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50823         (SET_RESTORE_ROUNDF): Likewise.
50824         (SET_RESTORE_ROUNDL): Likewise.
50825         (SET_RESTORE_ROUND_NOEX): Likewise.
50826         (SET_RESTORE_ROUND_NOEXF): Likewise.
50827         (SET_RESTORE_ROUND_NOEXL): Likewise.
50828         (SET_RESTORE_ROUND_53BIT): Likewise.
50829         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50830         (libc_feresetround_noexf_ctx): Likewise.
50831         (libc_feresetround_noexl_ctx): Likewise.
50832         (libc_feholdsetround_53bit_ctx): Likewise.
50833         (libc_feresetround_53bit_ctx): Likewise.
50834         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50835         (libc_feholdexcept_setround_sse_ctx): New function.
50836         (libc_fesetenv_sse_ctx): Likewise.
50837         (libc_feupdateenv_sse_ctx): Likewise.
50838         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50839         (libc_feholdexcept_setround_387_ctx): Likewise.
50840         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50841         (libc_feholdsetround_387_prec_ctx): Likewise.
50842         (libc_feholdsetround_387_ctx): Likewise.
50843         (libc_feholdsetround_387_53bit_ctx): Likewise.
50844         (libc_feholdsetround_sse_ctx): Likewise.
50845         (libc_feresetround_sse_ctx): Likewise.
50846         (libc_feresetround_387_ctx): Likewise.
50847         (libc_feupdateenv_387_ctx): Likewise.
50848         (libc_feholdexcept_setroundf_ctx): Define macro.
50849         (libc_fesetenvf_ctx): Likewise.
50850         (libc_feupdateenvf_ctx): Likewise.
50851         (libc_feholdsetroundf_ctx): Likewise.
50852         (libc_feresetroundf_ctx): Likewise.
50853         (libc_feholdexcept_setround_ctx): Likewise.
50854         (libc_fesetenv_ctx): Likewise.
50855         (libc_feupdateenv_ctx): Likewise.
50856         (libc_feholdsetround_ctx): Likewise.
50857         (libc_feresetround_ctx): Likewise.
50858         (libc_feholdexcept_setroundl_ctx): Likewise.
50859         (libc_feupdateenvl_ctx): Likewise.
50860         (libc_feholdsetroundl_ctx): Likewise.
50861         (libc_feresetroundl_ctx): Likewise.
50862         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50863         (libc_feresetround_53bit_ctx): Likewise.
50865 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50867         * locale/iso-639.def: Convert to UTF-8.
50869 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50871         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50872         (EXCEPTION_TESTS_double): Likewise.
50873         (EXCEPTION_TESTS_long_double): Likewise.
50874         (EXCEPTION_TESTS): Likewise.
50875         * math/libm-test.inc (test_exceptions): Only test exceptions if
50876         EXCEPTION_TESTS (FLOAT).
50878 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50880         * benchtests/Makefile (string-bench): Add strcpy_chk and
50881         stpcpy_chk.
50882         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50883         * benchtests/bench-stpcpy_chk.c: New file.
50884         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50885         * benchtests/bench-strcpy_chk.c: New file.
50886         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50887         code.
50888         (do_test): Likewise.
50890 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50892         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50893         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50894         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50895         with tabs where appropriate.
50896         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50897         dl-procinfo.h.
50898         [PPC_PLATFORM_PPC440]: Likewise.
50899         [PPC_PLATFORM_PPC464]: Likewise.
50900         [PPC_PLATFORM_PPC476]: Likewise.
50901         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50902         ppc464, and ppc476 platform strings merging from ports/
50903         dl-procinfo.h.
50905 2013-06-11  Andreas Schwab  <schwab@suse.de>
50907         [BZ #14991]
50908         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50909         (from_ucs4_idx): Regenerate.
50910         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50911         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50912         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50913         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50914         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50915         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50916         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50917         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50918         from FROM_LOOP and TO_LOOP specific macros.
50919         (BODY): Handle combining characters.
50920         * iconvdata/BIG5HKSCS.irreversible: Update.
50921         * iconvdata/BIG5HKSCS.precomposed: New file.
50922         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50923         characters.
50924         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50926 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50928         * include/sys/time.h: Fix indentation and add copyright header.
50930         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50931         (do_test): Likewise.
50932         * string/test-memchr.c (do_one_test): Likewise.
50933         (do_test): Likewise.
50934         * string/test-memcmp.c (do_one_test): Likewise.
50935         (do_test): Likewise.
50936         * string/test-memcpy.c (do_one_test): Likewise.
50937         (do_test): Likewise.
50938         * string/test-memmem.c (do_one_test): Likewise.
50939         (do_test): Likewise.
50940         (do_random_tests): Likewise.
50941         * string/test-memmove.c (do_one_test): Likewise.
50942         (do_test): Likewise.
50943         * string/test-memset.c (do_one_test): Likewise.
50944         (do_test): Likewise.
50945         * string/test-rawmemchr.c (do_one_test): Likewise.
50946         (do_test): Likewise.
50947         * string/test-strcasecmp.c (do_one_test): Likewise.
50948         (do_test): Likewise.
50949         * string/test-strcasestr.c (do_one_test): Likewise.
50950         (do_test): Likewise.
50951         * string/test-strcat.c (do_one_test): Likewise.
50952         (do_test): Likewise.
50953         * string/test-strchr.c (do_one_test): Likewise.
50954         (do_test): Likewise.
50955         * string/test-strcmp.c (do_one_test): Likewise.
50956         (do_test): Likewise.
50957         * string/test-strcpy.c (do_one_test): Likewise.
50958         (do_test): Likewise.
50959         * string/test-string.h: Likewise.
50960         (test_init): Likewise.
50961         * string/test-strlen.c (do_one_test): Likewise.
50962         (do_test): Likewise.
50963         * string/test-strncasecmp.c (do_one_test): Likewise.
50964         (do_test): Likewise.
50965         * string/test-strncat.c (do_one_test): Likewise.
50966         (do_test): Likewise.
50967         * string/test-strncmp.c (do_one_test): Likewise.
50968         (do_test_limit): Likewise.
50969         (do_test): Likewise.
50970         * string/test-strncpy.c (do_one_test): Likewise.
50971         (do_test): Likewise.
50972         * string/test-strnlen.c (do_one_test): Likewise.
50973         (do_test): Likewise.
50974         * string/test-strpbrk.c (do_one_test): Likewise.
50975         (do_test): Likewise.
50976         * string/test-strrchr.c (do_one_test): Likewise.
50977         (do_test): Likewise.
50978         * string/test-strspn.c (do_one_test): Likewise.
50979         (do_test): Likewise.
50980         * string/test-strstr.c (do_one_test): Likewise.
50981         (do_test): Likewise.
50983         * benchtests/Makefile (string-bench): Add string benchmarks.
50984         * benchtests/bench-bcopy-ifunc.c: New file.
50985         * benchtests/bench-bcopy.c: New file.
50986         * benchtests/bench-bzero-ifunc.c: New file.
50987         * benchtests/bench-bzero.c: New file.
50988         * benchtests/bench-memccpy-ifunc.c: New file.
50989         * benchtests/bench-memccpy.c: New file.
50990         * benchtests/bench-memchr-ifunc.c: New file.
50991         * benchtests/bench-memchr.c: New file.
50992         * benchtests/bench-memcmp-ifunc.c: New file.
50993         * benchtests/bench-memcmp.c: New file.
50994         * benchtests/bench-memmem-ifunc.c: New file.
50995         * benchtests/bench-memmem.c: New file.
50996         * benchtests/bench-memmove-ifunc.c: New file.
50997         * benchtests/bench-memmove.c: New file.
50998         * benchtests/bench-mempcpy-ifunc.c: New file.
50999         * benchtests/bench-mempcpy.c: New file.
51000         * benchtests/bench-memset-ifunc.c: New file.
51001         * benchtests/bench-memset.c: New file.
51002         * benchtests/bench-rawmemchr-ifunc.c: New file.
51003         * benchtests/bench-rawmemchr.c: New file.
51004         * benchtests/bench-stpcpy-ifunc.c: New file.
51005         * benchtests/bench-stpcpy.c: New file.
51006         * benchtests/bench-stpncpy-ifunc.c: New file.
51007         * benchtests/bench-stpncpy.c: New file.
51008         * benchtests/bench-strcasecmp-ifunc.c: New file.
51009         * benchtests/bench-strcasecmp.c: New file.
51010         * benchtests/bench-strcasestr-ifunc.c: New file.
51011         * benchtests/bench-strcasestr.c: New file.
51012         * benchtests/bench-strcat-ifunc.c: New file.
51013         * benchtests/bench-strcat.c: New file.
51014         * benchtests/bench-strchr-ifunc.c: New file.
51015         * benchtests/bench-strchr.c: New file.
51016         * benchtests/bench-strchrnul-ifunc.c: New file.
51017         * benchtests/bench-strchrnul.c: New file.
51018         * benchtests/bench-strcmp-ifunc.c: New file.
51019         * benchtests/bench-strcmp.c: New file.
51020         * benchtests/bench-strcpy-ifunc.c: New file.
51021         * benchtests/bench-strcpy.c: New file.
51022         * benchtests/bench-strcspn-ifunc.c: New file.
51023         * benchtests/bench-strcspn.c: New file.
51024         * benchtests/bench-strlen-ifunc.c: New file.
51025         * benchtests/bench-strlen.c: New file.
51026         * benchtests/bench-strncasecmp-ifunc.c: New file.
51027         * benchtests/bench-strncasecmp.c: New file.
51028         * benchtests/bench-strncat-ifunc.c: New file.
51029         * benchtests/bench-strncat.c: New file.
51030         * benchtests/bench-strncmp-ifunc.c: New file.
51031         * benchtests/bench-strncmp.c: New file.
51032         * benchtests/bench-strncpy-ifunc.c: New file.
51033         * benchtests/bench-strncpy.c: New file.
51034         * benchtests/bench-strnlen-ifunc.c: New file.
51035         * benchtests/bench-strnlen.c: New file.
51036         * benchtests/bench-strpbrk-ifunc.c: New file.
51037         * benchtests/bench-strpbrk.c: New file.
51038         * benchtests/bench-strrchr-ifunc.c: New file.
51039         * benchtests/bench-strrchr.c: New file.
51040         * benchtests/bench-strspn-ifunc.c: New file.
51041         * benchtests/bench-strspn.c: New file.
51042         * benchtests/bench-strstr-ifunc.c: New file.
51043         * benchtests/bench-strstr.c: New file.
51045         * benchtests/Makefile: Disable parallel execution of targets.
51046         (string-bench): Add memcpy.
51047         (benchset): New variable to store a list of benchmark sets.
51048         (bench-func): Renamed from bench.
51049         (bench-set): New target.
51050         (bench): Depend on bench-func and bench-set.
51051         * benchtests/README: Add section on benchmark sets.
51052         * benchtests/bench-memcpy-ifunc.c: New file.
51053         * benchtests/bench-memcpy.c: New file.
51054         * benchtests/bench-string.h: New file.
51056 2013-06-11  Andreas Schwab  <schwab@suse.de>
51058         [BZ #15577]
51059         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51060         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51061         values in the triple.
51062         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51063         terminator in the group key.
51065 2013-06-11  Andreas Jaeger  <aj@suse.de>
51067         * po/zh_TW.po: Update Chinese (traditional) translation from
51068         translation project.
51070 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51072         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51073         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51074         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51075         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51076         (clock_getcpuclockid): Likewise.
51077         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51078         Add weak_alias and libc_hidden_def.
51079         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51080         * rt/clock_gettime.c (clock_gettime): Rename to
51081         __clock_gettime.  Add weak_alias and libc_hidden_def.
51082         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51083         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51084         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51085         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51086         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51087         Likewise.
51088         * rt/clock_settime.c (clock_settime): Rename to
51089         __clock_settime.  Add weak_alias and libc_hidden_def.
51090         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51092 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51094         * mach/err_boot.sub: Remove trailing whitespace.
51095         * mach/err_ipc.sub: Likewise.
51096         * mach/err_mach.sub: Likewise.
51098         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51099         (ROUNDING_TESTS_double): Likewise.
51100         (ROUNDING_TESTS_long_double): Likewise.
51101         (ROUNDING_TESTS): Likewise.
51102         * math/libm-test.inc: Include <math-tests.h>.
51103         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51104         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51105         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51106         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51108 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51110         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51111         of assigning.
51113 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51115         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51116         otherwise empty TRANS lines.
51117         * sysdeps/gnu/errlist.c: Regenerated.
51119         * catgets/gencat.c (error_print): Use (void) in function
51120         definition.
51121         * crypt/crypt_util.c (__init_des): Likewise.
51122         * crypt/speeds.c (Stop): Likewise.
51123         (main): Likewise.
51124         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51125         * inet/ruserpass.c (token): Likewise.
51126         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51127         * intl/localealias.c (extend_alias_table): Likewise.
51128         * intl/plural-exp.c (init_germanic_plural): Likewise.
51129         * libio/fcloseall.c (__fcloseall): Likewise.
51130         * libio/genops.c (_IO_flush_all): Likewise.
51131         (_IO_flush_all_linebuffered): Likewise.
51132         (_IO_cleanup): Likewise.
51133         (_IO_iter_begin): Likewise.
51134         (_IO_iter_end): Likewise.
51135         (_IO_list_lock): Likewise.
51136         (_IO_list_unlock): Likewise.
51137         (_IO_list_resetlock): Likewise.
51138         * libio/getchar.c (getchar): Likewise.
51139         * libio/getchar_u.c (getchar_unlocked): Likewise.
51140         * libio/getwchar.c (getwchar): Likewise.
51141         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51142         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51143         * login/getpt.c (__getpt): Likewise.
51144         * login/tst-utmp.c (main): Likewise.
51145         * malloc/hooks.c (__malloc_check_init): Likewise.
51146         * malloc/malloc.c (__malloc_stats): Likewise.
51147         * malloc/mtrace.c (tr_break): Likewise.
51148         (mtrace): Likewise.
51149         (muntrace): Likewise.
51150         * misc/fstab.c (endfsent): Likewise.
51151         * misc/getclktck.c (__getclktck): Likewise.
51152         * misc/getdtsz.c (__getdtablesize): Likewise.
51153         * misc/gethostid.c (gethostid): Likewise.
51154         * misc/getpagesize.c (__getpagesize): Likewise.
51155         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51156         (__get_nprocs): Likewise.
51157         (__get_phys_pages): Likewise.
51158         (__get_avphys_pages): Likewise.
51159         * misc/getttyent.c (getttyent): Likewise.
51160         (setttyent): Likewise.
51161         (endttyent): Likewise.
51162         * misc/getusershell.c (getusershell): Likewise.
51163         (endusershell): Likewise.
51164         (setusershell): Likewise.
51165         (initshells): Likewise.
51166         * misc/hsearch.c (__hdestroy): Likewise.
51167         * misc/sync.c (sync): Likewise.
51168         * misc/syslog.c (closelog_internal): Likewise.
51169         (closelog): Likewise.
51170         * misc/ttyslot.c (ttyslot): Likewise.
51171         * misc/vhangup.c (vhangup): Likewise.
51172         * posix/fork.c (__fork): Likewise.
51173         * posix/getegid.c (__getegid): Likewise.
51174         * posix/geteuid.c (__geteuid): Likewise.
51175         * posix/getgid.c (__getgid): Likewise.
51176         * posix/getpid.c (__getpid): Likewise.
51177         * posix/getppid.c (__getppid): Likewise.
51178         * posix/getuid.c (__getuid): Likewise.
51179         * posix/pause.c (pause): Likewise.
51180         * posix/setpgrp.c (setpgrp): Likewise.
51181         * posix/setsid.c (__setsid): Likewise.
51182         * posix/test-vfork.c (noop): Likewise.
51183         * resolv/gethnamaddr.c (_endhtent): Likewise.
51184         (_gethtent): Likewise.
51185         (ht_endhostent): Likewise.
51186         (gethostent): Likewise.
51187         (dns_service): Likewise.
51188         * stdlib/drand48.c (drand48): Likewise.
51189         * stdlib/lrand48.c (lrand48): Likewise.
51190         * stdlib/mrand48.c (mrand48): Likewise.
51191         * stdlib/rand.c (rand): Likewise.
51192         * stdlib/random.c (__random): Likewise.
51193         * stdlib/setenv.c (clearenv): Likewise.
51194         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51195         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51196         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51197         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51198         (__get_nprocs): Likewise.
51199         (__get_phys_pages): Likewise.
51200         (__get_avphys_pages): Likewise.
51201         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51202         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51203         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51204         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51205         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51206         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51207         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51208         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51209         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51210         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51211         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51212         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51213         * sysdeps/posix/clock.c (clock): Likewise.
51214         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51215         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51216         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51217         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51218         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51219         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51220         (__get_nprocs_conf): Likewise.
51221         (__get_phys_pages): Likewise.
51222         (__get_avphys_pages): Likewise.
51223         * time/clock.c (clock): Likewise.
51224         * time/tzset.c (__tzname_max): Likewise.
51226 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51228         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51229         (__bswap_32): Do not use "register".
51230         * crypt/crypt.c (_ufc_doit_r): Likewise.
51231         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51232         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51233         * gmon/gmon.c (__monstartup): Likewise.
51234         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51235         * hurd/hurdmalloc.c (more_memory): Likewise.
51236         (malloc): Likewise.
51237         (free): Likewise.
51238         (realloc): Likewise.
51239         (malloc_fork_prepare): Likewise.
51240         (malloc_fork_parent): Likewise.
51241         (malloc_fork_child): Likewise.
51242         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51243         (_svcauth_des): Likewise.
51244         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51245         * inet/inet_net.c (inet_network): Likewise.
51246         * inet/inet_netof.c (inet_netof): Likewise.
51247         * inet/rcmd.c (__validuser2_sa): Likewise.
51248         * io/fts.c (fts_open): Likewise.
51249         (fts_load): Likewise.
51250         (fts_close): Likewise.
51251         (fts_read): Likewise.
51252         (fts_children): Likewise.
51253         (fts_build): Likewise.
51254         (fts_stat): Likewise.
51255         (fts_sort): Likewise.
51256         (fts_alloc): Likewise.
51257         (fts_lfree): Likewise.
51258         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51259         (_IO_file_xsgetn): Likewise.
51260         (_IO_file_xsgetn_mmap): Likewise.
51261         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51262         (_IO_cookie_write): Likewise.
51263         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51264         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51265         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51266         * malloc/obstack.c (_obstack_begin): Likewise.
51267         (_obstack_begin_1): Likewise.
51268         (_obstack_newchunk): Likewise.
51269         (_obstack_allocated_p): Likewise.
51270         (obstack_free): Likewise.
51271         (_obstack_memory_used): Likewise.
51272         * misc/getttyent.c (getttynam): Likewise.
51273         (getttyent): Likewise.
51274         (skip): Likewise.
51275         (value): Likewise.
51276         * misc/getusershell.c (initshells): Likewise.
51277         * misc/syslog.c (__vsyslog_chk): Likewise.
51278         * misc/ttyslot.c (ttyslot): Likewise.
51279         * nis/nis_hash.c (__nis_hash): Likewise.
51280         * posix/fnmatch_loop.c (FCT): Likewise.
51281         * posix/getconf.c (print_all): Likewise.
51282         (main): Likewise.
51283         * posix/getopt.c (exchange): Likewise.
51284         * posix/glob.c (globfree): Likewise.
51285         (prefix_array): Likewise.
51286         (__glob_pattern_type): Likewise.
51287         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51288         (NS_GET32): Likewise.
51289         (NS_PUT16): Likewise.
51290         (NS_PUT32): Likewise.
51291         * resolv/gethnamaddr.c (getanswer): Likewise.
51292         (gethostbyname2): Likewise.
51293         (gethostbyaddr): Likewise.
51294         (_gethtent): Likewise.
51295         (_gethtbyname2): Likewise.
51296         (_gethtbyaddr): Likewise.
51297         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51298         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51299         * resolv/res_init.c (__res_vinit): Likewise.
51300         (net_mask): Likewise.
51301         * resolv/res_mkquery.c (outchar): Likewise.
51302         (PRINT): Likewise.
51303         * stdio-common/printf_fp.c (outchar): Likewise.
51304         (PRINT): Likewise.
51305         * stdio-common/printf_fphex.c (outchar): Likewise.
51306         (PRINT): Likewise.
51307         * stdio-common/printf_size.c (outchar): Likewise.
51308         (PRINT): Likewise.
51309         * stdio-common/test_rdwr.c (main): Likewise.
51310         * stdio-common/tfformat.c (matches): Likewise.
51311         * stdio-common/vfprintf.c (outchar): Likewise.
51312         (printf_unknown): Likewise.
51313         (buffered_vfprintf): Likewise.
51314         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51315         * stdio-common/xbug.c (AppendToBuffer): Likewise.
51316         (ReadFile): Likewise.
51317         * stdlib/qsort.c (SWAP): Likewise.
51318         (_quicksort): Likewise.
51319         * stdlib/setenv.c (__add_to_environ): Likewise.
51320         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51321         * stdlib/strtol_l.c (__strtol_l): Likewise.
51322         * stdlib/tst-strtod.c (main): Likewise.
51323         * stdlib/tst-strtol.c (main): Likewise.
51324         * stdlib/tst-strtoll.c (main): Likewise.
51325         * string/bits/string2.h (__strcmp_cc): Likewise.
51326         (__strcmp_cg): Likewise.
51327         (__strcspn_c1): Likewise.
51328         (__strcspn_c2): Likewise.
51329         (__strcspn_c3): Likewise.
51330         (__strspn_c1): Likewise.
51331         (__strspn_c2): Likewise.
51332         (__strspn_c3): Likewise.
51333         (__strsep_1c): Likewise.
51334         (__strsep_2c): Likewise.
51335         (__strsep_3c): Likewise.
51336         * string/memccpy.c (__memccpy): Likewise.
51337         * string/stpcpy.c (__stpcpy): Likewise.
51338         * string/strcmp.c (strcmp): Likewise.
51339         * string/strrchr.c (strrchr): Likewise.
51340         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51341         Likewise.
51342         * sysdeps/mach/hurd/getcwd.c
51343         (_hurd_canonicalize_directory_name_internal): Likewise.
51344         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51345         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51346         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51347         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51348         Likewise, in both definitions.
51349         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51350         definitions.
51351         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51352         64] (__bswap_64): Likewise.
51353         * time/test_time.c (main): Likewise.
51354         * time/tzfile.c (__tzfile_read): Likewise.
51355         (__tzfile_compute): Likewise.
51356         * time/tzset.c (__tzset_parse_tz): Likewise.
51357         (tzset_internal): Likewise.
51358         (compute_change): Likewise.
51359         * wcsmbs/wcscat.c (__wcscat): Likewise.
51360         * wcsmbs/wcschr.c (wcschr): Likewise.
51361         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51362         * wcsmbs/wcscspn.c (wcscspn): Likewise.
51363         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51364         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51365         * wcsmbs/wcsspn.c (wcsspn): Likewise.
51366         * wcsmbs/wcsstr.c (wcsstr): Likewise.
51367         * wcsmbs/wmemchr.c (wmemchr): Likewise.
51368         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51369         * wcsmbs/wmemset.c (wmemset): Likewise.
51371 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
51373         * scripts/config.guess: Update to version 2013-05-16.
51374         * scripts/config.sub: Update to version 2013-04-24.
51375         * scripts/install-sh: Update to version 2011-11-20.07.
51376         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51377         * scripts/move-if-change: Update to version 2012-01-06 07:23.
51379 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
51381         * debug/fgetws_u_chk.c: Fix leading whitespaces.
51382         * elf/sln.c: Likewise.
51383         * hurd/hurd/ioctl.h: Likewise.
51384         * hurd/hurdmalloc.c: Likewise.
51385         * hurd/xattr.c: Likewise.
51386         * include/shlib-compat.h: Likewise.
51387         * inet/ruserpass.c: Likewise.
51388         * libio/iofgets_u.c: Likewise.
51389         * libio/iofgetws_u.c: Likewise.
51390         * locale/programs/ld-identification.c: Likewise.
51391         * locale/programs/ld-time.c: Likewise.
51392         * mach/msg-destroy.c: Likewise.
51393         * nss/nss_files/files-netgrp.c: Likewise.
51394         * resolv/res_data.c: 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-common.h: Likewise.
51399         * stdio-common/printf_fphex.c: Likewise.
51400         * stdlib/strtod_l.c: Likewise.
51401         * sunrpc/rpc/clnt.h: Likewise.
51402         * sysdeps/generic/framestate.c: Likewise.
51403         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51404         * sysdeps/i386/bsd-setjmp.S: Likewise.
51405         * sysdeps/i386/__longjmp.S: Likewise.
51406         * sysdeps/i386/setjmp.S: Likewise.
51407         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51408         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51409         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51410         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51412         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51413         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51414         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51415         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51416         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51417         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51418         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51419         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51420         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51421         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51422         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51423         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51424         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51425         * sysdeps/ieee754/support.c: Likewise.
51426         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51427         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51428         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51429         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51430         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51431         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51432         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51433         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51434         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51435         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51436         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51437         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51438         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51439         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51440         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51441         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51442         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51445 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51447         * posix/transbug.c: Remove executable mode.
51449 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51451         * crypt/speeds.c: Remove trailing whitespace.
51452         * dlfcn/default.c: Likewise.
51453         * elf/ifuncdep2.c: Likewise.
51454         * elf/ifuncmain1.c: Likewise.
51455         * elf/ifuncmain1vis.c: Likewise.
51456         * elf/testobj.h: Likewise.
51457         * elf/tst-stackguard1.c: Likewise.
51458         * gmon/sys/gmon.h: Likewise.
51459         * hurd/hurdmsg.c: Likewise.
51460         * hurd/new-fd.c: Likewise.
51461         * hurd/ports-get.c: Likewise.
51462         * iconvdata/ibm1008_420.c: Likewise.
51463         * inet/tst-getni1.c: Likewise.
51464         * inet/tst-getni2.c: Likewise.
51465         * libio/ioungetc.c: Likewise.
51466         * libio/wfiledoalloc.c: Likewise.
51467         * manual/libm-err-tab.pl: Likewise.
51468         * math/w_dremf.c: Likewise.
51469         * misc/ftruncate.c: Likewise.
51470         * posix/bug-glob2.c: Likewise.
51471         * posix/tst-pcre.c: Likewise.
51472         * posix/wait4.c: Likewise.
51473         * resolv/README: Likewise.
51474         * resolv/res_debug.h: Likewise.
51475         * resolv/tst-inet_ntop.c: Likewise.
51476         * setjmp/bug269-setjmp.c: Likewise.
51477         * soft-fp/extended.h: Likewise.
51478         * soft-fp/op-1.h: Likewise.
51479         * soft-fp/op-2.h: Likewise.
51480         * soft-fp/op-4.h: Likewise.
51481         * soft-fp/op-8.h: Likewise.
51482         * soft-fp/testit.c: Likewise.
51483         * stdio-common/bug16.c: Likewise.
51484         * stdlib/random.c: Likewise.
51485         * sunrpc/rpcsvc/rquota.x: Likewise.
51486         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51487         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51488         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51489         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51490         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51491         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51492         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51493         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51494         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51495         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51496         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51497         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51503         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51504         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51505         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51506         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51507         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51508         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51509         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51510         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51511         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51512         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51513         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51514         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51515         * sysdeps/ieee754/s_lib_version.c: Likewise.
51516         * sysdeps/mach/hurd/check_fds.c: Likewise.
51517         * sysdeps/mach/hurd/getsockname.c: Likewise.
51518         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51519         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51520         * sysdeps/powerpc/bits/link.h: Likewise.
51521         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51522         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51523         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51524         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51525         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51526         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51527         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51528         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51529         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51530         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51531         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51532         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51533         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51534         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51535         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51536         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51537         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51539         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51540         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51541         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51542         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51543         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51544         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51545         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51546         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51547         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51548         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51549         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51550         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51551         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51552         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51553         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51554         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51555         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51556         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51557         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51558         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51559         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51560         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51561         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51562         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51563         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51564         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51565         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51566         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51567         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51568         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51569         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51570         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51571         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51574         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51575         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51576         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51577         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51578         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51579         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51580         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51581         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51582         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51583         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51584         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51585         * sysdeps/powerpc/sysdep.h: Likewise.
51586         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51587         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51588         * sysdeps/sh/dl-trampoline.S: Likewise.
51589         * sysdeps/sh/memset.S: Likewise.
51590         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51591         * sysdeps/sh/strlen.S: Likewise.
51592         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51593         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51594         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51595         * sysdeps/sparc/sparc32/rem.S: Likewise.
51596         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51597         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51598         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51599         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51600         * sysdeps/sparc/sparc32/urem.S: Likewise.
51601         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51602         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51603         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51604         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51605         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51606         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51607         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51608         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51609         * sysdeps/unix/bsd/times.c: Likewise.
51610         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51611         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51615         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51616         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51617         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51618         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51619         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51620         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51621         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51622         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51623         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51624         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51625         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51626         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51627         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51628         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51629         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51630         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51631         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51632         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51633         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51634         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51635         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51636         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51637         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51638         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51639         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51640         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51641         * sysdeps/x86_64/strcspn.S: Likewise.
51643 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51645         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51646         generated file.  Regenerate properly from gen-translit.pl.
51647         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51648         locale/C-translit.h.
51650 2013-06-05  Andreas Schwab  <schwab@suse.de>
51652         [BZ #15100]
51653         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51654         week as 6 instead of -1.
51655         * time/tst-strptime.c (day_tests): Add test case.
51657 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51659         * sysdeps/generic/math_private.h
51660         (libc_feholdexcept_setround_53bit): Replace with
51661         libc_feholdsetround_53bit.
51662         (libc_feupdateenv_53bit): Replace with
51663         libc_feresetround_53bit.
51664         (SET_RESTORE_ROUND_53BIT): Adjust.
51666 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51668         * string/test-strchrnul.c: Add copyright header.
51670         * posix/tst-getaddrinfo4.c: Increase test timeout.
51672 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51674         [BZ #15536]
51675         * math/libm-test.inc (MAX_EXP): Remove
51676         (MIN_EXP): Define.
51677         (ulp): Use MIN_EXP - MANT_DIG.
51678         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51680 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51682         * po/be.po: Revert last change.
51683         * po/zh_CN.po: Likewise.
51684         * po/header.pot: Likewise.
51686 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51688         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51689         link-libc-deps to empty as target-specific variable.
51690         * Makerules (link-libc-args): New variable.
51691         (libc-for-link): Likewise.
51692         (link-libc-deps): Likewise.
51693         (lib%.so): Depend on $(link-libc-deps).  Link with
51694         $(link-libc-args).
51695         (build-module): Link with $(link-libc-args).
51696         (build-module-asneeded): Likewise.
51697         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51698         list of objects.
51699         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51700         target-specific variable.
51701         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51702         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51703         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51704         libc.
51705         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51706         libc and ld.so.
51707         ($(objpfx)libpcprofile.so): Likewise.
51708         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51709         libc_nonshared.a.
51710         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51711         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51712         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51713         $(link-libc-deps).
51714         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51715         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51716         * login/Makefile ($(objpfx)libutil.so): Likewise.
51717         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51718         * math/Makefile ($(objpfx)libm.so): Likewise.
51719         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51720         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51721         variable instead of depending directly on libc.
51722         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51723         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51724         $(link-libc-deps).
51725         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51726         libc.
51727         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51728         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51729         ($(objpfx)libanl.so): Likewise.
51730         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51731         ld.so.
51732         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51733         $(link-libc-deps).
51734         * sysdeps/i386/fpu/Makefile: Remove file.
51735         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51736         ($(objpfx)libm.so): Remove dependency on ld.so.
51738 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51740         [BZ # 15553]
51741         * nis/yp_xdr.c (XDRMAXNAME): Define.
51742         (XDRMAXRECORD): Define.
51743         (xdr_domainname): Use XDRMAXNAME.
51744         (xdr_mapname): Likewise.
51745         (xdr_peername): Likewise.
51746         (xdr_keydat): Use XDRMAXRECORD.
51747         (xdr_valdat): Likewise.
51749 2013-05-30  Jeff Law  <law@redhat.com>
51751         [BZ #14256]
51752         * manual/errno.texi (ESTALE): Update to account for more than
51753         just NFS file systems.
51754         * sysdeps/gnu/errlist.c: Regenerated.
51756 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51758         [BZ #15465]
51759         * elf/Makefile (tests): Add tst-null-argv.
51760         (modules-names):  Add tst-null-argv-lib.
51761         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51762         (tst-null-argv-ENV): Set environment for tst-null-argv.
51763         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51764         (RTLD_PROGNAME): New macro.
51765         * elf/tst-null-argv.c: New test case.
51766         * elf/tst-null-argv-lib.c: Library for test case.
51767         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51768         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51769         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51770         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51771         * elf/dl-init.c (call_init): Likewise.
51772         (_dl_init): Likewise.
51773         * elf/dl-load.c (print_search_path): Likewise.
51774         (_dl_map_object): Likewise.
51775         * elf/dl-lookup.c (do_lookup_x): Likewise.
51776         (add_dependency): Likewise.
51777         (_dl_lookup_symbol_x): Likewise.
51778         (_dl_debug_bindings): Likewise.
51779         * elf/dl-open.c (_dl_show_scope): Likewise.
51780         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51781         * elf/dl-version.c (match_symbol): Likewise.
51782         (_dl_check_map_versions): Likewise.
51783         * elf/rtld.c (dl_main): Likewise.
51784         (print_unresolved): Use RTLD_PROGNAME.
51785         (print_missing_version): Likewise.
51786         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51787         (elf_machine_rela): Likewise.
51788         * sysdeps/powerpc/powerpc32/dl-machine.c
51789         (__process_machine_rela): Likewise.
51790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51791         Likewise.
51792         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51793         Likewise.
51794         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51795         Likewise.
51796         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51797         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51798         Likewise.
51799         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51800         Likewise.
51801         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51803 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51805         * po/be.po: Add descriptive title.
51806         * po/zh_CN.po: Likewise.
51807         * po/header.pot: Likewise.
51809 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51811         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51812         error message.
51813         (enlarge_archive): Likewise.
51815 2013-05-28  Ben North  <ben@redfrontdoor.org>
51817         * manual/arith.texi (frexp): It is the magnitude of the return
51818         value which lies in [0.5, 1), not the return value itself.
51820 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51824 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51826         * stdio-common/bug26.c (main): Correct fscanf template.
51828         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51829         declare _dl_skip_args.
51831         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51832         Don't declare.
51834         * manual/platform.texi: Add missing @end deftypefun.
51836 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51838         [BZ #15529]
51839         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51840         bit of mantissa of 2^16382.
51841         * math/libm-test.inc (hypot_test_data): Add more tests.
51843         * math/libm-test.inc: Add drem and pow10 to list of tested
51844         functions.
51845         (pow10_test): New function.
51846         (drem_test): Likewise.
51847         (drem_test_tonearest): Likewise.
51848         (drem_test_towardzero): Likewise.
51849         (drem_test_downward): Likewise.
51850         (drem_test_upward): Likewise.
51851         (main): Call the new functions.
51853         * math/libm-test.inc (finite_test_data): Remove.
51854         (finite_test): Run tests from isfinite_test_data.
51855         (gamma_test_data): Remove.
51856         (gamma_test): Run tests from lgamma_test_data.
51857         * sysdeps/i386/fpu/libm-test-ulps: Update.
51858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51860 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51862         * manual/platform.texi: Add PowerPC PPR function set documentation.
51863         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51864         implementation.
51866 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51868         * math/libm-test.inc (MAX_EXP): Define.
51869         (ULPDIFF): Define.
51870         (ulp): New function.
51871         (check_float_internal): Use ULPDIFF.
51872         (cpow_test): Disable failing test.
51873         (check_ulp): Test ulp() implemetnation.
51874         (main): Call check_ulp before starting tests.
51876 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51878         * math/gen-libm-test.pl (generate_testfile): Do not handle
51879         START_DATA and END_DATA.
51880         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51881         END_DATA.
51882         (acos_tonearest_test_data): Likewise.
51883         (acos_towardzero_test_data): Likewise.
51884         (acos_downward_test_data): Likewise.
51885         (acos_upward_test_data): Likewise.
51886         (acosh_test_data): Likewise.
51887         (asin_test_data): Likewise.
51888         (asin_tonearest_test_data): Likewise.
51889         (asin_towardzero_test_data): Likewise.
51890         (asin_downward_test_data): Likewise.
51891         (asin_upward_test_data): Likewise.
51892         (asinh_test_data): Likewise.
51893         (atan_test_data): Likewise.
51894         (atanh_test_data): Likewise.
51895         (atan2_test_data): Likewise.
51896         (cabs_test_data): Likewise.
51897         (cacos_test_data): Likewise.
51898         (cacosh_test_data): Likewise.
51899         (carg_test_data): Likewise.
51900         (casin_test_data): Likewise.
51901         (casinh_test_data): Likewise.
51902         (catan_test_data): Likewise.
51903         (catanh_test_data): Likewise.
51904         (cbrt_test_data): Likewise.
51905         (ccos_test_data): Likewise.
51906         (ccosh_test_data): Likewise.
51907         (ceil_test_data): Likewise.
51908         (cexp_test_data): Likewise.
51909         (cimag_test_data): Likewise.
51910         (clog_test_data): Likewise.
51911         (clog10_test_data): Likewise.
51912         (conj_test_data): Likewise.
51913         (copysign_test_data): Likewise.
51914         (cos_test_data): Likewise.
51915         (cos_tonearest_test_data): Likewise.
51916         (cos_towardzero_test_data): Likewise.
51917         (cos_downward_test_data): Likewise.
51918         (cos_upward_test_data): Likewise.
51919         (cosh_test_data): Likewise.
51920         (cosh_tonearest_test_data): Likewise.
51921         (cosh_towardzero_test_data): Likewise.
51922         (cosh_downward_test_data): Likewise.
51923         (cosh_upward_test_data): Likewise.
51924         (cpow_test_data): Likewise.
51925         (cproj_test_data): Likewise.
51926         (creal_test_data): Likewise.
51927         (csin_test_data): Likewise.
51928         (csinh_test_data): Likewise.
51929         (csqrt_test_data): Likewise.
51930         (ctan_test_data): Likewise.
51931         (ctan_tonearest_test_data): Likewise.
51932         (ctan_towardzero_test_data): Likewise.
51933         (ctan_downward_test_data): Likewise.
51934         (ctan_upward_test_data): Likewise.
51935         (ctanh_test_data): Likewise.
51936         (ctanh_tonearest_test_data): Likewise.
51937         (ctanh_towardzero_test_data): Likewise.
51938         (ctanh_downward_test_data): Likewise.
51939         (ctanh_upward_test_data): Likewise.
51940         (erf_test_data): Likewise.
51941         (erfc_test_data): Likewise.
51942         (exp_test_data): Likewise.
51943         (exp_tonearest_test_data): Likewise.
51944         (exp_towardzero_test_data): Likewise.
51945         (exp_downward_test_data): Likewise.
51946         (exp_upward_test_data): Likewise.
51947         (exp10_test_data): Likewise.
51948         (exp2_test_data): Likewise.
51949         (expm1_test_data): Likewise.
51950         (fabs_test_data): Likewise.
51951         (fdim_test_data): Likewise.
51952         (finite_test_data): Likewise.
51953         (floor_test_data): Likewise.
51954         (fma_test_data): Likewise.
51955         (fma_towardzero_test_data): Likewise.
51956         (fma_downward_test_data): Likewise.
51957         (fma_upward_test_data): Likewise.
51958         (fmax_test_data): Likewise.
51959         (fmin_test_data): Likewise.
51960         (fmod_test_data): Likewise.
51961         (fpclassify_test_data): Likewise.
51962         (frexp_test_data): Likewise.
51963         (gamma_test_data): Likewise.
51964         (hypot_test_data): Likewise.
51965         (ilogb_test_data): Likewise.
51966         (isfinite_test_data): Likewise.
51967         (isgreater_test_data): Likewise.
51968         (isgreaterequal_test_data): Likewise.
51969         (isinf_test_data): Likewise.
51970         (isless_test_data): Likewise.
51971         (islessequal_test_data): Likewise.
51972         (islessgreater_test_data): Likewise.
51973         (isnan_test_data): Likewise.
51974         (isnormal_test_data): Likewise.
51975         (issignaling_test_data): Likewise.
51976         (isunordered_test_data): Likewise.
51977         (j0_test_data): Likewise.
51978         (j1_test_data): Likewise.
51979         (jn_test_data): Likewise.
51980         (ldexp_test_data): Likewise.
51981         (lgamma_test_data): Likewise.
51982         (lrint_test_data): Likewise.
51983         (lrint_tonearest_test_data): Likewise.
51984         (lrint_towardzero_test_data): Likewise.
51985         (lrint_downward_test_data): Likewise.
51986         (lrint_upward_test_data): Likewise.
51987         (llrint_test_data): Likewise.
51988         (llrint_tonearest_test_data): Likewise.
51989         (llrint_towardzero_test_data): Likewise.
51990         (llrint_downward_test_data): Likewise.
51991         (llrint_upward_test_data): Likewise.
51992         (log_test_data): Likewise.
51993         (log10_test_data): Likewise.
51994         (log1p_test_data): Likewise.
51995         (log2_test_data): Likewise.
51996         (logb_test_data): Likewise.
51997         (logb_downward_test_data): Likewise.
51998         (lround_test_data): Likewise.
51999         (llround_test_data): Likewise.
52000         (modf_test_data): Likewise.
52001         (nearbyint_test_data): Likewise.
52002         (nextafter_test_data): Likewise.
52003         (nexttoward_test_data): Likewise.
52004         (pow_test_data): Likewise.
52005         (pow_tonearest_test_data): Likewise.
52006         (pow_towardzero_test_data): Likewise.
52007         (pow_downward_test_data): Likewise.
52008         (pow_upward_test_data): Likewise.
52009         (remainder_test_data): Likewise.
52010         (remainder_tonearest_test_data): Likewise.
52011         (remainder_towardzero_test_data): Likewise.
52012         (remainder_downward_test_data): Likewise.
52013         (remainder_upward_test_data): Likewise.
52014         (remquo_test_data): Likewise.
52015         (rint_test_data): Likewise.
52016         (rint_tonearest_test_data): Likewise.
52017         (rint_towardzero_test_data): Likewise.
52018         (rint_downward_test_data): Likewise.
52019         (rint_upward_test_data): Likewise.
52020         (round_test_data): Likewise.
52021         (scalb_test_data): Likewise.
52022         (scalbn_test_data): Likewise.
52023         (scalbln_test_data): Likewise.
52024         (signbit_test_data): Likewise.
52025         (sin_test_data): Likewise.
52026         (sin_tonearest_test_data): Likewise.
52027         (sin_towardzero_test_data): Likewise.
52028         (sin_downward_test_data): Likewise.
52029         (sin_upward_test_data): Likewise.
52030         (sincos_test_data): Likewise.
52031         (sinh_test_data): Likewise.
52032         (sinh_tonearest_test_data): Likewise.
52033         (sinh_towardzero_test_data): Likewise.
52034         (sinh_downward_test_data): Likewise.
52035         (sinh_upward_test_data): Likewise.
52036         (sqrt_test_data): Likewise.
52037         (tan_test_data): Likewise.
52038         (tan_tonearest_test_data): Likewise.
52039         (tan_towardzero_test_data): Likewise.
52040         (tan_downward_test_data): Likewise.
52041         (tan_upward_test_data): Likewise.
52042         (tanh_test_data): Likewise.
52043         (tgamma_test_data): Likewise.
52044         (trunc_test_data): Likewise.
52045         (y0_test_data): Likewise.
52046         (y1_test_data): Likewise.
52047         (yn_test_data): Likewise.
52048         (significand_test_data): Likewise.
52050         * math/gen-libm-test.pl (@functions): Remove variable.
52051         (generate_testfile): Don't handle START and END lines.
52052         * math/libm-test.inc (START): New macro.
52053         (END): Likewise.
52054         (END_COMPLEX): Likewise.
52055         (acos_test): Use END macro without arguments.
52056         (acos_test_tonearest): Likewise.
52057         (acos_test_towardzero): Likewise.
52058         (acos_test_downward): Likewise.
52059         (acos_test_upward): Likewise.
52060         (acosh_test): Likewise.
52061         (asin_test): Likewise.
52062         (asin_test_tonearest): Likewise.
52063         (asin_test_towardzero): Likewise.
52064         (asin_test_downward): Likewise.
52065         (asin_test_upward): Likewise.
52066         (asinh_test): Likewise.
52067         (atan_test): Likewise.
52068         (atanh_test): Likewise.
52069         (atan2_test): Likewise.
52070         (cabs_test): Likewise.
52071         (cacos_test): Use END_COMPLEX macro without arguments.
52072         (cacosh_test): Likewise.
52073         (carg_test): Use END macro without arguments.
52074         (casin_test): Use END_COMPLEX macro without arguments.
52075         (casinh_test): Likewise.
52076         (catan_test): Likewise.
52077         (catanh_test): Likewise.
52078         (cbrt_test): Use END macro without arguments.
52079         (ccos_test): Use END_COMPLEX macro without arguments.
52080         (ccosh_test): Likewise.
52081         (ceil_test): Use END macro without arguments.
52082         (cexp_test): Use END_COMPLEX macro without arguments.
52083         (cimag_test): Use END macro without arguments.
52084         (clog_test): Use END_COMPLEX macro without arguments.
52085         (clog10_test): Likewise.
52086         (conj_test): Likewise.
52087         (copysign_test): Use END macro without arguments.
52088         (cos_test): Likewise.
52089         (cos_test_tonearest): Likewise.
52090         (cos_test_towardzero): Likewise.
52091         (cos_test_downward): Likewise.
52092         (cos_test_upward): Likewise.
52093         (cosh_test): Likewise.
52094         (cosh_test_tonearest): Likewise.
52095         (cosh_test_towardzero): Likewise.
52096         (cosh_test_downward): Likewise.
52097         (cosh_test_upward): Likewise.
52098         (cpow_test): Use END_COMPLEX macro without arguments.
52099         (cproj_test): Likewise.
52100         (creal_test): Use END macro without arguments.
52101         (csin_test): Use END_COMPLEX macro without arguments.
52102         (csinh_test): Likewise.
52103         (csqrt_test): Likewise.
52104         (ctan_test): Likewise.
52105         (ctan_test_tonearest): Likewise.
52106         (ctan_test_towardzero): Likewise.
52107         (ctan_test_downward): Likewise.
52108         (ctan_test_upward): Likewise.
52109         (ctanh_test): Likewise.
52110         (ctanh_test_tonearest): Likewise.
52111         (ctanh_test_towardzero): Likewise.
52112         (ctanh_test_downward): Likewise.
52113         (ctanh_test_upward): Likewise.
52114         (erf_test): Use END macro without arguments.
52115         (erfc_test): Likewise.
52116         (exp_test): Likewise.
52117         (exp_test_tonearest): Likewise.
52118         (exp_test_towardzero): Likewise.
52119         (exp_test_downward): Likewise.
52120         (exp_test_upward): Likewise.
52121         (exp10_test): Likewise.
52122         (exp2_test): Likewise.
52123         (expm1_test): Likewise.
52124         (fabs_test): Likewise.
52125         (fdim_test): Likewise.
52126         (finite_test): Likewise.
52127         (floor_test): Likewise.
52128         (fma_test): Likewise.
52129         (fma_test_towardzero): Likewise.
52130         (fma_test_downward): Likewise.
52131         (fma_test_upward): Likewise.
52132         (fmax_test): Likewise.
52133         (fmin_test): Likewise.
52134         (fmod_test): Likewise.
52135         (fpclassify_test): Likewise.
52136         (frexp_test): Likewise.
52137         (gamma_test): Likewise.
52138         (hypot_test): Likewise.
52139         (ilogb_test): Likewise.
52140         (isfinite_test): Likewise.
52141         (isgreater_test): Likewise.
52142         (isgreaterequal_test): Likewise.
52143         (isinf_test): Likewise.
52144         (isless_test): Likewise.
52145         (islessequal_test): Likewise.
52146         (islessgreater_test): Likewise.
52147         (isnan_test): Likewise.
52148         (isnormal_test): Likewise.
52149         (issignaling_test): Likewise.
52150         (isunordered_test): Likewise.
52151         (j0_test): Likewise.
52152         (j1_test): Likewise.
52153         (jn_test): Likewise.
52154         (ldexp_test): Likewise.
52155         (lgamma_test): Likewise.
52156         (lrint_test): Likewise.
52157         (lrint_test_tonearest): Likewise.
52158         (lrint_test_towardzero): Likewise.
52159         (lrint_test_downward): Likewise.
52160         (lrint_test_upward): Likewise.
52161         (llrint_test): Likewise.
52162         (llrint_test_tonearest): Likewise.
52163         (llrint_test_towardzero): Likewise.
52164         (llrint_test_downward): Likewise.
52165         (llrint_test_upward): Likewise.
52166         (log_test): Likewise.
52167         (log10_test): Likewise.
52168         (log1p_test): Likewise.
52169         (log2_test): Likewise.
52170         (logb_test): Likewise.
52171         (logb_test_downward): Likewise.
52172         (lround_test): Likewise.
52173         (llround_test): Likewise.
52174         (modf_test): Likewise.
52175         (nearbyint_test): Likewise.
52176         (nextafter_test): Likewise.
52177         (nexttoward_test): Likewise.
52178         (pow_test): Likewise.
52179         (pow_test_tonearest): Likewise.
52180         (pow_test_towardzero): Likewise.
52181         (pow_test_downward): Likewise.
52182         (pow_test_upward): Likewise.
52183         (remainder_test): Likewise.
52184         (remainder_test_tonearest): Likewise.
52185         (remainder_test_towardzero): Likewise.
52186         (remainder_test_downward): Likewise.
52187         (remainder_test_upward): Likewise.
52188         (remquo_test): Likewise.
52189         (rint_test): Likewise.
52190         (rint_test_tonearest): Likewise.
52191         (rint_test_towardzero): Likewise.
52192         (rint_test_downward): Likewise.
52193         (rint_test_upward): Likewise.
52194         (round_test): Likewise.
52195         (scalb_test): Likewise.
52196         (scalbn_test): Likewise.
52197         (scalbln_test): Likewise.
52198         (signbit_test): Likewise.
52199         (sin_test): Likewise.
52200         (sin_test_tonearest): Likewise.
52201         (sin_test_towardzero): Likewise.
52202         (sin_test_downward): Likewise.
52203         (sin_test_upward): Likewise.
52204         (sincos_test): Likewise.
52205         (sinh_test): Likewise.
52206         (sinh_test_tonearest): Likewise.
52207         (sinh_test_towardzero): Likewise.
52208         (sinh_test_downward): Likewise.
52209         (sinh_test_upward): Likewise.
52210         (sqrt_test): Likewise.
52211         (tan_test): Likewise.
52212         (tan_test_tonearest): Likewise.
52213         (tan_test_towardzero): Likewise.
52214         (tan_test_downward): Likewise.
52215         (tan_test_upward): Likewise.
52216         (tanh_test): Likewise.
52217         (tgamma_test): Likewise.
52218         (trunc_test): Likewise.
52219         (y0_test): Likewise.
52220         (y1_test): Likewise.
52221         (yn_test): Likewise.
52222         (significand_test): Likewise.
52224 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52226         [BZ #15381]
52227         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52229 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52231         [BZ #14894]
52232         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52233         __ppc_mdoio and __ppc_mdoom.
52234         * manual/platform.texi: Document new functions __ppc_yield,
52235         __ppc_mdoio and __ppc_mdoom.
52237 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52239         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52240         (main): Mention "tls" pseudo-hwcap is legacy.
52241         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52243 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52245         * math/gen-libm-test.pl (parse_args): Output only string of
52246         arguments as text for test name, not full call or descriptions of
52247         tests for extra outputs.
52248         (generate_testfile): Do not pass function name to parse_args.
52249         Generate this_func variable from START.
52250         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52251         field to arg_str.
52252         (struct test_ff_f_data): Likewise.
52253         (test_ff_f_data_nexttoward): Likewise.
52254         (struct test_fi_f_data): Likewise.
52255         (struct test_fl_f_data): Likewise.
52256         (struct test_if_f_data): Likewise.
52257         (struct test_fff_f_data): Likewise.
52258         (struct test_c_f_data): Likewise.
52259         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52260         (struct test_fF_f1_data): Likewise.
52261         (struct test_ffI_f1_data): Likewise.
52262         (struct test_c_c_data): Rename test_name field to arg_str.
52263         (struct test_cc_c_data): Likewise.
52264         (struct test_f_i_data): Likewise.
52265         (struct test_ff_i_data): Likewise.
52266         (struct test_f_l_data): Likewise.
52267         (struct test_f_L_data): Likewise.
52268         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52269         and extra2_name.
52270         (COMMON_TEST_SETUP): New macro.
52271         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52272         (COMMON_TEST_CLEANUP): Likewise.
52273         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52274         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52275         macros.
52276         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52277         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52278         macros.
52279         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52280         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52281         cleanup macros.
52282         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52283         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52284         macros.
52285         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52286         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52287         macros.
52288         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52289         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52290         cleanup macros.
52291         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52292         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52293         cleanup macros.
52294         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52295         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52296         cleanup macros.
52297         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52298         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52299         macros.
52300         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52301         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
52302         macros.
52303         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52304         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
52305         macros.
52306         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52307         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
52308         cleanup macros.
52309         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52310         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
52311         cleanup macros.
52312         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52313         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
52314         macros.
52315         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52316         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
52317         cleanup macros.
52318         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52319         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
52320         macros.
52321         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52322         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
52323         macros.
52324         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52325         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
52326         cleanup macros.
52327         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52329 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
52331         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52332         to _sifields.sigfault.
52333         (si_addr_lsb): Define new macro.
52334         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52335         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52336         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52338 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
52340         [BZ #15441]
52341         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52342         returns -1.
52343         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52344         null return -1.
52345         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52346         loading the domain.
52348 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52350         * math/gen-libm-test.pl (parse_args): Do not include expected
52351         result in test name.
52352         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52354         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52355         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52356         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52359 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52361         * benchtests/Makefile: Sort function entries.
52363         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52364         tanh, asinh, acosh, atanh.
52365         * benchtests/acos-inputs: New file.
52366         * benchtests/acosh-inputs: New file.
52367         * benchtests/asin-inputs: New file.
52368         * benchtests/asinh-inputs: New file.
52369         * benchtests/atanh-inputs: New file.
52370         * benchtests/cosh-inputs: New file.
52371         * benchtests/log-inputs: New file.
52372         * benchtests/sinh-inputs: New file.
52373         * benchtests/tanh-inputs: New file.
52375 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
52377         [BZ #15339]
52378         * posix/tst-getaddrinfo4.c: New test.
52379         * posix/Makefile (tests): Add it.
52381 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52383         [BZ #15339]
52384         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52385         when no services were used.
52386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52387         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52389 2013-05-21  Andreas Schwab  <schwab@suse.de>
52391         [BZ #15014]
52392         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52393         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52394         successful.
52395         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52396         redundant variable declarations and reallocation of buffer when
52397         parsing as IPv6 address.  Always set NSS status when called from
52398         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
52399         buffer too small.  Correct computation of needed size.
52400         * nss/Makefile (tests): Add test-digits-dots.
52401         * nss/test-digits-dots.c: New test.
52403 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52405         * benchtests/Makefile: Remove instructions for adding
52406         benchmark tests.
52407         * benchtests/README: New file to explain how to execute and
52408         enhance the benchmark tests.
52410 2013-05-21  Andreas Schwab  <schwab@suse.de>
52412         [BZ #15493]
52413         * setjmp/Makefile (tests): Add tst-sigsetjmp.
52414         * setjmp/tst-sigsetjmp.c: New test.
52416 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52418         * sysdeps/x86_64/memset.S (memset): New implementation.
52419         (__bzero): Likewise.
52420         (__memset_tail): New function.
52422 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52424         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52425         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52426         __memcpy_sse2_unaligned ifunc selection.
52427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52428         Add memcpy-sse2-unaligned.S.
52429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52430         Add: __memcpy_sse2_unaligned.
52432 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
52434         [BZ #15490]
52435         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52436         math_force_eval before restoring floating-point envrionment.
52437         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52438         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52439         Likewise.
52440         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52441         <math_private.h>.
52442         (__nearbyintl): Use math_force_eval before restoring
52443         floating-point environment.
52444         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52446         * math/gen-libm-test.pl (special_functions): Remove.
52447         (parse_args): Don't handle TEST_extra.  Handle functions with no
52448         return value.
52449         * math/libm-test.inc (struct test_sincos_data): Replace with
52450         struct test_fFF_11_data.
52451         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52452         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52453         (sincos_test_data): Change element type to struct
52454         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52455         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52456         RUN_TEST_LOOP_sincos.
52457         * math/README.libm-test: Don't mention special handling of
52458         individual functions.
52459         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52460         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52461         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52462         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52463         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52466         * math/gen-libm-test.pl (get_variable): Remove function.
52467         (parse_args): Don't show pointer parameters to call in test
52468         names.  Use "extra output N" in test names for extra outputs
52469         rather than naming variables.
52471 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52473         [BZ #15488]
52474         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52475         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52476         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52477         double tests.
52478         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52479         disable.
52480         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52481         check_long_double.
52483         * math/gen-libm-test.pl (@tests): Remove variable.
52484         ($count): Likewise.
52485         (new_test): Remove function.
52486         (show_exceptions): New function.
52487         (special_functions): Use show_exceptions instead of new_test.
52488         (parse_args): Likewise.
52489         (generate_testfile): Pass only function name in generated call to
52490         print_max_error or print_complex_max_error.
52491         (get_ulps): Do not handle complex tests specially.
52492         (output_test): Rename to ...
52493         (get_all_ulps_for_test): ... this.  Return a string rather than
52494         printing to a file.  Require ulps to be present.
52495         (output_ulps): Generate arrays rather than #defines.
52496         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52497         (struct ulp_data): New type.
52498         (BUILD_COMPLEX_ULP): Remove macro.
52499         (compare_ulp_data): New function.
52500         (find_ulps): Likewise.
52501         (find_test_ulps): Likewise.
52502         (find_function_ulps): Likewise.
52503         (find_complex_function_ulps): Likewise.
52504         (print_max_error): Determine allowed ulps using
52505         find_function_ulps.
52506         (print_complex_max_error): Determine allowed ulps using
52507         find_complex_function_ulps.
52508         (check_float_internal): Determine max ulps using find_test_ulps.
52509         (check_float): Do not take max_ulp parameter.  Update call to
52510         check_float_internal.
52511         (check_complex): Likewise.
52512         (check_int): Do not take max_ulp parameter.
52513         (check_long): Likewise.
52514         (check_bool): Likewise.
52515         (check_longlong): Likewise.
52516         (struct test_f_f_data): Remove max_ulp field.
52517         (struct test_ff_f_data): Likewise.
52518         (struct test_ff_f_data_nexttoward): Likewise.
52519         (struct test_fi_f_data): Likewise.
52520         (struct test_fl_f_data): Likewise.
52521         (struct test_if_f_data): Likewise.
52522         (struct test_fff_f_data): Likewise.
52523         (struct test_c_f_data): Likewise.
52524         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52525         (struct test_fF_f1_data): Likewise.
52526         (struct test_ffI_f1_data): Likewise.
52527         (struct test_c_c_data): Remove max_ulp field.
52528         (struct test_cc_c_data): Likewise.
52529         (struct test_f_i_data): Likewise.
52530         (struct test_ff_i_data): Likewise.
52531         (struct test_f_l_data): Likewise.
52532         (struct test_f_L_data): Likewise.
52533         (struct test_sincos_data): Likewise.
52534         (RUN_TEST_f_f): Do not handle ulps.
52535         (RUN_TEST_LOOP_f_f): Likewise.
52536         (RUN_TEST_2_f): Likewise.
52537         (RUN_TEST_LOOP_2_f): Likewise.
52538         (RUN_TEST_fff_f): Likewise.
52539         (RUN_TEST_LOOP_fff_f): Likewise.
52540         (RUN_TEST_c_f): Likewise.
52541         (RUN_TEST_LOOP_c_f): Likewise.
52542         (RUN_TEST_f_f1): Likewise.
52543         (RUN_TEST_LOOP_f_f1): Likewise.
52544         (RUN_TEST_fF_f1): Likewise.
52545         (RUN_TEST_LOOP_fF_f1): Likewise.
52546         (RUN_TEST_fI_f1): Likewise.
52547         (RUN_TEST_LOOP_fI_f1): Likewise.
52548         (RUN_TEST_ffI_f1): Likewise.
52549         (RUN_TEST_LOOP_ffI_f1): Likewise.
52550         (RUN_TEST_c_c): Likewise.
52551         (RUN_TEST_LOOP_c_c): Likewise.
52552         (RUN_TEST_cc_c): Likewise.
52553         (RUN_TEST_LOOP_cc_c): Likewise.
52554         (RUN_TEST_f_i): Likewise.
52555         (RUN_TEST_LOOP_f_i): Likewise.
52556         (RUN_TEST_f_i_tg): Likewise.
52557         (RUN_TEST_LOOP_f_i_tg): Likewise.
52558         (RUN_TEST_ff_i_tg): Likewise.
52559         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52560         (RUN_TEST_f_b): Likewise.
52561         (RUN_TEST_LOOP_f_b): Likewise.
52562         (RUN_TEST_f_b_tg): Likewise.
52563         (RUN_TEST_LOOP_f_b_tg): Likewise.
52564         (RUN_TEST_f_l): Likewise.
52565         (RUN_TEST_LOOP_f_l): Likewise.
52566         (RUN_TEST_f_L): Likewise.
52567         (RUN_TEST_LOOP_f_L): Likewise.
52568         (RUN_TEST_sincos): Likewise.
52569         (RUN_TEST_LOOP_sincos): Likewise.
52571 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52573         [BZ #15480]
52574         [BZ #15485]
52575         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52576         main case of finite arguments, set rounding mode to FE_TONEAREST
52577         and discard exceptions.
52578         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52579         exceptions.
52580         (remainder_tonearest_test_data): New variable.
52581         (remainder_test_tonearest): New function.
52582         (remainder_towardzero_test_data): New variable.
52583         (remainder_test_towardzero): New function.
52584         (remainder_downward_test_data): New variable.
52585         (remainder_test_downward): New function.
52586         (remainder_upward_test_data): New variable.
52587         (remainder_test_upward): New function.
52588         (main): Call the new test functions.
52590         * math/libm-test.inc (struct test_f_f1_data): Remove field
52591         extra_init.
52592         (struct test_fF_f1_data): Likewise.
52593         (struct test_ffI_f1_data): Likewise.
52594         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52595         based on value of EXTRA_EXPECTED.
52596         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52597         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52598         EXTRA_VAR based on value of EXTRA_EXPECTED.
52599         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52600         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52601         EXTRA_VAR based on value of EXTRA_EXPECTED.
52602         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52603         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52604         EXTRA_VAR based on value of EXTRA_EXPECTED.
52605         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52606         * math/gen-libm-test.pl (parse_args): Don't output initializers
52607         for extra output values.
52609         * math/libm-test.inc (check_int): Expect result to be exactly
52610         equal to expected value and do not handle ulps.
52611         (check_long): Likewise.
52612         (check_longlong): Likewise.
52614         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52615         exceptions.
52616         (cimag_test_data): Likewise.
52617         (conj_test_data): Likewise.
52618         (copysign_test_data): Likewise.
52619         (cproj_test_data): Likewise.
52620         (creal_test_data): Likewise.
52621         (fabs_test_data): Likewise.
52622         (fdim_test_data): Likewise.
52623         (finite_test_data): Likewise.
52624         (floor_test_data): Likewise.
52625         (fmax_test_data): Likewise.
52626         (fmin_test_data): Likewise.
52627         (fmod_test_data): Likewise.
52628         (fpclassify_test_data): Likewise.
52629         (frexp_test_data): Likewise.
52630         (ilogb_test_data): Likewise.
52631         (isfinite_test_data): Likewise.
52632         (isgreater_test_data): Likewise.
52633         (isgreaterequal_test_data): Likewise.
52634         (isinf_test_data): Likewise.
52635         (isless_test_data): Likewise.
52636         (islessequal_test_data): Likewise.
52637         (islessgreater_test_data): Likewise.
52638         (isnan_test_data): Likewise.
52639         (isnormal_test_data): Likewise.
52640         (issignaling_test_data): Likewise.
52641         (isunordered_test_data): Likewise.
52642         (ldexp_test_data): Likewise.
52643         (lrint_test_data): Likewise.
52644         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52645         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52646         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52647         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52648         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52649         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52650         test input.
52651         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52652         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52653         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52654         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52655         that test input.
52656         (lrint_downward_test_data): Test for "inexact" exceptions.
52657         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52658         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52659         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52660         test input.
52661         (lrint_upward_test_data): Test for "inexact" exceptions.
52662         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52663         test input.
52664         (llrint_test_data): Test for "inexact" exceptions.
52665         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52666         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52667         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52668         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52669         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52670         (llrint_downward_test_data): Test for "inexact" exceptions.
52671         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52672         (llrint_upward_test_data): Test for "inexact" exceptions.
52673         (logb_test_data): Likewise.
52674         (logb_downward_test_data): Likewise.
52675         (nextafter_test_data): Likewise.
52676         (nexttoward_test_data): Likewise.
52677         (remainder_test_data): Likewise.
52678         (remquo_test_data): Likewise.
52679         (scalbn_test_data): Likewise.
52680         (scalbln_test_data): Likewise.
52681         (signbit_test_data): Likewise.
52682         (sqrt_test_data): Likewise.
52683         (significand_test_data): Likewise.
52685 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52687         [BZ #15424]
52688         * benchtests/bench-modf.c (struct args): Mark arg0 as
52689         volatile.
52690         * scripts/bench.pl: Mark members of struct args as volatile.
52692 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52694         [BZ # 15497]
52695         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52696         negative infinity on POWER6 or lower.
52697         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52699 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52701         [BZ #15442]
52702         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52703         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52704         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52705         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52706         (_FP_SETQNAN): New macro.
52707         (_FP_SETQNAN_SEMIRAW): Likewise.
52708         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52709         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52710         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52711         (FP_EXTEND): Use _FP_FRAC_SNANP.
52712         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52713         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52714         into account.
52715         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52716         New macro.
52717         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52718         Likewise.
52720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52722         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52723         with DIVIDE_BY_ZERO_EXCEPTION.
52724         (gamma_test_data): Likewise.
52725         (lgamma_test_data): Likewise.
52726         (log_test_data): Likewise.
52727         (log10_test_data): Likewise.
52728         (log2_test_data): Likewise.
52729         (tgamma_test_data): Likewise.
52731         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52732         (acos_test_tonearest): Likewise.
52733         (acos_test_towardzero): Likewise.
52734         (acos_test_downward): Likewise.
52735         (acos_test_upward): Likewise.
52736         (acosh_test): Likewise.
52737         (asin_test): Likewise.
52738         (asin_test_tonearest): Likewise.
52739         (asin_test_towardzero): Likewise.
52740         (asin_test_downward): Likewise.
52741         (asin_test_upward): Likewise.
52742         (asinh_test): Likewise.
52743         (atan_test): Likewise.
52744         (atanh_test): Likewise.
52745         (atan2_test): Likewise.
52746         (cabs_test): Likewise.
52747         (cacos_test): Likewise.
52748         (cacosh_test): Likewise.
52749         (casin_test): Likewise.
52750         (casinh_test): Likewise.
52751         (catan_test): Likewise.
52752         (catanh_test): Likewise.
52753         (cbrt_test): Likewise.
52754         (ccos_test): Likewise.
52755         (ccosh_test): Likewise.
52756         (cexp_test): Likewise.
52757         (clog_test): Likewise.
52758         (clog10_test): Likewise.
52759         (cos_test): Likewise.
52760         (cos_test_tonearest): Likewise.
52761         (cos_test_towardzero): Likewise.
52762         (cos_test_downward): Likewise.
52763         (cos_test_upward): Likewise.
52764         (cosh_test): Likewise.
52765         (cosh_test_tonearest): Likewise.
52766         (cosh_test_towardzero): Likewise.
52767         (cosh_test_downward): Likewise.
52768         (cosh_test_upward): Likewise.
52769         (cpow_test): Likewise.
52770         (csin_test): Likewise.
52771         (csinh_test): Likewise.
52772         (csqrt_test): Likewise.
52773         (ctan_test): Likewise.
52774         (ctan_test_tonearest): Likewise.
52775         (ctan_test_towardzero): Likewise.
52776         (ctan_test_downward): Likewise.
52777         (ctan_test_upward): Likewise.
52778         (ctanh_test): Likewise.
52779         (ctanh_test_tonearest): Likewise.
52780         (ctanh_test_towardzero): Likewise.
52781         (ctanh_test_downward): Likewise.
52782         (ctanh_test_upward): Likewise.
52783         (erf_test): Likewise.
52784         (erfc_test): Likewise.
52785         (exp_test): Likewise.
52786         (exp_test_tonearest): Likewise.
52787         (exp_test_towardzero): Likewise.
52788         (exp_test_downward): Likewise.
52789         (exp_test_upward): Likewise.
52790         (exp10_test): Likewise.
52791         (exp2_test): Likewise.
52792         (expm1_test): Likewise.
52793         (fmod_test): Likewise.
52794         (gamma_test): Likewise.
52795         (hypot_test): Likewise.
52796         (j0_test): Likewise.
52797         (j1_test): Likewise.
52798         (jn_test): Likewise.
52799         (lgamma_test): Likewise.
52800         (log_test): Likewise.
52801         (log10_test): Likewise.
52802         (log1p_test): Likewise.
52803         (log2_test): Likewise.
52804         (logb_test_downward): Likewise.
52805         (pow_test): Likewise.
52806         (pow_test_tonearest): Likewise.
52807         (pow_test_towardzero): Likewise.
52808         (pow_test_downward): Likewise.
52809         (pow_test_upward): Likewise.
52810         (remainder_test): Likewise.
52811         (remquo_test): Likewise.
52812         (sin_test): Likewise.
52813         (sin_test_tonearest): Likewise.
52814         (sin_test_towardzero): Likewise.
52815         (sin_test_downward): Likewise.
52816         (sin_test_upward): Likewise.
52817         (sincos_test): Likewise.
52818         (sinh_test): Likewise.
52819         (sinh_test_tonearest): Likewise.
52820         (sinh_test_towardzero): Likewise.
52821         (sinh_test_downward): Likewise.
52822         (sinh_test_upward): Likewise.
52823         (sqrt_test): Likewise.
52824         (tan_test): Likewise.
52825         (tan_test_tonearest): Likewise.
52826         (tan_test_towardzero): Likewise.
52827         (tan_test_downward): Likewise.
52828         (tan_test_upward): Likewise.
52829         (tanh_test): Likewise.
52830         (tgamma_test): Likewise.
52831         (y0_test): Likewise.
52832         (y1_test): Likewise.
52833         (yn_test): Likewise.
52835         * math/gen-libm-test.pl (adjust_arg): Remove function.
52836         (special_function): Remove argument $in_func.  Only handle
52837         generating output for tables of tests, not inside functions.
52838         (parse_args): Likewise.
52839         (generate_testfile): Remove variable $in_func.  Update call to
52840         parse_args.
52841         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52842         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52843         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52844         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52845         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52846         (MAX_VALUE_INIT): Rename macro to max_value.
52847         (MIN_VALUE_INIT): Rename macro to min_value.
52848         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52849         (plus_zero): Remove variable.
52850         (minus_zero): Likewise.
52851         (plus_infty): Likewise.
52852         (minus_infty): Likewise.
52853         (qnan_value): Likewise.
52854         (max_value): Likewise.
52855         (min_value): Likewise.
52856         (min_subnorm_value): Likewise.
52858 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52860         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52861         uint64_t or uint32_t usage.
52862         * crypt/sha256-block.c: Likewise.
52863         * crypt/sha256-crypt.c: Likewise.
52864         * crypt/sha256.c: Likewise.
52865         * crypt/sha512-block.c: Likewise.
52866         * crypt/sha512-crypt.c: Likewise.
52867         * crypt/sha512.c: Likewise.
52868         * debug/backtrace-tst.c: Likewise.
52869         * debug/pcprofiledump.c: Likewise.
52870         * elf/cache.c: Likewise.
52871         * elf/dl-cache.c: Likewise.
52872         * elf/dl-misc.c: Likewise.
52873         * elf/dl-profile.c: Likewise.
52874         * elf/dl-support.c: Likewise.
52875         * elf/ldconfig.c: Likewise.
52876         * elf/sprof.c: Likewise.
52877         * iconv/dummy-repertoire.c: Likewise.
52878         * iconv/iconv_charmap.c: Likewise.
52879         * iconv/skeleton.c: Likewise.
52880         * iconvdata/8bit-generic.c: Likewise.
52881         * iconvdata/cp737.h: Likewise.
52882         * iconvdata/cp775.h: Likewise.
52883         * iconvdata/ibm1008.h: Likewise.
52884         * iconvdata/ibm1025.h: Likewise.
52885         * iconvdata/ibm1046.h: Likewise.
52886         * iconvdata/ibm1097.h: Likewise.
52887         * iconvdata/ibm1112.h: Likewise.
52888         * iconvdata/ibm1122.h: Likewise.
52889         * iconvdata/ibm1123.h: Likewise.
52890         * iconvdata/ibm1124.h: Likewise.
52891         * iconvdata/ibm1129.h: Likewise.
52892         * iconvdata/ibm1130.h: Likewise.
52893         * iconvdata/ibm1132.h: Likewise.
52894         * iconvdata/ibm1133.h: Likewise.
52895         * iconvdata/ibm1137.h: Likewise.
52896         * iconvdata/ibm1140.h: Likewise.
52897         * iconvdata/ibm1141.h: Likewise.
52898         * iconvdata/ibm1142.h: Likewise.
52899         * iconvdata/ibm1143.h: Likewise.
52900         * iconvdata/ibm1144.h: Likewise.
52901         * iconvdata/ibm1145.h: Likewise.
52902         * iconvdata/ibm1146.h: Likewise.
52903         * iconvdata/ibm1147.h: Likewise.
52904         * iconvdata/ibm1148.h: Likewise.
52905         * iconvdata/ibm1149.h: Likewise.
52906         * iconvdata/ibm1153.h: Likewise.
52907         * iconvdata/ibm1154.h: Likewise.
52908         * iconvdata/ibm1155.h: Likewise.
52909         * iconvdata/ibm1156.h: Likewise.
52910         * iconvdata/ibm1157.h: Likewise.
52911         * iconvdata/ibm1158.h: Likewise.
52912         * iconvdata/ibm1160.h: Likewise.
52913         * iconvdata/ibm1161.h: Likewise.
52914         * iconvdata/ibm1162.h: Likewise.
52915         * iconvdata/ibm1163.h: Likewise.
52916         * iconvdata/ibm1164.h: Likewise.
52917         * iconvdata/ibm1166.h: Likewise.
52918         * iconvdata/ibm1167.h: Likewise.
52919         * iconvdata/ibm12712.h: Likewise.
52920         * iconvdata/ibm1390.h: Likewise.
52921         * iconvdata/ibm1399.h: Likewise.
52922         * iconvdata/ibm16804.h: Likewise.
52923         * iconvdata/ibm4517.h: Likewise.
52924         * iconvdata/ibm4899.h: Likewise.
52925         * iconvdata/ibm4909.h: Likewise.
52926         * iconvdata/ibm4971.h: Likewise.
52927         * iconvdata/ibm5347.h: Likewise.
52928         * iconvdata/ibm803.h: Likewise.
52929         * iconvdata/ibm856.h: Likewise.
52930         * iconvdata/ibm901.h: Likewise.
52931         * iconvdata/ibm902.h: Likewise.
52932         * iconvdata/ibm9030.h: Likewise.
52933         * iconvdata/ibm9066.h: Likewise.
52934         * iconvdata/ibm921.h: Likewise.
52935         * iconvdata/ibm922.h: Likewise.
52936         * iconvdata/ibm9448.h: Likewise.
52937         * iconvdata/isiri-3342.h: Likewise.
52938         * iconvdata/jis0201.h: Likewise.
52939         * include/link.h: Likewise.
52940         * include/netdb.h: Likewise.
52941         * inet/check_native.c: Likewise.
52942         * inet/check_pf.c: Likewise.
52943         * inet/getipv4sourcefilter.c: Likewise.
52944         * inet/getnameinfo.c: Likewise.
52945         * inet/getsourcefilter.c: Likewise.
52946         * inet/htonl.c: Likewise.
52947         * inet/setipv4sourcefilter.c: Likewise.
52948         * inet/setsourcefilter.c: Likewise.
52949         * inet/test-inet6_opt.c: Likewise.
52950         * inet/tst-network.c: Likewise.
52951         * locale/C-collate.c: Likewise.
52952         * locale/C-ctype.c: Likewise.
52953         * locale/C-time.c: Likewise.
52954         * locale/C-translit.h: Likewise.
52955         * locale/loadarchive.c: Likewise.
52956         * locale/programs/3level.h: Likewise.
52957         * locale/programs/charmap.c: Likewise.
52958         * locale/programs/charmap.h: Likewise.
52959         * locale/programs/ld-address.c: Likewise.
52960         * locale/programs/ld-collate.c: Likewise.
52961         * locale/programs/ld-ctype.c: Likewise.
52962         * locale/programs/ld-identification.c: Likewise.
52963         * locale/programs/ld-measurement.c: Likewise.
52964         * locale/programs/ld-messages.c: Likewise.
52965         * locale/programs/ld-monetary.c: Likewise.
52966         * locale/programs/ld-name.c: Likewise.
52967         * locale/programs/ld-numeric.c: Likewise.
52968         * locale/programs/ld-paper.c: Likewise.
52969         * locale/programs/ld-telephone.c: Likewise.
52970         * locale/programs/ld-time.c: Likewise.
52971         * locale/programs/linereader.c: Likewise.
52972         * locale/programs/locale.c: Likewise.
52973         * locale/programs/locarchive.c: Likewise.
52974         * locale/programs/locfile.h: Likewise.
52975         * locale/programs/repertoire.c: Likewise.
52976         * locale/programs/simple-hash.c: Likewise.
52977         * locale/programs/simple-hash.h: Likewise.
52978         * malloc/memusage.c: Likewise.
52979         * malloc/memusagestat.c: Likewise.
52980         * nis/nis_defaults.c: Likewise.
52981         * nis/nis_hash.c: Likewise.
52982         * nis/nis_print.c: Likewise.
52983         * nis/nis_xdr.c: Likewise.
52984         * nscd/connections.c: Likewise.
52985         * nscd/hstcache.c: Likewise.
52986         * nscd/nscd_gethst_r.c: Likewise.
52987         * nscd/nscd_getserv_r.c: Likewise.
52988         * nscd/nscd_helper.c: Likewise.
52989         * nscd/servicescache.c: Likewise.
52990         * nss/makedb.c: Likewise.
52991         * nss/nss_db/db-XXX.c: Likewise.
52992         * nss/nss_db/db-initgroups.c: Likewise.
52993         * nss/nss_db/db-netgrp.c: Likewise.
52994         * nss/nss_files/files-network.c: Likewise.
52995         * nss/nss_files/files-parse.c: Likewise.
52996         * posix/bug-regex5.c: Likewise.
52997         * posix/fnmatch_loop.c: Likewise.
52998         * posix/regcomp.c: Likewise.
52999         * posix/regexec.c: Likewise.
53000         * posix/tst-rfc3484-2.c: Likewise.
53001         * posix/tst-rfc3484-3.c: Likewise.
53002         * posix/tst-rfc3484.c: Likewise.
53003         * resolv/nss_dns/dns-canon.c: Likewise.
53004         * resolv/nss_dns/dns-network.c: Likewise.
53005         * resolv/res_init.c: Likewise.
53006         * resolv/res_mkquery.c: Likewise.
53007         * resolv/tst-aton.c: Likewise.
53008         * stdlib/cxa_atexit.c: Likewise.
53009         * stdlib/cxa_finalize.c: Likewise.
53010         * stdlib/gen-fpioconst.c: Likewise.
53011         * stdlib/strtol_l.c: Likewise.
53012         * string/tst-endian.c: Likewise.
53013         * sunrpc/auth_des.c: Likewise.
53014         * sunrpc/clnt_udp.c: Likewise.
53015         * sunrpc/rtime.c: Likewise.
53016         * sunrpc/svcauth_des.c: Likewise.
53017         * sunrpc/xdr.c: Likewise.
53018         * sunrpc/xdr_intXX_t.c: Likewise.
53019         * sunrpc/xdr_rec.c: Likewise.
53020         * sysdeps/generic/ldconfig.h: Likewise.
53021         * sysdeps/generic/ldsodefs.h: Likewise.
53022         * sysdeps/generic/memusage.h: Likewise.
53023         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53026         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53030         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53031         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53032         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53033         * sysdeps/posix/getaddrinfo.c: Likewise.
53034         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53035         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53036         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53037         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53038         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53039         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53040         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53041         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53042         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53043         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53044         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53045         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53046         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53047         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53048         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53049         * sysdeps/x86_64/dl-tls.h: Likewise.
53050         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53051         * time/alt_digit.c: Likewise.
53052         * time/era.c: Likewise.
53053         * wcsmbs/tst-c16c32-1.c: Likewise.
53055 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53057         * math/libm-test.inc (struct test_sincos_data): New type.
53058         (RUN_TEST_LOOP_sincos): New macro.
53059         (sincos_test_data): New variable.
53060         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53062 2013-05-16  Richard Henderson  <rth@redhat.com>
53064         * math/atest-exp2.c (LIMB64): New macro.
53065         (CONSTSZ): New macro.
53066         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53067         (hexdig): Move ...
53068         (print_mpn_fp): ... to function scope.
53069         (read_mpn_hex): Remove.
53070         (get_log2): Remove.
53071         (exp2_mpn): Use mp_log2.
53072         (main): Use mp_exp1.
53074 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53076         * math/libm-test.inc: Remove comment about not testing "inexact"
53077         exceptions.
53078         (INEXACT_EXCEPTION): New macro.
53079         (NO_INEXACT_EXCEPTION): Likewise.
53080         (INVALID_EXCEPTION_OK): Update value.
53081         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53082         (OVERFLOW_EXCEPTION_OK): Likewise.
53083         (UNDERFLOW_EXCEPTION_OK): Likewise.
53084         (IGNORE_ZERO_INF_SIGN): Likewise.
53085         (ERRNO_UNCHANGED): Likewise.
53086         (ERRNO_EDOM): Likewise.
53087         (ERRNO_ERANGE): Likewise.
53088         (test_exceptions): Handle testing "inexact" exceptions.
53089         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53090         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53091         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53092         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53093         INEXACT_EXCEPTION.
53094         (rint_towardzero_test_data): Likewise.
53095         (rint_downward_test_data): Likewise.
53096         (rint_upward_test_data): Likewise.
53098         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53099         with OVERFLOW_EXCEPTION.
53100         (exp10_test_data): Likewise.
53101         (exp2_test_data): Likewise.
53102         (expm1_test_data): Likewise.
53103         (lgamma_test_data): Likewise.
53104         (pow_test_data): Likewise.
53105         (tgamma_test_data): Likewise.
53106         (yn_test_data): Remove duplicate test of overflow.
53108         * math/libm-test.inc (struct test_cc_c_data): New type.
53109         (RUN_TEST_LOOP_cc_c): New macro.
53110         (cpow_test_data): New variable.
53111         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53113         * math/libm-test.inc (struct test_f_L_data): New type.
53114         (RUN_TEST_LOOP_f_L): New macro.
53115         (llrint_test_data): New variable.
53116         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53117         (llrint_tonearest_test_data): New variable.
53118         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53119         (llrint_towardzero_test_data): New variable.
53120         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53121         (llrint_downward_test_data): New variable.
53122         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53123         (llrint_upward_test_data): New variable.
53124         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53125         (llround_test_data): New variable.
53126         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53128 2013-05-13  Peter Collingbourne  <pcc@google.com>
53130         * math/atest-exp2.c (get_log2): Remove const attribute.
53132 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53134         * math/libm-test.inc (struct test_f_l_data): New type.
53135         (RUN_TEST_LOOP_f_l): New macro.
53136         (lrint_test_data): New variable.
53137         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53138         (lrint_tonearest_test_data): New variable.
53139         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53140         (lrint_towardzero_test_data): New variable.
53141         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53142         (lrint_downward_test_data): New variable.
53143         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53144         (lrint_upward_test_data): New variable.
53145         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53146         (lround_test_data): New variable.
53147         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53149 2013-05-15  Peter Collingbourne  <pcc@google.com>
53151         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53152         (EXTRACT_WORDS64) Use where appropriate.
53153         (INSERT_WORDS64) Likewise.
53155         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53156         constraints with x constraints.
53157         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53159         * malloc/obstack.c (_obstack_compat): Add initializer.
53161 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53163         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53164         si_trapno and add si_addr_lsb to _sifields.sigfault.
53165         (si_trapno): Remove macro.
53166         (si_addr_lsb): Define new macro.
53167         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53169 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53171         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53172         instead of TEST_f_l.
53173         (llrint_test_tonearest): Likewise.
53174         (llrint_test_towardzero): Likewise.
53175         (llrint_test_downward): Likewise.
53176         (llrint_test_upward): Likewise.
53177         (llround_test): Likewise.
53179         * math/libm-test.inc (struct test_f_i_data): Add comment.
53180         (RUN_TEST_LOOP_f_b): New macro.
53181         (RUN_TEST_LOOP_f_b_tg): Likewise.
53182         (finite_test_data): New variable.
53183         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53184         (isfinite_test_data): New variable.
53185         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53186         (isinf_test_data): New variable.
53187         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53188         (isnan_test_data): New variable.
53189         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53190         (isnormal_test_data): New variable.
53191         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53192         (issignaling_test_data): New variable.
53193         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53194         (signbit_test_data): New variable.
53195         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53197         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53198         with INVALID_EXCEPTION.
53199         (acosh_test_data): Likewise.
53200         (asin_test_data): Likewise.
53201         (atanh_test_data): Likewise.
53202         (fmod_test_data): Likewise.
53203         (log_test_data): Likewise.
53204         (log10_test_data): Likewise.
53205         (log2_test_data): Likewise.
53206         (pow_test_data): Likewise.
53207         (sqrt_test_data): Likewise.
53208         (y0_test_data): Likewise.
53209         (y1_test_data): Likewise.
53210         (yn_test_data): Likewise.
53212         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53213         function contents.
53215         * math/libm-test.inc (struct test_ff_i_data): New type.
53216         (RUN_TEST_LOOP_ff_i_tg): New macro.
53217         (isgreater_test_data): New variable.
53218         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53219         (isgreaterequal_test_data): New variable.
53220         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53221         (isless_test_data): New variable.
53222         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53223         (islessequal_test_data): New variable.
53224         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53225         (islessgreater_test_data): New variable.
53226         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53227         (isunordered_test_data): New variable.
53228         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53230 2013-05-14  David S. Miller  <davem@davemloft.net>
53232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53234 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53236         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53238         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53239         extra_test to int.
53240         (struct test_f_i_data): Change type of max_ulp to int.
53242         * math/libm-test.inc (test_ffI_f1_data): New type.
53243         (RUN_TEST_LOOP_ffI_f1): New macro.
53244         (remquo_test_data): New variable.
53245         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53247         * setjmp/tst-setjmp-fp.c: New file.
53248         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53249         (link-libm): New variable.
53250         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53252         * math/libm-test.inc (struct test_f_i_data): New type.
53253         (RUN_TEST_LOOP_f_i): New macro.
53254         (RUN_TEST_LOOP_f_i_tg): Likewise.
53255         (fpclassify_test_data): New variable.
53256         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53257         (ilogb_test_data): New variable.
53258         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53260         * math/libm-test.inc (scalbln_test): Correct function name in END
53261         call.
53263         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53264         (RUN_TEST_LOOP_fI_f1): New macro.
53265         (frexp_test_data): New variable.
53266         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53268         * math/libm-test.inc (struct test_fF_f1_data): New type.
53269         (RUN_TEST_LOOP_fF_f1): New macro.
53270         (modf_test_data): New variable.
53271         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53273         * math/libm-test.inc (struct test_f_f1_data): New type.
53274         (RUN_TEST_LOOP_f_f1): New macro.
53275         (gamma_test_data): New variable.
53276         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53277         (lgamma_test_data): New variable.
53278         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53280 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53282         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53283         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53284         (main): Comment "tls" pseudo-hwcap.
53286 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53288         * math/libm-test.inc (struct test_fl_f_data): New type.
53289         (RUN_TEST_LOOP_fl_f): New variable.
53290         (scalbln_test_data): New variable.
53291         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53293         * math/libm-test.inc (struct test_fi_f_data): New type.
53294         (RUN_TEST_LOOP_fi_f): New macro.
53295         (ldexp_test_data): New variable.
53296         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53297         (scalbn_test_data): New variable.
53298         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53300         * math/libm-test.inc (struct test_c_f_data): New type.
53301         (RUN_TEST_LOOP_c_f): New macro.
53302         (cabs_test_data): New variable.
53303         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53304         (carg_test_data): New variable.
53305         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53306         (cimag_test_data): New variable.
53307         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53308         (creal_test_data): New variable.
53309         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53311         * math/libm-test.inc (struct test_if_f_data): New type.
53312         (RUN_TEST_LOOP_if_f): New macro.
53313         (jn_test_data): New variable.
53314         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53315         (yn_test_data): New variable.
53316         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53318         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53320 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53322         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53323         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53325 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53327         * benchtests/Makefile (CPPFLAGS-nonlib): Add
53328         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53329         (bench-deps): Add bench-timing.h.
53330         * benchtests-bench-skeleton.c: Include bench-timing.h.
53331         (main): Use TIMING_* macros instead of clock_gettime.
53332         * benchtests/bench-timing.h: New file.
53334         [BZ #14582]
53335         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53336         Renamed from _LIB_VERSION.
53337         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53339 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
53341         * math/libm-test.inc (struct test_fff_f_data): New type.
53342         (RUN_TEST_LOOP_fff_f): New macro.
53343         (fma_test_data): New variable.
53344         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53345         (fma_towardzero_test_data): New variable.
53346         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53347         (fma_downward_test_data): New variable.
53348         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53349         (fma_upward_test_data): New variable.
53350         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53352         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53353         (struct test_c_c_data): New type.
53354         (RUN_TEST_LOOP_c_c): New macro.
53355         (cacos_test_data): New variable.
53356         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53357         (cacosh_test_data): New variable.
53358         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53359         (casin_test_data): New variable.
53360         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53361         (casinh_test_data): New variable.
53362         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53363         (catan_test_data): New variable.
53364         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53365         (catanh_test_data): New variable.
53366         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53367         (ccos_test_data): New variable.
53368         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53369         (ccosh_test_data): New variable.
53370         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53371         (cexp_test_data): New variable.
53372         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53373         (clog_test_data): New variable.
53374         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53375         (clog10_test_data): New variable.
53376         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53377         (conj_test_data): New variable.
53378         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53379         (cproj_test_data): New variable.
53380         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53381         (csin_test_data): New variable.
53382         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53383         (csinh_test_data): New variable.
53384         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53385         (csqrt_test_data): New variable.
53386         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53387         (ctan_test_data): New variable.
53388         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53389         (ctan_tonearest_test_data): New variable.
53390         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53391         (ctan_towardzero_test_data): New variable.
53392         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53393         (ctan_downward_test_data): New variable.
53394         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53395         (ctan_upward_test_data): New variable.
53396         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53397         (ctanh_test_data): New variable.
53398         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53399         (ctanh_tonearest_test_data): New variable.
53400         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53401         (ctanh_towardzero_test_data): New variable.
53402         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53403         (ctanh_downward_test_data): New variable.
53404         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53405         (ctanh_upward_test_data): New variable.
53406         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53407         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53408         of BUILD_COMPLEX.
53410         * math/libm-test.inc (struct test_ff_f_data): New type.
53411         (struct test_ff_f_data_nexttoward): Likewise.
53412         (RUN_TEST_LOOP_2_f): New macro.
53413         (RUN_TEST_LOOP_ff_f): Likewise.
53414         (atan2_test_data): New variable.
53415         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53416         (copysign_test_data): New variable.
53417         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53418         (fdim_test_data): New variable.
53419         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53420         (fmax_test_data): New variable.
53421         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53422         (fmin_test_data): New variable.
53423         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53424         (fmod_test_data): New variable.
53425         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53426         (hypot_test_data): New variable.
53427         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53428         (nextafter_test_data): New variable.
53429         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53430         (nexttoward_test_data): New variable.
53431         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53432         (pow_test_data): New variable.
53433         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53434         (pow_tonearest_test_data): New variable.
53435         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53436         (pow_towardzero_test_data): New variable.
53437         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53438         (pow_downward_test_data): New variable.
53439         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53440         (pow_upward_test_data): New variable.
53441         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53442         (remainder_test_data): New variable.
53443         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53444         (scalb_test_data): New variable.
53445         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53446         * sysdeps/i386/fpu/libm-test-ulps: Update.
53448 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53450         * math/libm-test.inc (fma_test): Use max_value instead of local
53451         variable fltmax.
53452         (nextafter_test): Likewise.
53454         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53455         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53456         (acos_downward_test_data): New variable.
53457         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53458         (acos_upward_test_data): New variable.
53459         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53460         (acosh_test_data): New variable.
53461         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53462         (asin_test_data): New variable.
53463         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53464         (asin_tonearest_test_data): New variable.
53465         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53466         (asin_towardzero_test_data): New variable.
53467         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53468         (asin_downward_test_data): New variable.
53469         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53470         (asin_upward_test_data): New variable.
53471         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53472         (asinh_test_data): New variable.
53473         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53474         (atan_test_data): New variable.
53475         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53476         (atanh_test_data): New variable.
53477         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53478         (cbrt_test_data): New variable.
53479         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53480         (ceil_test_data): New variable.
53481         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53482         (cos_test_data): New variable.
53483         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53484         (cos_tonearest_test_data): New variable.
53485         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53486         (cos_towardzero_test_data): New variable.
53487         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53488         (cos_downward_test_data): New variable.
53489         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53490         (cos_upward_test_data): New variable.
53491         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53492         (cosh_test_data): New variable.
53493         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53494         (cosh_tonearest_test_data): New variable.
53495         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53496         (cosh_towardzero_test_data): New variable.
53497         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53498         (cosh_downward_test_data): New variable.
53499         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53500         (cosh_upward_test_data): New variable.
53501         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53502         (erf_test_data): New variable.
53503         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53504         (erfc_test_data): New variable.
53505         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53506         (exp_test_data): New variable.
53507         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53508         (exp_tonearest_test_data): New variable.
53509         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53510         (exp_towardzero_test_data): New variable.
53511         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53512         (exp_downward_test_data): New variable.
53513         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53514         (exp_upward_test_data): New variable.
53515         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53516         (exp10_test_data): New variable.
53517         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53518         (exp2_test_data): New variable.
53519         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53520         (expm1_test_data): New variable.
53521         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53522         (fabs_test_data): New variable.
53523         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53524         (floor_test_data): New variable.
53525         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53526         (j0_test_data): New variable.
53527         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53528         (j1_test_data): New variable.
53529         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53530         (log_test_data): New variable.
53531         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53532         (log10_test_data): New variable.
53533         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53534         (log1p_test_data): New variable.
53535         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53536         (log2_test_data): New variable.
53537         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53538         (logb_test_data): New variable.
53539         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53540         (logb_downward_test_data): New variable.
53541         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53542         (nearbyint_test_data): New variable.
53543         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53544         (rint_test_data): New variable.
53545         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53546         (rint_tonearest_test_data): New variable.
53547         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53548         (rint_towardzero_test_data): New variable.
53549         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53550         (rint_downward_test_data): New variable.
53551         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53552         (rint_upward_test_data): New variable.
53553         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53554         (round_test_data): New variable.
53555         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53556         (sin_test_data): New variable.
53557         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53558         (sin_tonearest_test_data): New variable.
53559         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53560         (sin_towardzero_test_data): New variable.
53561         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53562         (sin_downward_test_data): New variable.
53563         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53564         (sin_upward_test_data): New variable.
53565         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53566         (sinh_test_data): New variable.
53567         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53568         (sinh_tonearest_test_data): New variable.
53569         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53570         (sinh_towardzero_test_data): New variable.
53571         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53572         (sinh_downward_test_data): New variable.
53573         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53574         (sinh_upward_test_data): New variable.
53575         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53576         (sqrt_test_data): New variable.
53577         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53578         (tan_test_data): New variable.
53579         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53580         (tan_tonearest_test_data): New variable.
53581         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53582         (tan_towardzero_test_data): New variable.
53583         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53584         (tan_downward_test_data): New variable.
53585         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53586         (tan_upward_test_data): New variable.
53587         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53588         (tanh_test_data): New variable.
53589         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53590         (tgamma_test_data): New variable.
53591         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53592         (trunc_test_data): New variable.
53593         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53594         (y0_test_data): New variable.
53595         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53596         (y1_test_data): New variable.
53597         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53598         (significand_test_data): New variable.
53599         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53601 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53603         [BZ #12387]
53604         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53606 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53608         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53610 2013-05-10  Andreas Jaeger  <aj@suse.de>
53612         [BZ #15448]
53613         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53614         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53616 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53618         * math/gen-libm-test.pl (adjust_arg): New function.
53619         (special_functions): Handle generating output in both functions
53620         and arrays.
53621         (parse_args): Likewise.
53622         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53623         $in_func argument to parse_args.
53624         * math/libm-test.inc (struct test_f_f_data): New type.
53625         (IF_ROUND_INIT_): New macro.
53626         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53627         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53628         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53629         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53630         (ROUND_RESTORE_): Likewise.
53631         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53632         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53633         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53634         (ROUND_RESTORE_FE_UPWARD): Likewise.
53635         (RUN_TEST_LOOP_f_f): New macro.
53636         (acos_test_data): New variable.
53637         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53638         (acos_tonearest_test_data): New variable.
53639         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53641 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53643         * benchtests/bench-skeleton.c (startup): Fix coding style.
53645 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53647         [BZ #6809]
53648         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53649         negative infinity argument.
53650         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53651         negative infinity argument.
53652         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53653         negative infinity argument.
53654         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53655         domain errors.
53657 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53659         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53660         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53661         * iconv/iconv_prog.c (main): Likewise.
53662         * locale/programs/charmap-dir.c (charmap_readdir)
53663         (fopen_uncompressed): Likewise.
53664         * locale/programs/locfile.c (siblings_uncached)
53665         (write_locale_data): Use lstat64 instead of lstat.
53666         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53667         stat.
53669 2013-05-10  Andreas Jaeger  <aj@suse.de>
53671         [BZ #15395]
53672         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53673         localization.
53674         Include <locale.h>.
53676 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53678         * elf/dl-close.c (_dl_close_worker): Add comments.
53680 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53682         [BZ #15359]
53683         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53684         high part of pi/2.
53685         (__ieee754_rem_pio2l): Update comments.
53687         [BZ #15429]
53688         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53689         high part of pi/2.
53690         (__ieee754_rem_pio2l): Update comments.
53692         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53693         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53695         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53696         M_PI_4l.
53698         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53699         (M_PI_34_LOG10El): Likewise.
53700         (M_PI2_LOG10El): Likewise.
53701         (M_PI4_LOG10El): Likewise.
53702         (M_PI_LOG10El): Likewise.
53704 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53708 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53710         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53711         (MINUS_ZERO_INIT): Likewise.
53712         (PLUS_INFTY_INIT): Likewise.
53713         (MINUS_INFTY_INIT): Likewise.
53714         (QNAN_VALUE_INIT): Likewise.
53715         (MAX_VALUE_INIT): Likewise.
53716         (MIN_VALUE_INIT): Likewise.
53717         (MIN_SUBNORM_VALUE_INIT): Likewise.
53718         (plus_zero): Initialize with PLUS_ZERO_INIT.
53719         (minus_zero): Initialize with MINUS_ZERO_INIT.
53720         (plus_infty): Initialize with PLUS_INFTY_INIT.
53721         (minus_infty): Initialize with MINUS_INFTY_INIT.
53722         (qnan_value): Initialize with QNAN_VALUE_INIT.
53723         (max_value): Initialize with MAX_VALUE_INIT.
53724         (min_value): Initialize with MIN_VALUE_INIT.
53725         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53727         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53728         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53729         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53730         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53732         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53733         (RUN_TEST_2_f): Likewise.
53734         (RUN_TEST_ff_f): Likewise.
53735         (RUN_TEST_fi_f): Likewise.
53736         (RUN_TEST_fl_f): Likewise.
53737         (RUN_TEST_fff_f): Likewise.
53738         (RUN_TEST_c_f): Likewise.
53739         (RUN_TEST_f_f1): Likewise.
53740         (RUN_TEST_fF_f1): Likewise.
53741         (RUN_TEST_fI_f1): Likewise.
53742         (RUN_TEST_ffI_f1): Likewise.
53743         (RUN_TEST_c_c): Likewise.
53744         (RUN_TEST_cc_c): Likewise.
53745         (RUN_TEST_f_i): Likewise.
53746         (RUN_TEST_f_i_tg): Likewise.
53747         (RUN_TEST_ff_i_tg): Likewise.
53748         (RUN_TEST_f_b): Likewise.
53749         (RUN_TEST_f_b_tg): Likewise.
53750         (RUN_TEST_f_l): Likewise.
53751         (RUN_TEST_f_L): Likewise.
53752         (RUN_TEST_sincos): Likewise.
53753         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53754         whether to show exceptions.  Do not include ");\n" in return
53755         value.
53756         (special_functions): Output call to RUN_TEST_sincos instead of
53757         check_float calls.  Update calls to new_test.
53758         (parse_args): Output call to single RUN_TEST_* macro instead of
53759         check_* calls and other assignments.  Update calls to new_test.
53761         [BZ #2546]
53762         [BZ #2560]
53763         [BZ #5159]
53764         [BZ #15426]
53765         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53766         input to result for tgamma overflow.
53767         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53768         (gamma_coeff): New variable.
53769         (NCOEFF): New macro.
53770         (gamma_positive): New function.
53771         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53772         underflow here.  Use gamma_positive instead of exp (lgamma) for
53773         other arguments.
53774         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53775         (gamma_coeff): New variable.
53776         (NCOEFF): New macro.
53777         (gammaf_positive): New function.
53778         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53779         underflow here.  Use gamma_positive instead of exp (lgamma) for
53780         other arguments.
53781         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53782         (gamma_coeff): New variable.
53783         (NCOEFF): New macro.
53784         (gammal_positive): New function.
53785         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53786         underflow here.  Use gamma_positive instead of exp (lgamma) for
53787         other arguments.
53788         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53789         (gamma_coeff): New variable.
53790         (NCOEFF): New macro.
53791         (gammal_positive): New function.
53792         (__ieee754_gammal_r): Handle positive infinity, overflow and
53793         underflow here.  Handle NaN the same as positive infinity.  Remove
53794         check x < 0xffffffff for negative integers.  Use gamma_positive
53795         instead of exp (lgamma) for other arguments.
53796         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53797         (gamma_coeff): New variable.
53798         (NCOEFF): New macro.
53799         (gammal_positive): New function.
53800         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53801         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53802         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53803         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53804         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53805         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53806         * sysdeps/generic/math_private.h (__gamma_productf): New
53807         prototype.
53808         (__gamma_product): Likewise.
53809         (__gamma_productl): Likewise.
53810         * math/Makefile (libm-calls): Add gamma_product.
53811         * math/libm-test.inc (tgamma_test): Add more tests.
53812         * sysdeps/i386/fpu/libm-test-ulps: Update.
53813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53815 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53817         * benchtests/bench-skeleton.c (main): Preheat CPU.
53819 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53821         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53823 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53825         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53826         and _dl_skip_args_internal.
53828 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53830         * manual/message.texi (Message Translation): Talk about users.
53831         Message to key mapping impacts design.
53833 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53835         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53837         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53839         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53840         * sysdeps/wordsize-64/glob64.c: ... here.
53842         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53843         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53844         New macros.
53846         * debug/getlogin_r_chk.c: Moved to ...
53847         * login/getlogin_r_chk.c: ... here.
53848         * debug/Makefile (routines): Move getlogin_r_chk to ...
53849         * login/Makefile (routines): ... here.
53850         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53851         * login/Versions (libc: GLIBC_2.4): ... here.
53853         * io/poll.c (__poll): Renamed from poll.
53854         Add libc_hidden_def.
53855         (poll): Define as weak alias.
53857         * debug/ptsname_r_chk.c: Moved to ...
53858         * login/ptsname_r_chk.c: ... here.
53859         * debug/Makefile (routines): Move ptsname_r_chk to ...
53860         * login/Makefile (routines): ... here.
53861         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53862         * login/Versions (libc: GLIBC_2.4): ... here.
53864         * posix/getlogin.c: Moved to ...
53865         * login/getlogin.c: ... here.
53866         * posix/getlogin_r.c: Moved to ...
53867         * login/getlogin_r.c: ... here.
53868         * posix/getlogin_r.c: Moved to ...
53869         * login/getlogin_r.c: ... here.
53870         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53871         * login/Makefile (routines): ... here.
53872         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53873         * login/Versions (libc: GLIBC_2.0): ... here.
53875         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53876         (setrlimit): Define as weak alias.
53878         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53879         Call __ names for open, ftruncate, and close.
53880         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53881         (truncate): Define as weak alias.
53883 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53885         * math/gen-libm-test.pl (parse_args): Initialize x before each
53886         test of frexp, modf and remquo.
53888         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53889         test signgam value.
53891 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53893         [BZ #15418]
53894         [BZ #15419]
53895         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53896         internal tests.
53897         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53899 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53901         * elf/dl-writev.h: New file.
53902         * elf/dl-misc.c: Include it.
53903         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53904         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53906 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53908         * math/libm-test.inc (noXFails): Remove variable.
53909         (noXPasses): Likewise.
53910         (BUILD_COMPLEX_INT): Remove macro.
53911         (print_screen): Remove xfail argument.
53912         (print_screen_max_error): Likewise.
53913         (update_stats): Likewise.
53914         (print_max_error): Likewise.  Update calls to other affected
53915         functions.
53916         (print_complex_max_error): Likewise.
53917         (test_single_exception): Update calls to print_screen.
53918         (test_single_errno): Likewise.
53919         (check_float_internal): Remove xfail argument.  Update calls to
53920         other affected functions.
53921         (check_float): Likewise.
53922         (check_complex): Likewise.
53923         (check_int): Likewise.
53924         (check_long): Likewise.
53925         (check_bool): Likewise.
53926         (check_longlong): Likewise.
53927         (main): Don't print noXFails and noXPasses.
53928         * math/gen-libm-test.pl (top level): Don't mention expected
53929         failure handling in comment.
53930         (new_test): Don't handle expected failures.
53931         (parse_args): Don't mention expected failure handling in comment.
53932         (generate_testfile): Don't handle expected failures.
53933         (parse_ulps): Likewise.
53934         (print_ulps_file): Likewise.
53935         (get_failure): Remove function.
53936         (output_test): Don't handle expected failures.
53937         * make/README.libm-test: Don't mention expected failure handling.
53939         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53940         (minus_zero): Likewise.
53941         (plus_infty): Likewise.
53942         (minus_infty): Likewise.
53943         (qnan_value): Likewise.
53944         (max_value): Likewise.
53945         (min_value): Likewise.
53946         (min_subnorm_value): Likewise.
53947         (initialize): Do not initialize those variables dynamically.
53949 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53951         * io/open.c (__open_2): Moved to ...
53952         * io/open_2.c: ... this new file.
53953         * io/open64.c (__open64_2): Moved to ...
53954         * io/open64_2.c: ... this new file.
53955         * io/openat.c (__openat_2): Moved to ...
53956         * io/openat_2.c: ... this new file.
53957         * io/openat64.c (__openat64_2): Moved to ...
53958         * io/openat64_2.c: ... this new file.
53959         * io/Makefile (routines): Add them.
53960         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53961         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53962         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53963         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53964         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53965         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53966         (__openat64): Add hidden_ver.
53967         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53968         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53970         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53971         Separately conditionalize setting of GLRO(dl_sysinfo) so
53972         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53973         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53975 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53977         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53978         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53979         definition.
53980         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53981         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53982         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53983         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53984         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53986 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53988         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53989         test signgam value.
53991         * math/libm-test.inc (hypot_test): Do not use
53992         IGNORE_ZERO_INF_SIGN.
53994 2013-05-03  Andreas Jaeger  <aj@suse.de>
53996         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53997         Linux 3.9.
53998         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53999         (PF_MAX): Adjust for VSOCK change.
54001 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54005 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54007         [BZ #15264]
54008         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54009         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54010         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54012 2013-05-02  David S. Miller  <davem@davemloft.net>
54014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54016 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54018         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54020 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54022         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54024 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54026         [BZ #14952]
54027         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54028         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54029         Use __attribute__ ((__gnu_inline__)).
54030         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54031         Don't use __attribute__ ((__gnu_inline__)).
54033 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54035         [BZ #15423]
54036         * math/s_catan.c (__catan): Handle small real or imaginary part of
54037         input specially to avoid spurious underflow.
54038         * math/s_catanf.c (__catanf): Likewise.
54039         * math/s_catanh.c (__catanh): Likewise.
54040         * math/s_catanhf.c (__catanhf): Likewise.
54041         * math/s_catanhl.c (__catanhl): Likewise.
54042         * math/s_catanl.c (__catanl): Likewise.
54043         * math/libm-test.inc (catan_test): Add more tests.
54044         (catanh_test): Likewise.
54045         * sysdeps/i386/fpu/libm-test-ulps: Update.
54046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54048 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54052 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54054         [BZ #15416]
54055         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54056         accurately for denominator in atan2.
54057         * math/s_catanf.c (__catanf): Likewise.
54058         * math/s_catanh.c (__catanh): Likewise.
54059         * math/s_catanhf.c (__catanhf): Likewise.
54060         * math/s_catanhl.c (__catanhl): Likewise.
54061         * math/s_catanl.c (__catanl): Likewise.
54062         * math/libm-test.inc (catan_test): Add more tests.
54063         (catanh_test): Likewise.
54064         * sysdeps/i386/fpu/libm-test-ulps: Update.
54065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54067 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54069         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54071         * benchtests/Makefile (bench): Remove slow benchmarks.
54072         * benchtests/atan-inputs: Add slow benchmark inputs.
54073         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54074         (BENCH_FUNC): Accept variant offset.
54075         (VARIANT): Define.
54076         * benchtests/bench-skeleton.c (main): Run benchmark for each
54077         variant.
54078         * benchtests/cos-inputs: Add slow benchmark inputs.
54079         * benchtests/exp-inputs: Likewise.
54080         * benchtests/pow-inputs: Likewise.
54081         * benchtests/sin-inputs: Likewise.
54082         * benchtests/slowatan-inputs: Remove.
54083         * benchtests/slowatan.c: Remove.
54084         * benchtests/slowcos-inputs: Remove.
54085         * benchtests/slowcos.c: Remove.
54086         * benchtests/slowexp-inputs: Remove.
54087         * benchtests/slowexp.c: Remove.
54088         * benchtests/slowpow-inputs: Remove.
54089         * benchtests/slowpow.c: Remove.
54090         * benchtests/slowsin-inputs: Remove.
54091         * benchtests/slowsin.c: Remove.
54092         * benchtests/slowtan-inputs: Remove.
54093         * benchtests/slowtan.c: Remove.
54094         * benchtests/tan-inputs: Add slow benchmark inputs.
54095         * scripts/bench.pl: Parse comments and directives.
54097         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54098         in CPPFLAGS.
54099         ($(objpfx)bench-%.c): Remove *-ITER.
54100         * benchtests/bench-modf.c: Remove definition of ITER.
54101         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54102         (main): Loop for DURATION seconds instead of fixed number of
54103         iterations.
54104         * scripts/bench.pl: Don't expect iterations in parameters.
54106 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54108         * io/fchdir.c (__fchdir): Renamed from fchdir.
54109         (fchdir): Define as weak alias.
54111 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54113         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54114         (ERRNO_EDOM): Likewise.
54115         (ERRNO_ERANGE): Likewise.
54116         (noErrnoTests): New variable.
54117         (init_max_error): Set errno to 0.
54118         (test_single_errno): New function.
54119         (test_errno): Likewise.
54120         (check_float_internal): Call test_errno.  Set errno to 0.
54121         (check_complex): Refer to errno tests in comment.
54122         (check_int): Call test_errno.  Set errno to 0.
54123         (check_long): Likewise.
54124         (check_bool): Likewise.
54125         (check_longlong): Likewise.
54126         (cos_test): Use ERRNO_* flags for errno tests instead of
54127         check_int.
54128         (expm1_test): Likewise.
54129         (fmod_test): Likewise.
54130         (ilogb_test): Likewise.
54131         (lgamma_test): Likewise.
54132         (pow_test): Likewise.
54133         (remainder_test): Likewise.
54134         (sin_test): Likewise.
54135         (tan_test): Likewise.
54136         (yn_test): Likewise.
54137         (initialize): Set errno to 0.
54138         (main): Print number of errno tests.
54139         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54141 2013-04-29  Andreas Jaeger  <aj@suse.de>
54143         [BZ #15084]
54144         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54145         and RES_USEVC.
54147         [BZ #15085]
54148         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54149         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54150         unimplemented.
54152         [BZ #15380]
54153         * stdlib/random.c (__initstate): Return NULL if
54154         __initstate fails.
54156         [BZ #15086]
54157         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54158         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54159         RES_SNGLKUPREOP.
54161 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54165 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54167         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54168         of individual tests.
54169         (casin_test): Likewise.
54170         (casinh_test): Likewise.
54172 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54174         [BZ #15409]
54175         * math/s_catan.c (__catan): Handle arguments with large real or
54176         imaginary part separately without squaring.
54177         * math/s_catanf.c (__catanf): Likewise.
54178         * math/s_catanh.c (__catanh): Likewise.
54179         * math/s_catanhf.c (__catanhf): Likewise.
54180         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54181         and redefine.
54182         (__catanhl): Handle arguments with large real or imaginary part
54183         separately without squaring.
54184         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54185         and redefine.
54186         (__catanl): Handle arguments with large real or imaginary part
54187         separately without squaring.
54188         * math/libm-test.inc (catan_test): Add more tests.
54189         (catanh_test): Likewise.
54190         * sysdeps/i386/fpu/libm-test-ulps: Update.
54191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54193 2013-04-27  Andreas Jaeger  <aj@suse.de>
54195         [BZ #15007]
54196         * stdlib/stdlib.h: Update guards for qecvt.
54197         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54198         <stdlib.h>.
54200 2013-04-27  Allan McRae  <allan@archlinux.org>
54202         * sysdeps/i386/fpu/libm-test-ulps: Update.
54204 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54206         [BZ #15406]
54207         * math/s_catan.c: Include <float.h>.
54208         (__catan): Ensure underflow exception occurs for underflowed
54209         result.
54210         * math/s_catanf.c: Include <float.h>.
54211         (__catanf): Ensure underflow exception occurs for underflowed
54212         result.
54213         * math/s_catanh.c: Include <float.h>.
54214         (__catanh): Ensure underflow exception occurs for underflowed
54215         result.
54216         * math/s_catanhf.c: Include <float.h>.
54217         (__catanhf): Ensure underflow exception occurs for underflowed
54218         result.
54219         * math/s_catanhl.c: Include <float.h>.
54220         (__catanhl): Ensure underflow exception occurs for underflowed
54221         result.
54222         * math/s_catanl.c: Include <float.h>.
54223         (__catanl): Ensure underflow exception occurs for underflowed
54224         result.
54225         * math/libm-test.inc (catan_test): Add more tests.
54226         (catanh_test): Likewise.
54228         [BZ #15405]
54229         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54230         underflowed result.
54231         * math/s_ccoshf.c (__ccoshf): Likewise.
54232         * math/s_ccoshl.c (__ccoshl): Likewise.
54233         * math/s_csin.c (__csin): Likewise.
54234         * math/s_csinf.c (__csinf): Likewise.
54235         * math/s_csinh.c (__csinh): Likewise.
54236         * math/s_csinhf.c (__csinhf): Likewise.
54237         * math/s_csinhl.c (__csinhl): Likewise.
54238         * math/s_csinl.c (__csinl): Likewise.
54239         * math/libm-test.inc (ccos_test): Add more tests.
54240         (ccosh_test): Likewise.
54241         (csin_test): Likewise.
54242         (csinh_test): Likewise.
54244 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54246         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54247         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54248         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54249         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54250         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54251         powerpc/power5+/fpu folders.
54252         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54255 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54259 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54261         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54262         additions to variable.
54263         [$(config-machine) = x86_64] (modules-names): Likewise.
54264         ($(objpfx)tst-audit3): Remove dependency.
54265         ($(objpfx)tst-audit3.out): Likewise.
54266         ($(objpfx)tst-audit4): Likewise.
54267         ($(objpfx)tst-audit4.out): Likewise.
54268         ($(objpfx)tst-audit5): Likewise.
54269         ($(objpfx)tst-audit5.out): Likewise.
54270         ($(objpfx)tst-audit6): Likewise.
54271         ($(objpfx)tst-audit6.out): Likewise.
54272         ($(objpfx)tst-audit7): Likewise.
54273         ($(objpfx)tst-audit7.out): Likewise.
54274         (tst-audit3-ENV): Remove variable.
54275         (tst-audit4-ENV): Likewise.
54276         (tst-audit5-ENV): Likewise.
54277         (tst-audit6-ENV): Likewise.
54278         (tst-audit7-ENV): Likewise.
54279         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54280         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54281         addition to variable.
54282         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54283         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54284         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54285         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54286         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54287         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54288         tst-audit3, tst-audit4 and tst-audit5.
54289         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54290         tst-audit6 and tst-audit7.
54291         [$(subdir) = elf] (modules-names): Add audit modules for those
54292         tests.
54293         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54294         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54295         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54296         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54297         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54298         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54299         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54300         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54301         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54302         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54303         [$(subdir) = elf] (tst-audit3-ENV): New variable.
54304         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54305         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54306         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54307         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54308         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54309         Likewise.
54310         [$(subdir) = elf && $(config-cflags-avx) = yes]
54311         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54312         [$(subdir) = elf && $(config-cflags-avx) = yes]
54313         (CFLAGS-tst-auditmod4a.c): Likewise.
54314         [$(subdir) = elf && $(config-cflags-avx) = yes]
54315         (CFLAGS-tst-auditmod4b.c): Likewise.
54316         [$(subdir) = elf && $(config-cflags-avx) = yes]
54317         (CFLAGS-tst-auditmod6b.c): Likewise.
54318         [$(subdir) = elf && $(config-cflags-avx) = yes]
54319         (CFLAGS-tst-auditmod6c.c): Likewise.
54320         [$(subdir) = elf && $(config-cflags-avx) = yes]
54321         (CFLAGS-tst-auditmod7b.c): Likewise.
54322         * elf/tst-audit3.c: Move to ...
54323         * sysdeps/x86_64/tst-audit3.c: ... here.
54324         * elf/tst-audit4.c: Move to ...
54325         * sysdeps/x86_64/tst-audit4.c: ... here.
54326         * elf/tst-audit5.c: Move to ...
54327         * sysdeps/x86_64/tst-audit5.c: ... here.
54328         * elf/tst-audit6.c: Move to ...
54329         * sysdeps/x86_64/tst-audit6.c: ... here.
54330         * elf/tst-audit7.c: Move to ...
54331         * sysdeps/x86_64/tst-audit7.c: ... here.
54332         * elf/tst-auditmod3a.c: Move to ...
54333         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54334         * elf/tst-auditmod3b.c: Move to ...
54335         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54336         * elf/tst-auditmod4a.c: Move to ...
54337         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54338         * elf/tst-auditmod4b.c: Move to ...
54339         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54340         * elf/tst-auditmod5a.c: Move to ...
54341         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54342         * elf/tst-auditmod5b.c: Move to ...
54343         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54344         * elf/tst-auditmod6a.c: Move to ...
54345         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54346         * elf/tst-auditmod6b.c: Move to ...
54347         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54348         * elf/tst-auditmod6c.c: Move to ...
54349         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54350         * elf/tst-auditmod7a.c: Move to ...
54351         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54352         * elf/tst-auditmod7b.c: Move to ...
54353         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54355 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
54357         [BZ #15366]
54358         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54359         define unconditionally.
54360         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54361         define unconditionally.
54362         (INT8_C, INT16_C, etc.): Likewise.
54364 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
54366         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54367         __ehdr_start with hidden visibility.
54369         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54371 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
54373         * math/libm-test.inc (cos_test): Use accurate hex constants.
54374         (sincost_test): Likewise.
54376 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
54378         * math/libm-test.inc (catan_test): Add more tests.
54379         (catanh_test): Likewise.
54381         * math/s_catanf.c (__catanf): Use suffixed floating-point
54382         constants.
54383         * math/s_catanhf.c (__catanhf): Likewise.
54384         * math/s_catanhl.c (__catanhl): Likewise.
54385         * math/s_catanl.c (__catanl): Likewise.
54387         [BZ #15394]
54388         * math/s_catan.c (__catan): Calculate imaginary part of result
54389         with log1p not log unless computing log of number close to 0.
54390         * math/s_catanf.c (__catanf): Likewise.
54391         * math/s_catanl.c (__catanl): Likewise.
54392         * math/s_catanh.c (__catanh): Calculate real part of result with
54393         log1p not log unless computing log of number close to 0.
54394         * math/s_catanhf.c (__catanhf): Likewise.
54395         * math/s_catanhl.c (__catanhl): Likewise.
54396         * math/libm-test.inc (catan_test): Add more tests.
54397         (catanh_test): Likewise.
54398         * sysdeps/i386/fpu/libm-test-ulps: Update.
54399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54401 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54403         * benchtests/Makefile: Mention files in which fast and slow
54404         paths of math functions are implemented.
54406 2013-04-23  Roland McGrath  <roland@hack.frob.com>
54408         * sysdeps/posix/timespec_get.c: New file.
54410 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54412         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54413         POWER.
54414         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54415         for POWER.
54416         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54417         powerpc/power5/fpu folders.
54418         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54419         * benchtests/Makefile: Add modf testcase.
54420         * benchtests/bench-modf.c: New file: Benchmark test for mo
54422 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54424         [BZ #14888]
54425         * time/Makefile (tests): Add tst-strptime-whitespace.
54426         * time/strptime_l.c (get_number): Use ISSPACE.
54427         (__strptime_internal): Likewise.
54428         * time/tst-strptime-whitespace.c: New test case.
54430 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
54432         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54433         member.
54434         (_nss_files_init): Set it here.
54436 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
54438         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54439         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54440         unsigned.
54442 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54444         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54446 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54448         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54449         size just once.
54451 2013-04-21  David S. Miller  <davem@davemloft.net>
54453         * po/ru.po: Update Russion translation from translation project.
54455 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54457         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54458         and setfsgid.
54460 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54462         * configure.in: Remove i386 configure warning. Remove i386 case.
54463         * configure: Regenerate.
54464         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54465         Add example to error message.
54466         * sysdeps/i386/configure: Regenerate.
54468 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54470         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54471         slowtan.
54472         * benchtests/cos-inputs: New file.
54473         * benchtests/slowcos-inputs: New file.
54474         * benchtests/slowcos.c: New file.
54475         * benchtests/slowtan-inputs: New file.
54476         * benchtests/slowtan.c: New file.
54477         * benchtests/tan-inputs: New file.
54479 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54481         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54482         considered kosher.
54484 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54486         * benchtests/Makefile: Include cppflags-iterator.mk to add
54487         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54489         * Makefile.in (bench-clean): New target.
54490         * benchtests/Makefile (bench-clean): Likewise.
54492 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54494         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54496 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54498         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54500 2013-04-15  Andreas Schwab  <schwab@suse.de>
54502         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54503         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54504         * nscd/pwdcache.c (cache_addpw): Likewise.
54505         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54506         more than recsize.
54508 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54510         * benchtests/Makefile (bench): Write all output to
54511         bench-out.tmp together.
54513 2013-04-15  Andreas Schwab  <schwab@suse.de>
54515         * nscd/nscd.c (main): Don't fork again after closing files.
54517 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54519         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54521         * benchtests/Rules (bench-deps): Collect dependencies into a
54522         single variable.  Add Makefile to dependencies.
54523         ($(objpfx)bench-%.c): Depend on bench-deps.
54525 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54526             Xavier Roche  <roche+kml2@exalead.com>
54528         [BZ #15361]
54529         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54530         just that it's a file descriptor.
54531         * manual/llio.texi (Synchronizing AIO Operations): Update description
54532         for EBADF error from aio_fsync.
54534 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54536         * Rules (bench): Move target definition...
54537         * benchtests/Makefile: ... here.
54539 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54541         * math/libm-test.inc (cos_test): Fix PI/2 test.
54542         (sincos_test): Likewise.
54543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54544         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54546 2013-04-11  Andreas Schwab  <schwab@suse.de>
54548         [BZ #13988]
54549         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54550         accept exponent character only when digits were seen.
54551         * stdio-common/Makefile (tests): Add bug26.
54552         * stdio-common/bug26.c: New file.
54554         [BZ #14293]
54555         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54556         non-freeable.
54558 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54560         * Makeconfig (rtld-prefix): Define built linker prefix.
54561         * Rules (run-bench): Use it.
54562         * math/Makefile (run-regen-ulps): Likewise.
54564         * Rules (bench): Remove eval.
54566 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54567             Roland McGrath  <roland@hack.frob.com>
54568             Ondrej Bilka  <neleai@seznam.cz>
54570         [BZ #15346]
54571         * time/getdate.c: Include ctype.h and alloca.h.
54572         (__getdate_r): Trim leading and trailing spaces of input.
54573         * time/tst-getdate.c (tests): Add tests with leading and
54574         trailing spaces.
54576 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54578         [BZ #14280]
54579         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54580         when computing value.
54582 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54584         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54585         Use testrun.sh to run libm tests.
54587         [BZ #15309]
54588         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54590 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54592         [BZ #15264]
54593         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54595 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54597         * Makefile.in (regen-ulps): New target.
54598         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54599         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54600         [ifneq (no,$(PERL)] (regen-ulps): New target.
54601         [ifeq (no,$(PERL)] (regen-ulps): New target.
54602         * math/libm-test.inc (ulps_file_name): Define.
54603         (output_dir): New variable.
54604         (options): Add "output-dir" option.
54605         (parse_opt): Handle 'o' case.
54606         (main): If output_dir is non-NULL use it as a prefix
54607         otherwise use "".
54608         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54610 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54612         [BZ #10060, #10062]
54613         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54614         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54615         fail configure if __sync_val_compare_and_swap is not inlined.
54616         * sysdeps/i386/configure: Regenerate.
54617         * configure.in: Build for i686 when configured for i386.
54618         * configure: Regenerate.
54619         * README: Remove i386 reference.
54621 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54623         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54624         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54626 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54628         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54629         (lmsnanval): New variables.
54630         (F): Add conversion tests.
54631         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54632         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54634         * stdio-common/tstdiomisc.c (F): Properly collect individual
54635         tests' results.
54637         [BZ #14686, #15336]
54638         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54639         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54640         Instead, use input NaN values or generate a qNaN by arithmetic
54641         operation.  Also fix bugs to comply with the standard.
54642         * math/libm-test.inc (remainder_test): Add more tests.
54644         [BZ #15335, #15342]
54645         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54646         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54647         input NaN values or generate a qNaN by arithmetic operation.
54649         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54650         unreachable code.
54652         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54653         definitions.
54655 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54657         [BZ #14478]
54658         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54659         underflowed result.
54660         * math/s_cexpf.c (__cexpf): Likewise.
54661         * math/s_cexpl.c (__cexpl): Likewise.
54662         * math/libm-test.inc (cexp_test): Add more tests.
54664 2013-04-03  Andreas Schwab  <schwab@suse.de>
54666         [BZ #15330]
54667         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54668         order arrays from heap if bigger than alloca cutoff.
54670 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54672         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54673         (SNAN_TESTS_double): Refer to GCC PR56831.
54674         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54675         GCC PR56828.
54677 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54679         * Rules (bench): Move bench.out after the run is complete.
54681         * Rules (bench): Echo currently running benchmark.
54683         * benchtests/Makefile (bench): Add atan and slowatan.
54684         * benchtests/atan-inputs: New file.
54685         * benchtests/slowatan-inputs: New file.
54686         * benchtests/slowatan.c: New file.
54688         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54690         its value.
54692         [BZ #15305]
54693         * sysdeps/unix/sysv/linux/kernel-features.h
54694         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54695         __ASSUME_XFS_RESTRICTED_CHOWN.
54696         * sysdeps/unix/sysv/linux/pathconf.c
54697         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54698         Save and restore errno.
54700 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54702         [BZ #15327]
54703         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54704         arguments using __kernel_casinh.
54705         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54706         arguments using __kernel_casinhf.
54707         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54708         arguments using __kernel_casinhl.
54709         * math/libm-test.inc (cacosh_test): Add more tests.
54710         * sysdeps/i386/fpu/libm-test-ulps: Update.
54711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54713 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54715         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54718         * bench/Makefile (bench): Add sin and slowsin.
54719         * benchtests/sin-inputs: New file.
54720         * benchtests/slowsin-inputs: New file.
54721         * benchtests/slowsin.c: New file.
54723         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54724         (bench): Add slowexp and slowpow.
54725         (exp-ITER): Increase iterations.
54726         (pow-ITER): Likewise.
54727         * benchtests/exp-inputs: Change input.
54728         * benchtests/pow-inputs: Likewise.
54729         * benchtests/slowexp-inputs: New file.
54730         * benchtests/slowexp.c: New file.
54731         * benchtests/slowpow-inputs: New file.
54732         * benchtests/slowpow.c: New file.
54734 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54736         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54737         instructions.
54738         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54739         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54740         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54741         * benchtests/Makefile: Add rint benchtest.
54742         * benchtests/rint-inputs: Input for rint benchtest.
54744 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54746         * Versions.def (libm): Add GLIBC_2.18.
54747         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54748         hidden libm prototypes.
54749         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54750         * math/Makefile (libm-calls): Add s_issignaling.
54751         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54752         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54753         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54754         declaration.
54755         * math/math.h [__USE_GNU] (issignaling): New macro.
54756         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54757         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54759         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54760         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54761         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54762         * manual/arith.texi (issignaling): New section.
54763         * manual/libm-err-tab.pl (@all_functions): Update comment.
54764         * math/gen-libm-test.pl (parse_args): Apply special handling for
54765         issignaling.
54766         * math/libm-test.inc (print_float, issignaling_test): New
54767         functions.
54768         (check_float_internal): Add issignaling checks.
54769         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54770         default definition.
54771         * sysdeps/powerpc/math-tests.h: New file.
54772         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54773         tests.
54774         * math/test-snan.c (TEST_FUNC): Likewise.
54776 2013-03-30  David S. Miller  <davem@davemloft.net>
54778         * po/de.po: Update from translation team.
54780 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54782         [BZ #10357]
54783         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54784         imaginary part less than 1.0 and real part less than 0.5
54785         specially.
54786         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54787         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54788         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54789         (cacos_test): Add more tests.
54790         (casin_test): Likewise.
54791         (casinh_test): Likewise.
54792         * sysdeps/i386/fpu/libm-test-ulps: Update.
54793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54795 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54797         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54798         ONE with its value.
54800         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54801         (__pow_mp): Replace ONE and MONE with their values.
54802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54803         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54804         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54805         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54806         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54807         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54809         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54811         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54812         (__pow_mp): Replace ZERO and MZERO with their values.
54813         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54815         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54817         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54818         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54819         (__sqr): Likewise.
54821         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54823         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54825 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54827         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54828         Declare with __attribute__ ((weak)).
54829         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54830         Call __call_tls_dtors only if it's not NULL.
54832 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54834         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54835         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54836         magic __ehdr_start linker symbol if it's defined.
54837         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54838         them up here if it was already done.
54840         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54841         (_dl_aux_init): Use const in cast when setting it.
54842         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54843         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54844         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54846         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54847         Declare them here.
54848         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54849         * csu/libc-tls.c: Nor here.
54850         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54852         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54853         (__libc_message): Never call vsyslog.
54855 2013-03-28  Alan Modra  <amodra@gmail.com>
54857         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54858         Define as empty.
54859         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54860         Likewise.
54862 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54864         [BZ #15214]
54865         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54866         underflow.
54867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54869 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54871         [BZ #15304]
54872         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54873         Don't add gid passed as argument.
54875         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54877 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54879         [BZ #15307]
54880         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54881         imaginary part between 1.0 and 1.5 and real part less than 0.5
54882         specially.
54883         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54884         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54885         * math/libm-test.inc (cacos_test): Add more tests.
54886         (casin_test): Likewise.
54887         (casinh_test): Likewise.
54888         * sysdeps/i386/fpu/libm-test-ulps: Update.
54889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54891 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54893         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54894         constants.
54895         (norm): Likewise.
54896         (denorm): Likewise.
54897         (__dbl_mp): Likewise.
54898         (add_magnitudes): Likewise.
54899         (sub_magnitudes): Likewise.
54900         (__add): Likewise.
54901         (__sub): Likewise.
54902         (__mul): Likewise.
54903         (__sqr): Likewise.
54904         (__inv): Likewise.
54905         (__dvd): Likewise.
54907         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54908         commented code.
54909         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54910         (__dubcos): Likewise.
54911         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54912         (__ieee754_acos): Likewise.
54913         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54914         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54915         (__exp1): Likewise.
54916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54917         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54918         (log1): Likewise.
54919         (my_log2): Likewise.
54920         (checkint): Likewise.
54921         * sysdeps/ieee754/dbl-64/e_remainder.c
54922         (__ieee754_remainder): Likewise.
54923         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54925         (bsloww): Likewise.
54926         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54928         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54929         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54930         MANTISSA_STORE_T to store computations on mantissa.  Use
54931         macros for rounding and division.
54932         (denorm): Likewise.
54933         (__dbl_mp): Likewise.
54934         (add_magnitudes): Likewise.
54935         (sub_magnitudes): Likewise.
54936         (__mul): Likewise.
54937         (__sqr): Likewise.
54938         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54939         powers of two in terms of TWOPOW macro.
54940         (mp_no): Make type of mantissa as MANTISSA_T.
54941         [!RADIXI]: Define RADIXI.
54942         [!TWO52]: Define TWO52.
54943         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54945 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54947         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54948         llroundl symbol when building for PPC32.
54950 2013-03-24  Mark H Weaver  <mhw@netris.org>
54952         * manual/arith.texi (Normalization Functions): Fix prototypes for
54953         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54955 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54957         [BZ #13889]
54958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54959         high value to check if expl overflow.
54960         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54961         to check for underflow and overflow.
54962         * math/libm-test.inc: Add exp test.
54964 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54966         [BZ #11120]
54967         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54968         with NOT_IN_libc.
54970 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54972         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54973         symbol.
54975 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54977         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54978         wrap blocks consisting of several statements.
54980         * sysdeps/generic/math-tests.h: New file.
54981         * sysdeps/i386/fpu/math-tests.h: Likewise.
54982         * math/test-snan.c: Include it.
54983         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54985 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54987         [BZ #15285]
54988         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54989         (__ieee754_j0l): Do not improve calculations using cos of twice
54990         input for inputs above LDBL_MAX / 2.0L.
54991         (__ieee754_y0l): Likewise.
54992         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54993         (__ieee754_j1l): Do not improve calculations using cos of twice
54994         input for inputs above LDBL_MAX / 2.0L.
54995         (__ieee754_y1l): Likewise.
54996         * math/libm-test.inc (j0_test): Add another test.
54997         (j1_test): Likewise.
54998         (y0_test): Likewise.
54999         (y1_test): Likewise.
55000         * sysdeps/i386/fpu/libm-test-ulps: Update.
55002 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55004         * Rules ($(objpfx)bench-%.c): Include code from a C source
55005         file.
55007 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55009         [BZ #15287]
55010         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55011         imaginary part 1.0 and real part less than 0.5 specially.
55012         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55013         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55014         * math/libm-test.inc (cacos_test): Add more tests.
55015         (casin_test): Likewise.
55016         (casinh_test): Likewise.
55017         * sysdeps/i386/fpu/libm-test-ulps: Update.
55018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55020 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55022         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55023         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55025 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55027         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55028         * config.make.in (config-cflags-sse4): Remove variable.
55029         (config-cflags-avx): Likewise.
55030         (config-cflags-sse2avx): Likewise.
55031         (config-cflags-novzeroupper): Likewise.
55032         (config-asflags-i686): Likewise.
55033         (have-mfma4): Likewise.
55034         (have-as-vis3): Likewise.
55035         (MIG): Likewise.
55036         * configure.in (MIG): Do not AC_SUBST.
55037         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55038         (libc_cv_cc_sse4): Do not AC_SUBST.
55039         (libc_cv_cc_avx): Likewise.
55040         (libc_cv_cc_sse2avx): Likewise.
55041         (libc_cv_cc_novzeroupper): Likewise.
55042         (libc_cv_cc_fma4): Likewise.
55043         (libc_cv_as_i686): Likewise.
55044         (libc_cv_sparc_as_vis3): Likewise.
55045         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55046         LIBC_CONFIG_VAR.
55047         (config-asflags-i686): Likewise.
55048         (config-cflags-avx): Likewise.
55049         (config-cflags-sse2avx): Likewise.
55050         (have-mfma4): Likewise.
55051         (config-cflags-novzeroupper): Likewise.
55052         * sysdeps/mach/configure.in (MIG): Likewise.
55053         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55054         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55055         LIBC_CONFIG_VAR.
55056         (config-cflags-avx): Likewise.
55057         (config-cflags-sse2avx): Likewise.
55058         (have-mfma4): Likewise.
55059         (config-cflags-novzeroupper): Likewise.
55060         * configure: Regenerated.
55061         * sysdeps/i386/configure: Likewise.
55062         * sysdeps/mach/configure: Likewise.
55063         * sysdeps/sparc/configure: Likewise.
55064         * sysdeps/x86_64/configure: Likewise.
55066 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55068         [BZ #14812]
55069         * locale/programs/localedef.c (options): Put N_ translation marker
55070         on argument names, not just descriptions.
55072 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55074         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55076 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55078         [BZ #14176]
55079         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55081 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55083         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55084         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55085         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55086         [!BEFORE_ABORT] (before_abort): New function.
55087         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55088         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55089         (writev_for_fatal): New function.
55090         (WRITEV_FOR_FATAL): New macro; call that.
55091         (backtrace_and_maps): New function.
55092         (BEFORE_ABORT): New macro; call that.
55093         (struct str_list): Type removed.
55094         (__libc_message, __libc_fatal): Functions removed.
55095         Include <sysdeps/posix/libc_fatal.c> instead.
55097 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55099         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55100         constants.
55101         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55102         double constants.
55104 2013-03-19  Andreas Schwab  <schwab@suse.de>
55106         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55107         * sysdeps/gnu/configure: Regenerate.
55109         * configure.in: Substitute libc_cv_rtlddir.
55110         * configure: Regenerate.
55111         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55112         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55113         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55114         * elf/Makefile (install-others, CFLAGS-interp.c)
55115         (ldso_install, common-ldd-rewrite): Likewise.
55116         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55117         $(inst_slibdir)/$(rtld-installed-name).
55118         * scripts/rellns-sh: Add -p option.
55119         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55120         for source.
55122 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55124         * manual/nptl.texi: Renamed to ...
55125         * manual/threads.texi: ... this.
55126         * manual/Makefile (chapters): Update.
55128 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55130         [BZ #14812]
55131         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55132         on argument names, not just descriptions.
55133         * malloc/memusagestat.c (options): Likewise.
55134         * nss/getent.c (options): Likewise.
55136 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55138         [BZ #14812]
55139         * iconv/iconv_prog.c (options): Put N_ translation marker
55140         on argument names, not just descriptions.
55141         * iconv/iconvconfig.c (options): Likewise.
55143 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55145         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55146         implementation which is faster on all x86_64 architectures.
55147         Tested on AMD, Intel Nehalem, SNB, IVB.
55148         * sysdeps/x86_64/strnlen.S: Likewise.
55150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55151         Remove all multiarch strlen and strnlen versions.
55152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55153         Remove strlen and strnlen related parts.
55155         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55156         Inline strlen part.
55157         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55159         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55160         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55161         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55162         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55163         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55164         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55166 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55168         * manual/memory.texi (Malloc Tunable Parameters):
55169         Sort parameters alphabetically. Add comments for missing entries.
55171 2013-03-17  David S. Miller  <davem@davemloft.net>
55173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55175 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55177         [BZ #15283]
55178         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55179         for arguments at most half maximum finite value.
55180         * math/libm-test.inc (j0_test): Add more tests.
55181         (j1_test): Likewise.
55182         (y0_test): Likewise.
55183         (y1_test): Likewise.
55184         * sysdeps/i386/fpu/libm-test-ulps: Update.
55185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55187         [BZ #14155]
55188         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55189         1 / x and functions P and Q for arguments above 0x1p256L.
55190         (__ieee754_y0l): Likewise.
55191         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55192         (__ieee754_y1l): Likewise.
55193         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55194         (j1_test): Likewise.
55195         (y0_test): Likewise.
55196         (y1_test): Likewise.
55198 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55200         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55201         variable.
55203 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55205         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55206         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55207         zero since it's initialized to EXEC_PAGESIZE.
55209         * sysdeps/unix/sysv/linux/ldsodefs.h
55210         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55211         * sysdeps/generic/ldsodefs.h: ... here.
55213 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55215         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55217         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55218         math/test-snan.c.
55219         * math/test-snan.c: Renamed from
55220         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55221         * math/Makefile (tests): Add test-snan.
55222         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55223         test-powerpc-snan.
55225         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55226         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55227         functions.
55228         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55229         __builtin_nan family of functions.
55230         * math/libm-test.inc (initialize): Initialize qnan_value with
55231         __builtin_nan family of functions.
55232         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55233         Remove variables.
55234         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55235         Remove functions.
55236         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55237         storage class.  Initialize qNaN_var and sNaN_var with
55238         __builtin_nan and __builtin_nans families of functions,
55239         respectively.
55241         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55242         (sqrt_test): Remove duplicate test with qNaN input.
55243         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55244         (round_test, signbit_test, significand_test): Note missing +/-Inf
55245         as well as qNaN tests.
55247         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55248         qNaN_var.  Fix a few strings, too.
55249         * math/libm-test.inc (nan_value): Rename to qnan_value.
55250         * math/gen-libm-test.pl (%beautify): Adjust to that.
55251         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55252         * math/test-misc.c (main): Likewise.
55253         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55254         to __qnan_bytes, and __qnan_union, respectively.
55255         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55256         Likewise.
55257         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55258         and lqnanval, respectively.
55259         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55260         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55261         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55262         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55264         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55265         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55266         doubles.
55268         * math/test-misc.c (main): Fix copy'n'pastos.
55269         * misc/tst-efgcvt.c (special): Likewise.
55271         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55272         Remove declarations.
55274 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55276         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55277         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55278         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55279         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55281 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55284         macro to return vdso values correctly in IFUNC implementations.
55285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55286         Optimization by using IFUNC.
55288 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55289             Richard Henderson  <rth@redhat.com>
55290             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55292         * Makefile.in (bench): New target.
55293         * NEWS: Mention the benchmark framework.
55294         * Rules (bench): Likewise.
55295         (binaries-bench): Generate binaries for functions to
55296         benchmark.
55297         * benchtests/Makefile: New makefile for benchmark tests.
55298         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55299         programs.
55300         * benchtests/exp-inputs: New input file for EXP function.
55301         * benchtests/pow-inputs: New input file for POW function.
55302         * scripts/bench.pl: New script to generate source files for
55303         benchmark programs.
55305 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55307         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55308         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55309         computations on mantissa.  Use macros for rounding and
55310         division.
55311         (denorm): Likewise.
55312         (__dbl_mp): Likewise.
55313         (add_magnitudes): Likewise.
55314         (sub_magnitudes): Likewise.
55315         (__mul): Likewise.
55316         (__sqr): Likewise.
55317         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55318         powers of two in terms of TWOPOW macro.
55319         (mp_no): Make type of mantissa as MANTISSA_T.
55320         [!RADIXI]: Define RADIXI.
55321         [!TWO52]: Define TWO52.
55322         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55324         * manual/nptl.texi (cindex): Modify threads to pthreads.
55326 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
55328         * sysdeps/x86_64/preconfigure: Regenerated.
55330 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
55332         [BZ #14155]
55333         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55334         0x1p28 and above.
55335         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55336         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55337         0x1p28 and above.
55338         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55339         * math/libm-test.inc (j0_test): Do not allow one spurious
55340         underflow exception.
55341         (y1_test): Likewise.
55343 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55345         * manual/Makefile (chapters): Add nptl.
55346         * manual/debug.texi (Debugging Support): Add link to Threads
55347         chapter.
55348         * manual/nptl.texi: New file.
55350         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55352 2013-03-14  Petr Baudis  <pasky@ucw.cz>
55354         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55355         for non-NULL pointer before the memory validity test. Pointed
55356         out by Holger Brunck <holger.brunck@keymile.com>.
55358 2013-03-13  Andreas Schwab  <schwab@suse.de>
55360         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55361         instead of .os.
55363 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
55365         * timezone/zic.c: Update from tzcode 2013b.
55367 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
55369         * manual/install.texi (Configuring and compiling):
55370         Mention i686 and i586.
55371         * INSTALL: Regenerate.
55373 2013-03-12  Roland McGrath  <roland@hack.frob.com>
55375         * sysdeps/init_array/elf-init.c: New file.
55376         * csu/elf-init.c
55377         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55378         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55380         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55381         __gmon_start__ as global, but as static with a .preinit_array pointer.
55382         * sysdeps/init_array/gmon-start.c: New file.  Use that.
55383         * sysdeps/init_array/crti.S: New file, empty except for comments.
55384         * sysdeps/init_array/crtn.S: Likewise.
55386 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
55388         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55389         definining bcopy.
55390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55391         Remove Prefer_SSE_for_memop.
55392         * sysdeps/x86_64/multiarch/init-arch.h: Remove
55393         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55394         HAS_PREFER_SSE_FOR_MEMOP.
55395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55396         memset-x86-64.
55397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55398         Remove bzero, memset ifunc support.
55399         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55400         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55404 2013-03-11  Andreas Schwab  <schwab@suse.de>
55406         [BZ #15234]
55407         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55408         by SHLIB_COMPAT.
55409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55410         (GLIBC_2.16): Remove pthread_atfork.
55412 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
55414         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55415         (ptestcases.h): Likewise.
55417 2013-03-08  Roland McGrath  <roland@hack.frob.com>
55419         * Makeconfig ($(common-objpfx)config.status): Depend on
55420         sysdeps/*/preconfigure{,.in} too.
55422 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
55424         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55425         (__free_hook): Use void * instead of __malloc_ptr_t.
55426         (__malloc_hook): Likewise.
55427         (__realloc_hook): Likewise.
55428         (__memalign_hook): Likewise.
55429         (__after_morecore_hook): Likewise.
55430         * malloc/arena.c (save_malloc_hook): Likewise.
55431         (save_free_hook): Likewise.
55432         * malloc/hooks.c (malloc_hook_ini): Likewise.
55433         (realloc_hook_ini): Likewise.
55434         (memalign_hook_ini): Likewise.
55435         * malloc/malloc.c (malloc_hook_ini): Likewise.
55436         (realloc_hook_ini): Likewise.
55437         (memalign_hook_ini): Likewise.
55438         (__free_hook): Likewise.
55439         (__malloc_hook): Likewise.
55440         (__realloc_hook): Likewise.
55441         (__memalign_hook): Likewise.
55442         (__libc_malloc): Likewise.
55443         (__libc_free): Likewise.
55444         (__libc_realloc): Likewise.
55445         (__libc_memalign): Likewise.
55446         (__libc_valloc): Likewise.
55447         (__libc_pvalloc): Likewise.
55448         (__libc_calloc): Likewise.
55449         (__posix_memalign): Likewise.
55450         * malloc/morecore.c (__sbrk): Likewise.
55451         (__default_morecore): Likewise.
55453         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55455         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55456         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55457         __malloc_ptrdiff_t.
55459         * malloc/malloc.h (__malloc_size_t): Remove macro.
55460         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55461         __malloc_size_t.
55462         (old_memalign_hook): Likewise.
55463         (old_realloc_hook): Likewise.
55464         (struct hdr): Likewise.
55465         (flood): Likewise.
55466         (mallochook): Likewise.
55467         (memalignhook): Likewise.
55468         (reallochook): Likewise.
55469         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55470         (tr_old_realloc_hook): Likewise.
55471         (tr_old_memalign_hook): Likewise.
55472         (tr_mallochook): Likewise.
55473         (tr_reallochook): Likewise.
55474         (tr_memalignhook): Likewise.
55476 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55479         default_ldbl_pack and using as default implementation.
55480         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55481         implementation.
55482         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55483         redundant definition.
55484         (ldbl_insert_mantissa): Likewise.
55485         (ldbl_canonicalize): Likewise.
55486         (ldbl_nearbyint): Likewise.
55487         (ldbl_pack): Rename to ldbl_pack_ppc.
55488         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55489         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55490         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55492 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55495         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55496         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55497         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55499         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55500         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55501         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55503 2013-03-07  Andreas Jaeger  <aj@suse.de>
55505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55506         bits/mman-linux.h.
55508 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55510         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55511         Include mpa.h and declare __MPEXP.
55512         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55513         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55514         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55515         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55516         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55517         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55518         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55520         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55521         (__slowpow): Use long double EXPL and LOGL functions to
55522         compute POW.
55523         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55524         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55525         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55526         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55527         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55528         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55531         intermediate variable to calculate exponent.
55532         (__sqr): Likewise.
55533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55534         Likewise.
55535         (__sqr): Likewise.
55537         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55538         [!NO__SQR]: Define __sqr.
55539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55540         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55541         sysdeps/ieee754/dbl-64/mpa.c.
55542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55544         [BZ #12723]
55545         * posix/Makefile (tests): Add tst-pathconf.
55546         * posix/tst-pathconf.c: New test case.
55547         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55548         _PC_PIPE_BUF.
55549         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55551 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55553         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55555 2013-03-06  Andreas Jaeger  <aj@suse.de>
55557         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55558         definition via __MAP_ANONYMOUS.
55560         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55561         it's not part of Linux headers.
55563         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55564         (MAP_HUGE_MASK): Define.
55566         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55567         Define.
55568         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55570         Define.
55571         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55572         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55573         Define.
55574         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55575         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55576         Define.
55577         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55579         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55580         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55581         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55582         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55583         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55584         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55586         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55587         Handle f2fs.
55589         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55590         Handle f2fs and efivarfs.
55592         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55593         f2fs.
55595         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55596         (EFIVARFS_MAGIC): Add.
55597         (F2FS_LINK_MAX): Add.
55599 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55601         * stdio-common/vfprintf.c: Replace __builtin_expect with
55602         __glibc_unlikely.
55604 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55606         [BZ #13550]
55607         * sysdeps/generic/bp-sym.h: Remove file.
55608         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55609         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55610         <bp-sym.h> and <bp-asm.h>.
55611         (__longjmp): Don't use BP_SYM.
55612         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55613         and <bp-asm.h>.
55614         (memcpy): Don't use BP_SYM.
55615         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55616         <bp-sym.h> and <bp-asm.h>.
55617         (memcpy): Don't use BP_SYM.
55618         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55619         <bp-asm.h>.
55620         (memcpy): Don't use BP_SYM.
55621         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55622         <bp-asm.h>.
55623         (memset): Don't use BP_SYM.
55624         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55625         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55626         (__bzero): Don't use BP_SYM.
55627         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55628         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55629         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55630         <bp-sym.h> and <bp-asm.h>.
55631         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55632         pointers.
55633         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55634         <bp-sym.h> and <bp-asm.h>.
55635         (memcpy): Don't use BP_SYM.
55636         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55637         <bp-sym.h> and <bp-asm.h>.
55638         (memset): Don't use BP_SYM.
55639         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55640         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55641         (__bzero): Don't use BP_SYM.
55642         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55643         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55644         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55645         <bp-sym.h> and <bp-asm.h>.
55646         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55647         pointers.
55648         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55649         <bp-sym.h> and <bp-asm.h>.
55650         (memcpy): Don't use BP_SYM.
55651         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55652         <bp-sym.h> and <bp-asm.h>.
55653         (memset): Don't use BP_SYM.
55654         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55655         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55656         (__bzero): Don't use BP_SYM.
55657         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55658         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55660         <bp-sym.h> and <bp-asm.h>.
55661         (__memchr): Don't use BP_SYM.
55662         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55663         <bp-sym.h> and <bp-asm.h>.
55664         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55665         pointers.
55666         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55667         <bp-sym.h> and <bp-asm.h>.
55668         (memcpy): Don't use BP_SYM.
55669         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55670         <bp-sym.h> and <bp-asm.h>.
55671         (__mempcpy): Don't use BP_SYM.
55672         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55673         <bp-sym.h> and <bp-asm.h>.
55674         (__memrchr): Don't use BP_SYM.
55675         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55676         <bp-sym.h> and <bp-asm.h>.
55677         (memset): Don't use BP_SYM.
55678         (__bzero): Likewise.
55679         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55680         <bp-sym.h> and <bp-asm.h>.
55681         (__rawmemchr): Don't use BP_SYM.
55682         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55683         <bp-sym.h> and <bp-asm.h>.
55684         (__STRCMP): Don't use BP_SYM.
55685         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55686         <bp-sym.h> and <bp-asm.h>.
55687         (strchr): Don't use BP_SYM.
55688         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55689         <bp-sym.h> and <bp-asm.h>.
55690         (__strchrnul): Don't use BP_SYM.
55691         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55692         <bp-sym.h> and <bp-asm.h>.
55693         (strlen): Don't use BP_SYM.
55694         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55695         <bp-sym.h> and <bp-asm.h>.
55696         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55697         pointers.
55698         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55699         <bp-sym.h> and <bp-asm.h>.
55700         (__strnlen): Don't use BP_SYM.
55701         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55702         <bp-sym.h> and <bp-asm.h>.
55703         (__GI__setjmp): Don't use BP_SYM.
55704         (_setjmp): Likewise.
55705         (__sigsetjmp): Likewise.
55706         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55707         (L(start_addresses)): Don't use BP_SYM.
55708         (_start): Likewise.
55709         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55710         <bp-asm.h>.
55711         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55712         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55713         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55714         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55715         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55716         <bp-asm.h>.
55717         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55718         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55719         about bounded pointers.
55720         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55721         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55722         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55723         <bp-asm.h>.
55724         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55725         about bounded pointers.  Remove GKM FIXME comments.
55726         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55727         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55728         <bp-asm.h>.
55729         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55730         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55731         Remove GKM FIXME comments.
55732         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55733         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55734         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55735         <bp-asm.h>.
55736         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55737         about bounded pointers.  Remove GKM FIXME comment.
55738         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55739         and <bp-asm.h>.
55740         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55741         pointers.
55742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55743         <bp-sym.h> and <bp-asm.h>.
55744         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55746         <bp-sym.h> and <bp-asm.h>.
55747         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55748         comment.
55750 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55752         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55753         call free(NULL).
55755 2013-03-05  David S. Miller  <davem@davemloft.net>
55757         * po/es.po: Update from translation team.
55759 2013-03-05  Andreas Jaeger  <aj@suse.de>
55761         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55762         <bits/mman-linux.h>.
55763         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55764         is fine.
55765         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55766         <bits/mman-linux.h> to end of file.
55767         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55768         is fine.
55769         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55770         <bits/mman-linux.h> to end of file.
55771         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55772         is fine.
55773         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55774         <bits/mman-linux.h> to end of file.
55776         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55777         (MCL_CURRENT, MCL_FUTURE): Define here.
55779 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55781         [BZ #15232]
55782         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55783         attribute_hidden.
55784         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55786 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55788         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55789         fourth parameter needed for rt_sigprocmask syscall.
55790         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55791         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55792         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55793         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55794         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55795         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55797 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55799         [BZ #13550]
55800         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55801         comment about bounded pointers.
55802         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55803         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55805 2013-03-04  Andreas Jaeger  <aj@suse.de>
55807         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55808         common definitions.
55810         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55811         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55812         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55813         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55814         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55815         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55817 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55819         [BZ #15055]
55820         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55821         __ieee754_sqrl instead of __sqrl.
55823 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55825         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55826         * sysdeps/powerpc/fpu_control.h: ... here.
55827         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55828         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55829         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55830         * sysdeps/powerpc/bits/mathinline.h: ... here.
55832 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55834         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55835         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55836         to just [NEED_DL_SYSINFO_DSO].
55837         * elf/dl-support.c: Likewise.
55838         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55839         * elf/rtld.c (dl_main): Likewise.
55840         * elf/setup-vdso.h (setup_vdso): Likewise.
55841         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55842         * sysdeps/unix/sysv/linux/dl-sysdep.c
55843         (_dl_discover_osversion): Likewise.
55845 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55847         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55848         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55850 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55852         * NEWS: Mention libm performance improvements and non-x86 PI
55853         futex support.
55855         * csu/libc-start.c (__pthread_initialize_minimal): Change
55856         function arguments.
55857         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55859 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55861         [BZ #13550]
55862         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55863         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55864         <bp-sym.h> and <bp-asm.h>.
55865         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55866         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55867         and <bp-asm.h>.
55868         (memcpy): Don't use BP_SYM.
55869         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55870         <bp-asm.h>.
55871         (__mpn_add_n): Don't use BP_SYM.
55872         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55873         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55874         and <bp-asm.h>.
55875         (__mpn_addmul_1): Don't use BP_SYM.
55876         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55877         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55878         <bp-sym.h>.
55879         (_setjmp): Don't use BP_SYM.
55880         (__novmx_setjmp): Likewise.
55881         (__GI__setjmp): Likewise.
55882         (__vmx_setjmp): Likewise.
55883         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55884         <bp-sym.h>.
55885         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55886         (__bzero): Don't use BP_SYM.
55887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55889         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55890         <bp-sym.h> and <bp-asm.h>.
55891         (memcpy): Don't use BP_SYM.
55892         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55893         <bp-sym.h> and <bp-asm.h>.
55894         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55895         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55896         <bp-sym.h> and <bp-asm.h>.
55897         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55898         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55899         <bp-asm.h>.
55900         (__mpn_lshift): Don't use BP_SYM.
55901         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55902         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55903         <bp-asm.h>.
55904         (memset): Don't use BP_SYM.
55905         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55906         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55907         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55908         <bp-asm.h>.
55909         (__mpn_mul_1): Don't use BP_SYM.
55910         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55912         <bp-sym.h> and <bp-asm.h>.
55913         (memcmp): Don't use BP_SYM.
55914         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55915         <bp-sym.h> and <bp-asm.h>.
55916         (memcpy): Don't use BP_SYM.
55917         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55918         <bp-sym.h> and <bp-asm.h>.
55919         (memset): Don't use BP_SYM.
55920         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55921         <bp-sym.h> and <bp-asm.h>.
55922         (strncmp): Don't use BP_SYM.
55923         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55924         <bp-sym.h> and <bp-asm.h>.
55925         (memcpy): Don't use BP_SYM.
55926         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55927         <bp-sym.h> and <bp-asm.h>.
55928         (memset): Don't use BP_SYM.
55929         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55930         <bp-sym.h> and <bp-asm.h>.
55931         (__memchr): Don't use BP_SYM.
55932         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55933         <bp-sym.h> and <bp-asm.h>.
55934         (memcmp): Don't use BP_SYM.
55935         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55936         <bp-sym.h> and <bp-asm.h>.
55937         (memcpy): Don't use BP_SYM.
55938         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55939         <bp-sym.h> and <bp-asm.h>.
55940         (__mempcpy): Don't use BP_SYM.
55941         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55942         <bp-sym.h> and <bp-asm.h>.
55943         (__memrchr): Don't use BP_SYM.
55944         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55945         <bp-sym.h> and <bp-asm.h>.
55946         (memset): Don't use BP_SYM.
55947         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55948         <bp-sym.h> and <bp-asm.h>.
55949         (__rawmemchr): Don't use BP_SYM.
55950         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55951         <bp-sym.h> and <bp-asm.h>.
55952         (__STRCMP): Don't use BP_SYM.
55953         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55954         <bp-sym.h> and <bp-asm.h>.
55955         (strchr): Don't use BP_SYM.
55956         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55957         <bp-sym.h> and <bp-asm.h>.
55958         (__strchrnul): Don't use BP_SYM.
55959         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55960         <bp-sym.h> and <bp-asm.h>.
55961         (strlen): Don't use BP_SYM.
55962         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55963         <bp-sym.h> and <bp-asm.h>.
55964         (strncmp): Don't use BP_SYM.
55965         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55966         <bp-sym.h> and <bp-asm.h>.
55967         (__strnlen): Don't use BP_SYM.
55968         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55969         <bp-asm.h>.
55970         (__mpn_rshift): Don't use BP_SYM.
55971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55972         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55973         <bp-sym.h> and <bp-asm.h>.
55974         (__sigsetjmp): Don't use BP_SYM.
55975         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55976         (L(start_addresses)): Don't use BP_SYM.
55977         (_start): Likewise.
55978         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55979         <bp-asm.h>.
55980         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55981         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55982         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55983         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55984         <bp-asm.h>.
55985         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55986         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55987         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55988         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55989         <bp-asm.h>.
55990         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55991         comments.
55992         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55993         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55994         <bp-asm.h>.
55995         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55996         FIXME comments.
55997         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55998         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55999         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56000         <bp-asm.h>.
56001         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56002         comment.
56003         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56004         and <bp-asm.h>.
56005         (strncmp): Don't use BP_SYM,
56006         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56007         <bp-asm.h>.
56008         (__mpn_sub_n): Don't use BP_SYM.
56009         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56010         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56011         and <bp-asm.h>.
56012         (__mpn_submul_1): Don't use BP_SYM.
56013         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56015         <bp-sym.h> and <bp-asm.h>.
56016         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56018         <bp-sym.h> and <bp-asm.h>.
56019         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56020         comment.
56022 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56025         Use ZK to minimize writes to Z.
56026         (sub_magnitudes): Simplify code a bit.
56027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56028         Use ZK to minimize writes to Z.
56029         (sub_magnitudes): Simplify code a bit.
56031 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56033         * csu/gmon-start.c: Add special exception to license text.
56035 2013-02-27  Richard Henderson  <rth@redhat.com>
56037         * scripts/config.guess: Update from config.git.
56038         * scripts/config.sub: Likewise.
56040 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56042         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56044         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56046         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56048         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56050         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56052 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56054         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56055         [$(build-shared = yes].
56057 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56059         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56060         (__mul): Reduce iterations for calculating mantissa.
56062         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56063         MPTWO.
56064         (__mpranred): Likewise.
56066         [BZ #15160]
56067         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56068         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56070 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56072         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56073         Define __attribute__.
56075 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56077         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56078         unused.
56079         * posix/regex_internal.h (__attribute): Remove.
56080         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56081         (re_string_context_at): Likewise.
56082         (bitset_not): Use __attribute__ and mark function as possibly
56083         unused.
56084         (bitset_merge): Likewise.
56085         (bitset_mask): Likewise.
56086         (re_string_char_size_at): Likewise.
56087         (re_string_wchar_at): Likewise.
56088         (re_string_elem_size_at): Likewise.
56090 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56092         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56093         code.
56094         (cc32): Likewise.
56096         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56097         (__acr): Likewise.
56098         (__cpy): Likewise.
56099         (norm): Likewise.
56100         (denorm): Likewise.
56101         (__dbl_mp): Likewise.
56102         (add_magnitudes): Likewise.
56103         (sub_magnitudes): Likewise.
56104         (__mul): Likewise.
56105         (__inv): Likewise.
56107         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56108         style.
56110         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56111         style.
56113         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56114         code.
56116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56117         up changes with default code.
56118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56119         Likewise.
56121 2013-02-24  Allan McRae  <allan@archlinux.org>
56123         * manual/socket.texi (The Internet Namespace): Order menu items
56124         to match that in the file.
56126         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56127         node listing of the info page menu.
56129 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56131         [BZ #13550]
56132         * sysdeps/i386/bp-asm.h: Remove file.
56133         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56134         (PARMS): Do not use macros from bp-asm.h.
56135         (S1): Likewise.
56136         (S2): Likewise.
56137         (SIZE): Likewise.
56138         (__mpn_add_n): Do not use BP_SYM
56139         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56140         "bp-asm.h".
56141         (PARMS): Do not use macros from bp-asm.h.
56142         (S1): Likewise.
56143         (SIZE): Likewise.
56144         (__mpn_addmul_1): Do not use BP_SYM
56145         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56146         "bp-asm.h".
56147         (PARMS): Do not use macros from bp-asm.h.
56148         (SIGMSK): Likewise.
56149         (_setjmp): Likewise.  Do not use BP_SYM.
56150         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56151         "bp-asm.h".
56152         (PARMS): Do not use macros from bp-asm.h.
56153         (SIGMSK): Likewise.
56154         (setjmp): Likewise.  Do not use BP_SYM.
56155         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56156         "bp-asm.h".
56157         (PARMS): Do not use macros from bp-asm.h.
56158         (__frexp): Do not use BP_SYM.
56159         (frexp): Likewise.
56160         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56161         "bp-asm.h".
56162         (PARMS): Do not use macros from bp-asm.h.
56163         (__frexpf): Do not use BP_SYM.
56164         (frexpf): Likewise.
56165         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56166         "bp-asm.h".
56167         (PARMS): Do not use macros from bp-asm.h.
56168         (__frexpl): Do not use BP_SYM.
56169         (frexpl): Likewise.
56170         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56171         "bp-asm.h".
56172         (PARMS): Do not use macros from bp-asm.h.
56173         (__remquo): Do not use BP_SYM.
56174         (remquo): Likewise.
56175         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56176         "bp-asm.h".
56177         (PARMS): Do not use macros from bp-asm.h.
56178         (__remquof): Do not use BP_SYM.
56179         (remquof): Likewise.
56180         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56181         "bp-asm.h".
56182         (PARMS): Do not use macros from bp-asm.h.
56183         (__remquol): Do not use BP_SYM.
56184         (remquol): Likewise.
56185         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56186         "bp-asm.h".
56187         (PARMS): Do not use macros from bp-asm.h.
56188         (DEST): Likewise.
56189         (SRC): Likewise.
56190         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56191         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56192         "bp-asm.h".
56193         (PARMS): Do not use macros from bp-asm.h.
56194         (strlen): Do not use BP_SYM.
56195         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56196         "bp-asm.h".
56197         (PARMS): Do not use macros from bp-asm.h.
56198         (S1): Likewise.
56199         (S2): Likewise.
56200         (SIZE): Likewise.
56201         (__mpn_add_n): Do not use BP_SYM.
56202         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56203         "bp-asm.h".
56204         (PARMS): Do not use macros from bp-asm.h.
56205         (S1): Likewise.
56206         (SIZE): Likewise.
56207         (__mpn_addmul_1): Do not use BP_SYM.
56208         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56209         weak_alias.
56210         (bzero): Likewise.
56211         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56212         "bp-asm.h".
56213         (PARMS): Do not use macros from bp-asm.h.
56214         (S): Likewise.
56215         (SIZE): Likewise.
56216         (__mpn_lshift): Do not use BP_SYM.
56217         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56218         "bp-asm.h".
56219         (PARMS): Do not use macros from bp-asm.h.
56220         (DEST): Likewise.
56221         (SRC): Likewise.
56222         (LEN): Likewise.
56223         (memcpy): Likewise.  Do not use BP_SYM.
56224         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56225         libc_hidden_def and weak_alias.
56226         (mempcpy): Do not use BP_SYM in weak_alias.
56227         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56228         "bp-asm.h".
56229         (PARMS): Do not use macros from bp-asm.h.
56230         (DEST): Likewise.
56231         (LEN): Likewise.
56232         [!BZERO_P] (CHR): Likewise.
56233         (memset): Likewise.  Do not use BP_SYM.
56234         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56235         "bp-asm.h".
56236         (PARMS): Do not use macros from bp-asm.h.
56237         (S1): Likewise.
56238         (SIZE): Likewise.
56239         (__mpn_mul_1): Do not use BP_SYM.
56240         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56241         "bp-asm.h".
56242         (PARMS): Do not use macros from bp-asm.h.
56243         (S): Likewise.
56244         (SIZE): Likewise.
56245         (__mpn_rshift): Do not use BP_SYM.
56246         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56247         "bp-asm.h".
56248         (PARMS): Do not use macros from bp-asm.h.
56249         (STR): Likewise.
56250         (CHR): Likewise.
56251         (strchr): Likewise.  Do not use BP_SYM.
56252         (index): Do not use BP_SYM in weak_alias.
56253         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56254         "bp-asm.h".
56255         (PARMS): Do not use macros from bp-asm.h.
56256         (DEST): Likewise.
56257         (SRC): Likewise.
56258         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56259         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56260         "bp-asm.h".
56261         (PARMS): Do not use macros from bp-asm.h.
56262         (strlen): Do not use BP_SYM.
56263         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56264         "bp-asm.h".
56265         (PARMS): Do not use macros from bp-asm.h.
56266         (S1): Likewise.
56267         (S2): Likewise.
56268         (SIZE): Likewise.
56269         (__mpn_sub_n): Do not use BP_SYM.
56270         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56271         "bp-asm.h".
56272         (PARMS): Do not use macros from bp-asm.h.
56273         (S1): Likewise.
56274         (SIZE): Likewise.
56275         (__mpn_submul_1): Do not use BP_SYM.
56276         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56277         "bp-asm.h".
56278         (PARMS): Do not use macros from bp-asm.h.
56279         (S1): Likewise.
56280         (S2): Likewise.
56281         (SIZE): Likewise.
56282         (__mpn_add_n): Do not use BP_SYM.
56283         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56284         weak_alias.
56285         (bzero): Likewise.
56286         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56287         "bp-asm.h".
56288         (PARMS): Do not use macros from bp-asm.h.
56289         (BLK2): Likewise.
56290         (LEN): Likewise.
56291         (memcmp): Do not use BP_SYM.
56292         (bcmp): Do not use BP_SYM in weak_alias.
56293         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56294         "bp-asm.h".
56295         (PARMS): Do not use macros from bp-asm.h.
56296         (DEST): Likewise.
56297         (SRC): Likewise.
56298         (LEN): Likewise.
56299         (memcpy): Likewise.  Do not use BP_SYM.
56300         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
56301         "bp-asm.h".
56302         (PARMS): Do not use macros from bp-asm.h.
56303         (DEST): Likewise.
56304         (SRC): Likewise.
56305         (LEN): Likewise.
56306         (memmove): Likewise.  Do not use BP_SYM.
56307         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
56308         "bp-asm.h".
56309         (PARMS): Do not use macros from bp-asm.h.
56310         (DEST): Likewise.
56311         (SRC): Likewise.
56312         (LEN): Likewise.
56313         (__mempcpy): Likewise.  Do not use BP_SYM.
56314         (mempcpy): Do not use BP_SYM in weak_alias.
56315         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56316         "bp-asm.h".
56317         (PARMS): Do not use macros from bp-asm.h.
56318         (DEST): Likewise.
56319         (LEN): Likewise.
56320         [!BZERO_P] (CHR): Likewise.
56321         (memset): Likewise.  Do not use BP_SYM.
56322         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56323         "bp-asm.h".
56324         (PARMS): Do not use macros from bp-asm.h.
56325         (STR2): Likewise.
56326         (strcmp): Do not use BP_SYM.
56327         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56328         "bp-asm.h".
56329         (PARMS): Do not use macros from bp-asm.h.
56330         (STR): Likewise.
56331         (DELIM): Likewise.
56332         [USE_AS_STRTOK_R] (SAVE): Likewise.
56333         (FUNCTION): Likewise.  Do not use BP_SYM.
56334         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56335         aliases.
56336         (strtok_r): Likewise.
56337         (__GI___strtok_r): Likewise.
56338         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56339         (PARMS): Do not use macros from bp-asm.h.
56340         (S): Likewise.
56341         (SIZE): Likewise.
56342         (__mpn_lshift): Do not use BP_SYM.
56343         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56344         (PARMS): Do not use macros from bp-asm.h.
56345         (STR): Likewise.
56346         (CHR): Likewise.
56347         (__memchr): Do not use BP_SYM.
56348         (memchr): Do not use BP_SYM in weak_alias.
56349         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56350         (PARMS): Do not use macros from bp-asm.h.
56351         (BLK2): Likewise.
56352         (LEN): Likewise.
56353         (memcmp): Do not use BP_SYM.
56354         (bcmp): Do not use BP_SYM in weak_alias.
56355         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56356         (PARMS): Do not use macros from bp-asm.h.
56357         (S1): Likewise.
56358         (SIZE): Likewise.
56359         (__mpn_mul_1): Do not use BP_SYM.
56360         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56361         "bp-asm.h".
56362         (PARMS): Do not use macros from bp-asm.h.
56363         (STR): Likewise.
56364         (CHR): Likewise.
56365         (__rawmemchr): Do not use BP_SYM.
56366         (rawmemchr): Do not use BP_SYM in weak_alias.
56367         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56368         (PARMS): Do not use macros from bp-asm.h.
56369         (S): Likewise.
56370         (SIZE): Likewise.
56371         (__mpn_rshift): Do not use BP_SYM.
56372         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56373         (PARMS): Do not use macros from bp-asm.h.
56374         (SIGMSK): Likewise.
56375         (__sigsetjmp): Likewise.  Do not use BP_SYM.
56376         * sysdeps/i386/start.S: Do not include "bp-sym.h".
56377         (_start): Do not use BP_SYM.
56378         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56379         (PARMS): Do not use macros from bp-asm.h.
56380         (DEST): Likewise.
56381         (SRC): Likewise.
56382         (__stpcpy): Likewise.  Do not use BP_SYM.
56383         (stpcpy): Do not use BP_SYM in weak_alias.
56384         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56385         "bp-asm.h".
56386         (PARMS): Do not use macros from bp-asm.h.
56387         (DEST): Likewise.
56388         (SRC): Likewise.
56389         (LEN): Likewise.
56390         (__stpncpy): Likewise.  Do not use BP_SYM.
56391         (stpncpy): Do not use BP_SYM in weak_alias.
56392         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56393         (PARMS): Do not use macros from bp-asm.h.
56394         (STR): Likewise.
56395         (CHR): Likewise.
56396         (strchr): Likewise.  Do not use BP_SYM.
56397         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56398         "bp-asm.h".
56399         (PARMS): Do not use macros from bp-asm.h.
56400         (STR): Likewise.
56401         (CHR): Likewise.
56402         (__strchrnul): Likewise.  Do not use BP_SYM.
56403         (strchrnul): Do not use BP_SYM in weak_alias.
56404         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56405         "bp-asm.h".
56406         (PARMS): Do not use macros from bp-asm.h.
56407         (STOP): Likewise.
56408         (strcspn): Do not use BP_SYM.
56409         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56410         "bp-asm.h".
56411         (PARMS): Do not use macros from bp-asm.h.
56412         (STR): Likewise.
56413         (STOP): Likewise.
56414         (strpbrk): Likewise.  Do not use BP_SYM.
56415         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56416         "bp-asm.h".
56417         (PARMS): Do not use macros from bp-asm.h.
56418         (STR): Likewise.
56419         (CHR): Likewise.
56420         (strrchr): Likewise.  Do not use BP_SYM.
56421         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56422         (PARMS): Do not use macros from bp-asm.h.
56423         (SKIP): Likewise.
56424         (strspn): Do not use BP_SYM.
56425         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56426         (PARMS): Do not use macros from bp-asm.h.
56427         (STR): Likewise.
56428         (DELIM): Likewise.
56429         (SAVE): Likewise.
56430         (FUNCTION): Likewise.  Do not use BP_SYM.
56431         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56432         aliases.
56433         (strtok_r): Likewise.
56434         (__GI___strtok_r): Likewise.
56435         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56436         (PARMS): Do not use macros from bp-asm.h.
56437         (S1): Likewise.
56438         (S2): Likewise.
56439         (SIZE): Likewise.
56440         (__mpn_sub_n): Do not use BP_SYM.
56441         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56442         "bp-asm.h".
56443         (PARMS): Do not use macros from bp-asm.h.
56444         (S1): Likewise.
56445         (SIZE): Likewise.
56446         (__mpn_submul_1): Do not use BP_SYM.
56447         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56448         <bp-sym.h>.
56449         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56450         and <bp-asm.h>.
56451         (PARMS): Do not use macros from bp-asm.h.
56452         (FLAGS): Likewise.
56453         (PTID): Likewise.
56454         (TLS): Likewise.
56455         (CTID): Likewise.
56456         (__clone): Do not use BP_SYM.
56457         (clone): Do not use BP_SYM in weak_alias.
56458         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56459         and <bp-asm.h>.
56460         (PARMS): Do not use macros from bp-asm.h.
56461         (LEN): Likewise.
56462         (__mmap64): Do not use BP_SYM.
56463         (mmap64): Do not use BP_SYM in weak_alias.
56464         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56465         <bp-sym.h> and <bp-asm.h>.
56466         (PARMS): Do not use macros from bp-asm.h.
56467         (__posix_fadvise64_l64): Do not use BP_SYM.
56468         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56469         (PARMS): Do not use macros from bp-asm.h.
56470         (NSOPS): Likewise.
56471         (semtimedop): Do not use BP_SYM.
56472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56473         and <bp-asm.h>.
56475 2013-02-21  Allan McRae  <allan@archlinux.org>
56477         * manual/message.texi (Charset conversion in gettext):
56478         Move @end statement to beginning of line.
56480 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56483         static.
56484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56485         Likewise.
56487         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56488         (denorm): Likewise.
56489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56492 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56494         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56495         tail-call to the resolved function if pltexit isn't needed.
56497 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56500         or Y being zero as being unlikely.
56501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56502         Likewise.
56504 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56506         * manual/nss.texi (System Databases and Name Service Switch):
56507         Remove frobnicate @pxref.
56509 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56511         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56512         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56514 2013-02-20  Petr Machata  <pmachata@redhat.com>
56516         * elf/elf.h (R_ARM_TARGET1): New macro.
56517         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56518         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56519         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56520         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56521         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56522         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56523         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56524         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56525         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56526         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56527         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56528         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56529         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56530         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56531         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56532         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56533         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56534         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56535         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56536         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56537         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56538         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56539         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56540         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56541         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56542         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56543         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56544         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56545         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56546         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56547         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56548         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56549         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56550         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56551         (R_ARM_THM_GOT_BREL12): Likewise.
56552         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56553         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56554         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56555         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56556         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56557         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56558         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56559         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56560         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56562 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56564         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56565         __attribute_used__ to __attribute__ ((unused)).
56567 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56569         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56570         powerpc mpa.c.
56571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56572         comment formatting.
56573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56575 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56577         [BZ #13550]
56578         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56579         Remove macro.
56580         (ENTER): Remove both macro definitions.
56581         (LEAVE): Likewise.
56582         (CHECK_BOUNDS_LOW): Likewise.
56583         (CHECK_BOUNDS_HIGH): Likewise.
56584         (CHECK_BOUNDS_BOTH): Likewise.
56585         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56586         (RETURN_BOUNDED_POINTER): Likewise.
56587         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56588         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56589         (POP_ERRNO_LOCATION_RETURN): Likewise.
56590         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56591         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56592         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56593         macros.
56594         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56595         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56596         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56597         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56598         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56599         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56600         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56601         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56602         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56603         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56604         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56605         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56606         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56607         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56608         removed macros.
56609         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56610         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56611         macros.
56612         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56613         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56614         * sysdeps/i386/i586/memset.S (memset): Likewise.
56615         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56616         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56617         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56618         macros.
56619         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56620         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56621         Change uses of L(2) to L(out).
56622         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56623         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56624         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56625         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56626         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56627         removed macros.
56628         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56629         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56630         macros.
56631         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56632         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56633         (RETURN): Do not use macro LEAVE.
56634         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56635         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56636         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56637         * sysdeps/i386/i686/memset.S (memset): Likewise.
56638         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56639         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56640         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56641         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56642         Likewise.
56643         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56644         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56645         L(1_2) and L(1_3) into L(1).
56646         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56647         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56648         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56649         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56650         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56651         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56652         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56653         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56654         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56655         macros.
56656         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56657         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56658         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56659         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56660         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56661         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56662         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56663         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56664         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56665         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56666         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56667         * sysdeps/i386/strspn.S (strspn): Likewise.
56668         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56669         conditional code.
56670         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56671         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56672         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56673         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56674         L(1_3) into L(1_1).
56675         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56676         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56677         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56678         macros.
56679         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56681 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56683         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56684         macro.
56686 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56688         * math/atest-exp.c (exp_mpn): Remove ROUND.
56689         * math/atest-exp2.c (exp_mpn): Likewise.
56690         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56692         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56693         * stdlib/tst-tls-atexit-lib.c: Likewise.
56694         * stdlib/tst-tls-atexit.c: Likewise.
56696 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56698         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56699         and __attribute_alloc_size__.
56701 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56703         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56704         __attribute_alloc_size__.
56705         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56706         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56708 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56710         * include/programs/xmalloc.h: New file.
56711         * catgets/gencat.c: Include it.
56712         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56713         * elf/pldd.c: Likewise.
56714         * iconv/iconv_charmap.c: Likewise.
56715         * iconv/iconvconfig.c: Likewise.
56716         * iconv/strtab.c: Likewise.
56717         * locale/programs/locale.c: Likewise.
56718         * locale/programs/localedef.h: Likewise.
56719         * locale/programs/simple-hash.c: Likewise.
56720         * nscd/nscd.h: Likewise.
56721         * nss/makedb.c: Likewise.
56722         * sysdeps/generic/ldconfig.h: Likewise.
56724 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56726         * Versions.def: Add GLIBC_2.18.
56727         * include/link.h (struct link_map): New member l_tls_dtor_count.
56728         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56729         (__call_tls_dtors): Likewise.
56730         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56731         __cxa_thread_atexit_impl.
56732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56733         Likewise.
56734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56735         Likewise.
56736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56737         Likewise.
56738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56739         Likewise.
56740         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56742         Likewise.
56743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56744         Likewise.
56745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56747         Likewise.
56748         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56749         (tests): Add test case tst-tls-atexit.
56750         (modules-names): Add shared library for tst-tls-atexit.
56751         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56752         (GLIBC_PRIVATE): Add __call_tls_dtors.
56753         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56754         for libstdc++.
56755         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56756         * stdlib/tst-tls-atexit.c: New test case.
56757         * stdlib/tst-tls-atexit-lib.c: New test case.
56759         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56761         * elf/Versions (ld): Add _dl_find_dso_for_object.
56762         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56763         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56764         (dl_open_worker): Use _dl_find_dso_for_object.
56765         * elf/dl-sym.c (do_sym): Likewise.
56766         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56768 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56770         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56771         Syntactic changes only.
56772         (_dl_runtime_profile): Do a tail-call to the resolved function.
56774 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56776         [BZ #13550]
56777         * sysdeps/x86_64/bp-asm.h: Remove file.
56778         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56779         <bp-sym.h> and <bp-asm.h>.
56780         (__clone): Do not use BP_SYM.
56781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56782         <bp-sym.h> and <bp-asm.h>.
56783         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56784         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56785         "bp-asm.h".
56786         (_setjmp): Do not use BP_SYM.
56787         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56788         "bp-asm.h".
56789         (setjmp): Do not use BP_SYM.
56790         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56791         libc_hidden_def.
56792         (mempcpy): Do not use BP_SYM in weak_alias.
56793         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56794         "bp-asm.h".
56795         (strchr): Do not use BP_SYM.
56796         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56797         "bp-asm.h".
56798         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56799         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56800         (_start): Do not use BP_SYM.
56801         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56802         "bp-asm.h".
56803         (strcat): Do not use BP_SYM.
56804         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56805         "bp-asm.h".
56806         (STRCMP): Do not use BP_SYM.
56807         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56808         "bp-asm.h".
56809         (STRCPY): Do not use BP_SYM.
56810         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56811         "bp-asm.h".
56812         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56813         "bp-asm.h".
56814         (FUNCTION): Do not use BP_SYM.
56815         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56816         weak_alias.
56817         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56819 2013-02-17  Andreas Jaeger  <aj@suse.de>
56821         * time/Versions: Sort entries.
56822         * string/Versions: Likewise.
56823         * resolv/Versions: Likewise.
56824         * posix/Versions: Likewise.
56825         * iconv/Versions: Likewise.
56826         * elf/Versions: Likewise.
56827         * wcsmbs/Versions: Likewise.
56829 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56831         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56832         loop termination condition.
56834         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56835         variable to calculate EZ.
56836         (__sqr): Likewise.
56838         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56839         the lower precision input.
56841 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56843         [BZ #13550]
56844         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56845         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56846         (run-via-rtld-prefix): Do not handle %-bp tests.
56847         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56848         (all-object-suffixes): Remove .ob.
56849         (bppfx): Remove variable.
56850         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56851         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56852         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56853         [$(build-bounded) = yes] (libtype.ob): Likewise.
56854         * Makerules (elide-routines.ob): Remove variable.
56855         (do-tests-clean): Do not handle *-bp.out.
56856         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56857         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56858         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56859         (tests): Do not include $(tests-bp.out).
56860         (xtests): Do not include $(xtests-bp.out).
56861         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56862         [$(build-bounded) = yes] ($(addprefix
56863         $(objpfx),$(binaries-bounded))): Remove rule.
56864         ($(objpfx)%-bp.out): Remove rule.
56865         * config.make.in (build-bounded): Remove variable.
56866         * crypt/Makefile [$(build-bounded) = yes]
56867         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56868         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56869         append to variable.
56870         [$(build-bounded) = yes] (install-lib): Likewise.
56871         [$(build-bounded) = yes] (generated): Likewise.
56872         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56873         Remove rule.
56874         * intl/Makefile [$(build-bounded) = yes]
56875         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56876         * math/Makefile [$(build-bounded) = yes]
56877         ($(tests:%=$(objpfx)%-bp): Likewise.
56878         * misc/Makefile [$(build-bounded) = yes]
56879         ($(objpfx)tst-tsearch-bp): Likewise.
56880         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56881         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56882         Remove dependency.
56883         * string/Makefile (o-objects.ob): Remove variable.
56884         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56885         (CFLAGS-.ob): Remove variable.
56886         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56887         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56888         both definitions of variable.
56889         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56890         (ASFLAGS-.ob): Remove variable.
56892 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56894         [BZ #13550]
56895         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56896         Remove __BOUNDED_POINTERS__ from condition.
56897         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56898         * string/bits/string2.h [!__NO_STRING_INLINES &&
56899         !__BOUNDED_POINTERS__]: Likewise.
56900         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56901         Likewise.
56902         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56903         Remove conditional code.
56904         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56905         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56906         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56907         condition.
56909         [BZ #13550]
56910         * csu/libc-start.c: Do not include <bp-sym.h>.
56911         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56912         * elf/dl-open.c: Do not include <bp-sym.h>.
56913         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56914         * math/fegetenv.c: Do not include <bp-sym.h>.
56915         (fegetenv): Do not use BP_SYM in versioned symbols.
56916         * nptl/sysdeps/pthread/bits/libc-lockP.h
56917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56918         <bp-sym.h>.
56919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56920         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56922         (__pthread_mutex_destroy): Likewise.
56923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56924         (__pthread_mutex_lock): Likewise.
56925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56926         (__pthread_mutex_trylock): Likewise.
56927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56928         (__pthread_mutex_unlock): Likewise.
56929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56930         (__pthread_mutexattr_init): Likewise.
56931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56932         (__pthread_mutexattr_destroy): Likewise.
56933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56934         (__pthread_mutexattr_settype): Likewise.
56935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56936         (__pthread_rwlock_init): Likewise.
56937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56938         (__pthread_rwlock_destroy): Likewise.
56939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56940         (__pthread_rwlock_rdlock): Likewise.
56941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56942         (__pthread_rwlock_tryrdlock): Likewise.
56943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56944         (__pthread_rwlock_wrlock): Likewise.
56945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56946         (__pthread_rwlock_trywrlock): Likewise.
56947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56948         (__pthread_rwlock_unlock): Likewise.
56949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56950         (__pthread_key_create): Likewise.
56951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56952         (__pthread_setspecific): Likewise.
56953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56954         (__pthread_getspecific): Likewise.
56955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56956         Likewise.
56957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56958         (_pthread_cleanup_push_defer): Likewise.
56959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56960         (_pthread_cleanup_pop_restore): Likewise.
56961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56962         (pthread_setcancelstate): Likewise.
56963         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56964         <bp-sym.h>.
56965         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56966         (memchr): Do not use BP_SYM in weak_alias.
56967         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56968         (fegetenv): Do not use BP_SYM in versioned symbols.
56969         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56970         (fesetenv): Do not use BP_SYM in versioned symbols.
56971         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56972         (feupdateenv): Do not use BP_SYM in versioned symbols.
56973         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56974         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56975         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56976         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56977         (open64): Do not use BP_SYM in weak_alias.
56978         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56979         (fegetenv): Do not use BP_SYM in versioned symbols.
56980         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56981         (fesetenv): Do not use BP_SYM in versioned symbols.
56982         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56983         (feupdateenv): Do not use BP_SYM in versioned symbols.
56984         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56985         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56986         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56987         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56988         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56989         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56990         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56991         <bp-sym.h>.
56992         (__libc_start_main): Do not use BP_SYM.
56994 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56997         redundant return line.
56998         (norm): Likewise.
56999         (denorm): Likewise.
57000         (dbl_mp): Likewise.
57001         (sub_magnitudes): Likewise.
57002         (__add): Likewise.
57003         (__sub): Likewise.
57004         (__mul): Likewise.
57005         (__inv): Likewise.
57006         (__dvd): Likewise.
57007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57008         (norm): Likewise.
57009         (denorm): Likewise.
57010         (dbl_mp): Likewise.
57011         (sub_magnitudes): Likewise.
57012         (__add): Likewise.
57013         (__sub): Likewise.
57014         (__mul): Likewise.
57015         (__inv): Likewise.
57016         (__dvd): Likewise.
57018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57019         instead of __mul.
57020         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57021         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57022         (cc32): Likewise.
57024         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57025         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57027         of __mul for squares.
57028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57029         function
57030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57031         Likewise.
57032         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57033         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57035 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57037         [BZ #13550]
57038         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57039         code.
57040         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57041         prototype or function definition.  Rename ubp_* variables and
57042         parameters.  Remove argv definitions conditional on
57043         [__BOUNDED_POINTERS__].
57044         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57045         * elf/dl-runtime.c (_dl_fixup): Likewise.
57046         * include/set-hooks.h (RUN_HOOK): Likewise.
57047         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57048         definition.
57049         * string/strcpy.c (strcpy): Do not use __unbounded.
57050         * sysdeps/generic/frame.h (struct layout): Likewise.
57051         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57052         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57053         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57054         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57055         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57056         (__backtrace): Likewise.
57057         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57058         use __ptrvalue.
57059         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57060         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57061         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57062         Likewise.
57063         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57064         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57065         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57066         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57067         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57068         Do not use __unbounded.
57069         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57070         Rename __unboundedrlimits parameter to rlimits in prototype.
57071         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57072         Do not use __unbounded.
57073         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57074         not use __ptrvalue.
57075         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57076         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57077         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57078         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57079         __ptrvalue or __unbounded.
57080         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57081         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57082         use __unbounded.
57083         (__new_msgctl): Do not use __ptrvalue.
57084         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57085         __unbounded.
57086         (__libc_msgrcv): Do not use __ptrvalue.
57087         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57088         startup_info): Do not use __unbounded.
57089         (__libc_start_main): Likewise.  Rename ubp_* variables and
57090         parameters.  Remove argv definitions conditional on
57091         [__BOUNDED_POINTERS__].
57092         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57093         __ptrvalue.
57094         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57095         use __unbounded.
57096         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57097         or __ptrvalue.
57098         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57099         use __unbounded.
57100         (__new_shmctl): Do not use __ptrvalue.
57101         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57102         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57103         Likewise.
57104         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57105         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57106         (__libc_sigaction): Likewise.
57107         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57108         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57109         Likewise.
57110         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57112 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57114         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57116         * string/mempcpy.c: Implement by calling memcpy.
57118 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57123         evaluation.
57125         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57126         values in the mantissa.
57128         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57129         minimize writes to Z.
57130         (sub_magnitudes): Simplify code a bit.
57132 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57134         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57135         from the message.  The linker prefixes all warnings with that already.
57137 2013-02-12  Andreas Schwab  <schwab@suse.de>
57139         [BZ #15078]
57140         * posix/regexec.c (extend_buffers): Add parameter min_len.
57141         (check_matching): Pass minimum needed length.
57142         (clean_state_log_if_needed): Likewise.
57143         (get_subexp): Likewise.
57144         * posix/Makefile (tests): Add bug-regex34.
57145         (bug-regex34-ENV): Define.
57146         * posix/bug-regex34.c: New file.
57148         [BZ #11561]
57149         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57150         elements compare against the byte sequence of it, not its name.
57151         * posix/Makefile (tests): Add bug-regex35.
57152         (bug-regex35-ENV): Define.
57153         * posix/bug-regex35.c: New file.
57155 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57157         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57158         comment.
57159         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57160         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57161         (CHECK_EOL): Add undef.
57163 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57165         * bits/stdlib-bsearch.h: New file.
57166         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57167         * stdlib/stdlib.h: Likewise.
57169 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57171         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57172         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57173         declaration.
57174         * manual/search.texi (Array Search Function): Add missing const in
57175         lfind prototype.
57176         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57177         declaration to use rlim_t.
57178         (Basic Scheduling Functions): Remove erroneous const from
57179         sched_getparam prototype.  Remove erroneous * from
57180         sched_get_priority_max and sched_get_priority_min prototypes.
57181         (Resource Usage): Fix summary @comment on vtimes to refer to
57182         sys/vtimes.h rather than vtimes.h.
57183         Add missing *s in vtimes prototype.
57184         (Limits on Resources): Fix ulimit prototype to return long int.
57185         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57186         prototypes to use long int rather than double.
57187         (BSD Random): Fix initstate and setstate to use char *, not void *.
57188         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57189         prototype to make second argument 'struct aiocb64 *const[]'.
57190         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57191         (Status of AIO Operations): Remove erroneous const in aio_return and
57192         aio_return64 prototypes.
57193         (Synchronizing I/O): Fix sync prototype to return void.
57194         * manual/startup.texi (Suboptions): Remove an erroneous const in
57195         getsubopt prototype.
57196         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57197         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57198         use size_t rather than int.
57199         (Scanning All Users): Likewise for getpwent_r.
57200         (Setting Groups): Add missing const to setgroups prototype.
57201         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57202         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57203         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57204         'const void *' rather than 'const char *'.
57205         (Host Address Functions): Likewise for inet_ntop.
57206         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57207         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57208         ssize_t for return value.
57209         (Sending Data): Likewise for send, sendto, sendmsg.
57210         (Socket Option Functions): Add a missing const in setsockopt prototype.
57211         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57212         use wchar_t for the argument.
57213         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57214         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57215         take no arguments.
57216         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57217         double/float/long double for second argument.
57218         Fix return types of significand, significandf, significandl.
57219         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57220         argument in fchmod prototype.
57221         (File Owner): Use uid_t and gid_t in fchown prototype.
57222         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57223         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57224         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57225         use 'const struct dirent **' as argument types to CMP function pointer
57226         argument.
57227         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57228         (File Times): Fix summary magic @comment for struct utimbuf and utime
57229         to refer to utime.h, not time.h.
57230         * manual/string.texi (Argz Functions): Add missing const in
57231         argz_extract and argz_next prototypes.
57232         (Finding Tokens in a String): Likewise for basename.
57233         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57234         (Copying and Concatenation): Fix typo in wmemmove prototype.
57235         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57236         (Signal Stack): Remove erroneous const in sigstack prototype.
57237         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57238         prototype.
57239         (Simple Calendar Time): Likewise for stime.
57240         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57241         prototype.
57242         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57243         say sys/sysctl.h instead.
57244         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57245         and vsyslog prototypes.
57247 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57249         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57250         Remove.
57252 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57254         * misc/sys/mman.h: Fix typo in mremap comment.
57256 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57258         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57259         the '\0' terminator.
57261 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57263         [BZ #13550]
57264         * debug/segfault.c: Don't include <bp-checks.h>.
57265         * sysdeps/generic/bp-checks.h: Remove file.
57266         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57267         (__GETDENTS): Don't use CHECK_N.
57268         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57269         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57270         (__getgroups): Don't use CHECK_N.
57271         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57272         (setgroups): Don't use CHECK_N.
57273         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57274         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57275         (__libc_msgrcv): Don't use CHECK_N.
57276         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57277         (__libc_msgsnd): Don't use CHECK_N.
57278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57279         <bp-checks.h>.
57280         (__libc_pread): Don't use CHECK_N.
57281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57282         include <bp-checks.h>.
57283         (__libc_pread64): Don't use CHECK_N.
57284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57285         include <bp-checks.h>.
57286         (__libc_pwrite): Don't use CHECK_N.
57287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57288         include <bp-checks.h>.
57289         (__libc_pwrite64): Don't use CHECK_N.
57290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57291         <bp-checks.h>.
57292         (__libc_pread): Don't use CHECK_N.
57293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57294         include <bp-checks.h>.
57295         (__libc_pread64): Don't use CHECK_N.
57296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57297         include <bp-checks.h>.
57298         (__libc_pwrite): Don't use CHECK_N.
57299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57300         include <bp-checks.h>.
57301         (__libc_pwrite64): Don't use CHECK_N.
57302         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57303         (do_pread): Don't use CHECK_N.
57304         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57305         (do_pread64): Don't use CHECK_N.
57306         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57307         (do_pwrite): Don't use CHECK_N.
57308         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57309         (do_pwrite64): Don't use CHECK_N.
57310         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57311         (__libc_readv): Don't use CHECK_N.
57312         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57313         (semop): Don't use CHECK_N.
57314         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57315         <bp-checks.h>.
57316         (semtimedop): Don't use CHECK_N.
57317         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57318         (__libc_pread): Don't use CHECK_N.
57319         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57320         <bp-checks.h>.
57321         (__libc_pread64): Don't use CHECK_N.
57322         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57323         <bp-checks.h>.
57324         (__libc_pwrite): Don't use CHECK_N.
57325         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57326         <bp-checks.h>.
57327         (__libc_pwrite64): Don't use CHECK_N.
57328         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57329         <bp-checks.h>.
57330         (__libc_msgrcv): Don't use CHECK_N.
57331         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57332         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
57333         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57334         (__libc_writev): Don't use CHECK_N.
57336 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57338         * string/strcpy.c: Removed unused variable.
57340         * Makeconfig (+sysdep-includes): Define with := rather than =.
57341         Use an existing include/ subdir of each sysdeps dir before it.
57343 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57345         * nscd/connection.c (register_traced_file): Comment function.
57346         [HAVE_INOTIFY] (union __inev): Define.
57347         [HAVE_INOTIFY] (inotify_check_files): New function.
57348         [HAVE_INOTIFY] (clear_db_cache): Likewise.
57349         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57350         clear_db_cache.
57351         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57353 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57355         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57356         loaded if not already and that a failure is permanent.
57358 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57360         [BZ #15006]
57361         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57362         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57364 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57366         [BZ #13550]
57367         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57368         (CHECK_1_NULL_OK): Likewise.
57369         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57370         (__fxstat): Do not use CHECK_1.
57371         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57372         <bp-checks.h>.
57373         (___fxstat64): Do not use CHECK_1.
57374         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57375         <bp-checks.h>.
57376         (__fxstatat): Do not use CHECK_1.
57377         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57378         <bp-checks.h>.
57379         (__fxstatat64): Do not use CHECK_1.
57380         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57381         <bp-checks.h>.
57382         (__fxstat): Do not use CHECK_1.
57383         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57384         <bp-checks.h>.
57385         (__fxstatat): Do not use CHECK_1.
57386         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57387         <bp-checks.h>.
57388         (__getresgid): Do not use CHECK_1.
57389         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57390         <bp-checks.h>.
57391         (__getresuid): Do not use CHECK_1.
57392         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57393         <bp-checks.h>.
57394         (__lxstat): Do not use CHECK_1.
57395         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57396         <bp-checks.h>.
57397         (__old_msgctl): Do not use CHECK_1.
57398         (__new_msgctl): Likewise.
57399         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57400         <bp-checks.h>.
57401         (__new_setrlimit): Do not use CHECK_1.
57402         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57403         <bp-checks.h>.
57404         (__old_shmctl): Do not use CHECK_1.
57405         (__new_shmctl): Likewise.
57406         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57407         <bp-checks.h>.
57408         (__xstat): Do not use CHECK_1.
57409         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57410         (__lxstat): Do not use CHECK_1.
57411         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57412         <bp-checks.h>.
57413         (___lxstat64): Do not use CHECK_1.
57414         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57415         (__old_msgctl): Do not use CHECK_1.
57416         (__new_msgctl): Likewise.
57417         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57418         <bp-checks.h>.
57419         (__gettimeofday): Do not use CHECK_1.
57420         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57421         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57422         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57423         <bp-checks.h>.
57424         (__gettimeofday): Do not use CHECK_1.
57425         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57426         (__old_shmctl): Do not use CHECK_1_NULL_OK.
57427         (__new_shmctl): Do not use CHECK_1.
57428         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57429         <bp-checks.h>.
57430         (do_sigtimedwait): Do not use CHECK_1.
57431         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57432         <bp-checks.h>.
57433         (do_sigwaitinfo): Do not use CHECK_1.
57434         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57435         <bp-checks.h>.
57436         (msgctl): Do not use CHECK_1.
57437         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57438         <bp-checks.h>.
57439         (shmctl): Do not use CHECK_1.
57440         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57441         (ustat): Do not use CHECK_1.
57442         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57443         <bp-checks.h>.
57444         (__fxstat): Do not use CHECK_1.
57445         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57446         <bp-checks.h>.
57447         (__fxstatat): Do not use CHECK_1.
57448         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57449         <bp-checks.h>.
57450         (__lxstat): Do not use CHECK_1.
57451         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57452         <bp-checks.h>.
57453         (__xstat): Do not use CHECK_1.
57454         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57455         (__xstat): Do not use CHECK_1.
57456         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57457         (___xstat64): Do not use CHECK_1.
57459         [BZ #13550]
57460         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57461         definitions.
57462         (CHECK_BOUNDS_HIGH): Likewise.
57463         * string/strcpy.c: Do not include <bp-checks.h>.
57464         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57466 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57468         * nscd/nscd-client.h (__nscd_drop_map_ref):
57469         Add __attribute__ ((unused)).
57470         * nis/nss-nisplus.h (niserr2nss): Likewise.
57472         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57473         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57475         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57476         Remove inline keyword.
57477         * include/rounding-mode.h (round_away): Likewise.
57478         * libio/wfileops.c (adjust_wide_data): Likewise.
57479         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57480         (__m128i_strloadu_tolower): Likewise.
57481         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57482         (__m128i_strloadu_tolower): Likewise.
57483         * time/mktime.c (ydhms_diff): Likewise.
57484         * locale/elem-hash.h (elem_hash): Likewise.
57485         * locale/setlocale.c (setdata): Likewise.
57486         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57487         (re_string_wchar_at): Likewise.
57488         (bitset_not, bitset_merge, bitset_mask): Likewise.
57489         [!(__GNUC__ > 3)] (inline): Remove macro.
57490         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57491         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57492         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57493         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57494         * string/memcmp.c (memcmp_bytes): Likewise.
57495         * locale/programs/locarchive.c (compute_hashval): Likewise.
57496         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57497         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57498         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57499         * nss/getent.c (print_rpc, print_protocols): Likewise.
57500         (print_passwd, print_group, print_aliases): Likewise.
57501         * nis/nss-nisplus.h (niserr2nss): Likewise.
57502         * nscd/connections.c (restart_p): Likewise.
57503         Change return type to bool.
57505 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57507         * Makeconfig (all-Depend-files): Add existing
57508         $(sorted-subdirs:=/Depend) files.
57509         (all-subdirs): Remove nss.
57510         * sysdeps/unix/inet/Subdirs: Add it here instead.
57511         * hesiod/Depend: New file.
57513         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57514         instead of calling alloca.
57516         * io/lseek.c (__lseek): Rename to __libc_lseek.
57517         Define __lseek as an alias.
57519         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57521 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57523         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57524         else clause and remove check for non-standard endianness.
57526 2013-02-04  David S. Miller  <davem@davemloft.net>
57528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57530 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57532         [BZ #13550]
57533         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57534         (__ubp_memchr): Remove prototype.
57535         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57536         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57537         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57538         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57539         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57540         Remove alias.
57541         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57542         (__ubp_memchr): Likewise.
57543         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57544         (__ubp_memchr): Likewise.
57545         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57546         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57547         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57548         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57549         CHECK_STRING.
57550         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57551         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57552         (__getcwd): Do not use CHECK_STRING.
57553         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57554         <bp-checks.h>.
57555         (__real_chown): Do not use CHECK_STRING.
57556         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57557         <bp-checks.h>.
57558         (fchownat): Do not use CHECK_STRING.
57559         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57560         CHECK_STRING.
57561         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57562         <bp-checks.h>.
57563         (__lchown): Do not use CHECK_STRING.
57564         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57565         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57566         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57567         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57569         include <bp-checks.h>.
57570         (truncate64): Do not use CHECK_STRING.
57571         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57572         <bp-checks.h>.
57573         (__real_chown): Do not use CHECK_STRING.
57574         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57575         <bp-checks.h>.
57576         (__lchown): Do not use CHECK_STRING.
57577         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57578         <bp-checks.h>.
57579         (__chown): Do not use CHECK_STRING.
57580         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57581         <bp-checks.h>.
57582         (truncate64): Do not use CHECK_STRING.
57583         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57584         Likewise.
57585         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57586         (__xmknod): Do not use CHECK_STRING.
57587         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57588         <bp-checks.h>.
57589         (__xmknodat): Do not use CHECK_STRING.
57590         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57591         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57593 2013-02-04  Andreas Schwab  <schwab@suse.de>
57595         [BZ #14142]
57596         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57597         * include/netdb.h: Likewise for h_errno.
57598         * elf/tst-stackguard1.c: Include <tls.h>.
57600 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57602         * elf/link.h (struct link_map): Extend the l_addr comment.
57603         * include/link.h (struct link_map): Likewise.
57605 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57607         [BZ #13550]
57608         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57609         (BOUNDED_1): Remove macro.
57610         * debug/backtrace.c: Don't include <bp-checks.h>.
57611         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57612         (__backtrace): Likewise.
57613         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57614         <bp-checks.h>.
57615         (__backtrace): Don't use BOUNDED_1.
57616         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57617         <bp-checks.h>.
57618         (__backtrace): Don't use BOUNDED_1.
57619         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57620         (__backtrace): Don't use BOUNDED_1.
57621         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57622         (shmat): Don't use BOUNDED_N.
57624 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57626         [BZ #13550]
57627         * sysdeps/generic/bp-start.h: Remove file.
57628         * csu/libc-start.c: Don't include <bp-start.h>.
57629         (LIBC_START_MAIN): Set up __environ directly instead of using
57630         INIT_ARGV_and_ENVIRON.
57631         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57632         <bp-start.h>.
57634         [BZ #13550]
57635         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57636         definitions.
57637         (CHECK_FCNTL): Likewise.
57638         (CHECK_N_PAGES): Likewise.
57640         [BZ #13550]
57641         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57642         definitions.
57643         (CHECK_SIGSET_NULL_OK): Likewise.
57644         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57645         <bp-checks.h>.
57646         (sigpending): Don't use CHECK_SIGSET.
57647         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57648         <bp-checks.h>.
57649         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57650         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57651         <bp-checks.h>.
57652         (do_sigsuspend): Don't use CHECK_SIGSET.
57653         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57654         use CHECK_SIGSET.
57655         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57656         (do_sigwait): Don't use CHECK_SIGSET.
57657         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57658         use CHECK_SIGSET.
57659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57660         include <bp-checks.h>.
57661         (sigpending): Don't use CHECK_SIGSET.
57662         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57663         include <bp-checks.h>.
57664         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57665         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57666         <bp-checks.h>.
57667         (sigpending): Don't use CHECK_SIGSET.
57668         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57669         <bp-checks.h>.
57670         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57672         [BZ #13550]
57673         * sysdeps/generic/bp-semctl.h: Remove file.
57674         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57675         <bp-checks.h> and <bp-semctl.h>.
57676         (__old_semctl): Don't use CHECK_SEMCTL.
57677         (__new_semctl): Likewise.
57678         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57679         and <bp-semctl.h>.
57680         (__old_semctl): Don't use CHECK_SEMCTL.
57681         (__new_semctl): Likewise.
57682         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57683         <bp-checks.h> and <bp-semctl.h>.
57684         (__old_semctl): Don't use CHECK_SEMCTL.
57685         (__new_semctl): Likewise.
57686         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57687         <bp-checks.h> and <bp-semctl.h>.
57688         (semctl): Don't use CHECK_SEMCTL.
57690         [BZ #13550]
57691         * Makerules (elide-bp-thunks): Remove variable.
57692         (elide-routines.oS): Don't use $(elide-bp-thunks).
57693         (elide-routines.os): Likewise.
57694         (elide-routines.o): Likewise.
57695         (elide-routines.op): Likewise.
57696         (elide-routines.og): Likewise.
57697         (objects): Don't use $(bp-thunks).
57698         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57699         include.
57700         (common-generated): Do not add s-proto-bp.d.
57701         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57702         (int): Likewise.
57703         (typ): Likewise.
57704         Do not generate makefile rules for bounded-pointer thunks.
57705         * sysdeps/generic/bp-thunks.h: Remove file.
57706         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57707         * sysdeps/unix/s-proto-bp.S: Likewise.
57709         [BZ #15062]
57710         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57711         parts of result separately when argument is not close to line from
57712         -i to i and one part of argument is small.
57713         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57714         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57715         * math/libm-test.inc (cacos_test): Add more tests.
57716         (casin_test): Likewise.
57717         (casinh_test): Likewise.
57718         * sysdeps/i386/fpu/libm-test-ulps: Update.
57719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57721 2013-01-31  David S. Miller  <davem@davemloft.net>
57723         * po/de.po: Update from translation team.
57725 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57727         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57729 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57731         * configure.in (_AC_PROG_CC_C89): New definition.
57732         * configure: Regenerate.
57734         * configure.in (AC_PROG_CPP): New definition.
57735         * configure: Regenerate.
57737 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57739         * debug/tst-backtrace.h: New file.
57740         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57741         (ret): Remove variable.
57742         (x): Likewise.
57743         (FAIL): Remove macro.
57744         (NO_INLINE): Likewise.
57745         (fn1): Use match function instead of strstr.
57746         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57747         (ret): Remove variable.
57748         (x): Likewise.
57749         (FAIL): Remove macro.
57750         (NO_INLINE): Likewise.
57751         (fn): Use match function instead of strstr.
57752         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57753         (ret): Remove variable.
57754         (x): Likewise.
57755         (FAIL): Remove macro.
57756         (NO_INLINE): Likewise.
57757         (handle_signal): Use match function instead of strstr.
57758         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57759         (ret): Remove variable.
57760         (x): Likewise.
57761         (FAIL): Remove macro.
57762         (NO_INLINE): Likewise.
57763         (handle_signal): Use match function instead of strstr.
57765 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57767         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57769 2013-01-23  David S. Miller  <davem@davemloft.net>
57771         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57772         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57773         argument of CAS if possible.
57774         * sysdeps/sparc/sparc64/bits/atomic.h
57775         (__arch_compare_and_exchange_val_32_acq): Likewise.
57776         (__arch_compare_and_exchange_val_64_acq): Likewise.
57778 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57780         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57781         * sysdeps/posix/ulimit.c: ... this.
57782         Include <limits.h>.
57783         * sysdeps/unix/bsd/ulimit.c: Remove file.
57785 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57787         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57788         (LDFLAGS-tst-array5): Likewise.
57790 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57792         [BZ #15036]
57793         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57794         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57795         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57796         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57798 2013-01-21  David S. Miller  <davem@davemloft.net>
57800         * sysdeps/sparc/backtrace.c: New file.
57801         * sysdeps/sparc/sparc32/backtrace.h: New file.
57802         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57803         * sysdeps/sparc/sparc64/backtrace.h: New file.
57804         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57805         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57806         -funwind-tables.
57808 2013-01-21  Andreas Schwab  <schwab@suse.de>
57810         [BZ #15020]
57811         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57812         closed its stdout.
57814 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57817         "mpa2.h".
57818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57820 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57821             Mark Mitchell  <mark@codesourcery.com>
57822             Tom de Vries  <tom@codesourcery.com>
57823             Paul Pluzhnikov  <ppluzhnikov@google.com>
57825         * debug/tst-backtrace2.c: New file.
57826         * debug/tst-backtrace3.c: Likewise.
57827         * debug/tst-backtrace4.c: Likewise.
57828         * debug/tst-backtrace5.c: Likewise.
57829         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57830         (CFLAGS-tst-backtrace3.c): Likewise.
57831         (CFLAGS-tst-backtrace4.c): Likewise.
57832         (CFLAGS-tst-backtrace5.c): Likewise.
57833         (LDFLAGS-tst-backtrace2): Likewise.
57834         (LDFLAGS-tst-backtrace3): Likewise.
57835         (LDFLAGS-tst-backtrace4): Likewise.
57836         (LDFLAGS-tst-backtrace5): Likewise.
57837         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57838         tst-backtrace4 and tst-backtrace5.
57840 2013-01-18  Anton Blanchard  <anton@samba.org>
57841             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57843         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57844         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57845         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57846         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57848         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57849         "+r" and remove output regs list as redundant.  Add explicit inline
57850         asm to specify register of return val to work around compiler codegen
57851         bug.  Remove (int) cast on return value.  Add return type parameter to
57852         use in macro so that this macro does not truncate return value for
57853         64-bit values.
57854         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57855         pass to INTERNAL_VSYSCALL_NCS.
57856         (INLINE_VSYSCALL): Add 'long int' as return type to
57857         INTERNAL_VSYSCALL_NCS macro invocation.
57858         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57859         INTERNAL_VSYSCALL_NCS macro invocation.
57860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57862 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57864         [BZ #14496]
57865         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57866         Fix application of SIMD FP exception mask.
57868         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57869         mp_no from a power of two.
57870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57871         __mpexp_twomm1.  Use __pow_mp.
57873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57874         multiplication.
57876 2013-01-17  David S. Miller  <davem@davemloft.net>
57878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57880 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57882         [BZ #15023]
57883         * include/complex.h: Condition contents on [!_COMPLEX_H].
57884         (__kernel_casinhf): New prototype.
57885         (__kernel_casinh): Likewise.
57886         (__kernel_casinhl): Likewise.
57887         * math/Makefile (libm_calls): Add k_casinh.
57888         * math/k_casinh.c: New file.
57889         * math/k_casinhf.c: Likewise.
57890         * math/k_casinhl.c: Likewise.
57891         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57892         finite nonzero arguments.
57893         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57894         finite nonzero arguments.
57895         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57896         finite nonzero arguments.
57897         * math/s_casinh.c: Do not include <float.h>.
57898         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57899         * math/s_casinhf.c: Do not include <float.h>.
57900         (__casinhf): Move code for finite nonzero arguments to
57901         k_casinhf.c.
57902         * math/s_casinhl.c: Do not include <float.h>.
57903         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57904         redefine.
57905         (__casinhl): Move code for finite nonzero arguments to
57906         k_casinhl.c.
57907         * math/libm-test.inc (cacos_test): Add more tests.
57908         * sysdeps/i386/fpu/libm-test-ulps: Update.
57909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57911 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57913         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57914         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57915         [!HAVE_MREMAP]: Remove [defined linux] case.
57916         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57918 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57920         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57922 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57924         * elf/elf.h (R_386_SIZE32): New relocation.
57925         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57926         R_386_SIZE32.
57927         (elf_machine_rela): Likewise.
57928         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57929         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57931 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57933         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57934         (FP_FAST_FMA): Do not define.
57935         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57936         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57937         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57938         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57939         !_SOFT_FLOAT]: Likewise.
57940         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57941         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57942         value.
57943         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57944         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57945         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57946         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57947         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57948         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57949         file.
57951 2013-01-16  Andreas Schwab  <schwab@suse.de>
57953         [BZ #14327]
57954         * include/stdlib.h (__mktemp): Add declaration.
57955         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57956         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57958 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57960         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57961         definitions.
57962         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57963         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57964         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57965         definitions here.
57966         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57967         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57968         definitions.
57969         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57970         and ONE.
57971         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57972         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57973         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57974         definitions.
57975         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57976         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57977         definitions.
57978         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57980         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57982 2013-01-15  David S. Miller  <davem@davemloft.net>
57984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57985         trunc{,f} to libm-sysdep_routes.
57986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57988         file.
57989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57991         file.
57992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57993         file.
57994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57996         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57997         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57998         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57999         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58000         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58001         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58004         nearbyint{,f} to libm-sysdep_routes.
58005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58007         New file.
58008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58009         file.
58010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58011         New file.
58012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58013         file.
58014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58016         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58017         file.
58018         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58019         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58020         file.
58021         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58022         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58023         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58025         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58026         libc_feholdexcept and libc_fesetenv.
58028 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58030         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58032 2013-01-14  David S. Miller  <davem@davemloft.net>
58034         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58035         (SPARC_ASM_VIS2_IFUNC): Likewise.
58036         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58038         use of 'siam' instruction.
58039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58040         Likewise.
58041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58042         Likewise.
58043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58044         Likewise.
58045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58050         file.
58051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58052         file.
58053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58054         file.
58055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58056         file.
58057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58062         new VIS2 routines.
58063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58066         Likewise.
58067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58072         routines to libm-sysdep_routines.
58073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58076         fdim/fdimf to libm-sysdep_routines.
58077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58078         file.
58079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58081         file.
58082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58085         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58086         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58087         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58088         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58090 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58092         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58093         to optimize copies.
58095         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58100         local variable MPTWO.
58101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58102         Likewise.
58104 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58106         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58107         GLOB_NOESCAPE.
58109 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58111         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58113 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58115         * manual/pattern.texi (glob_t): Document gl_flags.
58116         (glob64_t): Likewise.
58118 2013-01-11  David S. Miller  <davem@davemloft.net>
58120         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58121         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58122         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58123         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58124         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58125         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58126         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58127         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58128         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58129         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58130         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58131         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58132         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58134         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58135         sparc V9 rather than using V8 code.
58136         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58137         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58139         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58140         Move to...
58141         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58142         Here.
58144 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58146         [BZ #14941]
58147         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58148         not in the main loop.
58149         * configure: Regenerated.
58151 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58153         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58154         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58155         to just #else.
58156         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58157         [!__GLIBC_HAVE_LONG_LONG] case.
58158         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58159         condition to just #else.
58160         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58161         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58162         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58163         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58164         unconditional.
58165         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58166         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58167         #elif condition to just #else.
58168         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58169         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58170         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58171         #elif condition to just #else.
58173 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58175         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58176         (EF_MIPS_ARCH_64): Fix value.
58177         (EF_MIPS_ARCH_32R2): New.
58178         (EF_MIPS_ARCH_64R2): New.
58180 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58182         * Makeconfig (+link-pie-before-libc): New.
58183         (+link-pie-after-libc): Likewise.
58184         (+link-pie-tests): Likewise.
58185         (+link-pie): Rewritten.
58186         (link-before-libc): Remove $(config-LDFLAGS).
58187         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58188         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58189         (config-LDFLAGS): Renamed to ...
58190         (rtld-LDFLAGS): This.
58191         (rtld-tests-LDFLAGS): New macro.
58192         (link-libc-rpath-link): Likewise.
58193         (link-libc-tests-rpath-link): Likewise.
58194         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58195         (link-libc): Prepand $(link-libc-rpath-link).
58196         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58197         (test-program-prefix): New macro.
58198         (test-via-rtld-prefix): Likewise.
58199         (test-program-cmd): Likewise.
58200         (host-test-program-cmd): Likewise.
58201         * Makefile ($(common-objpfx)testrun.sh): Replace
58202         $(run-program-prefix) with $(test-program-prefix).
58203         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58204         $(rtld-LDFLAGS).
58205         ($(common-objpfx)shlib.lds): Likewise.
58206         (build-module-helper): Likewise.
58207         ($(common-objpfx)format.lds): Likewise.
58208         * Rules (binaries-pie-tests): New.
58209         (binaries-pie-notests): Likewise.
58210         (binaries-pie): Rewritten.
58211         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58212         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58213         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58214         (make-test-out): Replace $(host-built-program-cmd) with
58215         $(host-test-program-cmd).
58216         * config.make.in (build-hardcoded-path-in-tests): New variable.
58217         * configure.in (--enable-hardcoded-path-in-tests): New configure
58218         option.
58219         (hardcoded_path_in_tests): New AC_SUBST.
58220         * configure: Regenerated.
58221         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58222         $(built-program-cmd) with $(test-program-cmd).
58223         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58224         (test_program_cmd): This.
58225         * elf/Makefile ($(objpfx)order.out): Run test with
58226         $(test-program-prefix).
58227         ($(objpfx)order2.out): Likewise.
58228         ($(objpfx)tst-initorder.out): Likewise.
58229         ($(objpfx)tst-initorder2.out): Likewise.
58230         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58231         $(test-program-cmd).
58232         ($(objpfx)tst-array1-static.out): Likewise.
58233         ($(objpfx)tst-array2.out): Likewise.
58234         ($(objpfx)tst-array3.out): Likewise.
58235         ($(objpfx)tst-array4.out): Likewise.
58236         ($(objpfx)tst-array5.out): Likewise.
58237         ($(objpfx)tst-array5-static.out): Likewise.
58238         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58239         $(test-program-cmd).
58240         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58241         $(run-program-prefix) with $(test-program-prefix).
58242         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58243         (test_program_prefix): This.
58244         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58245         $(run-program-prefix) with $(test-program-prefix).
58246         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58247         (test_program_prefix): This.
58248         * iconvdata/tst-tables.sh: Likewise.
58249         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58250         $(run-program-prefix) with $(test-program-prefix).
58251         ($(objpfx)tst-translit.out): Likewise.
58252         ($(objpfx)tst-gettext2.out): Likewise.
58253         ($(objpfx)tst-gettext4.out): Likewise.
58254         ($(objpfx)tst-gettext6.out): Likewise.
58255         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58256         (test_program_prefix): This.
58257         * intl/tst-gettext2.sh: Likewise.
58258         * intl/tst-gettext4.sh  Likewise.
58259         * intl/tst-gettext6.sh: Likewise.
58260         * intl/tst-translit.sh: Likewise.
58261         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58262         with $(test-program-cmd).
58263         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58264         $(run-program-prefix) with $(test-program-prefix).
58265         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58266         (test_program_prefix): This.
58267         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58268         $(run-program-prefix) with $(test-program-prefix).
58269         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58270         (test_program_prefix): This.
58271         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58272         * posix/Makefile ($(objpfx)globtest.out): Replace
58273         $(run-via-rtld-prefix) and $(test-wrapper) with
58274         $(test-program-prefix) and $(test-via-rtld-prefix).
58275         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58276         $(test-program-prefix).
58277         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58278         $(host-test-program-cmd).
58279         (tst-spawn-ARGS): Likewise.
58280         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58281         $(test-program-prefix).
58282         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58283         (test_via_rtld_prefix): This.
58284         (test_wrapper): Renamed to ...
58285         (test_program_prefix): This.
58286         (run_program_prefix): Replaced by test_program_prefix.
58287         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58288         (test_program_prefix): This.
58289         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58290         with $(host-test-program-cmd).
58291         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58292         $(run-program-prefix) with $(test-program-prefix).
58293         ($(objpfx)tst-printf.out): Likewise.
58294         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58295         $(test-program-cmd).
58296         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58297         (test_program_prefix): This.
58298         * stdio-common/tst-unbputc.sh: Likewise.
58299         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58300         $(run-program-prefix) with $(test-program-prefix).
58301         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58302         (test_program_prefix): This.
58303         * string/Makefile ($(objpfx)tst-svc.out):  Replace
58304         $(built-program-cmd) with $(test-program-cmd).
58306 2013-01-11  Andreas Jaeger  <aj@suse.de>
58308         [BZ #15003]
58309         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58310         value. Sync with Linux 3.7.
58312 2013-01-10  David S. Miller  <davem@davemloft.net>
58314         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58315         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58316         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58318 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58320         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58321         never set.
58322         * configure: Regenerated.
58324 2013-01-10  David S. Miller  <davem@davemloft.net>
58326         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58327         sparc V9 rather than using V8 code.
58328         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58329         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58331 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58333         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58334         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58335         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58336         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58337         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58338         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58339         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58340         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58341         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58342         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58343         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58344         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58345         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58346         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58347         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58348         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58349         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58350         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58351         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58352         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58353         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58354         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58355         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58356         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58357         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58358         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58359         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58361 2013-01-10  David S. Miller  <davem@davemloft.net>
58363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58365 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58367         * posix/Makefile (tests-static): New variable.
58368         (tests): Add $(tests-static).
58369         (tst-exec-static-ARGS): New variable.
58370         (tst-spawn-static-ARGS): Likewise.
58371         * posix/tst-exec-static.c: New file.
58372         * posix/tst-spawn-static.c: Likewise.
58373         * posix/tst-exec.c: Support run directly.
58374         * posix/tst-spawn.c: Likewise.
58376 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
58378         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58379         long.
58380         * math/bits/mathcalls.h (llrint): Likewise.
58381         (llround): Likewise.
58382         * stdlib/stdlib.h (struct drand48_data): Likewise.
58383         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58384         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58385         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58386         Likewise.
58387         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58388         Likewise.
58389         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58390         (elf_greg_t): Likewise.
58391         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58392         (__jmp_buf): Likewise.
58393         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58394         definitions.
58395         (llrint): Likewise, for all definitions.
58396         (llrintl): Likewise.
58398         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58399         Remove [__GNUC__] condition.
58400         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58401         condition to just [__USE_ISOC99].
58402         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58404 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58406         [BZ #14200]
58407         * sysdeps/unix/sysv/linux/x86/bits/environments.h
58408         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58409         defined.
58410         (_POSIX_V6_ILP32_OFF32): Likewise.
58411         (_XBS5_ILP32_OFF32): Likewise.
58412         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58413         (__ILP32_OFFBIG_LDFLAGS): Likewise.
58415 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58417         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58420         doubles __mpexp_twomm1.  Adjust usage.
58421         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58422         Remove.
58424 2013-01-10  Andreas Schwab  <schwab@suse.de>
58426         [BZ #14964]
58427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58428         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58430 2013-01-09  David S. Miller  <davem@davemloft.net>
58432         [BZ #15003]
58433         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58434         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58435         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58436         (TCP_FASTOPEN): Define.
58437         (tcp_repair_opt): New structure.
58438         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58439         enum values.
58440         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58441         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58442         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58443         (tcp_cookie_transactions): New structure.
58445 2013-01-09  Anton Blanchard  <anton@samba.org>
58447         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58448         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58449         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58450         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58452 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58454         * include/features.h (__USE_ANSI): Remove.
58456 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58458         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58460         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58462 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58464         * sysdeps/s390/fpu/libm-test-ulps: Update.
58466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58468         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58469         (__acr): Likewise.
58470         (__cpy): Likewise.
58471         (norm): Likewise.
58472         (denorm): Likewise.
58473         (__mp_dbl): Likewise.
58474         (__dbl_mp): Likewise.
58475         (add_magnitudes): Likewise.
58476         (sub_magnitudes): Likewise.
58477         (__add): Likewise.
58478         (__sub): Likewise.
58479         (__mul): Likewise.
58480         (__inv): Likewise.
58481         (__dvd): Likewise.
58482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58483         (__acr): Likewise.
58484         (__cpy): Likewise.
58485         (norm): Likewise.
58486         (denorm): Likewise.
58487         (__mp_dbl): Likewise.
58488         (__dbl_mp): Likewise.
58489         (add_magnitudes): Likewise.
58490         (sub_magnitudes): Likewise.
58491         (__add): Likewise.
58492         (__sub): Likewise.
58493         (__mul): Likewise.
58494         (__inv): Likewise.
58495         (__dvd): Likewise.
58496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58497         (__acr): Likewise.
58498         (__cpy): Likewise.
58499         (norm): Likewise.
58500         (denorm): Likewise.
58501         (__mp_dbl): Likewise.
58502         (__dbl_mp): Likewise.
58503         (add_magnitudes): Likewise.
58504         (sub_magnitudes): Likewise.
58505         (__add): Likewise.
58506         (__sub): Likewise.
58507         (__mul): Likewise.
58508         (__inv): Likewise.
58509         (__dvd): Likewise.
58511 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58513         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58514         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58515         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58516         2 && __USE_EXTERN_INLINES]: Likewise.
58518 2013-01-08  Andreas Jaeger  <aj@suse.de>
58520         [BZ# 14985]
58521         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58522         Remove.
58523         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58524         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58526 2013-01-07  Anton Blanchard  <anton@samba.org>
58528         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58529         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58530         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58531         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58532         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58533         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58534         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58535         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58537         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58538         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58539         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58540         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58541         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58542         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58543         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58544         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58545         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58546         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58547         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58548         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58549         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58550         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58551         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58552         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58553         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58554         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58555         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58557         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58558         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58560         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58561         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58562         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58563         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58564         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58565         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58566         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58567         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58568         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58570         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58572 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58574         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58575         (__MALLOC_PMT): Likewise.
58576         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58577         [__GNUC__], only on [_LIBC].
58578         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58579         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58580         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58581         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58582         forward declaration.
58583         (realloc_hook_ini): Likewise.
58584         (memalign_hook_ini): Likewise.
58585         (__libc_memalign): Do not use __MALLOC_PMT in variable
58586         declaration.
58587         (__libc_valloc): Likewise.
58588         (__libc_pvalloc): Likewise.
58589         (__libc_calloc): Likewise.
58590         (__posix_memalign): Likewise.
58592         [BZ #14996]
58593         * math/s_casinh.c: Include <float.h>.
58594         (__casinh): Do not do computation with squaring and square root
58595         for large arguments.
58596         * math/s_casinhf.c: Include <float.h>.
58597         (__casinhf): Do not do computation with squaring and square root
58598         for large arguments.
58599         * math/s_casinhl.c: Include <float.h>.
58600         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58601         (__casinhl): Do not do computation with squaring and square root
58602         for large arguments.
58603         * math/libm-test.inc (casin_test): Add more tests.
58604         (casinh_test): Likewise.
58605         * sysdeps/i386/fpu/libm-test-ulps: Update.
58606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58608 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58610         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58611         (__x86_64_raw_data_cache_size): Likewise.
58612         (__x86_64_data_cache_size_half): Likewise.
58613         (__x86_64_raw_data_cache_size_half): Likewise.
58614         (__x86_64_shared_cache_size): Likewise.
58615         (__x86_64_raw_shared_cache_size): Likewise.
58616         (__x86_64_shared_cache_size_half): Likewise.
58617         (__x86_64_raw_shared_cache_size_half): Likewise.
58618         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58619         to ...
58620         (__x86_data_cache_size): This.
58621         (__x86_64_raw_data_cache_size): Renamed to ...
58622         (__x86_raw_data_cache_size): This.
58623         (__x86_64_data_cache_size_half): Renamed to ...
58624         (__x86_data_cache_size_half): This.
58625         (__x86_64_raw_data_cache_size_half): Renamed to ...
58626         (__x86_raw_data_cache_size_half): This.
58627         (__x86_64_shared_cache_size): Renamed to ...
58628         (__x86_shared_cache_size): This.
58629         (__x86_64_raw_shared_cache_size): Renamed to ...
58630         (__x86_raw_shared_cache_size): This.
58631         (__x86_64_shared_cache_size_half): Renamed to ...
58632         (__x86_shared_cache_size_half): This.
58633         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58634         (__x86_raw_shared_cache_size_half): This.
58635         * sysdeps/x86_64/memcpy.S: Updated.
58636         * sysdeps/x86_64/memset.S: Likewise.
58637         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58638         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58639         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58641 2013-01-04  David S. Miller  <davem@davemloft.net>
58643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58645 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58647         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58648         1 to avoid redefinition warning.
58649         (__USE_GNU): Don't define.
58650         (init_signaling_nan): Protoize.
58652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58654 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58656         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58658         (__cpymn): Likewise.
58659         (norm): Remove commented code.
58660         (denorm): Likewise.
58661         (__mp_dbl): Likewise.
58662         (__inv): Likewise.
58663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58664         (__cpymn): Likewise.
58665         (norm): Remove commented code.
58666         (denorm): Likewise.
58667         (__mp_dbl): Likewise.
58668         (__inv): Likewise.
58670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58671         mp_no value for 1.0 and 2.0.
58672         (norm): Use RADIXI instead of radixi.d.
58673         (denorm): Likewise.
58674         (__mul): Use 0.0 instead of zero.d.
58675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58676         mp_no value for 1.0 and 2.0.
58677         (norm): Use RADIXI instead of radixi.d.
58678         (denorm): Likewise.
58679         (__mul): Use 0.0 instead of zero.d.
58681 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58683         [BZ #14994]
58684         * math/s_casinh.c (__casinh): Reduce finite argument to first
58685         quadrant then set signs of results at the end.
58686         * math/s_casinhf.c (__casinhf): Likewise.
58687         * math/s_casinhl.c (__casinhl): Likewise.
58688         * math/libm-test.inc (casin_test): Add more tests.
58689         (casinh_test): Likewise.
58690         * sysdeps/i386/fpu/libm-test-ulps: Update.
58691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58693 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58695         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58697         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58699         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58700         declarations.
58701         (denorm): Likewise.
58702         (__mp_dbl): Likewise.
58703         (__inv): Likewise.
58705         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58706         and adjust the header comment.
58708         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58709         variable name from declaration.
58711 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58714         Initialize COMMON_CPUID_INDEX_7 element.
58715         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58716         (CPUID_RTM): Likewise.
58717         (HAS_RTM): Likewise.
58718         (COMMON_CPUID_INDEX_7): New enum.
58720 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58722         [BZ #14981]
58723         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58724         size is zero, record memory as freed.
58726 2013-01-03  Andreas Jaeger  <aj@suse.de>
58728         * po/ia.po: Add new Interlingua translation.
58730 2012-01-03  Allan McRae  <allan@archlinux.org>
58732         * locale/programs/localedef.c: Fix description of '--posix' flag.
58734 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58736         * NEWS: Update dates in second copyright notice.
58737         * README: Update copyright dates in example.
58738         * manual/libc.texinfo: Update copyright dates.
58739         * scripts/test-installation.pl: Update copyright date in --version
58740         output.
58742         * hurd/ctty-input.c: Fix copyright notice formatting.
58743         * hurd/ctty-output.c: Likewise.
58744         * hurd/dtable.c: Likewise.
58745         * hurd/hurd-raise.c: Likewise.
58746         * hurd/hurdprio.c: Likewise.
58747         * hurd/msgportdemux.c: Likewise.
58748         * misc/sys/file.h: Likewise.
58749         * misc/sys/ioctl.h: Likewise.
58750         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58751         * sysdeps/mach/hurd/chdir.c: Likewise.
58752         * sysdeps/mach/hurd/fchdir.c: Likewise.
58753         * sysdeps/mach/hurd/rename.c: Likewise.
58754         * sysdeps/mach/hurd/rmdir.c: Likewise.
58755         * sysdeps/mach/hurd/seekdir.c: Likewise.
58756         * sysdeps/mach/hurd/setsid.c: Likewise.
58757         * sysdeps/posix/wait3.c: Likewise.
58759         * All files with FSF copyright notices: Update copyright dates
58760         using scripts/update-copyrights.
58761         * intl/plural.c: Regenerated.
58762         * locale/programs/charmap-kw.h: Likewise.
58763         * locale/programs/locfile-kw.h: Likewise.
58765 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58767         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58768         four values.
58770         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58771         calculation loop and add branch prediction.
58773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58774         check access beyond bounds of m1np.
58776         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58777         MPTWO.
58778         (__inv): Remove local variable MPTWO to use the global
58779         constant.
58780         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58782         variable MPTWO.
58783         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58784         MP3HALFS static const.
58786 2013-01-01  David S. Miller  <davem@davemloft.net>
58788         * po/ca.po: Update from translation team.
58790 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58792         * scripts/update-copyrights: New file.
58793         * Makeconfig: Reformat copyright notice.
58794         * ctype/ctype.h: Likewise.
58795         * debug/swprintf_chk.c: Likewise.
58796         * elf/dl-cache.c: Likewise.
58797         * elf/dl-debug.c: Likewise.
58798         * elf/dl-object.c: Likewise.
58799         * grp/initgroups.c: Likewise.
58800         * hurd/Makefile: Likewise.
58801         * hurd/hurd/signal.h: Likewise.
58802         * hurd/hurdfault.c: Likewise.
58803         * hurd/hurdioctl.c: Likewise.
58804         * hurd/hurdlookup.c: Likewise.
58805         * hurd/intr-msg.c: Likewise.
58806         * iconv/gconv_open.c: Likewise.
58807         * libio/swprintf.c: Likewise.
58808         * locale/lc-ctype.c: Likewise.
58809         * locale/nl_langinfo.c: Likewise.
58810         * mach/Machrules: Likewise.
58811         * mach/Makefile: Likewise.
58812         * malloc/obstack.h: Likewise.
58813         * manual/Makefile: Likewise.
58814         * manual/tsort.awk: Likewise.
58815         * misc/bits/stab.def: Likewise.
58816         * nis/nis_print_group_entry.c: Likewise.
58817         * nis/nis_table.c: Likewise.
58818         * nis/nss_compat/compat-pwd.c: Likewise.
58819         * nis/nss_compat/compat-spwd.c: Likewise.
58820         * po/Makefile: Likewise.
58821         * posix/fnmatch.c: Likewise.
58822         * posix/regex.h: Likewise.
58823         * resolv/Makefile: Likewise.
58824         * resolv/nss_dns/dns-network.c: Likewise.
58825         * resolv/res_hconf.c: Likewise.
58826         * scripts/gen-sorted.awk: Likewise.
58827         * soft-fp/soft-fp.h: Likewise.
58828         * stdio-common/printf.h: Likewise.
58829         * stdlib/monetary.h: Likewise.
58830         * stdlib/random.c: Likewise.
58831         * stdlib/random_r.c: Likewise.
58832         * sysdeps/generic/Makefile: Likewise.
58833         * sysdeps/gnu/Makefile: Likewise.
58834         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58835         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58836         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58837         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58838         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58841         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58842         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58843         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58844         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58845         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58846         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58847         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58848         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58849         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58850         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58851         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58852         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58853         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58854         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58855         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58856         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58857         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58858         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58859         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58861         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58862         * sysdeps/mach/hurd/errnos.awk: Likewise.
58863         * sysdeps/mach/hurd/fork.c: Likewise.
58864         * sysdeps/mach/hurd/getcwd.c: Likewise.
58865         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58866         * sysdeps/mach/hurd/mmap.c: Likewise.
58867         * sysdeps/mach/hurd/utimes.c: Likewise.
58868         * sysdeps/mach/hurd/xmknod.c: Likewise.
58869         * sysdeps/posix/profil.c: Likewise.
58870         * sysdeps/posix/readdir_r.c: Likewise.
58871         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58872         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58873         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58874         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58876         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58877         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58878         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58880         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58881         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58882         * sysdeps/pthread/lio_listio.c: Likewise.
58883         * sysdeps/sparc/dl-procinfo.h: Likewise.
58884         * sysdeps/unix/i386/sysdep.S: Likewise.
58885         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58886         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58887         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58888         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58890         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58891         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58892         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58893         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58894         * sysdeps/wordsize-32/divdi3.c: Likewise.
58895         * time/sys/time.h: Likewise.
58896         * wcsmbs/Makefile: Likewise.
58898 2013-01-01  David S. Miller  <davem@davemloft.net>
58900         * po/fr.po: Update from translation team.
58902         * catgets/gencat.c: Update copyright year.
58903         * csu/version.c: Likewise.
58904         * debug/catchsegv.sh: Likewise.
58905         * debug/pcprofiledump.c: Likewise.
58906         * debug/xtrace.sh: Likewise.
58907         * elf/ldconfig.c: Likewise.
58908         * elf/ldd.bash.in: Likewise.
58909         * elf/pldd.c: Likewise.
58910         * elf/sotruss.ksh: Likewise.
58911         * elf/sprof.c: Likewise.
58912         * iconv/iconv_prog.c: Likewise.
58913         * iconv/iconvconfig.c: Likewise.
58914         * locale/programs/locale.c: Likewise.
58915         * locale/programs/localedef.c: Likewise.
58916         * login/programs/pt_chown.c: Likewise.
58917         * malloc/memusage.sh: Likewise.
58918         * malloc/memusagestat.c: Likewise.
58919         * malloc/mtrace.pl: Likewise.
58920         * nscd/nscd.c: Likewise.
58921         * nss/getent.c: Likewise.
58922         * nss/makedb.c: Likewise.
58923         * posix/getconf.c: Likewise.
58925 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58927         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58928         numbers.
58930 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58932         * math/bits/mathcalls.h (modf): Use __nonnull.
58934 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58936         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58937         (split): Use macro CN instead of the bare value.
58938         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58939         could be used.
58940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58941         instead of the bare value.
58942         (power1): Likewise.
58944 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58946         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58947         __ATAN_TWOM.
58948         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58950         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58951         their values.
58952         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58953         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58954         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58955         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58957 2012-12-28  Andreas Jaeger  <aj@suse.de>
58959         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58960         values are from Linux 3.7.
58962         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58963         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58965 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58967         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58968         TRUE case.
58970         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58971         (norm): Likewise.
58972         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58973         variables with preprocessor constants.
58974         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58975         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58976         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58978 2012-12-27  Bruno Haible  <bruno@clisp.org>
58980         [BZ #14317]
58981         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58982         only if needed.
58984 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58987         and use variable directly.
58988         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58990         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58991         MPONE.
58992         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58993         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58994         variable MPONE.
58995         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58997         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58998         include directive.  Remove local variable MPONE.
58999         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59000         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59001         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59003 2012-12-25  David S. Miller  <davem@davemloft.net>
59005         * version.h (RELEASE): Set to "development".
59006         (VERSION): Set to "2.17.90".
59007         * NEWS: Add 2.18 section.
59009 2012-12-21  David S. Miller  <davem@davemloft.net>
59011         * po/hr.po: Update from translation team.
59013 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59015         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59017 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59019         * NEWS:  Mention new memcpy for MIPS.
59021 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59023         * manual/contrib.texi (Contributors): Spelling correction.
59025 2012-12-15  David S. Miller  <davem@davemloft.net>
59027         * po/ru.po: Update from translation team.
59029 2012-12-13  David S. Miller  <davem@davemloft.net>
59031         * NEWS: Mention IFUNC testsuite enhancements.
59033         * po/pl.po: Update from translation team.
59034         * po/bg.po: Likewise.
59036         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59037         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59039 2012-12-11  David S. Miller  <davem@davemloft.net>
59041         * po/sv.po: Update from translation team.
59043         * po/vi.po: Update from translation team.
59045         * po/cs.po: Update from translation team.
59047         * po/de.po: Update from translation team.
59048         * po/eo.po: Likewise.
59049         * po/nl.po: Likewise.
59051 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59053         [BZ #14246]
59054         * manual/argp.texi (Argp Helper Functions): Move node to follow
59055         Argp Parsing State.
59057         [BZ #14872]
59058         * manual/conf.texi (Limits on File System Capacity): Mention if
59059         terminating null is included in the max size.
59061 2012-12-10  Andreas Jaeger  <aj@suse.de>
59063         * po/cs.po: Update from translation team.
59065 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59067         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59068         void pointer and cast to uintptr_t.
59069         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59070         path.
59071         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59072         * sysdeps/s390/s390-64/memset.S: Likewise.
59074 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59076         [BZ #14833]
59077         * menual/message.texi (Message Translation): Fix typos.
59078         (Helper programs for gettext): Likewise.
59080 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59082         [BZ #14898]
59083         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59084         Change to -1.
59086 2012-12-07  David S. Miller  <davem@davemloft.net>
59088         * po/libc.pot: Update.
59090 2012-12-07  Richard Henderson  <rth@redhat.com>
59092         [BZ #10114]
59093         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59094         normal/normal case to before the switch.
59095         (_FP_DIV): Likewise.
59097 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59098             Mike Frysinger  <vapier@gentoo.org>
59100         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59101         check for __NR_fadvise64_64.
59103 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59105         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59106         0, not just to plain "0" as a statement.
59107         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59108         with cw.
59110 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59112         * NEWS: Use sourceware.org in Bugzilla URL.
59114 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59117         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59119         * stdio-common/tst-put-error.c (do_test): Add newline to the
59120         padded test to ensure flush.
59122 2012-12-05  Jeff Law  <law@redhat.com>
59124         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59126 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59128         * README: Don't refer to ports add-on as distributed separately.
59129         Mention AArch64 in list of systems supported in the ports add-on.
59131         * LICENSES: Add more non-FSF copyright and license notices.
59133         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59134         ((unused)).
59136         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59138         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59139         10000 as width of padded output.
59141 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59143         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59145         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59146         variable LX with __attribute__ ((unused)).
59147         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59148         Likewise.
59149         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59150         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59152         with __attribute__ ((unused)).
59154 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59156         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59158 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59160         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59161         (CFLAGS-nldbl-acos.c): New variable.
59162         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59163         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59164         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59165         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59166         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59167         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59168         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59169         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59170         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59171         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59172         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59173         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59174         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59175         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59176         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59177         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59178         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59179         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59180         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59181         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59182         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59183         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59184         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59185         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59186         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59187         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59188         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59189         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59190         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59191         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59192         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59193         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59194         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59195         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59196         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59197         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59198         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59199         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59200         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59201         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59202         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59203         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59204         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59205         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59206         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59207         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59208         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59209         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59210         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59211         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59212         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59213         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59214         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59215         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59216         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59217         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59218         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59219         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59220         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59221         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59222         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59223         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59224         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59225         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59226         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59227         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59228         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59229         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59230         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59231         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59232         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59233         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59234         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59235         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59236         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59237         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59238         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59239         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59240         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59241         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59242         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59243         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59244         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59245         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59246         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59247         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59248         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59249         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59250         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59251         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59252         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59253         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59254         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59255         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59256         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59257         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59258         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59261         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59263         [BZ #14914]
59264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59265         whole low double instead of just low 47 bits when splitting values
59266         into two parts.
59268 2012-12-03  Allan McRae  <allan@archlinux.org>
59270         * manual/stdio.texi (Predefined Printf Handlers): Remove
59271         @hsep and @vsep usage.
59273 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59275         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59276         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59278 2012-12-03  Jeff Law  <law@redhat.com>
59280         * time/sys/time.h (settimeofday): Do not mark TV argument
59281         as __nonnull.
59283 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59285         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59286         when currently writing and seek to current position when not.
59287         * libio/Makefile (tests): Remove bug-fclose1.
59288         * libio/bug-fclose1.c: Delete.
59290 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59292         * manual/arith.texi (feenableexcept): Fix typo.
59293         (fedisableexcept): Likewise.
59295 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59297         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59298         second, differently-typed declaration, rather than a cast.
59300 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59302         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59303         * include/rpc/svc.h: ... here.
59305 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
59307         [BZ #13013]
59308         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59309         depending n and resplen2 to catch cases where answer
59310         equals answerp2.
59312 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
59314         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59315         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59317 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
59319         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59321 2012-11-29  Roland McGrath  <roland@hack.frob.com>
59323         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59325 2012-11-28  Jeff Law  <law@redhat.com>
59327         [BZ #13761]
59328         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59329         dataset_temporary.  Track alloca usage into alloca_used.
59330         If dataset is large allocate and release it via malloc/free.
59332 2012-06-04  Florian Weimer  <fweimer@redhat.com>
59334         [BZ #14197]
59335         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59337 2012-11-28  David S. Miller  <davem@davemloft.net>
59339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59341 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59343         [BZ #14803]
59344         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59345         of pi/2 rounded to nearest to 64 bits.
59346         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59347         nearest to 64 bits.
59348         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59349         bits.
59351 2012-11-28  Jeff Law <law@redhat.com>
59352             Martin Osvald <mosvald@redhat.com>
59354         [BZ #14889]
59355         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59356         * sunrpc/svc.c: Include time.h.
59357         (__svc_accept_failed): New function.
59358         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59359         any reason other than EINTR, call __svc_accept_failed.
59360         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59361         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59363 2012-11-28  Andreas Schwab  <schwab@suse.de>
59365         * scripts/abilist.awk: Also handle indirect functions in .opd
59366         section.
59368 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59370         [BZ #13881]
59371         * sysdeps/x86/fpu/powl_helper.c: New file.
59372         * sysdeps/x86/fpu/Makefile: Likewise.
59373         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59374         (p3): New object.
59375         (__ieee754_powl): Use __powl_helper for finite arguments except
59376         integer exponents below 8.
59377         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59378         (p3): New object.
59379         (__ieee754_powl): Use __powl_helper for finite arguments except
59380         integer exponents below 8.
59381         * math/libm-test.inc (pow_test): Add more tests and enable some
59382         previously disabled tests.
59383         * sysdeps/i386/fpu/libm-test-ulps: Update.
59384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59386 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59387             Carlos O'Donell  <carlos_odonell@mentor.com>
59389         * nss/makedb.c (is_prime): Assert that input is odd and greater
59390         than 4.  Note that fact in a comment too.
59391         (next_prime): Add 4 to input.
59393 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59395         [BZ #11741]
59396         * libio/Makefile (tests): Add test case tst-fwrite-error.
59397         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59398         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59399         * libio/tst-fwrite-error.c: New test case.
59401 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
59403         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59404         before casting to void *.
59405         * include/libc-internal.h (__pointer_type): New macro.
59406         (__integer_if_pointer_type_sub): Likewise.
59407         (__integer_if_pointer_type): Likewise.
59408         (cast_to_integer): Likewise.
59409         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59410         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59411         before casting to atomic64_t.
59412         (atomic_exchange_acq): Likewise.
59413         (__arch_exchange_and_add_body): Likewise.
59414         (__arch_add_body): Likewise.
59415         (atomic_add_negative): Likewise.
59416         (atomic_add_zero): Likewise.
59418 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
59420         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59421         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59422         (add_fdes): Likewise.
59423         (linear_search_fdes): Likewise.
59424         (binary_search_unencoded_fdes): Likewise.
59426 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
59428         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59430 2012-11-24  Adam Conrad  <adconrad@0c3.net>
59432         * configure.in: Autodetect C++ header directories.
59433         * configure: Regenerated.
59435 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
59437         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59439 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59443 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59445         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59446         LDBL_MANT_DIG == 106]: Disable some tests.
59447         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59448         Likewise.
59449         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59450         Likewise.
59452         [BZ #14871]
59453         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59454         input for small inputs.  Return +/- pi/2 for large inputs.
59455         * math/libm-test.inc (atan_test): Add more tests.
59457         * sysdeps/generic/unwind-dw2-fde-glibc.c
59458         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59459         __attribute__ ((unused)).
59461         [BZ #14645]
59462         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59463         x * y if x and y are nonzero and z is zero.
59465         [BZ #14811]
59466         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59467         nonzero exponents with absolute value below 0x1p-117 to +/-
59468         0x1p-117.
59470         [BZ #14869]
59471         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59472         up arguments below 2**-450, not just those below 2**-500.
59473         * math/libm-test.inc (hypot_test): Add another test.
59475         [BZ #14868]
59476         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59477         Return a+b for ratio over 2**120, not 2**60.
59478         * math/libm-test.inc (hypot_test): Add another test.
59480         * math/libm-test.inc (clog_test): Use
59481         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59482         (clog10_test): Likewise.
59484         [BZ #6778]
59485         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59487 2012-11-22  Andreas Schwab  <schwab@suse.de>
59489         * sysdeps/i386/fpu/libm-test-ulps: Update.
59491 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59493         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59494         printf output with newline.
59496 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59498         [BZ #14865]
59499         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59500         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59501         -z nodlopen, -z initfirst and -z execstack support.
59502         * configure: Regenerated.
59504         * elf/elf.h (DF_1_NODIRECT): New macro.
59505         (DF_1_IGNMULDEF): Likewise.
59506         (DF_1_NOKSYMS): Likewise.
59507         (DF_1_NOHDR): Likewise.
59508         (DF_1_EDITED): Likewise.
59509         (DF_1_NORELOC): Likewise.
59510         (DF_1_SYMINTPOSE): Likewise.
59511         (DF_1_GLOBAUDIT): Likewise.
59512         (DF_1_SINGLETON): Likewise.
59513         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59514         DT_1_SUPPORTED_MASK bits.
59515         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59517 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59519         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59521 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59523         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59524         macro.
59526         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59527         (sendmmsg): Move declarations...
59528         * socket/sys/socket.h: ... here.
59529         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59530         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59531         include it from...
59532         * socket/recvmmsg.c: ... this new file.
59533         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59534         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59535         definition of __sendmmsg hidden.
59536         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59537         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59538         Move ENOSYS stub into and include it from...
59539         * socket/sendmmsg.c: ... this new file.
59540         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59541         (sysdep_routines): Move recvmmsg and sendmmsg...
59542         * socket/Makefile (routines): ... here.
59543         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59544         (GLIBC_PRIVATE): Add __sendmmsg.
59545         * include/sys/socket.h (__sendmmsg): Add declarations.
59546         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59547         sendmmsg.
59549 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59551         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59552         variable I1 with __attribute__ ((unused)).
59553         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59555 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59557         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59558         DUMMY variables with __attribute__ ((unused)).
59560         * bits/byteswap.h: Include <bits/types.h>.
59561         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59563 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59565         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59566         string_t.  Do not manually set errno.
59567         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59568         length with __strnlen.  Make sure to both set errno and return it on
59569         failure.
59571 2012-11-19  David S. Miller  <davem@davemloft.net>
59573         With help from Joseph Myers.
59574         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59575         very large arguments properly.
59576         * math/libm-test.inc (atan_test): New tests.
59577         (atan2_test): New tests.
59578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59581 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59583         [BZ #14856]
59584         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59585         Define to 3.
59587         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59588         [POSIX] (EADDRNOTAVAIL): Likewise.
59589         [POSIX] (EAFNOSUPPORT): Likewise.
59590         [POSIX] (EALREADY): Likewise.
59591         [POSIX] (ECONNABORTED): Likewise.
59592         [POSIX] (ECONNREFUSED): Likewise.
59593         [POSIX] (ECONNRESET): Likewise.
59594         [POSIX] (EDESTADDRREQ): Likewise.
59595         [POSIX] (EDQUOT): Likewise.
59596         [POSIX] (EHOSTUNREACH): Likewise.
59597         [POSIX] (EIDRM): Likewise.
59598         [POSIX] (EISCONN): Likewise.
59599         [POSIX] (ELOOP): Likewise.
59600         [POSIX] (EMULTIHOP): Likewise.
59601         [POSIX] (ENETDOWN): Likewise.
59602         [POSIX] (ENETUNREACH): Likewise.
59603         [POSIX] (ENOBUFS): Likewise.
59604         [POSIX] (ENODATA): Likewise.
59605         [POSIX] (ENOLINK): Likewise.
59606         [POSIX] (ENOMSG): Likewise.
59607         [POSIX] (ENOPROTOOPT): Likewise.
59608         [POSIX] (ENOSR): Likewise.
59609         [POSIX] (ENOSTR): Likewise.
59610         [POSIX] (ENOTCONN): Likewise.
59611         [POSIX] (ENOTSOCK): Likewise.
59612         [POSIX] (EOPNOTSUPP): Likewise.
59613         [POSIX] (EOVERFLOW): Likewise.
59614         [POSIX] (EPROTO): Likewise.
59615         [POSIX] (EPROTONOSUPPORT): Likewise.
59616         [POSIX] (EPROTOTYPE): Likewise.
59617         [POSIX] (ESTALE): Likewise.
59618         [POSIX] (ETIME): Likewise.
59619         [POSIX] (ETXTBSY): Likewise.
59620         [POSIX] (EWOULDBLOCK): Likewise.
59621         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59622         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59623         [POSIX] (SEEK_CUR): Likewise.
59624         [POSIX] (SEEK_END): Likewise.
59625         [POSIX || UNIX98] (mode_t): Do not require.
59626         [POSIX] (off_t): Likewise.
59627         [POSIX] (pid_t): Likewise.
59628         [POSIX] (sys/stat.h): Do not allow header.
59629         [POSIX] (unistd.h): Likewise.
59630         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59631         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59632         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59633         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59634         require.
59635         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59636         sigevent): Specify elements.
59637         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59638         entry.
59639         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59640         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59642         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59643         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59644         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59645         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59646         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59647         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59648         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59649         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59650         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59651         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59652         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59653         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59654         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59655         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59656         Likewise.
59657         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59658         Likewise.
59659         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59660         Likewise.
59661         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59662         Likewise.
59663         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59664         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59665         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59666         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59667         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59668         Specify lower bound on value.
59669         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59670         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59671         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59672         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59673         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59674         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59675         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59676         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59677         value.
59678         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59679         as optional.
59680         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59681         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59682         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59683         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59684         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59685         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59686         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59687         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59688         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59689         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59690         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59691         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59692         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59693         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59694         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59695         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59696         entry.
59697         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59698         optional.
59699         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59700         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59701         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59702         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59703         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59704         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59705         Likewise.
59706         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59707         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59708         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59709         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59710         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59711         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59712         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59713         as optional.
59714         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59715         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59716         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59717         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59718         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59719         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59720         specify as optional.
59721         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59722         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59723         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59724         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59725         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59726         [XPG3] (NL_LANGMAX): Likewise.
59727         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59728         [POSIX || XPG3] (NL_NMAX): Likewise.
59729         [POSIX || XPG3] (NL_SETMAX): Likewise.
59730         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59731         [XPG3] (NZERO): Likewise.
59732         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59733         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59734         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59735         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59736         (REG_ERANGE): Expect.
59737         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59738         optional-constant.
59739         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59740         Use (void) in prototype.
59741         [POSIX] (*_t): Allow.
59742         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59743         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59744         (WRDE_BADVAL): Expect.
59746         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59747         expect.
59748         [XPG3 || XPG4] (O_RSYNC): Likewise.
59749         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59750         Likewise.
59751         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59752         [XPG3 || XPG4] (sigqueue): Likewise.
59753         [XPG3 || XPG4] (sigtimedwait): Likewise.
59754         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59755         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59756         [XPG3 || XPG4] (vsnprintf): Likewise.
59757         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59758         Likewise.
59759         [XPG3 || XPG4] (blksize_t): Likewise.
59760         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59761         Likewise.
59762         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59763         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59764         [XPG3 || XPG4] (struct itimerspec): Likewise.
59765         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59766         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59767         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59768         [XPG3 || XPG4] (clockid_t): Likewise.
59769         [XPG3 || XPG4] (timer_t): Likewise.
59770         [XPG3 || XPG4] (clock_getres): Likewise.
59771         [XPG3 || XPG4] (clock_gettime): Likewise.
59772         [XPG3 || XPG4] (clock_settime): Likewise.
59773         [XPG3 || XPG4] (nanosleep): Likewise.
59774         [XPG3 || XPG4] (timer_create): Likewise.
59775         [XPG3 || XPG4] (timer_delete): Likewise.
59776         [XPG3 || XPG4] (timer_gettime): Likewise.
59777         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59778         [XPG3 || XPG4] (timer_settime): Likewise.
59779         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59780         [XPG3 || XPG4] (getlogin_r): Likewise.
59781         [XPG3 || XPG4] (pread): Likewise.
59782         [XPG3 || XPG4] (pthread_atfork): Likewise.
59783         [XPG3 || XPG4] (pwrite): Likewise.
59785         [BZ #14835]
59786         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59787         <bits/siginfo.h>.
59789 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59791         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59792         finalizing MALLSTREAM.
59794         * sysdeps/mach/hurd/syncfs.c: New file.
59796 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59798         [BZ #14719]
59799         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59800         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59802         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59803         (_nss_dns_gethostbyname4_r): Likewise.
59804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59805         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59807 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59809         [BZ #13763]
59810         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59812 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59814         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59815         * elf/cache.c (print_entry): Print ",AArch64" for
59816         FLAG_AARCH64_LIB64
59818         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59819         * elf/cache.c (print_entry): Print ",hard-float" for
59820         FLAG_ARM_LIBHF.
59822 2012-11-18  David S. Miller  <davem@davemloft.net>
59824         With help from Joseph Myers.
59825         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59826         cutoff to 2**-13.
59827         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59828         cutoff to 2**-25.
59829         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59830         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59831         small.
59832         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59833         * math/libm-test.inc (y0_test): New tests.
59834         (y1_test): New tests.
59835         * sysdeps/i386/fpu/libm-test-ulps: Update.
59836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59839 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59841         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59842         64-bit targets.
59843         * configure: Regenerated.
59845 2012-11-17  David S. Miller  <davem@davemloft.net>
59847         [BZ #14811]
59848         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59849         nonzero exponents with absolute value below 0x1p-128 to +/-
59850         0x1p-128.
59852 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59854         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59856         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59858         * posix/getconf-speclist.c: New file.
59859         * posix/posix-envs.def: Likewise.
59860         * posix/confstr.c (START_ENV_GROUP): New macro.
59861         (END_ENV_GROUP): Likewise.
59862         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59863         (KNOWN_PRESENT_ENV_STRING): Likewise.
59864         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59865         (UNKNOWN_ENVIRONMENT): Likewise.
59866         (confstr): Include posix-envs.def instead of handling
59867         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59868         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59869         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59870         (END_ENV_GROUP): Likewise.
59871         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59872         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59873         (UNKNOWN_ENVIRONMENT): Likewise.
59874         (__sysconf): Include posix-envs.def instead of handling associated
59875         cases directly here.
59876         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59877         preprocessing getconf-speclist.c rather than running getconf or
59878         generating empty file.
59880 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59882         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59884 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59886         [BZ #14672]
59887         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59889 2012-11-16  David S. Miller  <davem@davemloft.net>
59891         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59892         smaller than LDBL_EPSILON/2.0L, just return xm1.
59894 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59896         * elf/tst-array1.c (init): Set constructor priority to 1000.
59897         (fini): Set destructor priority to 1000.
59898         * elf/tst-array2dep.c: Likewise.
59900 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59902         [BZ #11741]
59903         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59904         (_IO_new_file_xsputn): Also return EOF if none of the input
59905         data was written when overflow failed.
59906         * libio/iopadn.c (_IO_padn): Likewise.
59907         * libio/iowpadn.c (_IO_wpadn): Likewise.
59908         * stdio-common/tst-put-error.c: Add copyright notice.
59909         (do_test): Add case for printing padded string.
59910         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59911         _IO_padn returned error.
59912         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59913         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59914         return EOF.
59916 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59918         * libio/libioP.h: Add comment note that the references to C++
59919         bits are now obsolete.
59921 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59923         * math/libm-test.inc (check_complex): Use asprintf.
59925 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59927         * debug/pcprofiledump.c (print_version): Update copyright year.
59928         * malloc/memusagestat.c (print_version): Likewise.
59930 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59932         [BZ #14831]
59933         * elf/Makefile (tests): Add tst-audit8.
59934         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59935         ($(objpfx)tst-audit8.out): New target.
59936         (tst-audit8-ENV): New variable.
59937         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59938         audit if l_reloc_result is NULL.
59939         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59940         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59941         * elf/tst-audit8.c: New file.
59943 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59945         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59946         * misc/Makefile (CFLAGS-select.c): Define.
59947         * posix/Makefile (CFLAGS-pause.c): Define.
59949 2012-11-13  David S. Miller  <davem@davemloft.net>
59951         * crypt/Makefile: Move test targets after toplevel Rules
59952         inclusion.  Grab any necessary sysdep routines when linking.
59953         * crypt/md5.c (md5_process_block): Remove define, we will always
59954         name it __md5_process_block.
59955         (md5_finish_ctx): Update md5_process_block call.
59956         (md5_stream): Likewise.
59957         (md5_process_bytes): Likewise.
59958         (md5_process_block): Rename to __md5_process_block and move to ...
59959         * crypt/md5-block.c: ... here.
59960         * crypt/sha256.c (sha256_process_block): Move to ...
59961         * crypt/sha256-block.c: ... here.
59962         * crypt/sha512.c (sha512_process_block): Move to ...
59963         * crypt/sha512-block.c: ... here.
59964         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59965         path.
59966         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59967         * sysdeps/sparc/sparc64/multiarch/Makefile
59968         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59969         crypt subdir.
59970         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59971         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59972         multiarch changes.
59973         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59974         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59975         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59976         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59977         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59978         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59979         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59980         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59981         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59982         file.
59983         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59984         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59985         file.
59986         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59988 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59990         * timezone/tzselect.ksh: Update from tzcode git revision
59991         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59992         * timezone/zdump.c: Likewise.
59993         * timezone/zic.c: Likewise.
59994         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59995         in TZVERSION setting, not $(PKGVERSION).
59996         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59997         REPORT_BUGS_TO settings.
59999         [BZ #14838]
60000         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60001         macro.
60003 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60005         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60006         detection to immediately after _FP_ROUND().
60007         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60008         bits are 0.
60010 2012-11-11  David S. Miller  <davem@davemloft.net>
60012         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60013         inttypes.h
60014         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60015         __close rather than their public counterparts.
60017 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60019         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60020         file.
60021         [UNIX98] (sem_timedwait): Do not expect.
60022         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60023         [XPG4 || UNIX98] (sockatmark): Do not expect.
60024         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60025         (clock_getcpuclockid): Do not expect.
60026         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60027         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60028         Do not expect.
60029         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60030         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60031         [UNIX98] (vwscanf): Likewise.
60032         [UNIX98] (vswscanf): Likewise.
60034 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60036         * timezone/version.h: Remove file.
60037         * timezone/README: Do not refer to version.h.
60038         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60039         $(objpfx)version.h.
60040         ($(objpfx)zdump.o): Likewise.
60041         ($(objpfx)version.h): New target.
60043         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60044         2012i.
60045         * timezone/README: Don't mention modification to tzselect.ksh.
60046         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60047         work on unmodified tzselect.ksh.  Substitute version numbers in
60048         tzselect.ksh.
60050         * Makefile (format-me): Remove.
60051         (INSTALL): Adjust indentation.  Use commands directly instead of
60052         using $(format-me).
60054         * aclocal.m4 (ACX_PKGVERSION): New macro.
60055         (ACX_BUGURL): Likewise.
60056         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60057         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60058         (REPORT_BUGS_TO): Likewise.
60059         * configure: Regenerated.
60060         * config.h.in (PKGVERSION): New macro.
60061         (REPORT_BUGS_TO): Likewise.
60062         * config.make.in (PKGVERSION): New variable.
60063         (PKGVERSION_TEXI): Likewise.
60064         (REPORT_BUGS_TO): Likewise.
60065         (REPORT_BUGS_TEXI): Likewise.
60066         * Makefile (format-me): Use -I$(common-objpfx)manual.
60067         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60068         ($(common-objpfx)manual/%): New target.
60069         (manual/%): Remove target.
60070         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60071         (print_version): Use PKGVERSION.
60072         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60073         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60074         and REPORT_BUGS_TO.
60075         ($(objpfx)xtrace): Likewise.
60076         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60077         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60078         (print_version): Use PKGVERSION.
60079         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60080         (do_version): Use PKGVERSION.
60081         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60082         REPORT_BUGS_TO.
60083         (common-ldd-rewrite): Likewise.
60084         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60085         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60086         (print_version): Use PKGVERSION.
60087         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60088         * elf/pldd.c (argp_program_bug_address): Remove variable.
60089         (more_help): New function.
60090         (argp): Use more_help.
60091         (print_version): Use PKGVERSION.
60092         * elf/sln.c (main): Use PKGVERSION.
60093         (usage): Use REPORT_BUGS_TO.
60094         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60095         (top level): Use PKGVERSION.
60096         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60097         (print_version): Use PKGVERSION.
60098         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60099         (print_version): Use PKGVERSION.
60100         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60101         (print_version): Use PKGVERSION.
60102         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60103         (print_version): Use PKGVERSION.
60104         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60105         (print_version): Use PKGVERSION.
60106         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60107         (print_version): Use PKGVERSION.
60108         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60109         and BUGURL.
60110         ($(objpfx)memusage): Likewise.
60111         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60112         (do_version): Use PKGVERSION.
60113         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60114         (print_version): Use PKGVERSION.
60115         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60116         ($PKGVERSION): New variable.
60117         ($REPORT_BUGS_TO): Likewise.
60118         (usage): Use $REPORT_BUGS_TO.
60119         (top level): Use $PKGVERSION.
60120         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60121         ($(objpfx)pkgvers.texi): New rule.
60122         ($(objpfx)stamp-pkgvers): Likewise.
60123         * manual/install.texi: Include pkgvers.texi.
60124         (--with-pkgversion): Document new configure option.
60125         (--with-bugurl): Likewise.
60126         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60127         than necessarily for this particular distribution.  Use
60128         REPORT_BUGS_TO for where to report bugs.
60129         * INSTALL: Regenerated.
60130         * manual/libc.texinfo: Include pkgvers.texi.
60131         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60132         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60133         (print_version): Use PKGVERSION.
60134         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60135         (print_version): Use PKGVERSION.
60136         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60137         (print_version): Use PKGVERSION.
60138         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60139         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60140         macro.
60141         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60142         (print_version): Use PKGVERSION.
60143         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60144         (print_version): Use PKGVERSION.
60145         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60146         and PKGVERSION.
60148         * timezone/checktab.awk: Update from tzcode 2012i.
60149         * timezone/ialloc.c: Likewise.
60150         * timezone/private.h: Likewise.
60151         * timezone/scheck.c: Likewise.
60152         * timezone/tzfile.h: Likewise.
60153         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60154         (TZVERSION): Hardcode tzcode version number.
60155         * timezone/zdump.c: Update from tzcode 2012i.
60156         * timezone/zic.c: Likewise.
60157         * timezone/version.h: New file.
60158         * timezone/README: Describe version.h.  Update upstream location.
60160         [BZ #14824]
60161         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60162         (mktemp): Enable declaration.
60163         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60165         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60167         Likewise.
60168         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60169         Likewise.
60170         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60171         Likewise.
60172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60173         Likewise.
60174         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60175         Likewise.
60176         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60177         Likewise.
60179         [BZ #14821]
60180         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60181         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60182         for copies of such integer values.
60183         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60184         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60186 2012-11-09  Andreas Jaeger  <aj@suse.de>
60188         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60189         definitions and declarations that are provided by
60190         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60192 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60194         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60195         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60196         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60197         definition.
60199 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60201         * elf/elf.h: Update comment before AArch64 relocations.
60203 2012-11-07  David S. Miller  <davem@davemloft.net>
60205         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60206         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60207         (__start_context): Declare.
60208         (__makecontext_ret): Delete.
60209         (__makecontext): Hook up __start_context instead of
60210         __makecontext_ret.
60211         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60212         (sysdep_routines): Add __start_context when in stdlib.
60214 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60216         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60217         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60218         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60219         hardcoded "nm".
60220         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60221         (READELF): New variable.  Use it instead of hardcoded "readelf".
60223 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60225         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60226         * sysdeps/x86/Makefile: Here.
60227         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60228         * sysdeps/x86/tst-xmmymm.sh: This.
60230 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60232         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60233         expectations.
60234         [UNIX98] (pthread_barrier_t): Do not expect.
60235         [UNIX98] (pthread_barrierattr_t): Likewise.
60236         [UNIX98] (pthread_spinlock_t): Likewise.
60237         [UNIX98] (pthread_barrier_destroy): Likewise.
60238         [UNIX98] (pthread_barrier_init): Likewise.
60239         [UNIX98] (pthread_barrier_wait): Likewise.
60240         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60241         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60242         [UNIX98] (pthread_barrierattr_init): Likewise.
60243         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60244         [UNIX98] (pthread_getcpuclockid): Likewise.
60245         [UNIX98] (pthread_mutex_timedlock): Likewise.
60246         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60247         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60248         [UNIX98] (pthread_sigmask): Likewise.
60249         [UNIX98] (pthread_spin_destroy): Likewise.
60250         [UNIX98] (pthread_spin_init): Likewise.
60251         [UNIX98] (pthread_spin_lock): Likewise.
60252         [UNIX98] (pthread_spin_trylock): Likewise.
60253         [UNIX98] (pthread_spin_unlock): Likewise.
60254         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60255         Do not expect.
60256         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60257         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60258         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60259         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60260         [XPG3 || XPG4] (pthread_key_t): Likewise.
60261         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60262         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60263         [XPG3 || XPG4] (pthread_once_t): Likewise.
60264         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60265         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60266         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60267         [XPG3 || XPG4] (pthread_t): Likewise.
60269         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60270         not expect.
60271         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60273         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60274         Change function return type to int.
60276         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60277         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60278         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60279         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60280         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60281         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60282         [!POSIX] (posix_madvise): Likewise.
60283         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60284         && !UNIX98].
60285         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60286         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60287         (mode_t): Likewise.
60288         (posix_mem_offset): Likewise.
60289         (posix_typed_mem_get_info): Likewise.
60290         (posix_typed_mem_open): Likewise.
60292         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60293         Change condition to [XOPEN2K8].
60295         * conform/conformtest.pl: Preprocess allow-header data with -x c
60296         instead of from stdin.
60297         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60298         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60299         [C99-based standards] (cerfc): Likewise.
60300         [C99-based standards] (cexp2): Likewise.
60301         [C99-based standards] (cexpm1): Likewise.
60302         [C99-based standards] (clog10): Likewise.
60303         [C99-based standards] (clog1p): Likewise.
60304         [C99-based standards] (clog2): Likewise.
60305         [C99-based standards] (clgamma): Likewise.
60306         [C99-based standards] (ctgamma): Likewise.
60307         [C99-based standards] (cerff): Likewise.
60308         [C99-based standards] (cerfcf): Likewise.
60309         [C99-based standards] (cexp2f): Likewise.
60310         [C99-based standards] (cexpm1f): Likewise.
60311         [C99-based standards] (clog10f): Likewise.
60312         [C99-based standards] (clog1pf): Likewise.
60313         [C99-based standards] (clog2f): Likewise.
60314         [C99-based standards] (clgammaf): Likewise.
60315         [C99-based standards] (ctgammaf): Likewise.
60316         [C99-based standards] (cerfl): Likewise.
60317         [C99-based standards] (cerfcl): Likewise.
60318         [C99-based standards] (cexp2l): Likewise.
60319         [C99-based standards] (cexpm1l): Likewise.
60320         [C99-based standards] (clog10l): Likewise.
60321         [C99-based standards] (clog1pl): Likewise.
60322         [C99-based standards] (clog2l): Likewise.
60323         [C99-based standards] (clgammal): Likewise.
60324         [C99-based standards] (ctgammal): Likewise.
60325         * conform/data/inttypes.h-data [C99-based standards]: Include
60326         stdint.h-data.  Remove all expectations for stdint.h contents.
60327         [C99-based standards] (PRI*): Do not allow.
60328         [C99-based standards] (SCN*): Likewise.
60329         [C99-based standards] (*_t): Likewise.
60330         [C99-based-standards] (PRId8): Expect macro.
60331         [C99-based-standards] (PRIi8): Likewise.
60332         [C99-based-standards] (PRIo8): Likewise.
60333         [C99-based-standards] (PRIu8): Likewise.
60334         [C99-based-standards] (PRIx8): Likewise.
60335         [C99-based-standards] (PRIX8): Likewise.
60336         [C99-based-standards] (SCNd8): Likewise.
60337         [C99-based-standards] (SCNi8): Likewise.
60338         [C99-based-standards] (SCNo8): Likewise.
60339         [C99-based-standards] (SCNu8): Likewise.
60340         [C99-based-standards] (SCNx8): Likewise.
60341         [C99-based-standards] (PRIdLEAST8): Likewise.
60342         [C99-based-standards] (PRIiLEAST8): Likewise.
60343         [C99-based-standards] (PRIoLEAST8): Likewise.
60344         [C99-based-standards] (PRIuLEAST8): Likewise.
60345         [C99-based-standards] (PRIxLEAST8): Likewise.
60346         [C99-based-standards] (PRIXLEAST8): Likewise.
60347         [C99-based-standards] (SCNdLEAST8): Likewise.
60348         [C99-based-standards] (SCNiLEAST8): Likewise.
60349         [C99-based-standards] (SCNoLEAST8): Likewise.
60350         [C99-based-standards] (SCNuLEAST8): Likewise.
60351         [C99-based-standards] (SCNxLEAST8): Likewise.
60352         [C99-based-standards] (PRIdFAST8): Likewise.
60353         [C99-based-standards] (PRIiFAST8): Likewise.
60354         [C99-based-standards] (PRIoFAST8): Likewise.
60355         [C99-based-standards] (PRIuFAST8): Likewise.
60356         [C99-based-standards] (PRIxFAST8): Likewise.
60357         [C99-based-standards] (PRIXFAST8): Likewise.
60358         [C99-based-standards] (SCNdFAST8): Likewise.
60359         [C99-based-standards] (SCNiFAST8): Likewise.
60360         [C99-based-standards] (SCNoFAST8): Likewise.
60361         [C99-based-standards] (SCNuFAST8): Likewise.
60362         [C99-based-standards] (SCNxFAST8): Likewise.
60363         [C99-based-standards] (PRId16): Likewise.
60364         [C99-based-standards] (PRIi16): Likewise.
60365         [C99-based-standards] (PRIo16): Likewise.
60366         [C99-based-standards] (PRIu16): Likewise.
60367         [C99-based-standards] (PRIx16): Likewise.
60368         [C99-based-standards] (PRIX16): Likewise.
60369         [C99-based-standards] (SCNd16): Likewise.
60370         [C99-based-standards] (SCNi16): Likewise.
60371         [C99-based-standards] (SCNo16): Likewise.
60372         [C99-based-standards] (SCNu16): Likewise.
60373         [C99-based-standards] (SCNx16): Likewise.
60374         [C99-based-standards] (PRIdLEAST16): Likewise.
60375         [C99-based-standards] (PRIiLEAST16): Likewise.
60376         [C99-based-standards] (PRIoLEAST16): Likewise.
60377         [C99-based-standards] (PRIuLEAST16): Likewise.
60378         [C99-based-standards] (PRIxLEAST16): Likewise.
60379         [C99-based-standards] (PRIXLEAST16): Likewise.
60380         [C99-based-standards] (SCNdLEAST16): Likewise.
60381         [C99-based-standards] (SCNiLEAST16): Likewise.
60382         [C99-based-standards] (SCNoLEAST16): Likewise.
60383         [C99-based-standards] (SCNuLEAST16): Likewise.
60384         [C99-based-standards] (SCNxLEAST16): Likewise.
60385         [C99-based-standards] (PRIdFAST16): Likewise.
60386         [C99-based-standards] (PRIiFAST16): Likewise.
60387         [C99-based-standards] (PRIoFAST16): Likewise.
60388         [C99-based-standards] (PRIuFAST16): Likewise.
60389         [C99-based-standards] (PRIxFAST16): Likewise.
60390         [C99-based-standards] (PRIXFAST16): Likewise.
60391         [C99-based-standards] (SCNdFAST16): Likewise.
60392         [C99-based-standards] (SCNiFAST16): Likewise.
60393         [C99-based-standards] (SCNoFAST16): Likewise.
60394         [C99-based-standards] (SCNuFAST16): Likewise.
60395         [C99-based-standards] (SCNxFAST16): Likewise.
60396         [C99-based-standards] (PRId32): Likewise.
60397         [C99-based-standards] (PRIi32): Likewise.
60398         [C99-based-standards] (PRIo32): Likewise.
60399         [C99-based-standards] (PRIu32): Likewise.
60400         [C99-based-standards] (PRIx32): Likewise.
60401         [C99-based-standards] (PRIX32): Likewise.
60402         [C99-based-standards] (SCNd32): Likewise.
60403         [C99-based-standards] (SCNi32): Likewise.
60404         [C99-based-standards] (SCNo32): Likewise.
60405         [C99-based-standards] (SCNu32): Likewise.
60406         [C99-based-standards] (SCNx32): Likewise.
60407         [C99-based-standards] (PRIdLEAST32): Likewise.
60408         [C99-based-standards] (PRIiLEAST32): Likewise.
60409         [C99-based-standards] (PRIoLEAST32): Likewise.
60410         [C99-based-standards] (PRIuLEAST32): Likewise.
60411         [C99-based-standards] (PRIxLEAST32): Likewise.
60412         [C99-based-standards] (PRIXLEAST32): Likewise.
60413         [C99-based-standards] (SCNdLEAST32): Likewise.
60414         [C99-based-standards] (SCNiLEAST32): Likewise.
60415         [C99-based-standards] (SCNoLEAST32): Likewise.
60416         [C99-based-standards] (SCNuLEAST32): Likewise.
60417         [C99-based-standards] (SCNxLEAST32): Likewise.
60418         [C99-based-standards] (PRIdFAST32): Likewise.
60419         [C99-based-standards] (PRIiFAST32): Likewise.
60420         [C99-based-standards] (PRIoFAST32): Likewise.
60421         [C99-based-standards] (PRIuFAST32): Likewise.
60422         [C99-based-standards] (PRIxFAST32): Likewise.
60423         [C99-based-standards] (PRIXFAST32): Likewise.
60424         [C99-based-standards] (SCNdFAST32): Likewise.
60425         [C99-based-standards] (SCNiFAST32): Likewise.
60426         [C99-based-standards] (SCNoFAST32): Likewise.
60427         [C99-based-standards] (SCNuFAST32): Likewise.
60428         [C99-based-standards] (SCNxFAST32): Likewise.
60429         [C99-based-standards] (PRId64): Likewise.
60430         [C99-based-standards] (PRIi64): Likewise.
60431         [C99-based-standards] (PRIo64): Likewise.
60432         [C99-based-standards] (PRIu64): Likewise.
60433         [C99-based-standards] (PRIx64): Likewise.
60434         [C99-based-standards] (PRIX64): Likewise.
60435         [C99-based-standards] (SCNd64): Likewise.
60436         [C99-based-standards] (SCNi64): Likewise.
60437         [C99-based-standards] (SCNo64): Likewise.
60438         [C99-based-standards] (SCNu64): Likewise.
60439         [C99-based-standards] (SCNx64): Likewise.
60440         [C99-based-standards] (PRIdLEAST64): Likewise.
60441         [C99-based-standards] (PRIiLEAST64): Likewise.
60442         [C99-based-standards] (PRIoLEAST64): Likewise.
60443         [C99-based-standards] (PRIuLEAST64): Likewise.
60444         [C99-based-standards] (PRIxLEAST64): Likewise.
60445         [C99-based-standards] (PRIXLEAST64): Likewise.
60446         [C99-based-standards] (SCNdLEAST64): Likewise.
60447         [C99-based-standards] (SCNiLEAST64): Likewise.
60448         [C99-based-standards] (SCNoLEAST64): Likewise.
60449         [C99-based-standards] (SCNuLEAST64): Likewise.
60450         [C99-based-standards] (SCNxLEAST64): Likewise.
60451         [C99-based-standards] (PRIdFAST64): Likewise.
60452         [C99-based-standards] (PRIiFAST64): Likewise.
60453         [C99-based-standards] (PRIoFAST64): Likewise.
60454         [C99-based-standards] (PRIuFAST64): Likewise.
60455         [C99-based-standards] (PRIxFAST64): Likewise.
60456         [C99-based-standards] (PRIXFAST64): Likewise.
60457         [C99-based-standards] (SCNdFAST64): Likewise.
60458         [C99-based-standards] (SCNiFAST64): Likewise.
60459         [C99-based-standards] (SCNoFAST64): Likewise.
60460         [C99-based-standards] (SCNuFAST64): Likewise.
60461         [C99-based-standards] (SCNxFAST64): Likewise.
60462         [C99-based-standards] (PRIdMAX): Likewise.
60463         [C99-based-standards] (PRIiMAX): Likewise.
60464         [C99-based-standards] (PRIoMAX): Likewise.
60465         [C99-based-standards] (PRIuMAX): Likewise.
60466         [C99-based-standards] (PRIxMAX): Likewise.
60467         [C99-based-standards] (PRIXMAX): Likewise.
60468         [C99-based-standards] (SCNdMAX): Likewise.
60469         [C99-based-standards] (SCNiMAX): Likewise.
60470         [C99-based-standards] (SCNoMAX): Likewise.
60471         [C99-based-standards] (SCNuMAX): Likewise.
60472         [C99-based-standards] (SCNxMAX): Likewise.
60473         [C99-based-standards] (PRIdPTR): Likewise.
60474         [C99-based-standards] (PRIiPTR): Likewise.
60475         [C99-based-standards] (PRIoPTR): Likewise.
60476         [C99-based-standards] (PRIuPTR): Likewise.
60477         [C99-based-standards] (PRIxPTR): Likewise.
60478         [C99-based-standards] (PRIXPTR): Likewise.
60479         [C99-based-standards] (SCNdPTR): Likewise.
60480         [C99-based-standards] (SCNiPTR): Likewise.
60481         [C99-based-standards] (SCNoPTR): Likewise.
60482         [C99-based-standards] (SCNuPTR): Likewise.
60483         [C99-based-standards] (SCNxPTR): Likewise.
60484         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60485         allow.
60486         * conform/data/stdint.h-data: Update comments to clarify
60487         requirements.
60488         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60489         type.
60490         [C99-based standards] (INT8_MAX): Likewise.
60491         [C99-based standards] (INT16_MIN): Likewise.
60492         [C99-based standards] (INT16_MAX): Likewise.
60493         [C99-based standards] (INT32_MIN): Likewise.
60494         [C99-based standards] (INT32_MAX): Likewise.
60495         [C99-based standards] (INT64_MIN): Likewise.
60496         [C99-based standards] (INT64_MAX): Likewise.
60497         [C99-based standards] (UINT8_MAX): Likewise.
60498         [C99-based standards] (UINT16_MAX): Likewise.
60499         [C99-based standards] (UINT32_MAX): Likewise.
60500         [C99-based standards] (UINT64_MAX): Likewise.
60501         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60502         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60503         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60504         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60505         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60506         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60507         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60508         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60509         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60510         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60511         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60512         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60513         [C99-based standards] (INT_FAST8_MIN): Likewise.
60514         [C99-based standards] (INT_FAST8_MAX): Likewise.
60515         [C99-based standards] (INT_FAST16_MIN): Likewise.
60516         [C99-based standards] (INT_FAST16_MAX): Likewise.
60517         [C99-based standards] (INT_FAST32_MIN): Likewise.
60518         [C99-based standards] (INT_FAST32_MAX): Likewise.
60519         [C99-based standards] (INT_FAST64_MIN): Likewise.
60520         [C99-based standards] (INT_FAST64_MAX): Likewise.
60521         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60522         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60523         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60524         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60525         [C99-based standards] (INTPTR_MIN): Likewise.
60526         [C99-based standards] (INTPTR_MAX): Likewise.
60527         [C99-based standards] (UINTPTR_MAX): Likewise.
60528         [C99-based standards] (INTMAX_MIN): Likewise.
60529         [C99-based standards] (INTMAX_MAX): Likewise.
60530         [C99-based standards] (UINTMAX_MAX): Likewise.
60531         [C99-based standards] (PTRDIFF_MIN): Likewise.
60532         [C99-based standards] (PTRDIFF_MAX): Likewise.
60533         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60534         [C99-based standards] (SIZE_MAX): Likewise.
60535         [C99-based standards] (WCHAR_MAX): Likewise.
60536         [C99-based standards] (WINT_MAX): Likewise.
60537         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60538         constraint on value.
60539         [C99-based standards] (WCHAR_MIN): Likewise.
60540         [C99-based standards] (WINT_MIN): Likewise.
60541         [C99-based standards] (*_t): Allow.
60542         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60543         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60544         Include math.h-data and complex.h-data.  Remove all expectations
60545         of math.h and complex.h contents.
60546         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60547         at end of line.
60548         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60549         (struct tm): Expect tag.
60550         [C99-based-standards] (wcstof): Expect function.
60551         [C99-based-standards] (wcstold): Likewise.
60552         [C99-based-standards] (wcstoll): Likewise.
60553         [C99-based-standards] (wcstoull): Likewise.
60554         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60555         macro-int-constant.  Specify type.
60556         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60557         constraint on value.
60558         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60559         Specify type.
60560         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60561         Specify value.
60562         [ISO C standards]: Do not allow headers.
60563         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60564         wcs[abcdefghijklmnopqrstuvwxyz]*.
60565         [ISO C standards] (*_t): Do not allow.
60566         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60567         Expect function.
60568         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60569         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60570         Specify type.
60571         [ISO C standards]: Do not allow headers.
60572         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60573         is[abcdefghijklmnopqrstuvwxyz]*.
60574         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60575         to[abcdefghijklmnopqrstuvwxyz]*.
60576         [ISO C standards] (*_t): Do not allow.
60577         * conform/data/stdalign.h-data: New file.
60578         * conform/data/stdbool.h-data: Likewise.
60579         * conform/data/stdnoreturn.h-data: Likewise.
60581 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60583         [BZ #14815]
60584         * manual/filesys.texi (Directory Entries): Typo fix.
60585         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60587 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60589         * elf/elf.h (EM_AARCH64): New macro.
60590         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60591         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60592         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60593         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60594         (R_AARCH64_TLSDESC): Likewise.
60595         (NT_ARM_TLS): Likewise.
60596         (NT_ARM_HW_BREAK): Likewise.
60597         (NT_ARM_HW_WATCH): Likewise.
60599 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60601         [BZ #14811]
60602         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60603         (__ieee754_powl): Saturate nonzero exponents with absolute value
60604         below 0x1p-79 to +/- 0x1p-79.
60605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60606         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60607         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60608         nonzero exponents with absolute value below 0x1p-32 to +/-
60609         0x1p-32.
60610         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60611         (__ieee754_powl): Saturate nonzero exponents with absolute value
60612         below 0x1p-79 to +/- 0x1p-79.
60613         * math/libm-test.inc (pow_test): Add more tests.
60615 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60617         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60618         _dl_s390_cap_flags with kernel. Increase string length.
60619         (_dl_s390_platforms): Add z196 and zEC12.
60621 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60623         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60624         Change XOPEN21K to XOPEN2K.
60626 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60628         * string/memmove.c: Use memcpy when possible.
60630 2012-11-06  Andreas Jaeger  <aj@suse.de>
60632         * po/eo.po: Update from translation team.
60634 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60636         [BZ #14793]
60637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60638         exponent and small x and y exponents, scale x or y up.  Increase
60639         by 2 the exponent used in scaling up.
60640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60642         * math/libm-test.inc (fma_test): Add more tests.
60643         (fma_test_towardzero): Likewise.
60644         (fma_test_downward): Likewise.
60645         (fma_test_upward): Likewise.
60647 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60649         [BZ #14805]
60650         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60651         fenv_t *.
60653         [BZ #14801]
60654         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60655         namespace for names of struct fields.
60656         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60657         fenv_t fields.
60658         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60659         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60661 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60663         [BZ #3665]
60664         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60666 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60668         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60669         PTR_DEMANGLE.
60671         [BZ #5246]
60672         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60673         PTR_DEMANGLE.
60675 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60677         [BZ #14797]
60678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60679         definitely overflow as x * y not x * y + z.
60680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60682         * math/libm-test.inc (fma_test): Add more tests.
60683         (fma_test_towardzero): Likewise.
60684         (fma_test_downward): Likewise.
60685         (fma_test_upward): Likewise.
60687 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60689         [BZ #157]
60691         * include/stub-tag.h: Remove file.
60692         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60693         '#include' of it.
60694         * manual/maint.texi (Porting): Don't reference it.
60695         * Makerules ($(objpfx)stubs): Likewise.
60696         * dirent/closedir.c: Don't include <stub-tag.h>.
60697         * dirent/dirfd.c: Likewise.
60698         * dirent/fdopendir.c: Likewise.
60699         * dirent/getdents.c: Likewise.
60700         * dirent/getdents64.c: Likewise.
60701         * dirent/opendir.c: Likewise.
60702         * dirent/readdir.c: Likewise.
60703         * dirent/readdir64.c: Likewise.
60704         * dirent/readdir64_r.c: Likewise.
60705         * dirent/readdir_r.c: Likewise.
60706         * dirent/rewinddir.c: Likewise.
60707         * dirent/seekdir.c: Likewise.
60708         * dirent/telldir.c: Likewise.
60709         * gmon/profil.c: Likewise.
60710         * grp/setgroups.c: Likewise.
60711         * inet/if_index.c: Likewise.
60712         * io/access.c: Likewise.
60713         * io/chdir.c: Likewise.
60714         * io/chmod.c: Likewise.
60715         * io/chown.c: Likewise.
60716         * io/close.c: Likewise.
60717         * io/dup.c: Likewise.
60718         * io/dup2.c: Likewise.
60719         * io/dup3.c: Likewise.
60720         * io/euidaccess.c: Likewise.
60721         * io/faccessat.c: Likewise.
60722         * io/fchdir.c: Likewise.
60723         * io/fchmod.c: Likewise.
60724         * io/fchmodat.c: Likewise.
60725         * io/fchown.c: Likewise.
60726         * io/fchownat.c: Likewise.
60727         * io/fcntl.c: Likewise.
60728         * io/flock.c: Likewise.
60729         * io/fstatfs.c: Likewise.
60730         * io/fstatfs64.c: Likewise.
60731         * io/fstatvfs.c: Likewise.
60732         * io/fstatvfs64.c: Likewise.
60733         * io/futimens.c: Likewise.
60734         * io/fxstat.c: Likewise.
60735         * io/fxstat64.c: Likewise.
60736         * io/fxstatat.c: Likewise.
60737         * io/fxstatat64.c: Likewise.
60738         * io/getcwd.c: Likewise.
60739         * io/isatty.c: Likewise.
60740         * io/lchmod.c: Likewise.
60741         * io/lchown.c: Likewise.
60742         * io/link.c: Likewise.
60743         * io/linkat.c: Likewise.
60744         * io/lseek.c: Likewise.
60745         * io/lseek64.c: Likewise.
60746         * io/lxstat64.c: Likewise.
60747         * io/mkdir.c: Likewise.
60748         * io/mkdirat.c: Likewise.
60749         * io/mkfifo.c: Likewise.
60750         * io/mkfifoat.c: Likewise.
60751         * io/open.c: Likewise.
60752         * io/open64.c: Likewise.
60753         * io/openat.c: Likewise.
60754         * io/openat64.c: Likewise.
60755         * io/pipe.c: Likewise.
60756         * io/pipe2.c: Likewise.
60757         * io/poll.c: Likewise.
60758         * io/posix_fadvise.c: Likewise.
60759         * io/posix_fadvise64.c: Likewise.
60760         * io/posix_fallocate.c: Likewise.
60761         * io/posix_fallocate64.c: Likewise.
60762         * io/read.c: Likewise.
60763         * io/readlink.c: Likewise.
60764         * io/readlinkat.c: Likewise.
60765         * io/rmdir.c: Likewise.
60766         * io/sendfile.c: Likewise.
60767         * io/sendfile64.c: Likewise.
60768         * io/statfs.c: Likewise.
60769         * io/statfs64.c: Likewise.
60770         * io/statvfs.c: Likewise.
60771         * io/statvfs64.c: Likewise.
60772         * io/symlink.c: Likewise.
60773         * io/symlinkat.c: Likewise.
60774         * io/ttyname.c: Likewise.
60775         * io/ttyname_r.c: Likewise.
60776         * io/umask.c: Likewise.
60777         * io/unlink.c: Likewise.
60778         * io/unlinkat.c: Likewise.
60779         * io/utime.c: Likewise.
60780         * io/utimensat.c: Likewise.
60781         * io/write.c: Likewise.
60782         * io/xmknod.c: Likewise.
60783         * io/xmknodat.c: Likewise.
60784         * io/xstat.c: Likewise.
60785         * io/xstat64.c: Likewise.
60786         * login/getpt.c: Likewise.
60787         * login/grantpt.c: Likewise.
60788         * login/unlockpt.c: Likewise.
60789         * math/e_acoshl.c: Likewise.
60790         * math/e_acosl.c: Likewise.
60791         * math/e_asinl.c: Likewise.
60792         * math/e_atan2l.c: Likewise.
60793         * math/e_atanhl.c: Likewise.
60794         * math/e_coshl.c: Likewise.
60795         * math/e_expl.c: Likewise.
60796         * math/e_fmodl.c: Likewise.
60797         * math/e_gammal_r.c: Likewise.
60798         * math/e_hypotl.c: Likewise.
60799         * math/e_j0l.c: Likewise.
60800         * math/e_j1l.c: Likewise.
60801         * math/e_jnl.c: Likewise.
60802         * math/e_lgammal_r.c: Likewise.
60803         * math/e_log10l.c: Likewise.
60804         * math/e_log2l.c: Likewise.
60805         * math/e_logl.c: Likewise.
60806         * math/e_powl.c: Likewise.
60807         * math/e_rem_pio2l.c: Likewise.
60808         * math/e_sinhl.c: Likewise.
60809         * math/e_sqrtl.c: Likewise.
60810         * math/fclrexcpt.c: Likewise.
60811         * math/fedisblxcpt.c: Likewise.
60812         * math/feenablxcpt.c: Likewise.
60813         * math/fegetenv.c: Likewise.
60814         * math/fegetexcept.c: Likewise.
60815         * math/fegetround.c: Likewise.
60816         * math/feholdexcpt.c: Likewise.
60817         * math/fesetenv.c: Likewise.
60818         * math/fesetround.c: Likewise.
60819         * math/feupdateenv.c: Likewise.
60820         * math/fgetexcptflg.c: Likewise.
60821         * math/fraiseexcpt.c: Likewise.
60822         * math/fsetexcptflg.c: Likewise.
60823         * math/ftestexcept.c: Likewise.
60824         * math/k_cosl.c: Likewise.
60825         * math/k_rem_pio2l.c: Likewise.
60826         * math/k_sinl.c: Likewise.
60827         * math/k_tanl.c: Likewise.
60828         * math/s_asinhl.c: Likewise.
60829         * math/s_atanl.c: Likewise.
60830         * math/s_cbrtl.c: Likewise.
60831         * math/s_erfl.c: Likewise.
60832         * math/s_expm1l.c: Likewise.
60833         * math/s_log1pl.c: Likewise.
60834         * math/s_tanhl.c: Likewise.
60835         * misc/acct.c: Likewise.
60836         * misc/brk.c: Likewise.
60837         * misc/chflags.c: Likewise.
60838         * misc/chroot.c: Likewise.
60839         * misc/fchflags.c: Likewise.
60840         * misc/fgetxattr.c: Likewise.
60841         * misc/flistxattr.c: Likewise.
60842         * misc/fremovexattr.c: Likewise.
60843         * misc/fsetxattr.c: Likewise.
60844         * misc/fsync.c: Likewise.
60845         * misc/ftruncate.c: Likewise.
60846         * misc/futimes.c: Likewise.
60847         * misc/futimesat.c: Likewise.
60848         * misc/getdomain.c: Likewise.
60849         * misc/getdtsz.c: Likewise.
60850         * misc/gethostid.c: Likewise.
60851         * misc/gethostname.c: Likewise.
60852         * misc/getloadavg.c: Likewise.
60853         * misc/getpagesize.c: Likewise.
60854         * misc/getsysstats.c: Likewise.
60855         * misc/getxattr.c: Likewise.
60856         * misc/gtty.c: Likewise.
60857         * misc/ioctl.c: Likewise.
60858         * misc/lgetxattr.c: Likewise.
60859         * misc/listxattr.c: Likewise.
60860         * misc/llistxattr.c: Likewise.
60861         * misc/lremovexattr.c: Likewise.
60862         * misc/lsetxattr.c: Likewise.
60863         * misc/lutimes.c: Likewise.
60864         * misc/madvise.c: Likewise.
60865         * misc/mincore.c: Likewise.
60866         * misc/mlock.c: Likewise.
60867         * misc/mlockall.c: Likewise.
60868         * misc/mmap.c: Likewise.
60869         * misc/mprotect.c: Likewise.
60870         * misc/msync.c: Likewise.
60871         * misc/munlock.c: Likewise.
60872         * misc/munlockall.c: Likewise.
60873         * misc/munmap.c: Likewise.
60874         * misc/preadv.c: Likewise.
60875         * misc/preadv64.c: Likewise.
60876         * misc/ptrace.c: Likewise.
60877         * misc/pwritev.c: Likewise.
60878         * misc/pwritev64.c: Likewise.
60879         * misc/readv.c: Likewise.
60880         * misc/reboot.c: Likewise.
60881         * misc/remap_file_pages.c: Likewise.
60882         * misc/removexattr.c: Likewise.
60883         * misc/revoke.c: Likewise.
60884         * misc/select.c: Likewise.
60885         * misc/setdomain.c: Likewise.
60886         * misc/setegid.c: Likewise.
60887         * misc/seteuid.c: Likewise.
60888         * misc/sethostid.c: Likewise.
60889         * misc/sethostname.c: Likewise.
60890         * misc/setregid.c: Likewise.
60891         * misc/setreuid.c: Likewise.
60892         * misc/setxattr.c: Likewise.
60893         * misc/sstk.c: Likewise.
60894         * misc/stty.c: Likewise.
60895         * misc/swapoff.c: Likewise.
60896         * misc/swapon.c: Likewise.
60897         * misc/sync.c: Likewise.
60898         * misc/syncfs.c: Likewise.
60899         * misc/syscall.c: Likewise.
60900         * misc/truncate.c: Likewise.
60901         * misc/ualarm.c: Likewise.
60902         * misc/usleep.c: Likewise.
60903         * misc/ustat.c: Likewise.
60904         * misc/utimes.c: Likewise.
60905         * misc/vhangup.c: Likewise.
60906         * misc/writev.c: Likewise.
60907         * posix/_exit.c: Likewise.
60908         * posix/alarm.c: Likewise.
60909         * posix/execve.c: Likewise.
60910         * posix/fexecve.c: Likewise.
60911         * posix/fork.c: Likewise.
60912         * posix/fpathconf.c: Likewise.
60913         * posix/getaddrinfo.c: Likewise.
60914         * posix/getegid.c: Likewise.
60915         * posix/geteuid.c: Likewise.
60916         * posix/getgid.c: Likewise.
60917         * posix/getgroups.c: Likewise.
60918         * posix/getlogin.c: Likewise.
60919         * posix/getlogin_r.c: Likewise.
60920         * posix/getpgid.c: Likewise.
60921         * posix/getpid.c: Likewise.
60922         * posix/getppid.c: Likewise.
60923         * posix/getresgid.c: Likewise.
60924         * posix/getresuid.c: Likewise.
60925         * posix/getsid.c: Likewise.
60926         * posix/getuid.c: Likewise.
60927         * posix/glob64.c: Likewise.
60928         * posix/nanosleep.c: Likewise.
60929         * posix/pathconf.c: Likewise.
60930         * posix/pause.c: Likewise.
60931         * posix/posix_madvise.c: Likewise.
60932         * posix/pread.c: Likewise.
60933         * posix/pread64.c: Likewise.
60934         * posix/pwrite.c: Likewise.
60935         * posix/pwrite64.c: Likewise.
60936         * posix/sched_getaffinity.c: Likewise.
60937         * posix/sched_getp.c: Likewise.
60938         * posix/sched_gets.c: Likewise.
60939         * posix/sched_primax.c: Likewise.
60940         * posix/sched_primin.c: Likewise.
60941         * posix/sched_rr_gi.c: Likewise.
60942         * posix/sched_setaffinity.c: Likewise.
60943         * posix/sched_setp.c: Likewise.
60944         * posix/sched_sets.c: Likewise.
60945         * posix/sched_yield.c: Likewise.
60946         * posix/setgid.c: Likewise.
60947         * posix/setlogin.c: Likewise.
60948         * posix/setpgid.c: Likewise.
60949         * posix/setresgid.c: Likewise.
60950         * posix/setresuid.c: Likewise.
60951         * posix/setsid.c: Likewise.
60952         * posix/setuid.c: Likewise.
60953         * posix/sleep.c: Likewise.
60954         * posix/spawni.c: Likewise.
60955         * posix/sysconf.c: Likewise.
60956         * posix/times.c: Likewise.
60957         * posix/wait.c: Likewise.
60958         * posix/wait3.c: Likewise.
60959         * posix/wait4.c: Likewise.
60960         * posix/waitpid.c: Likewise.
60961         * resolv/gai_sigqueue.c: Likewise.
60962         * resource/getpriority.c: Likewise.
60963         * resource/getrlimit.c: Likewise.
60964         * resource/getrusage.c: Likewise.
60965         * resource/nice.c: Likewise.
60966         * resource/setpriority.c: Likewise.
60967         * resource/setrlimit.c: Likewise.
60968         * resource/ulimit.c: Likewise.
60969         * rt/aio_cancel.c: Likewise.
60970         * rt/aio_fsync.c: Likewise.
60971         * rt/aio_read.c: Likewise.
60972         * rt/aio_sigqueue.c: Likewise.
60973         * rt/aio_suspend.c: Likewise.
60974         * rt/aio_write.c: Likewise.
60975         * rt/clock_getres.c: Likewise.
60976         * rt/clock_gettime.c: Likewise.
60977         * rt/clock_nanosleep.c: Likewise.
60978         * rt/clock_settime.c: Likewise.
60979         * rt/lio_listio.c: Likewise.
60980         * rt/mq_close.c: Likewise.
60981         * rt/mq_getattr.c: Likewise.
60982         * rt/mq_notify.c: Likewise.
60983         * rt/mq_open.c: Likewise.
60984         * rt/mq_receive.c: Likewise.
60985         * rt/mq_send.c: Likewise.
60986         * rt/mq_setattr.c: Likewise.
60987         * rt/mq_timedreceive.c: Likewise.
60988         * rt/mq_timedsend.c: Likewise.
60989         * rt/mq_unlink.c: Likewise.
60990         * rt/shm_open.c: Likewise.
60991         * rt/shm_unlink.c: Likewise.
60992         * rt/timer_create.c: Likewise.
60993         * rt/timer_delete.c: Likewise.
60994         * rt/timer_getoverr.c: Likewise.
60995         * rt/timer_gettime.c: Likewise.
60996         * rt/timer_settime.c: Likewise.
60997         * setjmp/__longjmp.c: Likewise.
60998         * setjmp/setjmp.c: Likewise.
60999         * signal/kill.c: Likewise.
61000         * signal/killpg.c: Likewise.
61001         * signal/raise.c: Likewise.
61002         * signal/sigaction.c: Likewise.
61003         * signal/sigaltstack.c: Likewise.
61004         * signal/sigblock.c: Likewise.
61005         * signal/sigignore.c: Likewise.
61006         * signal/sigintr.c: Likewise.
61007         * signal/signal.c: Likewise.
61008         * signal/sigpause.c: Likewise.
61009         * signal/sigpending.c: Likewise.
61010         * signal/sigqueue.c: Likewise.
61011         * signal/sigreturn.c: Likewise.
61012         * signal/sigset.c: Likewise.
61013         * signal/sigsetmask.c: Likewise.
61014         * signal/sigstack.c: Likewise.
61015         * signal/sigsuspend.c: Likewise.
61016         * signal/sigtimedwait.c: Likewise.
61017         * signal/sigvec.c: Likewise.
61018         * signal/sigwait.c: Likewise.
61019         * signal/sigwaitinfo.c: Likewise.
61020         * signal/sysv_signal.c: Likewise.
61021         * socket/accept.c: Likewise.
61022         * socket/accept4.c: Likewise.
61023         * socket/bind.c: Likewise.
61024         * socket/connect.c: Likewise.
61025         * socket/getpeername.c: Likewise.
61026         * socket/getsockname.c: Likewise.
61027         * socket/getsockopt.c: Likewise.
61028         * socket/isfdtype.c: Likewise.
61029         * socket/listen.c: Likewise.
61030         * socket/recv.c: Likewise.
61031         * socket/recvfrom.c: Likewise.
61032         * socket/recvmsg.c: Likewise.
61033         * socket/send.c: Likewise.
61034         * socket/sendmsg.c: Likewise.
61035         * socket/sendto.c: Likewise.
61036         * socket/setsockopt.c: Likewise.
61037         * socket/shutdown.c: Likewise.
61038         * socket/sockatmark.c: Likewise.
61039         * socket/socket.c: Likewise.
61040         * socket/socketpair.c: Likewise.
61041         * stdio-common/ctermid.c: Likewise.
61042         * stdio-common/cuserid.c: Likewise.
61043         * stdio-common/remove.c: Likewise.
61044         * stdio-common/rename.c: Likewise.
61045         * stdio-common/renameat.c: Likewise.
61046         * stdio-common/tempname.c: Likewise.
61047         * stdlib/getcontext.c: Likewise.
61048         * stdlib/makecontext.c: Likewise.
61049         * stdlib/setcontext.c: Likewise.
61050         * stdlib/swapcontext.c: Likewise.
61051         * stdlib/system.c: Likewise.
61052         * streams/fattach.c: Likewise.
61053         * streams/fdetach.c: Likewise.
61054         * streams/getmsg.c: Likewise.
61055         * streams/getpmsg.c: Likewise.
61056         * streams/putmsg.c: Likewise.
61057         * streams/putpmsg.c: Likewise.
61058         * sysdeps/unix/bsd/getpt.c: Likewise.
61059         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61060         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61061         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61063         Likewise.
61064         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61065         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61066         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61067         * sysvipc/msgctl.c: Likewise.
61068         * sysvipc/msgget.c: Likewise.
61069         * sysvipc/msgrcv.c: Likewise.
61070         * sysvipc/msgsnd.c: Likewise.
61071         * sysvipc/semctl.c: Likewise.
61072         * sysvipc/semget.c: Likewise.
61073         * sysvipc/semop.c: Likewise.
61074         * sysvipc/semtimedop.c: Likewise.
61075         * sysvipc/shmat.c: Likewise.
61076         * sysvipc/shmctl.c: Likewise.
61077         * sysvipc/shmdt.c: Likewise.
61078         * sysvipc/shmget.c: Likewise.
61079         * termios/tcdrain.c: Likewise.
61080         * termios/tcflow.c: Likewise.
61081         * termios/tcflush.c: Likewise.
61082         * termios/tcgetattr.c: Likewise.
61083         * termios/tcgetpgrp.c: Likewise.
61084         * termios/tcsendbrk.c: Likewise.
61085         * termios/tcsetattr.c: Likewise.
61086         * termios/tcsetpgrp.c: Likewise.
61087         * time/adjtime.c: Likewise.
61088         * time/clock.c: Likewise.
61089         * time/getitimer.c: Likewise.
61090         * time/gettimeofday.c: Likewise.
61091         * time/setitimer.c: Likewise.
61092         * time/settimeofday.c: Likewise.
61093         * time/stime.c: Likewise.
61094         * time/time.c: Likewise.
61096 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61098         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61099         /usr/old/bin.
61101         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61102         instead of spaces.
61103         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61105 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61107         [BZ #14796]
61108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61109         FE_TONEAREST before applying Dekker multiplication and Knuth
61110         addition.  Clear inexact exceptions and check for exact zero
61111         results afterwards.
61112         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61113         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61115         * math/libm-test.inc (fma_test): Add more tests.
61116         (fma_test_towardzero): Likewise.
61117         (fma_test_downward): Likewise.
61118         (fma_test_upward): Likewise.
61119         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61120         function.
61121         (libc_fesetround): New macro.
61122         (libc_fesetroundf): Likewise.
61123         (libc_fesetroundl): Likewise.
61124         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61125         function.
61126         (libc_fesetround_387): Likewise.
61127         (libc_fesetroundf): New macro.
61128         (libc_fesetround): Likewise.
61129         (libc_fesetroundl): Likewise.
61130         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61131         function.
61132         (libc_fesetroundf): New macro.
61133         (libc_fesetround): Likewise.
61134         (libc_fesetroundl): Likewise.
61135         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61136         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61137         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61138         libm_hidden_ver.
61139         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61140         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61141         libm_hidden_def.
61142         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61143         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61144         libm_hidden_ver.
61145         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61146         libm_hidden_def.
61148         [BZ #3439]
61149         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61150         integer constant usable in #if and use that to give value to enum
61151         constant.
61152         (FE_DIVBYZERO): Likewise.
61153         (FE_UNDERFLOW): Likewise.
61154         (FE_OVERFLOW): Likewise.
61155         (FE_INVALID): Likewise.
61156         (FE_INVALID_SNAN): Likewise.
61157         (FE_INVALID_ISI): Likewise.
61158         (FE_INVALID_IDI): Likewise.
61159         (FE_INVALID_ZDZ): Likewise.
61160         (FE_INVALID_IMZ): Likewise.
61161         (FE_INVALID_COMPARE): Likewise.
61162         (FE_INVALID_SOFTWARE): Likewise.
61163         (FE_INVALID_SQRT): Likewise.
61164         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61165         (FE_TONEAREST): Likewise.
61166         (FE_TOWARDZERO): Likewise.
61167         (FE_UPWARD): Likewise.
61168         (FE_DOWNWARD): Likewise.
61169         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61170         (FE_DIVBYZERO): Likewise.
61171         (FE_OVERFLOW): Likewise.
61172         (FE_UNDERFLOW): Likewise.
61173         (FE_INEXACT): Likewise.
61174         (FE_TONEAREST): Likewise.
61175         (FE_DOWNWARD): Likewise.
61176         (FE_UPWARD): Likewise.
61177         (FE_TOWARDZERO): Likewise.
61178         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61179         (FE_UNDERFLOW): Likewise.
61180         (FE_OVERFLOW): Likewise.
61181         (FE_DIVBYZERO): Likewise.
61182         (FE_INVALID): Likewise.
61183         (FE_TONEAREST): Likewise.
61184         (FE_TOWARDZERO): Likewise.
61185         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61186         (FE_OVERFLOW): Likewise.
61187         (FE_UNDERFLOW): Likewise.
61188         (FE_DIVBYZERO): Likewise.
61189         (FE_INEXACT): Likewise.
61190         (FE_TONEAREST): Likewise.
61191         (FE_TOWARDZERO): Likewise.
61192         (FE_UPWARD): Likewise.
61193         (FE_DOWNWARD): Likewise.
61194         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61195         (FE_DIVBYZERO): Likewise.
61196         (FE_OVERFLOW): Likewise.
61197         (FE_UNDERFLOW): Likewise.
61198         (FE_INEXACT): Likewise.
61199         (FE_TONEAREST): Likewise.
61200         (FE_DOWNWARD): Likewise.
61201         (FE_UPWARD): Likewise.
61202         (FE_TOWARDZERO): Likewise.
61204 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61206         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61208 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61210         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61211         commands.  Quote $PWD.
61212         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61213         -x" by "export".
61214         (remove_newlines): Remove.
61216 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61218         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61219         * stdlib/stdlib.h (atof): Moved to ...
61220         * include/bits/stdlib-float.h: Here.  New file.
61221         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61222         * stdlib/bits/stdlib-float.h: New file.
61223         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61224         -mno-sse -mno-mmx.
61225         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61226         <xmmintrin.h>.
61228 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61230         * conform/conformtest.pl (@headers): Add fenv.h.
61231         * conform/data/fenv.h-data: New file.
61232         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61233         include of <math/fenv.h>.
61235         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61236         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61237         && !UNIX98].  Enables tests for XOPEN2K8.
61238         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61239         POSIX2008]: Likewise.
61241         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61242         (struct rusage): Do not expect type or its members.
61244         [BZ #3439]
61245         * math/math.h (FP_NAN): Define macro to integer constant usable in
61246         #if and use that to give value to enum constant.
61247         (FP_INFINITE): Likewise.
61248         (FP_ZERO): Likewise.
61249         (FP_SUBNORMAL): Likewise.
61250         (FP_NORMAL): Likewise.
61252 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61254         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61255         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61256         arguments.
61258 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61260         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61261         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61262         autoconf-time if not.
61263         * configure.in: Remove AC_PREREQ.
61265 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61267         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61268         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61269         of the internal implementation.
61271 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61273         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61274         except include of <misc/sys/syslog.h>.
61276 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61279         function returns with a NULL context exit with zero.
61281 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61283         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61285 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61287         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61288         (run_program_cmd): This.
61289         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61290         (tst_langinfo): New variable.  Use it.
61292 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61294         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61295         floating point opcodes.
61297 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61299         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61300         variable.
61302         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61304         * sysdeps/mach/hurd/powerpc: Remove directory.
61305         * sysdeps/mach/powerpc: Likewise.
61307 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61309         * scripts/check-local-headers.sh: Ignore c++ headers.
61311 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61313         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61314         __libc_cleanup_region_start argument.
61316 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
61318         [BZ #14784]
61319         [BZ #14785]
61320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61321         x * y using scaling, not as x * y + z.
61322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61324         * math/libm-test.inc (fma_test): Add more tests.
61325         (fma_test_towardzero): Likewise.
61326         (fma_test_downward): Likewise.
61327         (fma_test_upward): Likewise.
61329 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61331         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61333 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61335         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61336         New variable.
61338 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
61340         * rt/tst-shm.c (worker): Correct checking for mmap failure.
61342 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61345         Fix sort order.
61346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61347         Likewise.
61349 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61352         Fix the order of the list for glibc 2.17.
61353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61354         Likewise.
61356 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61360 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61362         [BZ #14610]
61363         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61364         for low part of x being zero before using __atanl (y).
61365         * math/libm-test.inc (atan2_test): Add another test.
61367         * manual/install.texi (Configuring and compiling): Document
61368         general use of test-wrapper and test-wrapper-env.
61369         * INSTALL: Regenerated.
61371         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61372         (__fma): Do not extract and scale down low bits on after-rounding
61373         systems when result rounded to normal precision would have normal
61374         exponent.
61375         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61376         (__fmal): Do not extract and scale down low bits on after-rounding
61377         systems when result rounded to normal precision would have normal
61378         exponent.
61379         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61380         (__fmal): Do not extract and scale down low bits on after-rounding
61381         systems when result rounded to normal precision would have normal
61382         exponent.
61383         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61384         macro.
61385         (fma_test): Add more tests.
61386         (fma_test_towardzero): Likewise.
61387         (fma_test_downward): Likewise.
61388         (fma_test_upward): Likewise.
61390 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
61392         * sysdeps/i386/tininess.h: Renamed to ...
61393         * sysdeps/x86/tininess.h: This.
61394         * sysdeps/x86_64/tininess.h: Removed.
61396 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61398         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61399         input.  Use $(build-program-cmd).
61400         ($(objpfx)tst-array1-static.out): Likewise.
61401         ($(objpfx)tst-array2.out): Likewise.
61402         ($(objpfx)tst-array3.out): Likewise.
61403         ($(objpfx)tst-array4.out): Likewise.
61404         ($(objpfx)tst-array5.out): Likewise.
61405         ($(objpfx)tst-array5-static.out): Likewise.
61407 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
61409         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61410         if defined.
61412         * nss/nsswitch.h (nss_interface_function): Provide new
61413         macro for use with NSS functions.
61414         * grp/initgroups.c: Use new macro.
61415         * nss/getXXbyYY.c: Likewise.
61416         * nss/getXXbyYY_r.c: Likewise.
61417         * nss/getXXent.c: Likewise.
61418         * nss/getXXent_r.c: Likewise.
61419         * sysdeps/posix/getaddrinfo.c: Likewise.
61421 2012-10-30  Andreas Jaeger  <aj@suse.de>
61423         * po/ru.po: Update Russion translation from translation project.
61425 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61427         [BZ #14152]
61428         [BZ #14783]
61429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61430         result and shift together with sticky bit instead of replicating
61431         round-to-nearest rounding.
61432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61434         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
61435         missing underflow exceptions.
61436         (fma_test_towardzero): Add more tests.
61437         (fma_test_downward): Likewise.
61438         (fma_test_upward): Likewise.
61440         [BZ #14047]
61441         * sysdeps/generic/tininess.h: New file.
61442         * sysdeps/i386/tininess.h: Likewise.
61443         * sysdeps/sh/tininess.h: Likewise.
61444         * sysdeps/x86_64/tininess.h: Likewise.
61445         * stdlib/tst-strtod-underflow.c: Likewise.
61446         * stdlib/tst-tininess.c: Likewise.
61447         * stdlib/strtod_l.c: Include <tininess.h>.
61448         (round_and_return): Do not set errno for exact underflow cases.
61449         Force an underflow exception when setting errno for underflow.
61450         Determine underflow based on rounding to normal precision if
61451         TININESS_AFTER_ROUNDING.
61452         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61453         ERANGE for exact underflow cases.
61454         * stdlib/Makefile (tests): Add tst-tininess and
61455         tst-strtod-underflow.
61456         ($(objpfx)tst-tininess): Use $(link-libm).
61457         ($(objpfx)tst-strtod-underflow): Likewise.
61459 2012-10-30  Andreas Jaeger  <aj@suse.de>
61461         [BZ#14767]
61462         * elf/Makefile (tests): Remove conditional for have-initfini-array
61463         since this is now always required and the variable does not exist
61464         anymore.
61465         (tests-static): Likewise.
61466         (modules-names): Likewise.
61468         * po/eo.po: Add Esperanto translation from translation project.
61470         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61471         merged with constructor/destructor.
61472         (init_array): Likewise.
61473         * elf/tst-array2dep.c (fini_array): Likewise.
61474         (init_array): Likewise.
61476 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61478         * manual/message.texi: Delete @cartouche tags.
61480 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61482         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61483         EOPNOTSUPP.
61484         * sysdeps/mach/hurd/fsync.c: Likewise.
61486         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61487         [_POSIX_REALTIME_SIGNALS]: Change condition to
61488         [_POSIX_REALTIME_SIGNALS > 0].
61490 2012-10-27  Andreas Jaeger  <aj@suse.de>
61492         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61493         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61495         [__WORDSIZE != 64]: Likewise.
61497 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61499         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61500         *  iconvdata/tst-tables.sh: Likewise.
61502 2012-10-25  David S. Miller  <davem@davemloft.net>
61504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61505         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61506         of strtoull.
61508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61509         ifunc-impl-list.c
61510         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61511         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61512         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61513         file.
61515 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61518         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61519         __getdirentries.
61521 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61522             Jim Blandy  <jimb@codesourcery.com>
61524         * scripts/cross-test-ssh.sh: New file.
61525         * manual/install.texi (Configuring and compiling): Document use of
61526         cross-test-ssh.sh.
61527         * INSTALL: Regenerated.
61529 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61531         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61532         EOPNOTSUPP.
61534 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61536         * Makeconfig (run-program-prefix): Fix comment.
61538 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61539             Jim Blandy  <jimb@codesourcery.com>
61541         * Makeconfig (test-wrapper): New variable,
61542         (test-wrapper-env): Likewise.
61543         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61544         (run-built-tests): Define to yes.
61545         (run-program-prefix): Use $(test-wrapper).
61546         (built-program-cmd): Likewise.
61547         * Rules (make-test-out): Use $(test-wrapper-env) and
61548         $(host-built-program-cmd).
61549         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61550         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61551         tst-pathopt.sh.
61552         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61553         $(test-wrapper-env) to tst-rtld-load-self.sh.
61554         ($(objpfx)order2.out): Use $(test-wrapper).
61555         ($(objpfx)tst-initorder.out): Likewise.
61556         ($(objpfx)tst-initorder2.out): Likewise.
61557         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61558         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61559         (test_wrapper_env): New variable.  Use it to run ld.so.
61560         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61561         Use it to run ld.so.
61562         (test_wrapper_env): Likewise.
61563         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61564         $(test-wrapper) to run-iconv-test.sh.
61565         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61566         (ICONV): Use $test_wrapper.
61567         * posix/Makefile ($(objpfx)globtest.out): Pass
61568         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61569         globtest.sh, not $(run-program-prefix).
61570         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61571         (test_wrapper): Likewise.
61572         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61573         set together with run_via_rtld_prefix.
61574         (run_program_prefix): Define in terms of test_wrapper and
61575         run_via_rtld_prefix.
61577 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61579         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61580         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61581         Targets removed.
61583         [BZ #14743]
61584         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61585         Declare __clock_getres, __clock_gettime, __clock_settime,
61586         __clock_nanosleep, and __clock_getcpuclockid.
61587         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61588         Remove librt_hidden_def (clock_gettime).
61589         * sysdeps/unix/clock_gettime.c: Likewise.
61590         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61591         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61592         * rt/clock_getres.c: Define __clock_getres as an alias.
61593         * sysdeps/posix/clock_getres.c: Likewise.
61594         * rt/clock_settime.c: Define __clock_settime as an alias.
61595         * sysdeps/unix/clock_settime.c: Likewise.
61596         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61597         * sysdeps/unix/clock_nanosleep.c: Likewise.
61598         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61599         * rt/clock-compat.c: New file.
61600         * rt/Makefile (librt-routines): Add clock-compat and move
61601         $(clock-routines) to ...
61602         (routines): ... here, new variable.
61603         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61604         Don't add get_clockfreq here.
61605         * rt/Versions (libc: GLIBC_2.17): New version set.
61606         Add clock_* symbols here.
61607         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61608         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61609         (GLIBC_2.17): Add clock_* symbols.
61610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61612         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61614         Likewise.
61615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61616         Likewise.
61617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61621         * NEWS: Mention the move.
61623         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61624         Use __open, __read, __close rather than their public counterparts.
61625         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61626         (__get_clockfreq_via_cpuinfo): Likewise.
61627         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61628         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61630         * config.h.in (HAVE_IFUNC): New #undef.
61631         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61632         was successful.
61633         * configure: Regenerated.
61635 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61637         * configure.in: Move READELF check to start of file.
61638         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61639         libc_cv_asm_gnu_indirect_function in the process.
61640         * configure: Regenerated.
61642 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61644         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61645         send the output to /dev/null.
61646         (libc_cv_cc_with_libunwind): Likewise.
61647         (libc_cv_as_noexecstack): Likewise.
61648         * configure: Regenerate.
61650 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61652         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61654         * posix/globtest.sh (TMPDIR): Do not set.
61655         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61656         (testout): Likewise.
61658 2012-10-24  Andreas Jaeger  <aj@suse.de>
61660         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61661         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61662         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61663         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61664         posix_fadvise64, posix_fallocate64.
61666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61667         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61668         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61669         Likewise.
61670         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61671         Likewise.
61672         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61675         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61676         <bits/fcntl-linux.h>.
61677         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61680         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61681         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61682         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61683         [__WORDSIZE != 64]: Likewise.
61685 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61687         * Makeconfig (run-built-tests): New variable.
61688         * Rules [$(cross-compiling) = yes]: Change condition to
61689         [$(run-built-tests) = no].
61690         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61691         to [$(run-built-tests) = yes].
61692         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61693         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61694         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61695         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61696         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61697         * io/Makefile [$(cross-compiling) = no]: Likewise.
61698         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61699         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61700         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61701         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61702         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61703         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61704         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61705         * string/Makefile [$(cross-compiling) = no]: Likewise.
61707         * posix/Makefile ($(objpfx)globtest.out): Pass
61708         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61709         $(rtld-installed-name).
61710         * posix/globtest.sh (elf_objpfx): Remove variable.
61711         (rtld_installed_name): Likewise.
61712         (library_path): Likewise.
61713         (run_program_prefix): New variable.  Use for running globtest
61714         binary.
61716 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61717             Joseph Myers  <joseph@codesourcery.com>
61719         * Makeconfig (host-built-program-cmd): New variable.
61720         * elf/Makefile (tst-stackguard1-ARGS): Use
61721         $(host-built-program-cmd).
61722         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61723         (tst-spawn-ARGS): Likewise.
61724         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61726 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61727             Jim Blandy  <jimb@codesourcery.com>
61729         * Makeconfig (run-via-rtld-prefix): New variable.
61730         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61731         (built-program-cmd): Likewise.
61733 2012-10-22  Andreas Jaeger  <aj@suse.de>
61735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61736         __O_RSYNC if it exists, otherwise to O_SYNC.
61738 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61739             Joseph Myers  <joseph@codesourcery.com>
61741         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61742         /dev/null.
61743         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61744         from /dev/null
61745         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61746         /dev/null.
61748 2012-10-22  Andreas Jaeger  <aj@suse.de>
61750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61751         Define always.
61752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61755         bits/fcntl-linux.h.
61757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61758         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61761         to __O_LARGEFILE.
61762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61763         to __O_LARGEFILE.
61765 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61766             Joseph Myers  <joseph@codesourcery.com>
61768         * config.make.in (NM): New variable.
61770 2012-10-21  Andreas Jaeger  <aj@suse.de>
61772         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61773         definitions and declarations that are provided by
61774         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61776 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61778         [BZ #14683]
61779         * elf/Makefile (tests-static): Add tst-leaks1-static.
61780         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61781         ($(objpfx)tst-leaks1-static): New rule.
61782         ($(objpfx)tst-leaks1-static-mem): Likewise.
61783         (tst-leaks1-static-ENV): New macro.
61784         * elf/dl-open.c (dl_open_worker): Check the main application
61785         only if SHARED is defined.
61786         * elf/tst-leaks1-static.c: New file.
61788 2012-10-20  Andreas Jaeger  <aj@suse.de>
61790         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61791         generic values for Linux.
61792         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61793         and declarations that are provided by <bits/fcntl-linux.h> and
61794         include <bits/fcntl-linux.h>.
61795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61796         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61798 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61800         * io/fcntl.h: Move include of <bits/types.h> to the top and
61801         include it unconditionally.
61803 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61805         * wcsmbs/Makefile (tests-ifunc): New variable.
61806         (tests): Add $(tests-ifunc).
61807         * wcsmbs/test-wcschr-ifunc.c: New file.
61808         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61809         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61810         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61811         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61812         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61814         * string/Makefile (tests-ifunc): New variable.
61815         (tests): Add $(tests-ifunc).
61816         * string/test-memccpy.c (TEST_NAME): New macro.
61817         * string/test-memchr.c (TEST_NAME): Likewise.
61818         * string/test-memcmp.c (TEST_NAME): Likewise.
61819         * string/test-memcpy.c (TEST_NAME): Likewise.
61820         * string/test-memmem.c (TEST_NAME): Likewise.
61821         * string/test-memmove.c (TEST_NAME): Likewise.
61822         * string/test-memset.c (TEST_NAME): Likewise.
61823         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61824         * string/test-stpcpy.c (TEST_NAME): Likewise.
61825         * string/test-stpncpy.c (TEST_NAME): Likewise.
61826         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61827         * string/test-strcasestr.c (TEST_NAME): Likewise.
61828         * string/test-strcat.c (TEST_NAME): Likewise.
61829         * string/test-strchr.c (TEST_NAME): Likewise.
61830         * string/test-strcmp.c(TEST_NAME): Likewise.
61831         * string/test-strcpy.c (TEST_NAME): Likewise.
61832         * string/test-strcspn.c (TEST_NAME): Likewise.
61833         * string/test-strlen.c (TEST_NAME): Likewise.
61834         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61835         * string/test-strncmp.c (TEST_NAME): Likewise.
61836         * string/test-strncpy.c (TEST_NAME): Likewise.
61837         * string/test-strnlen.c (TEST_NAME): Likewise.
61838         * string/test-strpbrk.c (TEST_NAME): Likewise.
61839         * string/test-strrchr.c (TEST_NAME): Likewise.
61840         * string/test-strspn.c (TEST_NAME): Likewise.
61841         * string/test-strstr.c (TEST_NAME): Likewise.
61842         * string/test-bcopy-ifunc.c: New file.
61843         * string/test-bzero-ifunc.c: Likewise.
61844         * string/test-memccpy-ifunc.c: Likewise.
61845         * string/test-memchr-ifunc.c: Likewise.
61846         * string/test-memcmp-ifunc.c: Likewise.
61847         * string/test-memcpy-ifunc.c: Likewise.
61848         * string/test-memmem-ifunc.c: Likewise.
61849         * string/test-memmove-ifunc.c: Likewise.
61850         * string/test-mempcpy-ifunc.c: Likewise.
61851         * string/test-memset-ifunc.c: Likewise.
61852         * string/test-rawmemchr-ifunc.c: Likewise.
61853         * string/test-stpcpy-ifunc.c: Likewise.
61854         * string/test-stpncpy-ifunc.c: Likewise.
61855         * string/test-strcasecmp-ifunc.c: Likewise.
61856         * string/test-strcasestr-ifunc.c: Likewise.
61857         * string/test-strcat-ifunc.c: Likewise.
61858         * string/test-strchr-ifunc.c: Likewise.
61859         * string/test-strchrnul-ifunc.c: Likewise.
61860         * string/test-strcmp-ifunc.c: Likewise.
61861         * string/test-strcpy-ifunc.c: Likewise.
61862         * string/test-strcspn-ifunc.c: Likewise.
61863         * string/test-strlen-ifunc.c: Likewise.
61864         * string/test-strncasecmp-ifunc.c: Likewise.
61865         * string/test-strncat-ifunc.c: Likewise.
61866         * string/test-strncmp-ifunc.c: Likewise.
61867         * string/test-strncpy-ifunc.c: Likewise.
61868         * string/test-strnlen-ifunc.c: Likewise.
61869         * string/test-strpbrk-ifunc.c: Likewise.
61870         * string/test-strrchr-ifunc.c: Likewise.
61871         * string/test-strspn-ifunc.c: Likewise.
61872         * string/test-strstr-ifunc.c: Likewise.
61874         * debug/Makefile (tests-ifunc): New variable.
61875         (tests): Add $(tests-ifunc).
61876         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61877         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61878         * debug/test-stpcpy_chk-ifunc.c: New file.
61879         * debug/test-strcpy_chk-ifunc.c: Likewise.
61881 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61883         [BZ #13601]
61884         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61885         header is not read in.
61887 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61889         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61890         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61891         directly.  Pass built executable to script as
61892         $(built-program-cmd).
61893         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61894         $testprogram without using LD_LIBRARY_PATH and $ldso.
61896         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61897         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61898         $(rtld-installed-name).
61899         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61900         (rtld_installed_name): Likewise.
61901         (library_path): Likewise.
61902         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61903         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61904         $(run-program-prefix) to tst-tables.sh.
61905         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61906         it to run tst-table-from and tst-table-to.
61907         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61908         Pass it to tst-table.sh.
61909         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61910         $(run-program-prefix) to tst-gettext.sh.
61911         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61912         tst-translit.sh.
61913         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61914         tst-gettext2.sh.
61915         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61916         to run tst-gettext.
61917         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61918         to run tst-gettext2.
61919         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61920         to run tst-translit.
61921         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61922         $(run-program-prefix) to tst-mtrace.sh.
61923         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61924         to run tst-mtrace.
61925         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61926         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61927         $(rtld-installed-name).
61928         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61929         (rtld_installed_name): Likewise.
61930         (run_program_prefix): New variable.  Use it to run wordexp-test.
61932         * Makeconfig (ARCH): Remove all definitions.
61933         (machine): Likewise.
61934         [ARCH]: Remove conditional code.
61935         [!objdir]: Give error.
61936         [!objdir] (objpfx): Remove.
61937         [!objdir] (common-objpfx): Likewise.
61938         [!objdir] (common-objdir): Likewise.
61939         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61940         AC_CONFIG_FILES call.
61941         * configure: Regenerated.
61943         [BZ #13888]
61944         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61945         or TMPDIR.
61946         (testout): Likewise.
61948         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61949         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61950         $(rtld-installed-name).
61951         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61952         (rtld_installed_name): Likwise.
61953         (runit): Remove function.
61954         (run_getconf): New variable,  Use it for running getconf binary.
61956 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61958         [BZ #14716]
61959         * string/test-memmem.c (check_result): New function.
61960         (do_one_test): Use it.
61961         (check1): New function.
61962         (test_main): Use it.
61964 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61966         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61968 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61970         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61971         (_G_LSEEK64): Likewise.
61972         (_G_MMAP64): Likewise.
61973         (_G_FSTAT64): Likewise.
61974         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61975         (_G_LSEEK64): Likewise.
61976         (_G_MMAP64): Likewise.
61977         (_G_FSTAT64): Likewise.
61978         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61979         unconditional.  Call __mmap64 directly.
61980         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61981         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61982         __lseek64 directly.
61983         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61984         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61985         __mmap64 directly.
61986         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61987         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61988         __lseek64 directly.
61989         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61990         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61991         __lseek64 directly.
61992         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61993         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61994         __lseek64 directly.
61995         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61996         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61997         __fxstat64 directly.
61998         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61999         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62000         unconditional.
62001         (freopen64) [!_G_OPEN64]: Remove conditional code.
62002         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62003         unconditional.
62004         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62005         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62006         unconditional.
62007         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62008         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62009         unconditional.
62010         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62011         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62012         unconditional.
62013         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62014         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62015         unconditional.
62016         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62017         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62018         unconditional.
62019         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62020         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62021         unconditional.
62022         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62024 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62026         [BZ #12140]
62027         * manual/memory.texi (Malloc Tunable Parameters): Add note
62028         about free list pointers overwriting some perturb bytes.
62029         Wording suggested by Roland McGrath.
62031 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62033         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62034         (lgamma_test): Likewise.
62035         (tgamma_test): Likewise.
62037 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62039         [BZ #14700]
62040         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62041         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62043 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62045         * NEWS: Mention BZ #14716.
62046         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62047         when removing AVAILABLE1_USES_J macro.
62049 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62051         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62052         (__bswap_64): __uint64_t for unsigned 64-bit int.
62054 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62056         * include/string.h (memmem): Declare libc hidden alias.
62057         * string/memmem.c (memmem): Define libc hidden alias.
62058         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62059         __read, __close instead of open, read, close.
62061 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62064         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62065         global and hidden.
62066         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62067         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62068         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62069         Likewise.
62070         (__rawmemchr_sse2): Likewise.
62071         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62072         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62073         (__strchr_sse2): Likewise.
62074         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62075         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62076         (__strcasecmp_sse2): Likewise.
62077         (__strncasecmp_sse2): Likewise.
62078         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62079         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62080         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62081         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62082         (__strrchr_sse2): Likewise.
62083         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62084         ifunc-impl-list.c.
62085         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62086         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62087         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62088         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62089         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62090         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62091         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62092         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62093         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62094         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62095         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62096         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62097         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62098         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62099         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62101         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62102         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62103         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62104         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62105         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62106         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62107         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62108         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62109         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62110         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62111         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62112         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62113         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62114         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62116         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62117         global and hidden.
62118         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62119         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62120         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62121         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62122         Likewise.
62123         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62124         Likewise.
62125         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62126         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62127         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62128         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62129         ifunc-impl-list.c.
62130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62132         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62133         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62134         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62135         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62136         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62137         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62138         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62139         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62140         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62141         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62142         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62143         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62144         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62145         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62146         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62147         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62148         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62149         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62150         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62151         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62152         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62153         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62154         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62155         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62156         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62157         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62158         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62159         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62160         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62163         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62164         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62165         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62166         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62167         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62168         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62169         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62170         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62172         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62173         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62174         * include/ifunc-impl-list.h: New file.
62175         * misc/ifunc-impl-list.c: Likewise.
62176         * misc/Makefile (routines): Add ifunc-impl-list.
62177         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62178         * string/test-string.h: Include <ifunc-impl-list.h>.
62179         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62180         TEST_NAME]: New variables.
62181         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62182         are defined.
62183         (test_init): Call __libc_ifunc_impl_list to initialize
62184         func_list if TEST_IFUNC and TEST_NAME are defined.
62186         * string/Makefile (strop-tests): Add bcopy and bzero.
62187         * string/test-bcopy.c: New file.
62188         * string/test-bzero.c: Likewise.
62189         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62190         defined.
62191         * string/test-memset.c: Support bzero test if TEST_BZERO is
62192         defined.
62193         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62194         __libc_memmove.
62195         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62196         __libc_memset.
62197         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62198         of memset.
62200 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62202         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62203         * configure: Regenerated.
62205         * Makeconfig (+link-static-before-libc): Don't include
62206         $(link-static-libc).
62208         * libio/libio.h (_IO_pos_t): Remove.
62210 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62212         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62213         McGrath.
62215 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62217         * crypt/crypt-entry.c: Include fips-private.h.
62218         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62219         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62220         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62221         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62223 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62225         * crypt/crypt-private.h: Include stdbool.h.
62226         (_ufc_setup_salt_r): Return bool.
62227         * crypt/crypt-entry.c: Include errno.h.
62228         (__crypt_r): Return NULL with EINVAL for bad salt.
62229         * crypt/crypt_util.c (bad_for_salt): New.
62230         (_ufc_setup_salt_r): Check that salt is long enough and within
62231         the specified alphabet.
62232         * crypt/badsalttest.c: New file.
62233         * crypt/Makefile (tests): Add it.
62234         ($(objpfx)badsalttest): New.
62236 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62238         * NEWS: Add entry for BZ #14602.
62240 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62242         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62243         type-generic.
62244         * math/libm-test.inc: Update comment listing what functions and
62245         macros are tested.
62246         (isgreater_test): New function.
62247         (isgreaterequal_test): Likewise.
62248         (isless_test): Likewise.
62249         (islessequal_test): Likewise.
62250         (islessgreater_test): Likewise.
62251         (isunordered_test): Likewise.
62252         (main): Call the new functions.
62254 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62256         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62257         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62258         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62259         * sysdeps/i386/configure: Regenerated.
62260         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62261         * sysdeps/mach/configure: Regenerated.
62262         * sysdeps/mach/hurd/configure: Regenerated.
62263         * sysdeps/powerpc/configure: Regenerated.
62264         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62265         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62266         * sysdeps/s390/s390-32/configure: Regenerated.
62267         * sysdeps/s390/s390-64/configure: Regenerated.
62268         * sysdeps/sh/configure: Regenerated.
62269         * sysdeps/sparc/configure: Regenerated.
62270         * sysdeps/unix/sysv/linux/configure: Regenerated.
62271         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62272         * sysdeps/x86_64/configure: Regenerated.
62274         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62275         defined.  Don't check if MAP is NULL.
62277 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62279         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62280         (_G_stat64): Likewise.
62281         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62282         (_G_stat64): Likewise.
62283         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62284         instead of struct _G_stat64.
62285         * libio/fileops.c (mmap_remap_check): Likewise.
62286         (decide_maybe_mmap): Likewise.
62287         (_IO_new_file_seekoff): Likewise.
62288         (_IO_file_stat): Likewise.
62289         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62290         _G_off64_t.
62291         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62292         instead of struct _G_stat64.
62293         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62295 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62297         [BZ #14602]
62298         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62299         Replace with ...
62300         (CHECK_EOL): New macro.
62301         (two_way_short_needle): Check beginning of haystack for EOL.  Use
62302         CHECK_EOL.
62303         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62304         Replace with CHECK_EOL.
62305         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62306         Replace with CHECK_EOL.
62308 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
62310         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62311         type-generic.
62312         * math/libm-test.inc: Update comment listing what functions and
62313         macros are tested.
62314         (finite_test): New function.
62315         (isinf_test): Likewise.
62316         (isnan_test): Likewise.
62317         (fpclassify_test): Test subnormal input.
62318         (isfinite_test): Likewise.
62319         (isnormal_test): Likewise.
62320         (main): Call the new functions.
62322 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
62324         [BZ #14660]
62325         * Makerules (%.dynsym): Force C locale when running
62326         $(OBJDUMP) --dynamic-syms.
62328 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
62330         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62331         <stdint.h>.
62333 2012-10-06  David S. Miller  <davem@davemloft.net>
62335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62336         upper 32-bits of the length value in %o2 since we use branch-on-register
62337         tests which consider the entire 64-bit register.
62339 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
62341         * string/test-strstr.c (check2): Add a test for page boundary.
62343 2012-10-05  David S. Miller  <davem@davemloft.net>
62345         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62346         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62347         file.
62348         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62349         sysdep_routines.
62350         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62351         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62352         and bzero when HWCAP_SPARC_CRYPTO is present.
62354 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
62356         [BZ #14602]
62357         * string/test-strstr.c (check2): New function.
62358         (test_main): Call check2.
62360         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62361         and bug-strchr1.
62362         * string/bug-strcasestr1.c (do_test): Moved to ...
62363         * string/test-strcasestr.c (check1): Here.  New function.
62364         (do_one_test): Break out result checking code into ...
62365         (check_result): This.  New function.
62366         (do_one_test): Call check_result.
62367         (test_main): Call check1.
62368         * string/bug-strchr1.c (do_test): Moved to ...
62369         * string/test-strchr.c (check1): Here.  New function.
62370         (do_one_test): Break out result checking code into ...
62371         (check_result): This.  New function.
62372         (do_one_test): Call check_result.
62373         (test_main): Call check1.
62374         * string/bug-strstr1.c (main): Moved to ...
62375         * string/test-strstr.c (check1): Here.  New function.
62376         (do_one_test): Break out result checking code into ...
62377         (check_result): This.  New function.
62378         (do_one_test): Call check_result.
62379         (test_main): Call check1.
62380         * string/bug-strcasestr1.c: Removed.
62381         * string/bug-strchr1.c: Likewise.
62382         * string/bug-strstr1.c: Likewise.
62384         * elf/Makefile (dl-routines): Add hwcaps.
62385         * elf/dl-support.c (_dl_important_hwcaps): Removed.
62386         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62387         (_dl_important_hwcaps): Moved to ...
62388         * elf/dl-hwcaps.c: Here.  New file.
62389         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62391         [BZ #14557]
62392         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62393         if IS_IN_rtld isn't defined.
62395         * elf/dl-support.c (_dl_sysinfo_map): New.
62396         Include "get-dynamic-info.h" and "setup-vdso.h".
62397         (_dl_non_dynamic_init): Call setup_vdso.
62398         * elf/dynamic-link.h: Don't include <assert.h>.
62399         (elf_get_dynamic_info): Moved to ...
62400         * elf/get-dynamic-info.h: Here.  New file.
62401         * elf/dynamic-link.h: Include "get-dynamic-info.h".
62402         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62403         * elf/setup-vdso.h: Here.  New file.
62404         * elf/rtld.c: Include "setup-vdso.h".
62405         (dl_main): Call setup_vdso.
62407 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
62409         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62410         creal in comment listing functions tested.  List finite, isinf,
62411         isnan, isless, islessequal, isgreater, isgreaterequal,
62412         islessgreater, isunordered, lgamma_r and pow10 as functions and
62413         macros not tested.  Mention which functions not tested are aliases
62414         for other functions.  Fix typo.  Note that signs of NaNs are not
62415         tested.
62417         * scripts/config.guess: Update from config.git.
62418         * scripts/config.sub: Likewise.
62420 2012-10-04  Roland McGrath  <roland@hack.frob.com>
62422         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62423         * misc/madvise.c (madvise): Renamed to __madvise.
62424         Make madvise a weak alias.
62425         * include/sys/mman.h: Declare __madvise.
62426         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62427         * sysdeps/unix/syscalls.list
62428         (madvise): Make __madvise the strong name, and madvise a weak alias.
62429         * sysdeps/unix/sysv/linux/syscalls.list
62430         (madvise, mmap): Remove redundant entries.
62431         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62432         * malloc/malloc.c (mtrim): Likewise.
62433         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62435 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62437         * sysdeps/mach/hurd/dl-cache.c: File removed.
62438         * config.h.in (USE_LDCONFIG): New #undef.
62439         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62440         * configure: Regenerated.
62441         * elf/Makefile (dl-routines): Add dl-cache only under
62442         [$(use-ldconfig) = yes].
62443         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62444         cache on [USE_LDCONFIG].
62445         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62446         [USE_LDCONFIG].
62447         * elf/rtld.c (dl_main): Likewise.
62449 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62451         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62452         _SC_LEVEL4_CACHE_LINESIZE.
62454 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62456         * sysdeps/unix/bsd/confstr.h: File removed.
62458 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62460         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62461         sys/sdt-config.h.
62463 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62465         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62466         Make 'mapoff' field ElfW(Off) rather than off_t.
62468 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62470         * nscd/Makefile: Remove nscd-cflags and all its users.
62471         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62472         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62474         [BZ #10631]
62475         * malloc.c (malloc_printerr): Clarify error message.
62477 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62479         [BZ #14648]
62480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62481         Set bit_FMA_Usable if FMA is supported.
62482         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62483         macro.
62484         (bit_FMA4_Usable): Updated.
62485         (index_FMA_Usable): New macro.
62486         (CPUID_FMA): Likewise.
62487         (HAS_FMA): Defined with bit_FMA_Usable.
62489 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62491         * bits/types.h (__swblk_t): Type removed.
62492         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62493         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62494         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62495         (__SWBLK_T_TYPE): Likewise.
62496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62497         (__SWBLK_T_TYPE): Likewise.
62498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62499         (__SWBLK_T_TYPE): Likewise.
62500         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62501         (__SWBLK_T_TYPE): Likewise.
62503 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62504             Honza Horak <hhorak@redhat.com>
62506         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62507         (xdr_mapname): Use YPMAXMAP as maxsize.
62508         (xdr_peername): Use YPMAXPEER as maxsize.
62509         (xdr_keydat): Use YPAXRECORD as maxsize.
62510         (xdr_valdat): Use YPMAXRECORD as maxsize.
62512 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62514         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62516         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62517         * csu/init-first.c: ... here.
62518         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62519         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62520         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62521         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62522         * sysdeps/i386/init-first.c: File removed.
62523         * sysdeps/sh/init-first.c: File removed.
62525 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62527         [BZ #14645]
62528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62529         if x * y might underflow to zero and z is zero.
62530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62532         * math/libm-test.inc (min_subnorm_value): New variable.
62533         (fma_test): Add more tests.
62534         (fma_test_towardzero): Likewise.
62535         (fma_test_downward): Likewise.
62536         (fma_test_upward): Likewise.
62537         (initialize): Set min_subnorm_value.
62539 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62541         [BZ #14638]
62542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62543         0 + 0.
62544         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62545         mode for addition resulting in exact zero.
62546         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62548         exact 0 + 0.
62549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62551         * math/libm-test.inc (fma_test): Add more tests.
62552         (fma_test_towardzero): New function.
62553         (fma_test_downward): Likewise.
62554         (fma_test_upward): Likewise.
62555         (main): Call the new functions.
62557 2012-09-28  David S. Miller  <davem@davemloft.net>
62559         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62561 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62563         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62564         instead of SIGALRM.
62566         * sysdeps/gnu/_G_config.h: Moved to ...
62567         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62568         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62569         * sysdeps/generic/_G_config.h: ... here.
62571         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62573         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62575         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62576         Conditionalize target on [libnss_test1.so-version].
62578         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62580         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62581         (elfobjdir): Move out of conditionals.
62583         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62584         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62585         (__nss_lookup_function): Conditionalize label remove_from_tree on
62586         [!DO_STATIC_NSS || SHARED], matching its only use.
62588 2012-09-28  David S. Miller  <davem@davemloft.net>
62590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62591         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62592         file.
62593         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62594         sysdep_routines.
62595         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62597         when HWCAP_SPARC_CRYPTO is present.
62599 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62601         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62603 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62605         [BZ #6530]
62606         * stdio-common/vfprintf.c (process_string_arg): Revert
62607         2000-07-22 change.
62609 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62611         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62612         for testcase.
62613         * stdio-common/tst-sprintf.c: Include <locale.h>
62614         (main): Test sprintf's handling of incomplete multibyte
62615         characters.
62617 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62619         * elf/dl-runtime.c (VERSYMIDX): Removed.
62620         * elf/dl-version.c (VERSYMIDX): Likewise.
62621         * elf/do-rel.h (VERSYMIDX): Likewise.
62622         (VALIDX): Likewise.
62623         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62624         * elf/rtld.c (VALIDX): Likewise.
62625         (ADDRIDX): Likewise.
62626         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62627         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62628         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62629         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62630         (VALIDX): Likewise.
62631         (ADDRIDX): Likewise.
62633 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62635         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62637 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62639         [BZ #11438]
62640         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62641         to global scope.
62642         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62643         addresses are in the same scope as 192.0.2/24.
62644         * posix/gai.conf: Document new scope table defaults.
62646 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62648         [BZ #5298]
62649         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62650         for ftell.  Compute offsets from write pointers instead.
62651         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62653 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62655         [BZ #14543]
62656         * libio/Makefile (tests): New test case tst-fseek.
62657         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62658         combination works in wide mode.
62659         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62660         state when the external buffer state changes.
62662 2012-09-27  David S. Miller  <davem@davemloft.net>
62664         [BZ #14376]
62665         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62666         pass reloc->r_addend in as the 'high' argument to
62667         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62671 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62673         * rt/tst-aio2.c: Include <pthread.h>.
62674         * rt/tst-aio3.c: Likewise.
62676 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62678         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62680 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62682         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62683         contents on [SHARED].
62685 2012-09-26  Marek Polacek  <polacek@redhat.com>
62687         [BZ #14530]
62688         [BZ #13741]
62689         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62690         for C++ and GCC <4.3 as well as for non GCC compilers.
62692 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62696 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62698         * Makefile.in (all, install): Declare with .PHONY.
62699         Reported by Michael Hope <michael.hope@linaro.org>.
62701 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62703         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62704         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62705         system header.
62706         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62707         Likewise.
62708         (sydep_routines): Add the new and the internal functions.
62709         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62710         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62712         (GLIBC_2.17): Add the new function.
62713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62714         (GLIBC_2.17): Likewise.
62715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62716         (GLIBC_2.17): Likewise.
62717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62718         (GLIBC_2.17): Likewise.
62719         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62721 2012-09-25  Alan Modra  <amodra@gmail.com>
62723         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62724         Add release barrier before setting once_control to say
62725         initialisation is done.  Add hints on lwarx.  Use macro in
62726         place of isync.
62727         (clear_once_control): Add release barrier.
62729 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62731         [BZ #13629]
62732         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62733         specially.
62734         * math/s_clog10.c (__clog10): Likewise.
62735         * math/s_clog10f.c (__clog10f): Likewise.
62736         * math/s_clog10l.c (__clog10l): Likewise.
62737         * math/s_clogf.c (__clogf): Likewise.
62738         * math/s_clogl.c (__clogl): Likewise.
62739         * math/Makefile (libm-calls): Add x2y2m1.
62740         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62741         (__x2y2m1): Likewise.
62742         (__x2y2m1l): Likewise.
62743         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62744         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62745         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62746         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62747         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62748         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62749         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62750         * sysdeps/i386/fpu/libm-test-ulps: Update.
62751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62753         [BZ #14621]
62754         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62755         int as type of variable DEPTH.
62756         (glob): Use size_t instead of int as type of variables NEWCOUNT
62757         and OLD_PATHC.
62759 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62761         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62762         Add s_sincosf-sse2.
62763         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62764         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62765         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62766         macros for using routine as __sincosf_ia32.
62767         Use macro for function declaration and weak_alias.
62768         * sysdeps/i386/fpu/libm-test-ulps: Update.
62770         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62773         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62774         subnormal argument.
62775         * math/s_cexpf.c (__cexpf): Likewise.
62776         * math/s_csinf.c (__csinf): Likewise.
62777         * math/s_csinhf.c (__csinhf): Likewise.
62778         * math/s_ctanf.c (__ctanf): Likewise.
62779         * math/s_ctanhf.c (__ctanhf): Likewise.
62780         * math/s_ccosh.c (__ccoshf): Likewise.
62781         * math/s_cexp.c (__cexpl): Likewise.
62782         * math/s_csin.c (__csin): Likewise.
62783         * math/s_csinh.c (__csinh): Likewise.
62784         * math/s_ctan.c (__ctan): Likewise.
62785         * math/s_ctanh.c (ctanh): Likewise.
62786         * math/s_ccoshl.c (__ccoshl): Likewise.
62787         * math/s_cexpl.c (__cexpl): Likewise.
62788         * math/s_csinl.c (__csinl): Likewise.
62789         * math/s_csinhl.c (__csinhl): Likewise.
62790         * math/s_ctanl.c (__ctanl): Likewise.
62791         * math/s_ctanhl.c (__ctanhl): Likewise.
62793 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62795         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62796         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62797         (_IO_off_t): Define to __off_t, not _G_off_t.
62798         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62799         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62800         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62801         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62802         type of __dummy and __dummy2 fields.
62803         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62804         (_G_ssize_t): Likewise.
62805         (_G_off_t): Likewise.
62806         (_G_pid_t): Likewise.
62807         (_G_uid_t): Likewise.
62808         (_G_wchar_t): Likewise.
62809         (_G_wint_t): Likewise.
62810         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62811         (_G_ssize_t): Likewise.
62812         (_G_off_t): Likewise.
62813         (_G_pid_t): Likewise.
62814         (_G_uid_t): Likewise.
62815         (_G_wchar_t): Likewise.
62816         (_G_wint_t): Likewise.
62817         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62818         (_G_ssize_t): Likewise.
62819         (_G_off_t): Likewise.
62820         (_G_pid_t): Likewise.
62821         (_G_uid_t): Likewise.
62822         (_G_wchar_t): Likewise.
62823         (_G_wint_t): Likewise.
62825 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62827         * malloc/arena.c: Include malloc-sysdep.h.
62828         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62829         is sufficient to shrink the heap or an unmap is needed.
62830         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62831         new function check_may_shrink_heap.
62832         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62833         new function check_may_shrink_heap.
62835 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62837         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62838         comments.
62840 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62842         * catgets/test-gencat.sh: Add "set -e".
62843         * elf/tst-pathopt.sh: Likewise.
62844         * grp/tst_fgetgrent.sh: Likewise.
62845         * iconvdata/run-iconv-test.sh: Likewise.
62846         * intl/tst-gettext.sh: Likewise.
62847         * intl/tst-gettext2.sh: Likewise.
62848         * intl/tst-gettext4.sh: Likewise.
62849         * intl/tst-gettext6.sh: Likewise.
62850         * intl/tst-translit.sh: Likewise.
62851         * io/ftwtest-sh: Likewise.
62852         * libio/test-freopen.sh: Likewise.
62853         * malloc/tst-mtrace.sh: Likewise.
62854         * posix/globtest.sh: Likewise.
62855         * posix/tst-getconf.sh: Likewise.
62856         * posix/wordexp-tst.sh: Likewise.
62857         * stdio-common/tst-printf.sh: Likewise.
62858         * stdio-common/tst-unbputc.sh: Likewise.
62859         * stdlib/tst-fmtmsg.sh: Likewise.
62860         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62861         * catgets/Makefile: Do not specify -e option when running
62862         testsuite shell scripts.
62863         * elf/Makefile: Likewise.
62864         * grp/Makefile: Likewise.
62865         * iconvdata/Makefile: Likewise.
62866         * intl/Makefile: Likewise.
62867         * io/Makefile: Likewise.
62868         * libio/Makefile: Likewise.
62869         * malloc/Makefile: Likewise.
62870         * posix/Makefile: Likewise.
62871         * stdio-common/Makefile: Likewise.
62872         * stdlib/Makefile: Likewise.
62873         * sysdeps/x86_64/Makefile: Likewise.
62875         * io/ftwtest-sh: Add copyright header.
62876         * posix/globtest.sh: Likewise.
62877         * posix/tst-getconf.sh: Likewise.
62878         * posix/wordexp-tst.sh: Likewise.
62879         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62881 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62883         [BZ #13679]
62884         * Makeconfig (+link): Defined as $(+link-static) if
62885         $(build-shared) isn't yes.
62886         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62887         isn't yes.
62888         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62890         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62892         [BZ #14562]
62893         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62894         new chunk size with MALLOC_ALIGN_MASK.
62896 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62898         [BZ #5044]
62899         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62900         <rounding-mode.h>.
62901         (__printf_fphex): Determine rounding using get_rounding_mode and
62902         round_away.
62903         * stdio-common/tst-printf-round.c (struct hex_test): New
62904         structure.
62905         (hex_tests): New variable.
62906         (test_hex_in_one_mode): New function.
62907         (do_test): Also run tests for hex float output.
62909 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62911         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62912         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62913         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62914         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62915         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62916         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62917         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62918         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62920 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62922         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62923         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62924         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62925         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62927 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62929         [BZ #14579]
62930         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62931         mode only.
62932         * elf/tst-rtld-load-self.sh: New test.
62933         * elf/Makefile: Run it.
62935 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62937         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62938         (tst-writev-ENV): Remove.
62939         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62941 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62943         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62945 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62947         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62948         unconditional.
62949         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62950         Likewise.
62951         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62952         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62953         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62954         Likewise.
62956 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62958         [BZ #14587]
62959         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62960         * config.make.in (have-cpp-asm-debuginfo): Removed.
62961         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62962         * configure: Regenerated.
62964 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62966         [BZ #5044]
62967         * stdio-common/printf_fp.c: Include <stdbool.h> and
62968         <rounding-mode.h>.
62969         (___printf_fp): Determine rounding using get_rounding_mode and
62970         round_away.
62971         * stdio-common/tst-printf-round.c: New file.
62972         * stdio-common/Makefile (tests): Add tst-printf-round.
62973         (link-libm): New variable.
62974         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62976 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62978         [BZ #14576]
62979         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62980         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62981         Likewise.
62982         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62983         Likewise.
62985 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62987         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62988         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62989         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62990         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62992 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62994         [BZ #14518]
62995         * include/rounding-mode.h: New file.
62996         * sysdeps/generic/get-rounding-mode.h: Likewise.
62997         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62998         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62999         (MAX_VALUE): New macro.
63000         (MIN_VALUE): Likewise.
63001         (overflow_value): New function.
63002         (underflow_value): Likewise.
63003         (round_and_return): Use overflow_value and underflow_value to
63004         determine return values in overflow and underflow cases.  Use
63005         round_away to determine rounding depending on rounding mode.
63006         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63007         determine return values in overflow and underflow cases.
63008         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63009         (struct test_results): New structure.
63010         (struct test): Use struct test_results to store expected results
63011         for all rounding modes.
63012         (TEST): Include expected results for all rounding modes.
63013         (test_in_one_mode): New function.
63014         (do_test): Use test_in_one_mode to compute and check results.
63015         Check results for all rounding modes.
63016         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63017         $(link-libm).
63019 2012-12-09  Allan McRae  <allan@archlinux.org>
63021         * sysdeps/i386/fpu/libm-test-ulps: Update
63023 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63025         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63026         (_G_int32_t): Likewise.
63027         (_G_uint16_t): Likewise.
63028         (_G_uint32_t): Likewise.
63029         (_G_HAVE_BOOL): Likewise.
63030         (_G_HAVE_ATEXIT): Likewise.
63031         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63032         (_G_HAVE_IO_FILE_OPEN): Likewise.
63033         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63034         (_G_int32_t): Likewise.
63035         (_G_uint16_t): Likewise.
63036         (_G_uint32_t): Likewise.
63037         (_G_HAVE_BOOL): Likewise.
63038         (_G_HAVE_ATEXIT): Likewise.
63039         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63040         (_G_HAVE_IO_FILE_OPEN): Likewise.
63041         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63042         (_G_int32_t): Likewise.
63043         (_G_uint16_t): Likewise.
63044         (_G_uint32_t): Likewise.
63045         (_G_HAVE_BOOL): Likewise.
63046         (_G_HAVE_ATEXIT): Likewise.
63047         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63048         (_G_HAVE_IO_FILE_OPEN): Likewise.
63050 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63052         * csu/libc-tls.c: Update copyright years.
63054 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63056         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63057         [!_G_USING_THUNKS]: Remove conditional code.
63058         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63059         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63061         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63062         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63063         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63064         (_G_VTABLE_LABEL_PREFIX): Likewise.
63065         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63066         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63067         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63068         (_G_VTABLE_LABEL_PREFIX): Likewise.
63069         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63070         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63071         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63072         (_G_VTABLE_LABEL_PREFIX): Likewise.
63073         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63075 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63077         * libio/Makefile: Include ../Makeconfig before tests.
63078         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63079         only if $(build-shared) is yes.
63081         * iconv/gconv_db.c: Update copyright years.
63083 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63085         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63086         unwind info if defined PIC. Fix special cases description.
63087         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63089         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63090         DP_HI_MASK entry.
63091         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63093 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63095         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63097         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63098         is NULL.
63100         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63101         (LDLIBS-tst-chk4): This.
63102         (LDFLAGS-tst-chk5): Renamed to ...
63103         (LDLIBS-tst-chk5): This.
63104         (LDFLAGS-tst-chk6): Renamed to ...
63105         (LDLIBS-tst-chk6): This.
63106         (LDFLAGS-tst-lfschk4): Renamed to ...
63107         (LDLIBS-tst-lfschk4): This.
63108         (LDFLAGS-tst-lfschk5): Renamed to ...
63109         (LDLIBS-tst-lfschk5): This.
63110         (LDFLAGS-tst-lfschk6): Renamed to ...
63111         (LDLIBS-tst-lfschk6): This.
63113         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63114         on $(common-objpfx)soversions.mk.
63116 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63118         [BZ #10014]
63119         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63120         example host name.
63122 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63124         * malloc/arena.c (arena_get_retry): New function that gets
63125         another arena for the caller to try its request on.
63126         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63127         current arena cannot fulfill the request.
63128         (__libc_memalign): Likewise.
63129         (__libc_memalign): Likewise.
63130         (__libc_pvalloc): Likewise.
63131         (__libc_calloc): Likewise.
63133 2012-09-05  John Tobey  <john.tobey@gmail.com>
63135         [BZ #13542]
63136         * manual/arith.texi (Operations on Complex): Fix description
63137         of carg branch cut.
63139 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63141         [BZ #10014]
63142         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63143         host name.
63145         [BZ #10038]
63146         * manual/memory.texi (Memory): Make order of menu items match
63147         order of sections.
63149 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63151         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63152         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63153         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63155 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63157         * csu/libc-tls.c (static_dtv): Renamed to ...
63158         (_dl_static_dtv): This.  Make it global.
63159         (_dl_initial_dtv): Removed.
63160         (__libc_setup_tls): Updated.
63161         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63162         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63163         DL_INITIAL_DTV.
63165 2012-09-06  Petr Machata  <pmachata@redhat.com>
63167         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63168         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63169         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63170         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63172 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63174         [BZ #14545]
63175         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63176         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63177         freeing dtv[-1].
63179 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63181         [BZ #14544]
63182         * Makeconfig (link-static-before-libc): Replace $(+prector)
63183         with $(+prectorT).
63184         (link-static-after-libc): Replace $(+postctor) with
63185         $(+postctorT).
63186         (link-bounded): Replace $(+prector)/$(+postctor) with
63187         $(+prectorT)/$(+postctorT).
63188         (+prectorT): New macro.
63189         (+postctorT): Likewise.
63191 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63193         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63194         (round_str): Handle values above the maximum for IBM long double
63195         as inexact.
63196         * stdlib/tst-strtod-round.c (tests): Regenerated.
63198 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63200         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63201         assembler flag.
63202         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63203         zarch_nohighgprs around the zarch optimized routines.
63204         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63205         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63207         for zarch.
63209 2012-09-05  David S. Miller  <davem@davemloft.net>
63211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63213         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63214         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63215         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63216         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63217         entries.
63219 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63221         * malloc/arena.c: Fold copyright years.
63222         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63224 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63226         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63230         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63232 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63234         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63235         change internal state upon failure.
63237 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63239         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63240         * malloc/memusage.c (mmap): Likewise.
63241         (mmap64, mremap): Likewise.  Adjust name in comment.
63243 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63245         * libio/fileops.c: Fix typos in comments.
63246         * libio/oldfileops.c: Likewise.
63247         * libio/wfileops.c: Likewise.
63249 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63251         [BZ #1349]
63252         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63253         (tst-malloc-usable-ENV): Set environment for test case.
63254         * malloc/hooks.c (malloc_check_get_size): New function to get
63255         requested size.
63256         * malloc/malloc.c (musable): Use malloc_check_get_size.
63257         * malloc/tst-malloc-usable.c: New test case.
63259 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63261         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63263 2012-09-05  Allan McRae  <allan@archlinux.org>
63265         [BZ #13966]
63266         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63267         determine header location.
63268         * configure: Regenerated.
63270 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63272         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63273         float format.
63274         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63275         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63276         format.
63277         (test): Regenerate.
63279 2012-09-04  David S. Miller  <davem@davemloft.net>
63281         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63282         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63283         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63285 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63287         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63288         failures.
63290         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63292 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63294         [BZ #9914]
63295         * libio/iogetdelim.c: Include <limits.h>.
63296         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63297         + len + 1 would overflow.
63299 2012-09-03  Andreas Jaeger  <aj@suse.de>
63301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63302         * sysdeps/i386/fpu/libm-test-ulps: Update.
63304 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63306         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63307         Add s_sinf-sse2, s_conf-sse2.
63309         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63310         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63311         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63312         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63314         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63315         for using routine as __sinf_ia32.
63316         Use macro for function declaration and weak_alias.
63317         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63318         for using routine as __cosf_ia32.
63319         Use macro for function declaration and weak_alias.
63321         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63322         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63324         * sysdeps/x86_64/fpu/s_sinf.S: New file.
63325         * sysdeps/x86_64/fpu/s_cosf.S: New file.
63326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63328         * math/libm-test.inc (cos_test): Add more test cases.
63329         (sin_test): Likewise.
63330         (sincos_test): Likewise.
63332 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63334         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63335         (IFUNC_RESOLVE): Make pointers to the specialized implementations
63336         hidden.
63337         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63339 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
63341         [BZ #14538]
63342         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63343         first element of the GOT.
63344         (elf_machine_load_address): Return the difference between
63345         the runtime address of _DYNAMIC and elf_machine_dynamic ().
63347 2012-09-01  Allan McRae  <allan@archlinux.org>
63349         [BZ #13412]
63350         * configure.in (AWK): Require gawk version 3.0 or later.
63351         * configure: Regenerated.
63353 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
63355         * sysdeps/unix/sysv/linux/kernel-features.h
63356         (__ASSUME_POSIX_CPU_TIMERS): Remove.
63357         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63358         [__NR_clock_getres]: Make code unconditional.
63359         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63360         (clock_getcpuclockid): Remove code left unreachable by removal of
63361         conditionals.
63362         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63363         code unconditional.
63364         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63365         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63366         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63367         Make code unconditional.
63368         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63369         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63370         * sysdeps/unix/sysv/linux/clock_settime.c
63371         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63372         conditional code.
63373         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63374         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63376 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
63378         [BZ #14476]
63379         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63380         scripts/test-installation.pl.
63382         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63383         and $ld_so_version if it is set.
63385 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63387         [BZ #14516]
63388         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63389         failure if reading from procfs failed.
63390         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63392 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63394         * sysdeps/unix/sysv/linux/kernel-features.h
63395         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63396         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63397         Remove conditional code.
63398         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63399         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63400         Remove conditional code.
63401         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63402         * sysdeps/unix/sysv/linux/i386/fxstat.c
63403         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63404         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63405         * sysdeps/unix/sysv/linux/i386/fxstatat.c
63406         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63407         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63408         * sysdeps/unix/sysv/linux/i386/lxstat.c
63409         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63410         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63411         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63412         Remove conditional code.
63413         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63414         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63415         Remove conditional code.
63416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63417         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63418         <kernel-features.h>.
63419         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63420         Remove.
63421         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63422         Remove conditional code.
63423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63424         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63425         Remove conditional.
63427 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
63429         [BZ #5400]
63430         * NEWS: Add fixed bug number.
63432 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63434         [BZ #14519]
63435         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63436         underflowing exponent in case of negative sign.
63437         * stdlib/tst-strtod-round-data: Add more tests.
63438         * stdlib/tst-strtod-round.c (tests): Regenerated.
63440         [BZ #3479]
63441         * stdlib/strtod_l.c (NDIG): Remove.
63442         (HEXNDIG): Likewise.
63443         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63444         smallest representable value.
63445         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63446         lie within an exact representation of 1/2 ulp of the result.
63447         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63448         unconditionally.
63449         (TENS_P9_IDX): Define unconditionally.
63450         (TENS_P9_SIZE): Likewise.
63451         (TENS_P10_IDX): Likewise.
63452         (TENS_P10_SIZE): Likewise.
63453         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63454         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63455         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63456         entries for 10^2^13 and 10^2^14.
63457         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63458         (TENS_P13_IDX): Define.
63459         (TENS_P13_SIZE): Likewise.
63460         (TENS_P14_IDX): Likewise.
63461         (TENS_P14_SIZE): Likewise.
63462         (_fpioconst_pow10): Change array size to
63463         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63464         unconditional.
63465         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63466         1024]: Add entries for 10^2^13 and 10^2^14.
63467         [LAST_POW10 > _LAST_POW10]: Remove #error.
63468         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63469         (_fpioconst_pow10): Change array size to
63470         FPIOCONST_POW10_ARRAY_SIZE.
63471         * stdlib/gen-fpioconst.c: New file.
63472         * stdlib/gen-tst-strtod-round.c: Likewise.
63473         * stdlib/tst-strtod-round-data: Likewise.
63474         * stdlib/tst-strtod-round.c: Likewise.
63475         * stdlib/Makefile (tests): Add tst-strtod-round.
63477         [BZ #14459]
63478         * stdlib/strtod_l.c: Include <stdint.h>.
63479         (NDEBUG): Do not define.
63480         (round_and_return): Change EXPONENT parameter to type intmax_t.
63481         Rearrange calculations to avoid internal overflow possibilities.
63482         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63483         Rearrange calculations to avoid internal overflow possibilities.
63484         Assert that number fits inside MPNSIZE limbs.
63485         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63486         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63487         calculations and add assertions to avoid internal overflow
63488         possibilities.  Add casts to avoid signed/unsigned operations.
63489         * stdlib/tst-strtod-overflow.c: New file.
63490         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63492 2012-08-25  Marek Polacek  <polacek@redhat.com>
63494         * time/time.h: Fix some typos in comments.
63496 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63498         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63499         * posix/tst-rfc3484-2.c: Likewise.
63500         * posix/tst-rfc3484-3.c: Likewise.
63502 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63504         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63505         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63507 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63509         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63510         #include of fxstatat64.c.
63512 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63514         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63515         * shadow/getspent_r.c: Likewise.
63516         * shadow/getspnam.c: Likewise.
63517         * shadow/getspnam_r.c: Likewise.
63518         * gshadow/getsgent.c: Likewise.
63519         * gshadow/getsgent_r.c: Likewise.
63520         * gshadow/getsgnam.c: Likewise.
63521         * gshadow/getsgnam_r.c: Likewise.
63522         * inet/getnetbyad.c: Likewise.
63523         * inet/getnetbyad_r.c: Likewise.
63524         * inet/getnetbynm.c: Likewise.
63525         * inet/getnetbynm_r.c: Likewise.
63526         * inet/getnetent.c: Likewise.
63527         * inet/getnetent_r.c: Likewise.
63528         * inet/getproto.c: Likewise.
63529         * inet/getproto_r.c: Likewise.
63530         * inet/getprtent.c: Likewise.
63531         * inet/getprtent_r.c: Likewise.
63532         * inet/getprtname.c: Likewise.
63533         * inet/getprtname_r.c: Likewise.
63534         * inet/getrpcbyname.c: Likewise.
63535         * inet/getrpcbyname_r.c: Likewise.
63536         * inet/getrpcbynumber.c: Likewise.
63537         * inet/getrpcbynumber_r.c: Likewise.
63538         * inet/getrpcent.c: Likewise.
63539         * inet/getrpcent_r.c: Likewise.
63540         * inet/getaliasent.c: Likewise.
63541         * inet/getaliasent_r.c: Likewise.
63542         * inet/getaliasname.c: Likewise.
63543         * inet/getaliasname_r.c: Likewise.
63544         * nscd/getgrgid_r.c: Likewise.
63545         * nscd/getgrnam_r.c: Likewise.
63546         * nscd/gethstbyad_r.c: Likewise.
63547         * nscd/gethstbynm3_r.c: Likewise.
63548         * nscd/getpwnam_r.c: Likewise.
63549         * nscd/getpwuid_r.c: Likewise.
63550         * nscd/getsrvbynm_r.c: Likewise.
63551         * nscd/getsrvbypt_r.c: Likewise.
63552         * nscd/gai.c: Likewise.
63554         * configure.in (build_nscd): New substituted variable, set
63555         by --disable-build-nscd and defaults to $use_nscd.
63556         * configure: Regenerated.
63557         * config.make.in (build-nscd): New substituted variable.
63558         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63559         Change conditional to require [$(build-nscd) = yes] as well.
63560         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63562         [BZ# 13696]
63563         * configure.in (use_nscd): New substituted variable, set by
63564         --disable-nscd.  If enabled, define USE_NSCD.
63565         * configure: Regenerated.
63566         * config.h.in: Add USE_NSCD.
63567         * config.make.in (use-nscd): New substituted variable.
63568         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63569         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63570         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63571         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63572         (CFLAGS-getgrnam_r.c): Likewise.
63573         (CFLAGS-initgroups.c): Likewise.
63574         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63575         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63576         Variables removed.
63577         * inet/getnetgrent_r.c
63578         (nscd_setnetgrent): New function, broken out of ...
63579         (setnetgrent): ... here.  Call it.
63580         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63581         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63582         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63583         * nscd/Makefile (routines, aux): Move definitions after include of
63584         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63585         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63586         Conditionalize on [USE_NSCD].
63587         (is_nscd, nscd_init_cb): Likewise.
63588         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63589         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63590         * nss/nss_db/db-init.c: Likewise.
63591         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63592         [USE_NSCD].
63593         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63594         (make_request): Use it.
63595         (cache_valid_p): New function.
63596         (__check_pf): Use it.
63597         * NEWS: Add item for --disable-nscd.
63599 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63601         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63602         to support sed >= 4.2.1-20-ga9bf076.
63603         * configure: Regenerated.
63605 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63607         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63608         Conditionalize whole body on [IREL].
63610 2012-08-22  Jeff Law <law@redhat.com>
63612         [BZ #14505]
63613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63614         if the family is PF_UNSPEC.
63616 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63618         * Makerules (lib-version): Rename from V.
63619         (install-lib-nosubdir): Change V to lib-version.
63621 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63623         [BZ #14252]
63624         * powerpc32/power6/wcschr.c: New file.
63625         * powerpc32/power6/wcscpy.c: New file.
63626         * powerpc32/power6/wcsrchr.c: New file.
63627         * powerpc64/power6/wcschr.c: New file.
63628         * powerpc64/power6/wcscpy.c: New file.
63629         * powerpc64/power6/wcsrchr.c: New file.
63631 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63633         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63634         (two_way_short_needle): Use it.
63635         * string/strstr.c (AVAILABLE1_USES_J): Define.
63636         * string/strcasestr.c: Likewise.
63638         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63639         array references.
63640         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63642         [BZ #11607]
63643         * NEWS: Add an entry.
63644         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63645         define their defaults.
63646         (two_way_short_needle): Detect end-of-string on-the-fly.
63647         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63648         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63649         * string/bug-strcasestr1.c: New test.
63650         * string/Makefile: Run it.
63652 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63654         [BZ #11607]
63655         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63656         the first character.
63658 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63660         * csu/elf-init.c (__libc_csu_irel): Function removed.
63661         * csu/libc-start.c (apply_irel): New function.
63662         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63664 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63666         * sysdeps/unix/sysv/linux/kernel-features.h
63667         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63668         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63669         <kernel-features.h>.
63670         [__NR_fadvise64_64]: Make code unconditional.
63671         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63672         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63673         !__NR_fadvise64_64)]: Likewise.
63674         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63675         !__NR_fadvise64_64))]: Likewise.
63676         [__NR_fadvise64]: Make code unconditional.
63677         [!__NR_fadvise64]: Remove conditional code.
63678         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63679         <kernel-features.h>.
63680         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63681         unconditional.
63682         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63683         conditional code.
63684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63685         not include <kernel-features.h>.
63686         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63687         unconditional.
63688         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63689         conditional code.
63690         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63691         include <kernel-features.h>.
63692         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63693         unconditional.
63694         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63695         conditional code.
63697 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63699         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63700         slight instruction rearrangements per scrollpipe analysis.
63701         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63703 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63705         * manual/syslog.texi (syslog; vsyslog, closelog):
63706         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63707         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63709         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63710         DSOCAPS to match condition on defining it.
63712 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63714         * sysdeps/unix/sysv/linux/kernel-features.h
63715         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63717         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63718         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63720         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63721         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63723         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63724         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63726         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63727         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63729         * sysdeps/unix/sysv/linux/kernel-features.h
63730         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63731         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63732         unconditional.
63733         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63734         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63735         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63736         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63737         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63738         Make code unconditional.
63739         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63740         (__mmap64) [!__NR_mmap2]: Likewise.
63741         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63742         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63743         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63744         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63745         [__NR_mmap2]: Make code unconditional.
63746         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63747         (__mmap64) [!__NR_mmap2]: Likewise.
63749 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63751         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63753 2012-08-18  Andreas Jaeger  <aj@suse.de>
63755         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63757 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63759         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63760         * include/unistd.h (__have_sock_cloexec): Likewise.
63761         (__have_pipe2): Likewise.
63762         (__have_dup3): Likewise.
63764 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63766         [BZ #9685]
63767         * include/unistd.h (__have_pipe2): Change define into an extern int.
63768         (__have_dup3): Likewise.
63769         * socket/have_sock_cloexec.c: Include fcntl.h.
63770         (__have_pipe2): New variable.
63771         (__have_dup3): Likewise.
63773 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63775         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63777 2012-08-17  Marek Polacek  <polacek@redhat.com>
63779         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63780         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63782 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63784         * configure.in: Add AC_SUBST for sysheaders.
63785         * configure: Regenerated.
63786         * config.make.in (sysheaders): New substituted variable.
63788         * sysdeps/unix/mkfifo.c: Moved ...
63789         * sysdeps/posix/mkfifo.c: ... here.
63790         * sysdeps/unix/mkfifoat.c: Moved ...
63791         * sysdeps/posix/mkfifoat.c: ... here.
63793         * sysdeps/unix/utime.c: Moved ...
63794         * sysdeps/posix/utime.c: ... here.
63796         * sysdeps/unix/time.c: Moved ...
63797         * sysdeps/posix/time.c: ... here.
63798         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63799         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63801         * sysdeps/unix/nice.c: Moved ...
63802         * sysdeps/posix/nice.c: ... here.
63804         * sysdeps/unix/alarm.c: Moved ...
63805         * sysdeps/posix/alarm.c: ... here.
63807         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63809 2012-08-17  Jeff Law <law@redhat.com>
63811         * intl/Makefile (codeset_mo): New variable.
63812         ($(codeset_mo)): New target.
63813         (tst-codeset.out): Depend on that.  Remove explicit rule.
63814         (tst-gettext3.out, tst-gettext5.out): Likewise.
63815         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63816         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63817         * intl/tst-codeset.sh: Remove.
63818         * intl/tst-gettext3.sh: Likewise.
63819         * intl/tst-gettext5.sh: Likewise.
63821 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63823         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63824         * sysdeps/unix/syscalls.list: ... here.
63826         * sysdeps/posix/getaddrinfo.c
63827         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63828         (gaiconf_init, gaiconf_reload): Use them.
63829         [!_STATBUF_ST_NSEC]
63830         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63831         Define using time_t rather than struct timespec.
63833         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63834         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63835         Macros removed.
63836         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63837         [!NO_THREADS].
63838         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63839         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63840         Likewise.
63842         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63843         __libc_cleanup_push argument.
63845         * bits/param.h: New file.
63846         * misc/sys/param.h: New file.
63847         * include/sys/param.h: New file.
63848         * misc/Makefile (headers): Add bits/param.h.
63849         * sysdeps/generic/sys/param.h: File removed.
63850         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63851         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63852         * sysdeps/mach/hurd/bits/param.h: New file.
63853         * sysdeps/mach/hurd/sys/param.h: File removed.
63855         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63856         last change.
63858         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63859         [_IO_MTSAFE_IO].
63860         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63861         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63862         New macros.
63864         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63865         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63866         rather than -D_IO_MTSAFE_IO conditionally.
63867         * stdio-common/Makefile (CPPFLAGS): Likewise.
63868         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63869         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63870         Use $(libio-mtsafe).
63871         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63872         of -D_IO_MTSAFE_IO.
63873         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63874         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63875         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63876         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63877         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63878         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63879         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63880         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63881         (CFLAGS-fread_u_chk.c): Likewise.
63882         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63883         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63884         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63885         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63886         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63887         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63888         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63889         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63890         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63892         * libio/Makefile: Test [$(libc-reentrant) = yes]
63893         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63895         * Makeconfig
63896         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63897         * sysdeps/pthread/configure: File removed.
63898         * sysdeps/pthread/Makeconfig: New file.
63899         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63900         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63902 2012-08-16  Gary Benson  <gbenson@redhat.com>
63904         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63905         unmapping the first object in a namespace.
63907 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63909         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63910         (__internal_setnetgrent): ... this.  Add internal_function to
63911         definition.  Add libc_hidden_def.
63912         (setnetgrent): Update caller.
63913         (internal_endnetgrent): Renamed to ...
63914         (__internal_endnetgrent): ... this.  Add internal_function to
63915         definition.  Add libc_hidden_def.
63916         (endnetgrent): Update caller.
63917         (internal_getnetgrent_r): Renamed to ...
63918         (__internal_getnetgrent_r): ... this.  Add internal_function to
63919         definition.  Add libc_hidden_def.
63920         (__getnetgrent_r): Update caller.
63921         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63923 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63925         * stdlib/longlong.h: Update from GCC.
63927 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63929         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63930         on _QL, which is set by umul_ppmm but never used.
63931         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63932         variables, which are set by GMP macros but never used.
63933         * stdio-common/_itowa.c (_itowa): Likewise.
63934         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63935         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63937 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63939         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63940         struct La_sh_regs is not constant.
63941         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63942         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63943         and struct La_sparc64_regs are not constant.
63945 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63947         * sysdeps/unix/sysv/linux/kernel-features.h
63948         (__ASSUME_POSIX_TIMERS): Remove.
63949         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63950         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63951         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63952         Make code unconditional.
63953         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63954         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63955         Make code unconditional.
63956         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63957         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63958         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63959         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63960         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63961         Make code unconditional.
63962         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63963         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63964         (__libc_missing_posix_timers): Remove.
63966 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63968         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63969         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63971         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63973         * elf/dl-sym.c: Include <stdlib.h>.
63975         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63976         constants, which avoids warnings in 32-bit builds.
63978         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63979         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63981         * misc/lseek.c: File moved to ...
63982         * io/lseek.c: ... here.
63984         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63986         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63987         shifting LEN more than 31 bits at once.
63989 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63991         [BZ #14195]
63992         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63993         segmentation fault for a case of two empty input strings.
63994         * string/test-strncasecmp.c (check1): Renamed to...
63995         (bz12205): ...this.
63996         (bz14195): Add new testcase for two empty input strings and N > 0.
63997         (test_main): Call new testcase, adapt for renamed function.
63999 2012-08-15  Andreas Jaeger  <aj@suse.de>
64001         [BZ #14090]
64002         * crypt/md5test2.c: New test, based on test supplied by Serge
64003         Belyshev <belyshev@depni.sinp.msu.ru>.
64004         * crypt/Makefile (xtests): Add md5test-giant..
64005         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64007 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64009         [BZ #14090]
64010         * crypt/md5.c (md5_process_block): Don't assume the buffer
64011         length is less than 2**32.
64012         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64013         length is less than 2**64.
64015 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64017         * string/str-two-way.h: Include <sys/param.h>.
64018         (MAX): Macro removed.
64020         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64021         Move #define and #undef of memmove to just before and after
64022         including <string.h>.
64024         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64025         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64026         and after including <string.h>.  Move declarations of
64027         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64028         to before #include "string/memmove.c".
64030         * include/dirent.h: Declare __getdirentries.
64032         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64033         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64035 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64037         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64038         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64039         * sysdeps/i386/configure: Regenerated.
64040         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64041         STABS_CURRENT_FILE, and STABS_FUN.
64042         (END): Remove call to STABS_FUN_END.
64043         (STABS_CURRENT_FILE1): Delete.
64044         (STABS_CURRENT_FILE): Likewise.
64045         (STABS_FUN): Likewise.
64046         (STABS_FUN_END): Likewise.
64047         (STABS_FUN2): Likewise.
64048         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64049         * sysdeps/x86_64/configure: Regenerated.
64051 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64053         * elf/dl-open.c: Include <atomic.h>.
64054         * elf/dl-lookup.c: Likewise.
64056 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64058         * sysdeps/unix/sysv/linux/kernel-features.h
64059         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64060         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64061         unconditionally.
64062         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64063         unconditionally.
64064         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64065         condition on __ASSUME_CLONE_THREAD_FLAGS.
64067 2012-08-14  Andreas Jaeger  <aj@suse.de>
64069         * sysdeps/i386/fpu/libm-test-ulps: Update.
64071 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64073         * include/atomic.h (atomic_exchange_and_add): Split into ...
64074         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64075         New atomic macros.
64077 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64081 2012-08-13  Jeff Law <law@redhat.com>
64083         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64084         null byte in the output string.
64086 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64088         * sysdeps/unix/sysv/linux/kernel-features.h
64089         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64090         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64091         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64092         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64093         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64094         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64095         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64097 2012-08-09  Jeff Law <law@redhat.com>
64099         [BZ #13939]
64100         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64101         When avoid_arena is set, don't retry in the that arena.  Pick the
64102         next one, whatever it might be.
64103         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64104         (arena_lock): Pass in new parameter to arena_get2.
64105         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64106         arena_get2.
64107         (__libc_malloc): Unify retrying after main arena failure with
64108         __libc_memalign version.
64109         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64111 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64113         [BZ #14166]
64114         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64115         to __redirect_strstr.
64116         (__strstr_sse42): Use typeof __redirect_strstr.
64117         (__strstr_ia32): Likewise.
64118         (__libc_strstr): New prototype.
64119         (strstr): Renamed to ...
64120         (__libc_strstr): This.
64121         (strstr): New strong alias of __libc_strstr.
64122         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64123         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64124         __redirect_time.
64125         Include <time.h>.
64126         (__libc_time): New prototype.
64127         (time_ifunc): Replace time with __libc_time.
64128         (time): New strong alias and hidden definition of __libc_time.
64129         (__GI_time): Remove strong alias.
64130         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64131         Include <stddef.h>.
64132         (memmove): Redefined to __redirect_memmove.
64133         (__memmove_sse2): Use typeof __redirect_memmove.
64134         (__memmove_ssse3): Likewise.
64135         (__memmove_ssse3_back): Likewise.
64136         (__libc_memmove): New prototype.
64137         (memmove): Renamed to ...
64138         (__libc_memmove): This.
64139         (memmove): New strong alias of __libc_memmove.
64141 2012-08-08  Mark Salter  <msalter@redhat.com>
64143         * elf/elf.h
64144         (R_MN10300_TLS_GD): Define.
64145         (R_MN10300_TLS_LD): Likewise.
64146         (R_MN10300_TLS_LDO): Likewise.
64147         (R_MN10300_TLS_GOTIE): Likewise.
64148         (R_MN10300_TLS_IE): Likewise.
64149         (R_MN10300_TLS_LE): Likewise.
64150         (R_MN10300_TLS_DTPMOD): Likewise.
64151         (R_MN10300_TLS_DTPOFF): Likewise.
64152         (R_MN10300_TLS_TPOFF): Likewise.
64153         (R_MN10300_SYM_DIFF): Likewise.
64154         (R_MN10300_ALIGN): Likewise.
64155         (R_MN10300_NUM): Update.
64157 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64160         Remove.
64162 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64164         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64166         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64167         sysdeps/unix -> sysdeps/posix move.
64168         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64170 2012-08-07      Allan McRae     <allan@archlinux.org>
64172         [BZ #14303]
64173         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64174         (SUNOS_CPP): Likewise.
64175         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64176         not found.
64177         (open_input): Call CPP using execvp.
64179 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64181         * sysdeps/unix/sysv/linux/kernel-features.h
64182         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64183         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64184         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64185         (__ASSUME_WAITID_SYSCALL): Likewise.
64186         * sysdeps/unix/sysv/linux/dl-execstack.c
64187         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64188         code unconditional.
64189         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64190         conditional code.
64191         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64192         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64193         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64194         code.
64195         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64196         unconditional.
64197         [__ASSUME_WAITID_SYSCALL]: Likewise.
64198         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64200 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64202         * sysdeps/unix/closedir.c: Renamed to ...
64203         * sysdeps/posix/closedir.c: ... here.
64204         * sysdeps/unix/dirfd.c: Renamed to ...
64205         * sysdeps/posix/dirfd.c: ... here.
64206         * sysdeps/unix/dirstream.h: Renamed to ...
64207         * sysdeps/posix/dirstream.h: ... here.
64208         * sysdeps/unix/fdopendir.c: Renamed to ...
64209         * sysdeps/posix/fdopendir.c: ... here.
64210         * sysdeps/unix/opendir.c: Renamed to ...
64211         * sysdeps/posix/opendir.c: ... here.
64212         * sysdeps/unix/readdir.c: Renamed to ...
64213         * sysdeps/posix/readdir.c: ... here.
64214         * sysdeps/unix/readdir_r.c: Renamed to ...
64215         * sysdeps/posix/readdir_r.c: ... here.
64216         * sysdeps/unix/rewinddir.c: Renamed to ...
64217         * sysdeps/posix/rewinddir.c: ... here.
64218         * sysdeps/unix/seekdir.c: Renamed to ...
64219         * sysdeps/posix/seekdir.c: ... here.
64220         * sysdeps/unix/telldir.c: Renamed to ...
64221         * sysdeps/posix/telldir.c: ... here.
64222         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64223         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64224         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64225         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64227         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64228         * bits/fcntl.h: ... here.
64230         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64231         not 0.
64232         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64233         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64234         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64235         (struct flock): Move l_start, l_len to the beginning.
64236         Use __pid_t for l_pid.
64237         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64238         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64239         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64240         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64241         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64242         [__USE_LARGEFILE64] (struct flock64): New type.
64243         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64245         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64246         * bits/dirent.h: ... here.
64248         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64249         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64251 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64253         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64254         Change from 2.6.0 to 2.6.16.
64255         * sysdeps/unix/sysv/linux/configure: Regenerated.
64256         * sysdeps/unix/sysv/linux/kernel-features.h
64257         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64258         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64259         version.
64260         (__ASSUME_UTIMES): Likewise.
64261         (__ASSUME_CLONE_STOPPED): Remove.
64262         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64263         architectures, not kernel version.
64264         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64265         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64266         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64267         (__ASSUME_WAITID_SYSCALL): Likewise.
64268         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64269         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64270         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64271         refer to older versions.
64273 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64275         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64276         Define alphasort64 as an alias.
64277         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64278         Define versionsort64 as an alias.
64279         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64280         Define scandir64 as an alias.
64281         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64282         Define scandirat64 as an alias.
64283         * dirent/alphasort64.c (alphasort64):
64284         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64285         * dirent/versionsort64.c: Likewise.
64286         * dirent/scandir64.c: Likewise.
64287         * dirent/scandirat64.c: Likewise.
64288         * sysdeps/wordsize-64/alphasort.c: File removed.
64289         * sysdeps/wordsize-64/alphasort64.c: File removed.
64290         * sysdeps/wordsize-64/scandir.c: File removed.
64291         * sysdeps/wordsize-64/scandir64.c: File removed.
64292         * sysdeps/wordsize-64/scandirat.c: File removed.
64293         * sysdeps/wordsize-64/scandirat64.c: File removed.
64294         * sysdeps/wordsize-64/versionsort.c: File removed.
64295         * sysdeps/wordsize-64/versionsort64.c: File removed.
64296         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64297         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64298         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64299         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64300         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64301         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64302         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64303         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64305         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64306         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64307         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64309         [defined __arch64__ || defined __sparcv9]
64310         (__INO_T_MATCHES_INO64_T): New macro.
64311         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64312         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64313         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64314         * sysdeps/unix/sysv/linux/bits/dirent.h
64315         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64316         (_DIRENT_MATCHES_DIRENT64): New macro.
64318         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64319         Define lockf64 as an alias.
64320         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64321         Define fseeko64 as an alias.
64322         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64323         Define ftello64 as an alias.
64324         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64325         Define _IO_fgetpos64 and fgetpos64 as aliases.
64326         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64327         Define _IO_fsetpos64 and fsetpos64 as aliases.
64328         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64329         Conditionalize body on this.
64330         * libio/fseeko64.c: Likewise.
64331         * libio/ftello64.c: Likewise.
64332         * libio/iofgetpos64.c: Likewise.
64333         * libio/iofsetpos64.c: Likewise.
64334         * sysdeps/wordsize-64/lockf.c: File removed.
64335         * sysdeps/wordsize-64/lockf64.c: File removed.
64336         * sysdeps/wordsize-64/fseeko.c: File removed.
64337         * sysdeps/wordsize-64/fseeko64.c: File removed.
64338         * sysdeps/wordsize-64/ftello.c: File removed.
64339         * sysdeps/wordsize-64/ftello64.c: File removed.
64340         * sysdeps/wordsize-64/iofgetpos.c: File removed.
64341         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64342         * sysdeps/wordsize-64/iofsetpos.c: File removed.
64343         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64344         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64345         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64346         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64347         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64348         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64349         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64350         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64351         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64352         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64353         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64355         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64357         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64358         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64359         [defined __arch64__ || defined __sparcv9]
64360         (__OFF_T_MATCHES_OFF64_T): New macro.
64361         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64362         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64364         (__OFF_T_MATCHES_OFF64_T): New macro.
64366 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64368         * stdlib/secure-getenv.c (__secure_getenv): Replace
64369         GLIBC_2_16 with GLIBC_2_17.
64371 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64373         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64374         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64376 2012-08-03  David S. Miller  <davem@davemloft.net>
64378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64380 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64383         Remove.
64384         (__ASSUME_CORRECT_SI_PID): Likewise.
64385         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64386         (__ASSUME_TMPFS_NAME): Likewise.
64387         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64388         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64389         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64390         (HAVE_AUX_SECURE): Make definition unconditional.
64391         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64392         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64394 2012-08-03  Roland McGrath  <roland@hack.frob.com>
64396         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64397         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64398         * sysdeps/mach/hurd/eloop-threshold.h: New file.
64399         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64400         __eloop_threshold instead of SYMLOOP_MAX.
64402         * sysdeps/generic/eloop-threshold.h: New file.
64403         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64404         of MAXSYMLINKS.
64405         * elf/chroot_canon.c (chroot_canon): Likewise.
64407 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64409         [BZ #13717]
64410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64411         Change to 2.6.0 everywhere.
64412         * sysdeps/unix/sysv/linux/configure: Regenerated.
64413         * sysdeps/unix/sysv/linux/kernel-features.h
64414         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64415         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64416         kernel versions.
64417         (__ASSUME_POSIX_TIMERS): Define unconditionally.
64418         (__ASSUME_FUTEX_REQUEUE): Remove.
64419         (__ASSUME_STATFS64): Define unconditionally.
64420         (__ASSUME_AT_SECURE): Likewise.
64421         (__ASSUME_CORRECT_SI_PID): Likewise.
64422         (__ASSUME_TGKILL): Define without depending on kernel version for
64423         i386.
64424         (__ASSUME_UTIMES): Likewise.
64425         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64426         kernel version.
64427         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64428         (__ASSUME_TMPFS_NAME): Likewise.
64429         * README: Update reference to Linux kernel versions.
64431 2012-08-02  Marek Polacek  <polacek@redhat.com>
64433         [BZ# 14150]
64434         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
64435         libc_cv_asm_type_prefix with %.
64436         * configure: Regenerated.
64437         * include/libc-symbols.h: Remove comment about
64438         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64439         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64440         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64441         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64442         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64443         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64444         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64445         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64446         * elf/tst-unique2mod1.c: Likewise.
64447         * elf/tst-unique1mod2.c: Likewise.
64448         * elf/tst-unique1mod1.c: Likewise.
64449         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64450         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64451         Replace ASM_TYPE_DIRECTIVE with .type.
64452         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64453         * sysdeps/i386/sysdep.h: Likewise.
64454         * sysdeps/x86_64/sysdep.h: Likewise.
64455         * sysdeps/sh/sysdep.h: Likewise.
64456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64457         Do not define ASM_TYPE_DIRECTIVE.
64458         * sysdeps/powerpc/sysdep.h: Likewise.
64459         * sysdeps/powerpc/powerpc32/sysdep.h:
64460         Replace ASM_TYPE_DIRECTIVE with .type.
64461         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64462         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64463         * sysdeps/i386/fpu/e_powf.S: Likewise.
64464         * sysdeps/i386/fpu/e_expl.S: Likewise.
64465         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64467         * sysdeps/i386/fpu/e_pow.S: Likewise.
64468         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64469         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64470         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64471         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64472         * sysdeps/i386/fpu/e_log2.S: Likewise.
64473         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64475         * sysdeps/i386/fpu/e_powl.S: Likewise.
64476         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64477         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64478         * sysdeps/i386/fpu/e_logl.S: Likewise.
64479         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64480         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64481         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64482         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64483         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64484         * sysdeps/i386/fpu/e_log.S: Likewise.
64485         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64486         * sysdeps/i386/fpu/e_logf.S: Likewise.
64487         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64488         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64489         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64490         * sysdeps/i386/fpu/e_log10.S: Likewise.
64491         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64492         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64493         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64494         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64495         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64496         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64497         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64498         * sysdeps/i386/i686/strtok.S: Likewise.
64499         * sysdeps/i386/i386-mcount.S: Likewise.
64500         * sysdeps/i386/strtok.S: Likewise.
64501         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64502         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64503         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64504         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64505         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64506         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64507         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64508         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64509         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64510         * sysdeps/x86_64/_mcount.S: Likewise.
64511         * sysdeps/x86_64/strtok.S: Likewise.
64512         * sysdeps/sh/_mcount.S: Likewise.
64514 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64516         * libio/iofopen.c: Include <fcntl.h>.
64517         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64518         (_IO_fopen64, fopen64): Define as aliases.
64519         * libio/iofopen64.c: Include <fcntl.h>.
64520         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64521         Conditionalize body on this.
64522         * sysdeps/wordsize-64/iofopen.c: File removed.
64523         * sysdeps/wordsize-64/iofopen64.c: File removed.
64525 2012-08-01  Marek Polacek  <polacek@redhat.com>
64527         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64528         Use dlfcn directly instead of a variable.
64529         (binfmt-subdir): Do not define.
64530         (dlfcn): Likewise.
64532 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64534         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64535         Remove all definitions.
64536         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64537         <kernel-features.h>.
64538         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64539         (miss_F_GETOWN_EX): Remove all definitions.
64540         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64541         macro definition.
64542         [!__ASSUME_FCNTL64]: Remove conditional code.
64543         [__ASSUME_FCNTL64]: Make code unconditional.
64544         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64545         <kernel-features.h>.
64546         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64547         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64548         (lockf64) [__NR_fcntl64]: Make code unconditional.
64549         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64551         * sysdeps/unix/sysv/linux/kernel-features.h
64552         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64553         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64554         Make code unconditional.
64555         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64556         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64558         [__NR_vfork]: Make code unconditional.
64559         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64560         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64562         [__NR_vfork]: Make code unconditional.
64563         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64564         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64566 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64568         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64569         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64571         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64572         Define mkstemp64 as an alias.
64573         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64574         Define mkstemps64 as an alias.
64575         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64576         Define mkostemp64 as an alias.
64577         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64578         Define mkostemps64 as an alias.
64579         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64580         Conditionalize body on this.
64581         * misc/mkostemp64.c: Likewise.
64582         * misc/mkostemps64.c: Likewise.
64583         * misc/mkstemps64.c: Likewise.
64584         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64585         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64586         * sysdeps/wordsize-64/mkostemp.c: File removed.
64587         * sysdeps/wordsize-64/mkstemp.c: File removed.
64588         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64589         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64590         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64591         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64593         [BZ #14138]
64594         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64595         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64596         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64597         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64599         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64600         compat_symbol macros from <shlib-compat.h> rather than the underlying
64601         default_symbol_version and symbol_version macros, so that DEFAULT
64602         lines in shlib-versions are respected.
64603         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64605 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64607         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64608         Declare with warn_unused_result.
64609         (setgid, setregid, setegid, setresgid): Likewise.
64610         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64611         Likewise.
64612         * WUR-REPORT: Remove set*id functions.
64614 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64616         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64618 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64620         [BZ #10191]
64621         * include/sys/socket.h (__libc_accept, __libc_accept4):
64622         Add attribute_hidden.
64623         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64625         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64626         use of PTR_MANGLE.
64627         * inet/getnetgrent_r.c (setup): Likewise.
64629         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64631 2012-07-31  David S. Miller  <davem@davemloft.net>
64633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64635 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64637         [BZ #13629]
64638         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64639         value between 1.0 and 2.0 and smaller part has absolute value less
64640         than 1.0.
64641         * math/s_clog10.c (__clog10): Likewise.
64642         * math/s_clog10f.c (__clog10f): Likewise.
64643         * math/s_clog10l.c (__clog10l): Likewise.
64644         * math/s_clogf.c (__clogf): Likewise.
64645         * math/s_clogl.c (__clogl): Likewise.
64646         * math/libm-test.inc (clog_test): Add more tests.
64647         (clog10_test): Likewise.
64648         * sysdeps/i386/fpu/libm-test-ulps: Update.
64649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64651 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64653         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64654         Exit with zero in case no suitable GID is found, and write a
64655         message to standard error.
64657 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64659         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64660         rather than to 1.
64661         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64662         (MAXPATHLEN): Removed.
64663         (NOGROUP, NODEV): New macros.
64664         (setbit, clrbit, isset, isclr): New macros.
64665         (howmany, roundup, powerof2): New macros.
64666         (DEV_BSIZE): New macro.
64668         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64669         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64671         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64672         definition on [!__NO_LONG_DOUBLE_MATH].
64674         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64675         PTR_MANGLE and PTR_DEMANGLE.
64677         * socket/accept4.c (accept4): Rename to __libc_accept4.
64678         Define accept4 as a weak alias.
64680         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64681         on [_DIRENT_HAVE_D_TYPE].
64682         * io/ftw.c (ftw_dir): Likewise.
64684         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64686         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64688         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64689         Use the BSD numbers rather than the arbitrary ones we had.
64690         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64691         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64692         (SIGXCPU, SIGXFSZ): New macros.
64693         (_NSIG): Now 32.
64695         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64696         initializer on [_LIBC_REENTRANT].
64698         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64699         definitions inside [_POSIX_MAPPED_FILES].
64701         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64703         * dirent/opendir.c: Include <fcntl.h>.
64705         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64706         (__libc_getspecific): Likewise.
64707         (__libc_key_create): Likewise.
64709         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64710         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64711         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64712         (tmpfile64): Define as alias.
64713         * sysdeps/wordsize-64/tmpfile.c: File removed.
64714         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64715         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64718         * stdio-common/vfscanf.c: Include <stdbool.h>.
64719         * nss/makedb.c: Likewise.
64720         * stdio-common/_i18n_number.h: Likewise.
64721         * argp/argp-help.c: Likewise.
64722         * posix/wordexp.c: Likewise.
64723         * sysdeps/posix/spawni.c: Likewise.
64724         * nss/nss_files/files-initgroups.c: Likewise.
64725         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64726         * nss/nss_files/files-initgroups.c: Likewise.
64727         * nss/nss_db/db-netgrp.c: Likewise.
64728         * nss/nss_db/db-initgroups.c: Likewise.
64729         * io/fchmodat.c: Include <sys/stat.h>.
64731         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64732         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64734         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64735         [HAVE_MMAP].
64737         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64738         Add multiple inclusion protection.
64740 2012-07-27  David S. Miller  <davem@davemloft.net>
64742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64744 2012-07-27  Gary Benson  <gbenson@redhat.com>
64746         [BZ #14298]
64747         * elf/rtld.c: Include <stap-probe.h>.
64748         (dl_main): Added static probes "init_start" and "init_complete".
64749         * elf/dl-load.c: Include <stap-probe.h>.
64750         (lose): Take new parameter "nsid".
64751         Added static probe "map_failed".
64752         (_dl_map_object_from_fd): Pass namespace id to lose.
64753         Added static probe "map_start".
64754         (open_verify): Pass namespace id to lose.
64755         * elf/dl-open.c: Include <stap-probe.h>.
64756         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64757         and "reloc_complete".
64758         * elf/dl-close.c: Include <stap-probe.h>.
64759         (_dl_close_worker): Added static probes "unmap_start" and
64760         "unmap_complete".
64761         * elf/rtld-debugger-interface.txt: New file documenting the above.
64763 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64765         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64766         rather than a string variable.
64767         * sunrpc/rpc_main.c (h_output): Likewise.
64768         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64770 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64772         * inet/check_native.c: New file.
64774 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64776         [BZ #13629]
64777         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64778         if larger part has absolute value 1.0.
64779         * math/s_clog10.c (__clog10): Likewise.
64780         * math/s_clog10f.c (__clog10f): Likewise.
64781         * math/s_clog10l.c (__clog10l): Likewise.
64782         * math/s_clogf.c (__clogf): Likewise.
64783         * math/s_clogl.c (__clogl): Likewise.
64784         * math/libm-test.inc (clog_test): Add more tests.
64785         (clog10_test): Likewise.
64786         * sysdeps/i386/fpu/libm-test-ulps: Update.
64787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64789         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64790         (pltexit): Likewise.
64791         (La_regs): Likewise.
64792         (La_retval): Likewise.
64793         (int_retval): Likewise.
64794         Update #error for removed macros to refer only to definitions in
64795         tst-audit.h.
64796         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64797         macro.
64798         (pltexit): Likewise.
64799         (La_regs): Likewise.
64800         (La_retval): Likewise.
64801         (int_retval): Likewise.
64802         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64803         macro.
64804         (pltexit): Likewise.
64805         (La_regs): Likewise.
64806         (La_retval): Likewise.
64807         (int_retval): Likewise.
64808         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64809         macro.
64810         (pltexit): Likewise.
64811         (La_regs): Likewise.
64812         (La_retval): Likewise.
64813         (int_retval): Likewise.
64814         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64815         macro.
64816         (pltexit): Likewise.
64817         (La_regs): Likewise.
64818         (La_retval): Likewise.
64819         (int_retval): Likewise.
64820         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64821         macro.
64822         (pltexit): Likewise.
64823         (La_regs): Likewise.
64824         (La_retval): Likewise.
64825         (int_retval): Likewise.
64826         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64827         macro.
64828         (pltexit): Likewise.
64829         (La_regs): Likewise.
64830         (La_retval): Likewise.
64831         (int_retval): Likewise.
64832         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64833         macro definitions in tst-audit.h.
64834         * sysdeps/i386/tst-audit.h: New file.
64835         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64836         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64837         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64838         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64839         * sysdeps/sh/tst-audit.h: Likewise.
64840         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64841         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64842         * sysdeps/x86_64/tst-audit.h: Likewise.
64844 2012-07-26  Andreas Jaeger  <aj@suse.de>
64846         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64847         ptrace.
64849         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64850         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64851         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64852         PTRACE_O_MASK.
64853         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64854         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64855         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64857         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64858         value.
64860         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64861         _sigsys.
64862         (si_call_addr, si_syscall, si_arch): Define new macro.
64863         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64864         _sigsys.
64865         (si_call_addr, si_syscall, si_arch): Define new marcro.
64866         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64867         _sigsys.
64868         (si_call_addr, si_syscall, si_arch): Define new macro.
64869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64870         _sigsys.
64871         (si_call_addr, si_syscall, si_arch): Define new macro.
64873 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64875         [BZ #13717]
64876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64877         Change to 2.4.21 where previously 2.4.1.
64878         * sysdeps/unix/sysv/linux/configure: Regenerated.
64879         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64880         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64881         Linux kernel version.
64882         (__ASSUME_STD_AUXV): Remove.
64883         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64884         kernel version.
64885         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64886         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64887         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64888         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64889         (__ASSUME_NETLINK_SUPPORT): Likewise.
64890         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64891         (__no_netlink_support): Remove conditional definition.
64892         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64893         Remove.
64894         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64895         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64896         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64897         (if_nameindex_ioctl): Remove.
64898         (if_nameindex_netlink): Do not handle __no_netlink_support.
64899         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64900         code.
64901         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64902         Remove conditional code.
64903         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64904         code.
64905         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64906         unconditional.
64907         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64908         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64909         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64910         Remove.
64911         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64912         [!__ASSUME_STD_AUXV]: Remove conditional code.
64913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64914         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64915         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64917         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64918         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64919         code.
64920         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64922         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64923         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64924         conditional code.
64925         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64927         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64928         code.
64929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64930         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64931         conditional code.
64932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64933         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64934         code unconditional.
64935         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64936         conditional code.
64937         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64938         unconditional.
64939         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64940         conditional code.
64941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64942         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64943         unconditional.
64944         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64945         conditional code.
64946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64947         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64948         code unconditional.
64949         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64950         conditional code.
64951         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64952         unconditional.
64953         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64954         conditional code.
64955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64956         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64957         code unconditional.
64958         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64959         conditional code.
64960         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64961         unconditional.
64962         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64963         conditional code.
64965 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64967         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64968         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64969         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64970         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64971         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64972         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64973         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64974         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64975         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64976         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64977         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64978         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64979         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64980         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64981         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64982         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64983         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64984         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64985         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64987         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64988         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64989         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64991 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64993         * Versions.def: Add GLIBC_2.17.
64994         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64995         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64996         Introduce __libc_secure_getenv.
64997         * stdlib/Versions (2.17): Add secure_getenv
64998         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64999         * stdlib/secure-getenv.c: Rename __secure_getenv to
65000         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65001         symbol __secure_getenv for GLIBC_2.0.
65002         * stdlib/tst-secure-getenv.c: New.
65003         * stdlib/Makefile (tests): Add testcase.
65004         * manual/startup.texi (Environment Access): Document
65005         secure_getenv.
65006         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65007         __libc_secure_getenv.
65008         * inet/ruserpass.c (ruserpass): Likewise.
65009         * malloc/mtrace.c (mtrace): Likewise.
65010         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65011         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65012         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65013         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65014         HAVE_SECURE_GETENV.
65015         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65016         __secure_getenv to __libc_secure_getenv.
65017         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65019         Likewise.
65020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65021         Likewise.
65022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65024         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65030 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65032         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65033         (struct La_i86_retval): Likewise.
65034         (struct La_x86_64_regs): Likewise.
65035         (struct La_x86_64_retval): Likewise.
65036         (struct La_x32_regs): Likewise.
65037         (struct La_x32_retval): Likewise.
65038         (struct La_ppc32_regs): Likewise.
65039         (struct La_ppc32_retval): Likewise.
65040         (struct La_ppc64_regs): Likewise.
65041         (struct La_ppc64_retval): Likewise.
65042         (struct La_sh_regs): Likewise.
65043         (struct La_sh_retval): Likewise.
65044         (struct La_s390_32_regs): Likewise.
65045         (struct La_s390_32_retval): Likewise.
65046         (struct La_s390_64_regs): Likewise.
65047         (struct La_s390_64_retval): Likewise.
65048         (struct La_sparc32_regs): Likewise.
65049         (struct La_sparc32_retval): Likewise.
65050         (struct La_sparc64_regs): Likewise.
65051         (struct La_sparc64_retval): Likewise.
65052         (struct audit_ifaces): Remove architecture-specific pltenter and
65053         pltexit members.
65054         * sysdeps/i386/ldsodefs.h: New file.
65055         * sysdeps/powerpc/ldsodefs.h: Likewise.
65056         * sysdeps/s390/ldsodefs.h: Likewise.
65057         * sysdeps/sh/ldsodefs.h: Likewise.
65058         * sysdeps/sparc/ldsodefs.h: Likewise.
65059         * sysdeps/x86_64/ldsodefs.h: Likewise.
65061 2012-07-25  Marek Polacek  <polacek@redhat.com>
65063         [BZ #6808]
65064         * math/libm-test.inc (yn_test): Add another test.
65065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65066         to ERANGE when the result is +-Inf.
65067         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65068         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65069         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65070         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65072 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65074         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65075         equal to 0.
65076         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65077         clock_t.
65078         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65080 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65082         * configure.in <sysdeps resolving>: Correct printing
65083         Implies_before.
65084         * configure: Regenerate.
65086 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65088         * math/w_ilogb.c: Include <limits.h>.
65089         * math/w_ilogbl.c: Likewise.
65091 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65093         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65094         va_copy.  Document allowing for unavailable va_copy only as
65095         pre-C99 compatibility.
65096         * manual/string.texi (Copying and Concatenation): Use va_copy
65097         instead of __va_copy in concat example.
65099 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65101         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65102         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65103         it if not null.
65105         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65106         with O_NOLINK passed to __file_name_lookup.
65108         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65109         with O_NOLINK passed to __file_name_lookup.
65111         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65112         negative N or less than NGIDS.
65114         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65115         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65116         enough.  Use memcpy instead of strncpy.
65118 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65120         * elf/Makefile (check-data): Remove.
65121         (localplt.data): New vpath directive.
65122         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65123         instead of $(check-data).
65124         * scripts/data/localplt-generic.data: Move to ...
65125         * sysdeps/generic/localplt.data: ... here.
65126         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65127         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65128         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65130         ... here.
65131         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65133         ... here.
65134         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65136         ... here.
65137         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65139         ... here.
65140         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65142         ... here.
65143         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65145         ... here.
65147 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65149         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65150         PPC32 and PPC64 files.
65151         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65152         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65154 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65156         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65157         __makecontext_ret to ...
65158         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65159         ... here and call exit if uc_link is NULL.  New file.
65160         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65161         __makecontext_ret.S.
65162         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65163         __makecontext_ret to ...
65164         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65165         ... here and call exit if uc_link is NULL.  New file.
65166         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65167         __makecontext_ret.S.
65169 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65171         * elf/elf.h (R_390_IRELATIVE): New definition.
65172         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65173         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65174         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65176         (elf_machine_lazy_rel): Likewise.
65177         * sysdeps/s390/dl-irel.h: New file.
65178         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65179         * sysdeps/s390/s390-64/memset.S: New asm code.
65180         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65181         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65182         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65183         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65184         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65185         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65187         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65188         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65189         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65190         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65191         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65192         * sysdeps/s390/s390-32/memset.S: New asm code.
65193         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65195 2012-07-17  Marek Polacek  <polacek@redhat.com>
65197         [BZ #14349]
65198         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65199         * sysdeps/s390/s390-64/configure.in: Likewise.
65200         * sysdeps/sparc/configure.in: Likewise.
65201         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65202         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65203         * sysdeps/i386/configure.in: Likewise.
65204         * sysdeps/x86_64/configure.in: Likewise.
65205         * sysdeps/sh/configure.in: Likewise.
65206         * sysdeps/s390/s390-32/configure: Regenerated.
65207         * sysdeps/s390/s390-64/configure: Likewise.
65208         * sysdeps/x86_64/configure: Likewise.
65209         * sysdeps/sh/configure: Likewise.
65210         * sysdeps/powerpc/powerpc64/configure: Likewise.
65211         * sysdeps/powerpc/powerpc32/configure: Likewise.
65212         * sysdeps/sparc/configure: Likwise.
65213         * sysdeps/i386/configure: Likewise.
65215         * elf/dl-open.c: Comment fixes.
65217 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65219         * Makefile [CXX] (check-data): Remove.
65220         [CXX] (c++-types.data): New vpath directive.
65221         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65222         vpath.  Do not allow for C++ type data being missing.
65223         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65224         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65225         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65226         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65227         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65228         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65229         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65231         ... here.
65232         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65234         ... here.
65235         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65237         ... here.
65238         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65240         ... here.
65241         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65243         ... here.
65244         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65246         ... here.
65247         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65249         ... here.
65250         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65253         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65254         definitions to architecture-specific files.
65255         (TLS_IE): Likewise.
65256         (TLS_LD): Likewise.
65257         (TLS_GD): Likewise.
65258         * sysdeps/i386/tls-macros.h: New file.
65259         * sysdeps/powerpc/tls-macros.h: Likewise.
65260         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65261         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65262         * sysdeps/sh/tls-macros.h: Likewise.
65263         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65264         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65265         * sysdeps/x86_64/tls-macros.h: Likewise.
65267 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65269         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65270         zero value for regular exit case.
65272         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65273         (__start_context): Preserve zero value for regular exit case.
65275 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65276             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65278         * manual/setjmp.texi (setcontext): Clarify normal process
65279         termination when uc_link is the null pointer.
65280         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65281         exit call.
65283 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65285         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65286         preprocessor.  Test for each exception mask separately.
65288 2012-07-16  Andreas Jaeger  <aj@suse.de>
65290         * po/ru.po: Update from translation team.
65292 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65294         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65295         equal to 0.
65296         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65297         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65298         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65299         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65302 2012-07-13  Andreas Jaeger  <aj@suse.de>
65304         * po/fr.po: Update from translation team.
65306 2012-07-12  Marek Polacek  <polacek@redhat.com>
65308         [BZ #14173]
65309         * math/libm-test.inc (yn_test): Add test for BZ #14173.
65310         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65311         loop condition.
65313 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
65315         [BZ #13717]
65316         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65317         Change to 2.4.1 where previously 2.4.0.
65318         * sysdeps/unix/sysv/linux/configure: Regenerated.
65319         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65320         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65321         version.
65322         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65323         (__ASSUME_AT_CLKTCK): Remove.
65324         (__ASSUME_AT_PAGESIZE): Likewise.
65325         (__ASSUME_AT_XID): Likewise.
65326         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65327         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65328         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65329         unconditionally.
65330         (HAVE_AUX_PAGESIZE): Likewise.
65331         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65332         [__ASSUME_AT_CLKTCK]: Make code unconditional.
65333         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65335 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
65337         [BZ #14307]
65338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65339         the temporary buffer used to invoke __gethostbyname2_r,
65340         __gethostbyaddr_r and gethostbyname4_r to make room for struct
65341         host_data / struct gaih_addrtuple.
65342         * resolv/nss_dns/dns-host.c (global scope): Move definition of
65343         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65344         header file nss/nsswitch.h.
65345         * nss/nsswitch.h (global scope): Add definition of implementation
65346         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65347         resolv/nss_dns/dns-host.c).
65349 2012-07-11  Andreas Jaeger  <aj@suse.de>
65351         * po/fr.po: Update from translation team.
65353         * po/sv.po: Update from translation team
65354         * po/fr.po: Another update from translation team.
65356 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65358         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65359         for subnormals or multiply small sinh result by itself.
65360         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65363 2012-07-11  David S. Miller  <davem@davemloft.net>
65365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65367 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
65369         [BZ #14347]
65370         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65371         (INTERNAL_MARK): Shift it here.
65373 2012-07-10  Marek Polacek  <polacek@redhat.com>
65375         [BZ #14151]
65376         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
65377         libc_cv_asm_global_directive with .globl.
65378         * configure: Regenerated.
65379         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65380         with .globl.
65381         * sysdeps/i386/configure: Regenerated.
65382         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65383         with .globl.
65384         * sysdeps/x86_64/configure: Regenerated.
65385         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65386         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65387         * elf/tst-unique2mod2.c: Likewise.
65388         * elf/tst-unique2mod1.c: Likewise.
65389         * elf/tst-unique1mod2.c: Likewise.
65390         * elf/tst-unique1mod1.c: Likewise.
65391         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65392         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65393         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65394         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65395         * sysdeps/mach/sysdep.h: Likewise.
65396         * sysdeps/i386/sysdep.h: Likewise.
65397         * sysdeps/i386/i386-mcount.S: Likewise.
65398         * sysdeps/x86_64/_mcount.S: Likewise.
65399         * sysdeps/x86_64/sysdep.h: Likewise.
65400         * sysdeps/sh/_mcount.S: Likewise.
65401         * sysdeps/sh/sysdep.h: Likewise.
65402         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65403         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65404         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65405         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65406         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65407         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65408         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65409         * locale/localeinfo.h: Likewise.
65410         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65411         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65413 2012-07-09  Roland McGrath  <roland@hack.frob.com>
65415         [BZ #14336]
65416         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65417         system".
65418         * manual/message.texi (The Uniforum approach): Likewise.
65419         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65420         (glibc iconv Implementation): Likewise.
65422 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
65424         [BZ #14337]
65425         * math/s_clog.c (__clog): Avoid scaling a value down where that
65426         could result in underflow.
65427         * math/s_clog10.c (__clog10): Likewise.
65428         * math/s_clog10f.c (__clog10f): Likewise.
65429         * math/s_clog10l.c (__clog10l): Likewise.
65430         * math/s_clogf.c (__clogf): Likewise.
65431         * math/s_clogl.c (__clogl): Likewise.
65432         * math/libm-test.inc (clog_test): Add more tests.
65433         (clog10_test): Likewise.
65434         * sysdeps/i386/fpu/libm-test-ulps: Update.
65435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65437 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
65439         [BZ #14283]
65440         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65441         by 7 not 8 to examine high bit of fractional part.
65443         [BZ #14042]
65444         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65445         for call to __mcount_internal.
65446         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65447         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65448         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65450 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65452         [BZ #14154]
65453         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65454         approximation for values within 0x1p-13f of an odd multiple of
65455         pi/4.
65456         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65457         exception.  Add more tests.
65458         * sysdeps/i386/fpu/libm-test-ulps: Update.
65460         [BZ #6778]
65461         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65462         inputs and return -1 for them.  Do not check for +Inf in case not
65463         reachable for +Inf.
65464         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65465         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65466         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65467         and return -1 for them.  Do not check for +Inf in case not
65468         reachable for +Inf.
65469         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65470         define.
65471         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65472         and return -1 for them.  Do not check for +Inf in case not
65473         reachable for +Inf.
65474         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65475         spurious underflow.
65476         * sysdeps/i386/fpu/libm-test-ulps: Update.
65477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65479 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65481         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65483 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65485         [BZ #14157]
65486         [BZ #14331]
65487         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65488         could result in spurious underflow.  Scale down values above
65489         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65490         * math/s_csqrtf.c (__csqrtf): Likewise.
65491         * math/s_csqrtl.c (__csqrtl): Likewise.
65492         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65493         spurious underflow.
65494         * sysdeps/i386/fpu/libm-test-ulps: Update.
65495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65497 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65499         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65500         xopen-msg.sed.
65501         * catgets/xopen-msg.awk: New file.
65502         * catgets/xopen-msg.sed: Removed.
65504         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65505         po2text.sed.
65506         * intl/po2test.awk: New file.
65507         * intl/po2test.sed: Removed.
65509 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65511         [BZ #14328]
65512         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65513         or multiply small sinh result by itself.
65514         * math/s_ctanf.c (__ctanf): Likewise.
65515         * math/s_ctanh.c (__ctanh): Likewise.
65516         * math/s_ctanhf.c (__ctanhf): Likewise.
65517         * math/s_ctanhl.c (__ctanhl): Likewise.
65518         * math/s_ctanl.c (__ctanl): Likewise.
65519         * math/libm-test.inc (ctan_test_tonearest): New function.
65520         (ctan_test_towardzero): Likewise.
65521         (ctan_test_downward): Likewise.
65522         (ctan_test_upward): Likewise.
65523         (ctanh_test_tonearest): Likewise.
65524         (ctanh_test_towardzero): Likewise.
65525         (ctanh_test_downward): Likewise.
65526         (ctanh_test_upward): Likewise.
65527         (main): Call these new functions.
65528         * sysdeps/i386/fpu/libm-test-ulps: Update.
65529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65531 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65533         * .gitignore: Delete /ports entry.
65535 2012-07-03  Andreas Jaeger  <aj@suse.de>
65537         * po/bg.po: Update from translation team.
65538         * po/cs.po: Likewise.
65539         * po/de.po: Likewise.
65540         * po/hr.po: Likewise.
65541         * po/nl.pl: Likewise.
65542         * po/pl.po: Likewise.
65543         * po/vi.po: Likewise.
65545 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65547         * Makeconfig [!+link] (+link-before-libc): New variable.
65548         [!+link] (+link-after-libc): Likewise.
65549         [!+link] (+link-tests): Likewise.
65550         [!+link] (+link): Define in terms of $(+link-before-libc) and
65551         $(+link-after-libc).
65552         [!+link-static] (+link-static-before-libc): New variable.
65553         [!+link-static] (+link-static-after-libc): Likewise.
65554         [!+link-static] (+link-static-tests): Likewise.
65555         [!+link-static] (+link-static): Define in terms of
65556         $(+link-static-before-libc) and $(+link-static-after-libc).
65557         [build-shared] (link-libc-before-gnulib): New variable.
65558         [build-shared] (link-libc-tests): Likewise.
65559         [build-shared] (link-libc): Define in terms of
65560         $(link-libc-before-gnulib).
65561         [!build-shared] (link-libc-tests): New variable.
65562         (link-libc-static-tests): New variable.
65563         [!gnulib] (gnulib-arch): New variable.
65564         [!gnulib] (gnulib-tests): Likewise.
65565         [!gnulib] (static-gnulib-arch): Likewise.
65566         [!gnulib] (static-gnulib-tests): Likewise.
65567         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65568         Define with "=" instead of ":=".
65569         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65570         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65571         * Rules (binaries-all-notests): New variable.
65572         (binaries-all-tests): Likewise.
65573         (binaries-static-notests): Likewise.
65574         (binaries-static-tests): Likewise.
65575         (binaries-all): Define using $(binaries-all-notests) and
65576         $(binaries-all-tests).
65577         (binaries-static): Define using $(binaries-static-notests) and
65578         $(binaries-static-tests).
65579         (binaries-shared-tests): New variable.
65580         (binaries-shared-notests): Likewise.
65581         (binaries-shared): Remove variable.
65582         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65583         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65584         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65585         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65586         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65587         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65588         * elf/Makefile (sln-modules): New variable.
65589         (extra-objs): Add $(sln-modules:=.o).
65590         (ldconfig-modules): Add static-stubs.
65591         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65592         * elf/static-stubs.c: New file.
65594         [BZ #14283]
65595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65596         by 7 not 8 to examine high bit of fractional part.  Use volatile
65597         variables when splitting into final array of floats if
65598         __FLT_EVAL_METHOD__ != 0.
65599         * math/libm-test.inc (cos_test): Add another test.
65600         (sin_test): Likewise.
65601         * sysdeps/i386/fpu/libm-test-ulps: Update.
65603         [BZ #14273]
65604         * math/libm-test.inc (cosh_test): Add more tests.
65606         * version.h (RELEASE): Set to "development".
65607         (VERSION): Set to "2.16.90".
65609 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65611         * NEWS: Update copyright. Remove last-updated date.
65612         Mention math library bug fixes and timezone data changes.
65613         * README: Mention GNU/Hurd, x32, and HPPA support status.
65615 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65617         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65619 2012-06-27  Andreas Jaeger  <aj@suse.de>
65621         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65623 2012-06-25  Andreas Jaeger  <aj@suse.de>
65625         * sysdeps/s390/fpu/libm-test-ulps: Update.
65627 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65628             Thomas Schwinge  <thomas@codesourcery.com>
65630         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65631         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65633         fanotify_mark.
65635 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65637         * sysdeps/mach/start.c: Remove file.
65638         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65639         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65640         * sysdeps/sh/init-first.c: Likewise.
65642         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65643         registers for frame unwinding purposes, add CFI directives.
65644         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65645         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65646         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65647         Likewise.
65649         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65650         __fortify_fail returning.
65651         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65653         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65654         sysdeps/sh/____longjmp_chk.S.
65655         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65656         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65657         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65658         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65660         * sysdeps/sh/abort-instr.h: New file.
65661         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65662         process in case exit returns.
65664         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65665         initialize the GOT register before use.
65667         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65668         calculation of ARGC > 4.
65670         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65671         meaningful names to some local labels.
65673 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65674             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65676         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65677         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65678         (__arch_compare_and_exchange_val_16_acq): Likewise.
65679         (__arch_compare_and_exchange_val_32_acq): Likewise.
65680         (atomic_exchange_and_add): Fix gUSA sequence.
65681         (atomic_add): Likewise.
65682         (atomic_add_negative): Likewise.
65683         (atomic_add_zero): Likewise.
65684         (atomic_bit_test_set): Likewise.
65686 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65688         [BZ #13579]
65689         * include/link.h (struct link_map): Add l_free_initfini.
65690         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65691         l_initfini.
65692         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65693         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65694         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65695         set.
65697 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65699         * configure.in: Use AC_LANG_SOURCE.
65700         * configure: Regenerate.
65702 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65704         * configure.in (libc_cv_localstatedir): New substituted variable.
65705         * configure: Regenerated.
65706         * config.make.in (localstatedir): New variable, substituted from
65707         libc_cv_localstatedir.
65708         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65709         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65710         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65711         * sysdeps/gnu/configure: Regenerated.
65713 2012-06-21  Jeff Law  <law@redhat.com>
65715         [BZ #14277]
65716         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65717         free.  Simplify list management for _LIBC case.
65719 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65721         [BZ #14273]
65722         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65723         Clear sign bit of 64-bit integer value before comparing against
65724         overflow value.
65726         * sysdeps/mach/configure: Regenerated.
65728 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65730         [BZ #14278]
65731         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65733 2012-06-21  Jeff Law  <law@redhat.com>
65735         [BZ #13882]
65736         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65737         uint16_t for elements in the "seen" array to avoid char overflows.
65738         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65739         * elf/dl-open.c (dl_open_worker): Likewise.
65741 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65743         * scripts/list-sources.sh: Scan PORTS for translations.
65744         * po/libc.pot: Regenerated.
65746 2012-06-21  Andreas Jaeger  <aj@suse.de>
65748         [BZ #12194]
65749         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65750         warning.
65751         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65752         * bits/byteswap-16.h (__bswap_16): Likewise.
65753         * bits/byteswap.h (__bswap_constant_16): Likewise.
65755 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65757         [BZ #14117]
65758         * sysdeps/i386/fpu_control.h: Removed.
65759         * sysdeps/x86_64/fpu_control.h: Moved to ...
65760         * sysdeps/x86/fpu_control.h: Here.
65762         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65763         (_FPU_SETCW): Likewise.
65765 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65767         [BZ #14117]
65768         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65769         * sysdeps/x86/fpu/bits/mathinline.h: This.
65770         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65772         [BZ #14050]
65773         [BZ #14117]
65774         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65775         functions if __x86_64__ is defined.
65777 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65779         * string/endian.h: Add !__ASSEMBLER__ condition for including
65780         conversion interfaces.
65782 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65784         [BZ #14241]
65785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65786         of ABS(x) in calculating zero to negative powers other than odd
65787         integers.
65788         * math/libm-test.inc (pow_test): Add more tests.
65790 2012-06-15  Andreas Jaeger  <aj@suse.de>
65792         * manual/contrib.texi (Contributors): Update entry of Liubov
65793         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65794         Machado Filho.
65796 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65798         * string/string.h: Add __wur to GNU version of strerror_r.
65800 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65802         [BZ #14229]
65803         * string/Makefile (tests): Add tst-strtok_r.
65804         * string/tst-strtok_r.c: New file.
65805         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65806         RAX_LP/RDX_LP on SAVE_PTR.
65808 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65810         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65812 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65814         * libm_test.inc (csqrt_test): Allow more spurious underflow
65815         exceptions.
65816         (j0_test): Likewise.
65817         (j1_test): Likewise.
65818         (y0_test): Likewise.
65819         (y1_test): Likewise.
65821 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65823         * po/Makefile (libc.pot): Use UTF-8 charset.
65825 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65827         [BZ #14210]
65828         Suppress sign-conversion warning from FD_SET.
65829         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65830         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65831         not unsigned long int.
65832         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65834 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65836         [BZ #14050]
65837         [BZ #14117]
65838         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65839         __extern_always_inline instead of __extern_inline.
65840         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65841         (__signbit): Likewise.
65842         (__signbitl): Support C++ namespace.
65843         (lrintf): New inline function.
65844         (lrint): Likewise.
65845         (llrintf): Likewise.
65846         (llrint): Likewise.
65847         (fmaxf): Likewise.
65848         (fmax): Likewise.
65849         (fminf): Likewise.
65850         (fmin): Likewise.
65851         (rint): Likewise.
65852         (rintf): Likewise.
65853         (ceil): Likewise.
65854         (ceilf): Likewise.
65855         (floor): Likewise.
65856         (floorf): Likewise.
65857         (nearbyint): Likewise.
65858         (nearbyintf): Likewise.
65860 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65862         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65863         non-default versions.
65865 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65867         [BZ #14218]
65868         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65870 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65872         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65873         (FE_UPWARD, FE_DOWNWARD): Don't define.
65874         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65875         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65877         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65878         reading it.
65879         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65880         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65882 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65884         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65885         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65886         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65887         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65889 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65891         [BZ #14117]
65892         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65893         * sysdeps/i386/fpu/Implies: New file.
65894         * sysdeps/x86_64/fpu/Implies: Likewise.
65895         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65896         * sysdeps/x86/fpu/bits/fenv.h: This.
65898         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65899         __SSE_MATH__.
65901 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65903         [BZ #14134]
65904         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65905         character 0xffff that matches the last element of the
65906         conversion table.
65908 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65911         fmodl commit.
65913 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65916         values higher than 25.6283.
65918 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65920         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65921         subnormal exponent extraction and add some __builtin_expect.
65922         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65923         Fix for subnormal mantissa calculation.
65925 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65927         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65928         cpu2 is -1 and errno is not ENOSYS.
65930 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65932         [BZ #14117]
65933         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65934         * sysdeps/x86/bits/string.h: This.
65935         * sysdeps/x86_64/bits/string.h: Removed.
65937         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65938         if not compiling for x86-64, but compiling for >= i486.
65940         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65941         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65943         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65944         New macro from Linux kernel 3.4.0.
65945         (FP_XSTATE_MAGIC2): Likewise.
65946         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65947         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65948         (struct _fpx_sw_bytes): New struct.
65949         (struct _xsave_hdr): Likewise.
65950         (struct _ymmh_state): Likewise.
65951         (struct _xstate): Likewise.
65953         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65954         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65955         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65956         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65957         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65958         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65960         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65961         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65962         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65963         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65964         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65965         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65967 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65969         [BZ #13743]
65970         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65971         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65972         (sysdep_headers): Include sys/platform/ppc.h.
65973         * sysdeps/powerpc/test-gettimebase.c: Test for
65974         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65975         * manual/Makefile (appendices): Include platform.texi.
65976         * manual/contrib.texi (Contributors): Update @node pointers.
65977         * manual/maint.texi (Maintenance): Likewise.
65978         (Platform): New node.
65979         * manual/platform.texi: New file.  Document the new features.
65981 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65982             Jakub Jelinek  <jakub@redhat.com>
65984         [BZ #14188]
65985         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65986         where __builtin_expect is unavailable.
65988 2012-06-03  David S. Miller  <davem@davemloft.net>
65990         * stdlib/longlong.h: Updated from GCC.
65992 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65994         [BZ #14042]
65995         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65996         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65997         __mcount_internal.
65998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65999         (GLIBC_2.16): Likewise.
66001 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66003         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66005 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66008         (default-abi): New variable.
66009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66010         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66011         variable.
66012         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66013         Likewise.
66014         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66015         Likewise.
66016         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66017         Likewise.
66019         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66020         definition.  Document in comment.
66022 2012-06-01  David S. Miller  <davem@davemloft.net>
66024         * stdlib/longlong.h: Updated from GCC.
66026 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66028         [BZ #14117]
66029         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66030         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66031         sys/debugreg.h sys/io.h here.
66032         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66033         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66034         sys/io.h.
66035         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66036         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66037         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66038         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66039         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66040         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66042         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66043         Define only if __x86_64__ is defined.
66045 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66047         [BZ #14048]
66048         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66049         Use int64_t for variable i.
66050         * math/libm-test.inc (fmod_test): Add more tests.
66052         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66053         z computation is not scheduled after fetestexcept.
66054         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66055         Use math_force_eval instead of asm to ensure calculation scheduled
66056         before exception test.
66057         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66058         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66060 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66063         computation is not scheduled after fetestexcept.
66065 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66067         [BZ #14117]
66068         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66069         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66071 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66073         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66074         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66076 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66078         [BZ #14117]
66079         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66080         <bits/wordsize.h>.
66081         (__WCHAR_MIN): Support __WORDSIZE == 64.
66082         (__WCHAR_MAX): Likewise.
66084         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66085         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66087         [BZ #14183]
66088         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66089         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66091         [BZ #14117]
66092         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66093         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66095         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66096         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66098         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66099         Defined to 1 if __x86_64__ isn't defined.
66100         (_STAT_VER_LINUX_OLD): New.
66101         (st_atime): Remove duplicate.
66102         (st_mtime): Likewise.
66103         (st_ctime): Likewise.
66105 2012-05-31  David S. Miller  <davem@davemloft.net>
66107         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66108         entries.
66110 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66112         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66113         gen-libm-test.pl.
66115         [BZ #14132]
66116         * elf/dl-reloc.c: Include <_itoa.h>.
66117         (_dl_reloc_bad_type): Remove use of INTUSE.
66118         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66119         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66120         * stdio-common/psiginfo.c (psiginfo): Likewise.
66121         * stdio-common/psignal.c (psignal): Likewise.
66122         * string/strsignal.c (strsignal): Likewise.
66123         * include/signal.h (_sys_siglist): Declare hidden proto.
66124         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66125         INTVARDEF with libc_hidden_data_def.
66126         * stdio-common/itoa-udigits.c: Likewise.
66127         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66128         (_itoa_lower_digits_internal): Remove declaration.
66129         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66130         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66131         (_sys_sigabbrev_internal): Remove aliases.
66132         (_sys_siglist): Define hidden alias.
66134 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66137         bits/sysctl.h.
66139 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66141         [BZ #14117]
66142         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66143         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66145         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66146         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66147         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66148         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66149         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66150         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66152         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66153         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66154         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66156         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66157         with __addr.
66158         (insw): Likewise.
66159         (insl): Likewise.
66160         (outsb): Likewise.
66161         (outsw): Likewise.
66162         (outsl): Likewise.
66164         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66165         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66166         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66168         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66169         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66170         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66171         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66172         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66173         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66175         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66176         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66178         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66179         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66181         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66183         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66185         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66186         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66187         to ...
66188         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66190         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66191         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66192         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66194         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66195         for x86-64.
66196         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66198 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66200         * math/math.h (M_El): Use two more decimal places.
66201         (M_LOG2El): Likewise.
66202         (M_LOG10El): Likewise.
66203         (M_LN2l): Likewise.
66204         (M_LN10l): Likewise.
66205         (M_PIl): Likewise.
66206         (M_PI_2l): Likewise.
66207         (M_PI_4l): Likewise.
66208         (M_1_PIl): Likewise.
66209         (M_2_PIl): Likewise.
66210         (M_2_SQRTPIl): Likewise.
66211         (M_SQRT2l): Likewise.
66212         (M_SQRT1_2l): Likewise.
66214 2012-05-31  David S. Miller  <davem@davemloft.net>
66216         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66217         values between float registers.
66218         * sysdeps/sparc/sparc64/memset.S: Likewise.
66219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66221 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66223         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66224         -D_FORTIFY_SOURCE=1.
66225         (CPPFLAGS-tst-longjmp_chk.c): Define.
66226         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66227         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66228         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66229         CFLAGS-tst-wchar-h.c.
66231 2012-05-31  Marek Polacek  <polacek@redhat.com>
66233         [BZ #14132]
66234         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66235         __endmntent_internal): Remove declaration.
66236         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66237         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66238         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66240 2012-05-30  David S. Miller  <davem@davemloft.net>
66242         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66243         (___Q_simulate_exceptions): Use real FP ops rather than writing
66244         into the %fsr.
66245         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66246         Likewise.
66248 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66250         [BZ #14117]
66251         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66252         * sysdeps/x86/bits/xtitypes.h: This.
66254         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66255         * sysdeps/x86/bits/wordsize.h: This.
66257         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66258         * sysdeps/x86/bits/huge_vall.h: This.
66260         * sysdeps/i386/bits/select.h: Removed.
66261         * sysdeps/x86_64/bits/select.h: Renamed to ...
66262         * sysdeps/x86/bits/select.h: This.
66264         * sysdeps/i386/bits/setjmp.h: Removed.
66265         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66266         * sysdeps/x86/bits/setjmp.h: This.
66268         * sysdeps/i386/bits/mathdef.h: Removed.
66269         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66270         * sysdeps/x86/bits/mathdef.h: This.
66272 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66274         [BZ #14132]
66275         * include/sys/socket.h (__connect_internal)
66276         (__libc_sa_len_internal): Remove declaration.
66277         (__connect, __libc_sa_len): Declare hidden_proto.
66278         (SA_LEN): Remove use of INTUSE.
66279         * socket/connect.c: Add libc_hidden_def.
66280         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66281         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66282         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66283         alias.
66284         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66285         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66286         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66287         of adding _internal alias.
66289 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66291         [BZ #14117]
66292         * sysdeps/i386/bits/link.h: Removed.
66293         * sysdeps/i386/bits/linkmap.h: Likewise.
66294         * sysdeps/x86_64/bits/link.h: Renamed to ...
66295         * sysdeps/x86/bits/link.h: This.
66296         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66297         * sysdeps/x86/bits/linkmap.h: This.
66299         * sysdeps/i386/bits/endian.h: Removed.
66300         * sysdeps/x86_64/bits/endian.h: Renamed to ...
66301         * sysdeps/x86/bits/endian.h: This.
66303         * sysdeps/i386/bits/byteswap.h: Removed.
66304         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66305         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66306         * sysdeps/x86/bits/byteswap.h: This.
66307         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66308         * sysdeps/x86/bits/byteswap-16.h: This.
66309         * sysdeps/i386/Implies: Add x86.
66310         * sysdeps/x86_64/Implies: Likewise.
66312 2012-05-30  David S. Miller  <davem@davemloft.net>
66314         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66315         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66316         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66317         (FP_TRAPPING_EXCEPTIONS): Define.
66318         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66319         (FP_TRAPPING_EXCEPTIONS): Define.
66320         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66321         subnormals only when inexact has been signalled or underflow
66322         exceptions are enabled.
66323         (_FP_PACK_CANONICAL): Likewise.
66325 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66327         [BZ #14183]
66328         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66329         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66331 2012-05-30  Richard Henderson  <rth@twiddle.net>
66333         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66334         with #ifndef NOT_IN_libc.
66336         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
66337         marked to avoid plt entry.
66339 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66341         [BZ #14112]
66342         * Makeconfig (default-abi): New macro.
66343         (abi-includes): Likewise.
66344         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
66345         $(abi-$(default-abi)-lib-soname) for soname if defined.
66346         ($(common-objpfx)gnu/lib-names.stmp): Generate from
66347         abi-variants.
66348         * Makefile (installed-stubs): Likewise.
66349         * include/stubs-biarch.h: Removed.
66350         * scripts/lib-names.awk: Only handle one library at a time.
66351         * scripts/soversions.awk: Remove WORDSIZE support.
66352         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66353         entries.
66354         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66355         Removed.
66356         (syscall-list-default-condition): Likewise.
66357         (syscall-list-default-condition): Likewise.
66358         (syscall-list-includes): Likewise.
66359         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66360         syscall-list-* with abi-*.  Handle undefined abi-variants.
66361         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66362         * sysdeps/unix/sysv/linux/i386/Implies: New file.
66363         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66364         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66365         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66366         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66367         Removed.
66368         (syscall-list-32-options): Likewise.
66369         (syscall-list-32-condition): Likewise.
66370         (syscall-list-64-options): Likewise.
66371         (syscall-list-64-condition): Likewise.
66372         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66373         macro.
66374         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66375         Renamed to ...
66376         (abi-*): This.
66377         (abi-64-ld-soname): New macro.
66378         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66379         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66380         Renamed to ...
66381         (abi-*): This.
66382         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66383         * sysdeps/x86_64/x32/shlib-versions: Likewise.
66385 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
66387         * sysdeps/unix/sysv/linux/kernel-features.h
66388         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66389         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66390         include <kernel-features.h>.
66391         [!__NR_ftruncate64]: Remove conditional code.
66392         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66393         [__NR_ftruncate64]: Make code unconditional.
66394         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66395         * sysdeps/unix/sysv/linux/truncate64.c: Do not
66396         include <kernel-features.h>.
66397         [!__NR_ftruncate64]: Remove conditional code.
66398         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66399         [__NR_ftruncate64]: Make code unconditional.
66400         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66402         include <kernel-features.h>.
66403         [!__NR_ftruncate64]: Remove conditional code.
66404         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66405         [__NR_ftruncate64]: Make code unconditional.
66406         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66408         include <kernel-features.h>.
66409         [!__NR_ftruncate64]: Remove conditional code.
66410         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66411         [__NR_ftruncate64]: Make code unconditional.
66412         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66414         * configure.in (libc_cv_fpie): Weaken to a compile test using
66415         LIBC_TRY_CC_OPTION.
66416         * configure: Regenerated.
66418 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66424         Refreshed.
66425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66431         Refreshed.
66433 2012-05-27  David S. Miller  <davem@davemloft.net>
66435         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66436         (___Q_zero): New.
66437         (__Q_simulate_exceptions): Return void.  Change to simulate
66438         exceptions by writing into the %fsr.
66439         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66440         (__Qp_handle_exceptions): Likewise.
66441         (numbers): Delete.
66442         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66443         __Qp_handle_exceptions.
66444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66445         __Qp_handle_exceptions.
66446         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66447         as unused and give dummy FP_RND_NEAREST initializer.
66448         (FP_INHIBIT_RESULTS): Define.
66449         (___Q_simulate_exceptions): Update declaration.
66450         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66451         formatting.
66452         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66453         as unused and give dummy FP_RND_NEAREST initializer.
66454         (__Qp_handle_exceptions): Update declaration.
66455         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66456         formatting.
66458 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66460         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66461         the temporary FPU control word.
66462         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66463         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66464         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66465         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66466         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66467         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66468         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66469         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66470         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66471         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66472         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66474 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66476         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66477         fields.
66479 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66481         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66482         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66483         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66484         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66485         Likewise.
66486         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66487         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66488         Likewise.
66490 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66492         * po/h.po: Update from translation team.
66494 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66496         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66498         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66499         handling of denormals.
66500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66501         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66502         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66503         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66505         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66507         Likewise.
66509 2012-05-26  Marek Polacek  <polacek@redhat.com>
66511         [BZ #14152]
66512         * math/libm-test.inc (fma_test): Don't always expect underflow
66513         exception.
66515 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66517         [BZ #12416]
66518         * elf/tst-execstack.c: Include stackinfo.h.
66519         (do_test): Adjust test case to ensure that pthread_getattr_np
66520         behaviour remains the same after marking stack executable.
66522 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66524         * sysdeps/unix/sysv/linux/kernel-features.h
66525         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66526         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66527         kernel-features.h.
66528         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66529         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66530         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66531         kernel-features.h.
66532         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66533         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66535 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66537         * configure.in: Define the default includes to being none.
66538         * configure: Regenerated.
66540 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66542         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66543         * sysdeps/x86_64/setjmp.S: Likewise.
66544         * sysdeps/i386/bsd-setjmp.S: Likewise.
66545         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66546         * sysdeps/i386/setjmp.S: Likewise.
66547         * sysdeps/i386/__longjmp.S: Likewise.
66548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66549         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66551         * include/stap-probe.h: New file.
66552         * configure.in: Handle --enable-systemtap.
66553         * configure: Regenerated.
66554         * config.h.in (USE_STAP_PROBE): New #undef.
66555         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66556         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66557         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66559 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66561         [BZ #13717]
66562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66563         to 2.4.0 where earlier.
66564         * sysdeps/unix/sysv/linux/configure: Regenerated.
66565         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66566         <kernel-features.h>.
66567         [__ASSUME_32BITUIDS]: Make code unconditional.
66568         [!__ASSUME_32BITUIDS]: Remove conditional code.
66569         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66570         <kernel-features.h>.
66571         [__ASSUME_32BITUIDS]: Make code unconditional.
66572         [!__ASSUME_32BITUIDS]: Remove conditional code.
66573         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66574         [__ASSUME_32BITUIDS]: Make code unconditional.
66575         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66576         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66577         <kernel-features.h>.
66578         [__ASSUME_32BITUIDS]: Make code unconditional.
66579         [!__ASSUME_32BITUIDS]: Remove conditional code.
66580         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66581         <kernel-features.h>.
66582         [__ASSUME_32BITUIDS]: Make code unconditional.
66583         [!__ASSUME_32BITUIDS]: Remove conditional code.
66584         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66585         <kernel-features.h>.
66586         [__ASSUME_32BITUIDS]: Make code unconditional.
66587         [!__ASSUME_32BITUIDS]: Remove conditional code.
66588         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66589         <kernel-features.h>.
66590         [__ASSUME_32BITUIDS]: Make code unconditional.
66591         [!__ASSUME_32BITUIDS]: Remove conditional code.
66592         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66593         <kernel-features.h>.
66594         [__ASSUME_32BITUIDS]: Make code unconditional.
66595         [!__ASSUME_32BITUIDS]: Remove conditional code.
66596         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66597         <kernel-features.h>.
66598         [__ASSUME_32BITUIDS]: Make code unconditional.
66599         [!__ASSUME_32BITUIDS]: Remove conditional code.
66600         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66601         <kernel-features.h>.
66602         [__ASSUME_32BITUIDS]: Make code unconditional.
66603         [!__ASSUME_32BITUIDS]: Remove conditional code.
66604         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66605         <kernel-features.h>.
66606         [__ASSUME_32BITUIDS]: Make code unconditional.
66607         [!__ASSUME_32BITUIDS]: Remove conditional code.
66608         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66609         <kernel-features.h>.
66610         [__ASSUME_32BITUIDS]: Make code unconditional.
66611         [!__ASSUME_32BITUIDS]: Remove conditional code.
66612         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66613         <kernel-features.h>.
66614         [__ASSUME_32BITUIDS]: Make code unconditional.
66615         [!__ASSUME_32BITUIDS]: Remove conditional code.
66616         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66617         <kernel-features.h>.
66618         [__NR_setresgid] (__setresgid): Do not declare.
66619         [__ASSUME_32BITUIDS]: Make code unconditional.
66620         [!__ASSUME_32BITUIDS]: Remove conditional code.
66621         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66622         <kernel-features.h>.
66623         [__NR_setresuid] (__setresuid): Do not declare.
66624         [__ASSUME_32BITUIDS]: Make code unconditional.
66625         [!__ASSUME_32BITUIDS]: Remove conditional code.
66626         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66627         <kernel-features.h>.
66628         [__ASSUME_32BITUIDS]: Make code unconditional.
66629         [!__ASSUME_32BITUIDS]: Remove conditional code.
66630         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66631         <kernel-features.h>.
66632         [__ASSUME_32BITUIDS]: Make code unconditional.
66633         [!__ASSUME_32BITUIDS]: Remove conditional code.
66634         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66635         <kernel-features.h>.
66636         [__ASSUME_32BITUIDS]: Make code unconditional.
66637         [!__ASSUME_32BITUIDS]: Remove conditional code.
66638         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66639         <kernel-features.h>.
66640         [__ASSUME_32BITUIDS]: Make code unconditional.
66641         [!__ASSUME_32BITUIDS]: Remove conditional code.
66642         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66643         <kernel-features.h>.
66644         [__ASSUME_32BITUIDS]: Make code unconditional.
66645         [!__ASSUME_32BITUIDS]: Remove conditional code.
66646         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66647         <kernel-features.h>.
66648         [__ASSUME_32BITUIDS]: Make code unconditional.
66649         [!__ASSUME_32BITUIDS]: Remove conditional code.
66650         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66651         <kernel-features.h>.
66652         [__ASSUME_32BITUIDS]: Make code unconditional.
66653         [!__ASSUME_32BITUIDS]: Remove conditional code.
66654         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66655         <kernel-features.h>.
66656         [__ASSUME_32BITUIDS]: Make code unconditional.
66657         [!__ASSUME_32BITUIDS]: Remove conditional code.
66658         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66659         <kernel-features.h>.
66660         [__ASSUME_32BITUIDS]: Make code unconditional.
66661         [!__ASSUME_32BITUIDS]: Remove conditional code.
66662         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66663         <kernel-features.h>.
66664         [__ASSUME_32BITUIDS]: Make code unconditional.
66665         [!__ASSUME_32BITUIDS]: Remove conditional code.
66666         * sysdeps/unix/sysv/linux/kernel-features.h
66667         (__ASSUME_SETRESUID_SYSCALL): Remove.
66668         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66669         (__ASSUME_32BITUIDS): Likewise.
66670         (__ASSUME_LDT_WORKS): Likewise.
66671         (__ASSUME_O_DIRECTORY): Likewise.
66672         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66673         architecture but not kernel version.
66674         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66675         (__ASSUME_MMAP2_SYSCALL): Likewise.
66676         (__ASSUME_STAT64_SYSCALL): Likewise.
66677         (__ASSUME_IPC64): Likewise.
66678         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66679         <kernel-features.h>.
66680         [__ASSUME_32BITUIDS]: Make code unconditional.
66681         [!__ASSUME_32BITUIDS]: Remove conditional code.
66682         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66683         <kernel-features.h>.
66684         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66685         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66686         132096]: Remove conditional code.
66687         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66688         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66689         <kernel-features.h>.
66690         [__ASSUME_32BITUIDS]: Make code unconditional.
66691         [!__ASSUME_32BITUIDS]: Remove conditional code.
66692         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66693         <kernel-features.h>.
66694         [__ASSUME_32BITUIDS]: Make code unconditional.
66695         [!__ASSUME_32BITUIDS]: Remove conditional code.
66696         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66697         <kernel-features.h>.
66698         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66699         unconditional.
66700         (__setresgid): Do not declare.
66701         [__ASSUME_32BITUIDS]: Make code unconditional.
66702         [!__ASSUME_32BITUIDS]: Remove conditional code.
66703         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66704         <kernel-features.h>.
66705         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66706         unconditional.
66707         (__setresuid): Do not declare.
66708         [__ASSUME_32BITUIDS]: Make code unconditional.
66709         [!__ASSUME_32BITUIDS]: Remove conditional code.
66710         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66711         <kernel-features.h>.
66712         [__ASSUME_32BITUIDS]: Make code unconditional.
66713         [!__ASSUME_32BITUIDS]: Remove conditional code.
66714         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66715         <kernel-features.h>.
66716         [__ASSUME_32BITUIDS]: Make code unconditional.
66717         [!__ASSUME_32BITUIDS]: Remove conditional code.
66719 2012-05-25  Richard Henderson  <rth@twiddle.net>
66721         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66722         dl_hwcap to ifunc resolver.
66723         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66724         elf_ifunc_invoke.
66725         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66726         dl_hwcap to ifunc resolver.
66727         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66729 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66731         [BZ #14153]
66732         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66733         for |x| <= 2**-26, not 2**-57.
66734         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66735         exception.
66737 2012-05-24  Jeff Law  <law@redhat.com>
66739         * stdio-common/Makefile (tests): Add bug25.
66740         * stdio-common/bug25.c: New test.
66742 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66744         [BZ #13576]
66745         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66746         multiple of MALLOC_ALIGNMENT in size.
66747         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66749 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66751         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66752         Require >= 256.
66753         (FILENAME_MAX): Use macro-int-constant.
66754         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66755         (_IOFBF): Use macro-int-constant.
66756         (_IOLBF): Likewise.
66757         (_IONBF): Likewise.
66758         (SEEK_CUR): Likewise.
66759         (SEEK_END): Likewise.
66760         (SEEK_SET): Likewise.
66761         (TMP_MAX): Likewise.
66762         (EOF): Use macro-int-constant.  Require < 0.
66763         (NULL): Use macro-constant.  Require == 0.
66764         (stdin): Require type to be FILE *.
66765         (stdout): Likewise.
66766         (stderr): Likewise.
66767         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66768         macro-int-constant.
66769         (EXIT_SUCCESS): Likewise.
66770         (NULL): Use macro-constant.  Require == 0.
66771         (RAND_MAX): Use macro-int-constant.
66772         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66773         [C99-based standards] (strtof): Require function.
66774         [C99-based standards] (strtold): Likewise.
66775         [C99-based standards] (strtoll): Likewise.
66776         [C99-based standards] (strtoull): Likewise.
66777         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66778         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66779         [ISO || ISO99 || ISO11] (math.h): Likewise.
66780         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66781         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66782         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66784 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66786         [BZ #14132]
66787         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66788         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66789         * intl/dgettext.c (DCGETTEXT): Likewise.
66790         * intl/gettext.c (DCGETTEXT): Likewise.
66791         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66792         * posix/regex_internal.h (gettext): Likewise.
66793         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66794         Remove declaration.
66795         * include/argz.h (__argz_count_internal)
66796         (__argz_stringify_internal): Remove declaration.
66797         (__argz_count, __argz_stringify): Declare hidden proto.
66798         * intl/dcgettext.c: Remove use of INTDEF.
66799         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66800         * string/argz-stringify.c: Likewise.
66801         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66802         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66803         Declare hidden proto.
66804         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66805         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66806         Declare hidden proto.
66807         * include/stdio.h (__asprintf_internal): Don't declare.
66808         (__asprintf): Don't define as macro.  Declare hidden proto.
66809         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66810         (__fsetlocking): Declare hidden proto.
66811         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66812         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66813         hidden proto.
66814         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66815         (_IO_setlinebuf): Remove use of INTUSE.
66816         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66817         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66818         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66819         Remove declaration.
66820         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66821         (_IO_do_flush): Remove use of INTUSE.
66822         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66823         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66824         (_IO_adjust_column, _IO_least_wmarker)
66825         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66826         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66827         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66828         (_IO_default_doallocate, _IO_wdefault_doallocate)
66829         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66830         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66831         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66832         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66833         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66834         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66835         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66836         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66837         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66838         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66839         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66840         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66841         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66842         proto.
66843         (_IO_flush_all_internal, _IO_adjust_column_internal)
66844         (_IO_default_uflow_internal, _IO_default_finish_internal)
66845         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66846         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66847         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66848         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66849         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66850         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66851         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66852         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66853         (_IO_file_close_internal, _IO_file_close_it_internal)
66854         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66855         (_IO_file_init_internal, _IO_file_attach_internal)
66856         (_IO_file_fopen_internal, _IO_file_read_internal)
66857         (_IO_file_sync_internal, _IO_file_seek_internal)
66858         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66859         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66860         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66861         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66862         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66863         (_IO_list_all_internal, _IO_link_in_internal)
66864         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66865         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66866         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66867         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66868         (_IO_do_write_internal, _IO_padn_internal)
66869         (_IO_getline_info_internal, _IO_getline_internal)
66870         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66871         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66872         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66873         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66874         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66875         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66876         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66877         with libc_hidden_ver, remove use of INTUSE.
66878         * libio/genops.c: Likewise.
66879         * libio/freopen.c: Likewise.
66880         * libio/freopen64.c: Likewise.
66881         * libio/iofclose.c: Likewise.
66882         * libio/iofdopen.c: Likewise.
66883         * libio/iofflush.c: Likewise.
66884         * libio/iofflush_u.c: Likewise.
66885         * libio/iofgets.c: Likewise.
66886         * libio/iofgets_u.c: Likewise.
66887         * libio/iofopen.c: Likewise.
66888         * libio/iofopncook.c: Likewise.
66889         * libio/iofread.c: Likewise.
66890         * libio/iofread_u.c: Likewise.
66891         * libio/ioftell.c: Likewise.
66892         * libio/iofwrite.c: Likewise.
66893         * libio/iogetline.c: Likewise.
66894         * libio/iogets.c: Likewise.
66895         * libio/iogetwline.c: Likewise.
66896         * libio/iopadn.c: Likewise.
66897         * libio/iopopen.c: Likewise.
66898         * libio/ioseekoff.c: Likewise.
66899         * libio/ioseekpos.c: Likewise.
66900         * libio/iosetbuffer.c: Likewise.
66901         * libio/iosetvbuf.c: Likewise.
66902         * libio/ioungetc.c: Likewise.
66903         * libio/ioungetwc.c: Likewise.
66904         * libio/iovdprintf.c: Likewise.
66905         * libio/iovsprintf.c: Likewise.
66906         * libio/iovsscanf.c: Likewise.
66907         * libio/memstream.c: Likewise.
66908         * libio/obprintf.c: Likewise.
66909         * libio/oldfileops.c: Likewise.
66910         * libio/oldiofclose.c: Likewise.
66911         * libio/oldiofdopen.c: Likewise.
66912         * libio/oldiofopen.c: Likewise.
66913         * libio/oldiopopen.c: Likewise.
66914         * libio/oldstdfiles.c: Likewise.
66915         * libio/putc.c: Likewise.
66916         * libio/setbuf.c: Likewise.
66917         * libio/setlinebuf.c: Likewise.
66918         * libio/stdfiles.c: Likewise.
66919         * libio/strops.c: Likewise.
66920         * libio/vasprintf.c: Likewise.
66921         * libio/vscanf.c: Likewise.
66922         * libio/vsnprintf.c: Likewise.
66923         * libio/vswprintf.c: Likewise.
66924         * libio/wfiledoalloc.c: Likewise.
66925         * libio/wfileops.c: Likewise.
66926         * libio/wgenops.c: Likewise.
66927         * libio/wmemstream.c: Likewise.
66928         * libio/wstrops.c: Likewise.
66929         * libio/__fpurge.c: Likewise.
66930         * libio/__fsetlocking.c: Likewise.
66931         * assert/assert.c: Likewise.
66932         * debug/fgets_chk.c: Likewise.
66933         * debug/fgets_u_chk.c: Likewise.
66934         * debug/fread_chk.c: Likewise.
66935         * debug/fread_u_chk.c: Likewise.
66936         * debug/gets_chk.c: Likewise.
66937         * debug/obprintf_chk.c: Likewise.
66938         * debug/vasprintf_chk.c: Likewise.
66939         * debug/vdprintf_chk.c: Likewise.
66940         * debug/vsnprintf_chk.c: Likewise.
66941         * debug/vsprintf_chk.c: Likewise.
66942         * malloc/mtrace.c: Likewise.
66943         * misc/error.c: Likewise.
66944         * misc/syslog.c: Likewise.
66945         * stdio-common/asprintf.c: Likewise.
66946         * stdio-common/fxprintf.c: Likewise.
66947         * stdio-common/getw.c: Likewise.
66948         * stdio-common/isoc99_fscanf.c: Likewise.
66949         * stdio-common/isoc99_scanf.c: Likewise.
66950         * stdio-common/isoc99_vfscanf.c: Likewise.
66951         * stdio-common/isoc99_vscanf.c: Likewise.
66952         * stdio-common/isoc99_vsscanf.c: Likewise.
66953         * stdio-common/printf-prs.c: Likewise.
66954         * stdio-common/printf_fp.c: Likewise.
66955         * stdio-common/printf_fphex.c: Likewise.
66956         * stdio-common/printf_size.c: Likewise.
66957         * stdio-common/putw.c: Likewise.
66958         * stdio-common/scanf.c: Likewise.
66959         * stdio-common/sprintf.c: Likewise.
66960         * stdio-common/tmpfile.c: Likewise.
66961         * stdio-common/vfprintf.c: Likewise.
66962         * stdio-common/vfscanf.c: Likewise.
66963         * stdlib/strfmon_l.c: Likewise.
66964         * sunrpc/openchild.c: Likewise.
66965         * sunrpc/xdr_stdio.c: Likewise.
66966         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66967         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66969 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66971         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66973         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66974         in the third column, to generate for the shared library an IFUNC
66975         that uses _dl_vdso_vsym.
66976         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66977         * Makeconfig (object-suffixes-noshared): New variable.
66979         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66980         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66981         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66982         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66984         [BZ #14132]
66985         * include/sys/time.h (__gettimeofday): Remove macro.
66986         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66987         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66988         Remove INTDEF.
66989         (__gettimeofday): Add libc_hidden_def.
66990         (gettimeofday): Add libc_hidden_weak.
66991         * sysdeps/mach/gettimeofday.c: Likewise.
66992         * sysdeps/posix/gettimeofday.c: Likewise.
66993         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66994         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66996         (__gettimeofday_internal): Remove strong_alias.
66997         (__gettimeofday): Add libc_hidden_def.
66998         (gettimeofday): Add libc_hidden_weak.
66999         * sysdeps/unix/syscalls.list (gettimeofday):
67000         Remove __gettimeofday_internal alias.
67002 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67003             H.J. Lu  <hongjiu.lu@intel.com>
67005         [BZ #12495]
67006         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67007         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67008         (largebin_index_32_big): New.
67009         (largebin_index): Use it for 16-byte alignment.
67010         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67011         correction with front_misalign.
67013 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67017         Likewise.
67018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67019         Likewise.
67020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67021         Likewise.
67022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67023         Likewise.
67024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67025         Likewise.
67026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67027         Likewise.
67028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67029         Likewise.
67030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67031         Likewise.
67032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67033         Likewise.
67034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67035         Likewise.
67036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67037         Likewise.
67038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67039         Likewise.
67041         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67042         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67044 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67046         [BZ #10846]
67047         [BZ #14036]
67048         * math/libm-test.inc (exp_test): Add test from bug 14036.
67049         (pow_test): Add test from bug 10846.
67051         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67052         and other flags.
67053         (special_function): Do not include flags in test name.
67054         (parse_args): Likewise.
67055         * sysdeps/i386/fpu/libm-test-ulps: Update.
67056         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67057         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67058         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67061         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67062         exceptions.
67063         * math/libm-test.inc ("Philosophy"): Update comment about
67064         exception testing.
67065         (UNDERFLOW_EXCEPTION): New macro.
67066         (UNDERFLOW_EXCEPTION_OK): Likewise.
67067         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67068         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67069         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67070         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67071         (INVALID_EXCEPTION_OK): Update value.
67072         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67073         (OVERFLOW_EXCEPTION_OK): Likewise.
67074         (IGNORE_ZERO_INF_SIGN): Likewise.
67075         (test_exceptions): Handle underflow exceptions.
67076         (acos_test): Update for underflow exception expectations.
67077         (cexp_test): Likewise.
67078         (clog_test): Likewise.
67079         (clog10_test): Likewise.
67080         (csqrt_test): Likewise.
67081         (ctan_test): Likewise.
67082         (ctanh_test): Likewise.
67083         (exp_test): Likewise.
67084         (exp10_test): Likewise.
67085         (exp2_test): Likewise.
67086         (expm1_test): Likewise.
67087         (fma_test): Likewise.
67088         (j0_test): Likewise.
67089         (jn_test): Likewise.
67090         (nexttoward_test): Likewise.
67091         (pow_test): Likewise.
67092         (scalbn_test): Likewise.
67093         (scalbln_test): Likewise.
67094         (tan_test): Likewise.
67095         (y1_test): Likewise.
67096         * sysdeps/i386/fpu/libm-test-ulps: Update.
67097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67099 2012-05-23  David S. Miller  <davem@davemloft.net>
67101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67102         (__libc_sigaction): Remove unused local variables.
67104 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67106         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67108 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67110         mktime: avoid signed integer overflow
67111         * time/mktime.c (__mktime_internal): Do not mishandle the case
67112         where diff == INT_MIN.
67114         mktime: simplify computation of average
67115         * time/mktime.c (ranged_convert): Use new time_t_avg function
67116         instead of rolling our own (probably-slower) code.
67118         mktime: do not assume signed right shift propagates sign bit
67119         * time/mktime.c (isdst_differ): New static function.
67120         (__mktime_internal): No need to normalize tm_isdst now.
67121         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67122         tm_isdst values.
67124         mktime: merge another wrapv change from gnulib
67125         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67126         from some compilers.
67128         mktime: remove incorrect attempt at unusual arithmetics
67129         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67130         The code didn't really work on such machines anyway.
67131         (TYPE_MINIMUM): Assume two's complement.
67132         (twos_complement_arithmetic): Verify that long_int and time_t
67133         are two's complement (or unsigned, in the latter case).
67135         mktime: check signed shifts on long_int and time_t, too
67136         * time/mktime.c (SHR): Check that shifts work as desired
67137         on the types long_int and time_t too, as SHR is used on
67138         such types.
67140         mktime: do not assume 'long' is wide enough
67141         * time/mktime.c (verify): Move decl up.
67142         (long_int): New type.
67143         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67144         to remove assumption in the code that 'long' is wide enough to
67145         store year values.  This assumption is not true on x32 and on
67146         some non-glibc platforms.
67148         mktime: merge wrapv change from gnulib
67149         * time/mktime.c (WRAPV): New macro.
67150         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67151         (guess_time_tm, __mktime_internal): Do not assume that signed
67152         integer overflow wraps around; modern compilers generate code
67153         where this assumption is no longer valid.
67155 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67157         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67158         Replace "jmp L(pseudo_end)" with "ret".
67159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67160         Likewise.
67162 2012-05-23  Andreas Jaeger  <aj@suse.de>
67164         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67165         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67167 2012-05-23  Andreas Jaeger  <aj@suse.de>
67168             Maximilian Attems  <max@stro.at>
67170         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67171         New macros.
67173 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67175         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67176         code so that pseudo_end is just ret and the stack pointer is
67177         correct also for static library in error case.
67179 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67181         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67182         move to syscalls.list.
67183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67188         * manual/install.texi (Running make install): Do not mention Linux
67189         kernel version for which pt_chown is not needed.
67190         (Linux): Do not mention problems with nscd with 2.0 kernels.
67191         * INSTALL: Regenerated.
67193 2012-05-23  Andreas Jaeger  <aj@suse.de>
67195         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67196         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67197         macro.
67198         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67199         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67200         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67201         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67202         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67203         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67204         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67205         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67206         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67207         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67208         * sysdeps/unix/sysv/linux/bits/in.h
67209         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67211 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67213         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67214         (PREPARE_VERSION): Just use assert instead, it will be elided
67215         under [NDEBUG] anyway.
67217 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67219         * sysdeps/unix/sysv/linux/Makefile: Include
67220         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67221         (sysdep_routines): Remove sysctl.
67222         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67223         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67224         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67225         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67226         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67228 2012-05-22  Andreas Jaeger  <aj@suse.de>
67230         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67231         that pseudo_end is just ret and the stack pointer is correct also
67232         for static library in error case.
67234 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67236         [BZ #14122]
67237         * nss/nsswitch.c (defconfig_entries): New variable.
67238         (__nss_database_lookup): Don't leak defconfig entries.
67239         (nss_parse_service_list): Don't leak on error paths.
67240         (free_database_entries): New function.
67241         (free_defconfig): New function.
67242         (free_mem): Move common code to free_database_entries.
67244 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67246         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67247         Add arch_prctl.
67248         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67250         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67251         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67253         New macro.
67254         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67255         (INTERNAL_SYSCALL_TYPES): Likewise.
67256         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67257         (LOAD_REGS_TYPES_[1-6]): Likewise.
67258         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67259         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67261 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67263         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67264         copysignl for GLIBC_2_0.
67265         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67266         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67268         logbl for GLIBC_2_0.
67269         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67270         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67272 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67275         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67277         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67278         Use "neg %eax".
67280         * time/mktime.c: Update copyright years.
67282 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67284         mktime: merge comment-quoting-style change from gnulib
67285         * time/mktime.c: Quote 'like this' in comments.
67286         The GNU coding standards suggest that we no longer quote `like this',
67287         as "`" and "'" are typically rendered asymmetrically nowadays.
67288         The typical gnulib style is to quote 'like this' when quoting
67289         code, and "like this" when quoting English.
67291         * time/mktime.c (compile-command): Add "-I.".
67293         mktime: merge mktime-internal.h change from gnulib
67294         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67296         mktime: merge time_r change from gnulib
67297         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67299         mktime: merge DEBUG change from gnulib
67300         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67301         case system <time.h> has a #define.
67303         mktime: merge <sys/types.h> change from gnulib
67304         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67305         since <time.t> is now guaranteed to define time_t.
67307         mktime: merge HAVE_CONFIG_H change from gnulib
67308         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67313         Use "neg %eax".
67315         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67316         __rlim_t cast.
67317         (struct rusage): Use anonymous union to pad each field to
67318         __syscall_slong_t.
67320 2012-05-21  David S. Miller  <davem@davemloft.net>
67322         * Makefules (o-iterator): Remove .s cases.
67323         (compile-command.s): Delete.
67324         (COMPILE.s): Delete.
67325         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67327 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
67329         * configure.in (libc_cv_predef_stack_protector): Only consider
67330         "foobar" and "__stack_chk_fail" lines in libc_undefs.
67331         * configure: Regenerated.
67333 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67336         New macro.  Use R*LP on int and pointer.
67337         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67338         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67339         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67340         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67342         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67343         [__WORDSIZE_TIME64_COMPAT32] instead of
67344         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67345         (struct utmp): Likewise.
67346         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67347         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67348         Renamed to ...
67349         (__WORDSIZE_TIME64_COMPAT32): This.
67350         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67351         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67352         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67353         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67354         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67355         (__WORDSIZE_TIME64_COMPAT32): New macro.
67357 2012-05-21  Andreas Jaeger  <aj@suse.de>
67359         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67360         only if [SHARED]. Add prototype for __wcschr_ia32.
67362 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67364         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67365         of %rbp unmolested in the jmp_buf while mangling the low bits.
67366         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67367         unmolested high bits of %rbp while demangling the low bits.
67368         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67370 2012-05-21  Andreas Jaeger  <aj@suse.de>
67372         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67373         * sunrpc/svc_simple.c: Use it for registerrpc.
67374         * sunrpc/xcrypt.c: Use it for passwd2des.
67376         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67378 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67380         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67381         Don't define if [__SYSCALL_WORDSIZE != 32].
67382         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67383         New macro.
67385 2012-05-21  Bruno Haible  <bruno@clisp.org>
67386             Andreas Jaeger  <aj@suse.de>
67388         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67389         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67390         inptr and inend for must_buffer_ch.
67391         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67392         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67393         * stdio-common/Makefile (tests): Remove bug15.
67394         (bug15-ENV): Remove macro.
67395         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67396         anymore.
67398 2012-05-19  Andreas Jaeger  <aj@suse.de>
67399             Roland McGrath  <roland@hack.frob.com>
67401         * manual/contrib.texi: Completely rewritten. It contains now an
67402         alphabetical list of contributors and their contributions.
67404 2012-05-21  Richard Henderson  <rth@twiddle.net>
67406         * misc/getauxval.c (__getauxval): Use unsigned long int.
67407         * misc/sys/auxv.h: Include <sys/cdefs.h>.
67408         (getauxval): Use unsigned long int.
67410 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67412         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67414 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67416         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67417         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67418         __alignof__ (long double).
67420 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67424 2012-05-20  Richard Henderson  <rth@twiddle.net>
67426         * misc/getauxval.c: New file.
67427         * misc/sys/auxv.h: New file.
67428         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67429         (routines): Add getauxval.
67430         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67431         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67432         * elf/dl-sysdep.c (_dl_auxv): Remove.
67433         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67434         * elf/dl-support.c (_dl_auxv): New variable.
67435         (_dl_aux_init): Initialize it.
67436         * manual/startup.texi (Auxiliary Vector): New node.
67437         * sysdeps/generic/bits/hwcap.h: New file.
67438         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67439         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67440         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67441         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67442         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67445         Update.
67446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67455 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67459 2012-05-19  David S. Miller  <davem@davemloft.net>
67461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67463 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67465         [BZ #14123]
67466         * math/s_ccosh.c: Include <float.h>
67467         (__ccosh): Avoid internal overflow calculating sinh and cosh
67468         values before multiplying by sin and cos values.
67469         * math/s_ccoshf.c: Likewise.
67470         * math/s_ccoshl.c: Likewise.
67471         * math/s_csin.c: Likewise.
67472         * math/s_csinf.c: Likewise.
67473         * math/s_csinl.c: Likewise.
67474         * math/s_csinh.c: Likewise.
67475         * math/s_csinhf.c: Likewise.
67476         * math/s_csinhl.c: Likewise.
67477         * math/libm-test.inc (ccos_test): Add more tests.
67478         (ccosh_test): Likewise.
67479         (csin_test): Likewise.
67480         (csinh_test): Likewise.
67481         * sysdeps/i386/fpu/libm-test-ulps: Update.
67482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67484 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67486         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67487         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67489         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67491 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67493         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67494         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67495         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67496         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67497         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67498         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67499         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67500         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67501         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67502         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67503         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67504         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67505         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67506         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67507         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67508         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67509         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67510         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67511         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67512         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67513         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67514         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67515         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67516         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67517         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67518         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67519         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67520         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67521         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67522         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67523         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67525 2012-05-18  Andreas Jaeger  <aj@suse.de>
67527         * csu/.gitignore: Delete.
67529 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67531         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67532         (timex): Use __syscall_slong_t.
67534 2012-05-18  Andreas Jaeger  <aj@suse.de>
67535             Carlos O'Donell  <carlos_odonell@mentor.com>
67537         * manual/install.texi (Configuring and compiling): Update
67538         description about files modified in the source directory.
67539         * INSTALL: Regenerated.
67541 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67543         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67544         value.  Use "or" to set return value to -1.
67545         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67546         negate return value.
67548 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67550         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67551         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67552         failure if the compiler has Graphite support disabled.
67553         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67554         Likewise.
67555         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67556         (CFLAGS-memmove.c): Likewise.
67557         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67558         Likewise.
67560 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67562         * sysdeps/x86_64/x32/_itoa.h: New file.
67564         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67565         getdents system call only if kernel and user dirents have the
67566         same d_ino and d_off.
67568         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67569         LLONG_MAX != LONG_MAX.
67570         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67571         (_fitoa_word): Likewise.
67573         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67574         years.
67575         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67576         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67577         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67579         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67580         include <bits/wordsize.h>.  Check __x86_64__ instead of
67581         __WORDSIZE.
67582         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67583         if __x86_64__ is defined.  Use anonymous union on fpstate.
67585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67586         anonymous union.
67588 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67590         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67591         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67592         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67593         Refer to _rtld_local_ro instead of _rtld_global_ro.
67594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67595         Likewise.
67596         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67597         Likewise.
67598         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67599         Likewise.
67600         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67601         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67602         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67604         [BZ #10882]
67605         * sysdeps/powerpc/powerpc32/dl-machine.c
67606         (__elf_machine_runtime_setup) [PROF]: Don't reference
67607         _dl_prof_resolve.
67609 2012-05-18  Andreas Jaeger  <aj@suse.de>
67611         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67612         function only available for GCCs before 3.4 since GCC 3.4
67613         introduced a builtin.
67614         (lrint): Likewise.
67615         (llrintf): Likewise.
67616         (llrint): Likewise.
67617         (fmaxf): Likewise.
67618         (fmax): Likewise.
67619         (fminf): Likewise.
67620         (fmin): Likewise.
67621         (rint): Likewise.
67622         (rintf): Likewise.
67623         (nearbyint): Likewise.
67624         (nearbyintf): Likewise.
67625         (ceil): Likewise.
67626         (ceilf): Likewise.
67627         (floor): Likewise.
67628         (floorf): Likewise.
67630 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67632         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67633         on both fields and cast pointer to __syscall_ulong_t.
67635         * bits/types.h (__fsword_t): New type.
67636         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67637         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67638         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67639         (__FSWORD_T_TYPE): Likewise.
67640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67641         (__FSWORD_T_TYPE): Likewise.
67642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67643         (__FSWORD_T_TYPE): Likewise.
67644         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67645         (__FSWORD_T_TYPE): Likewise.
67646         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67647         __SWORD_TYPE with __fsword_t.
67648         (statfs64): Likewise.
67650 2012-05-17  David S. Miller  <davem@davemloft.net>
67652         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67654 2012-05-17  Andreas Jaeger  <aj@suse.de>
67656         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67657         warning.
67659 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67661         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67663 2012-05-17  Andreas Jaeger  <aj@suse.de>
67665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67666         when it is used.
67668 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67670         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67672 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67674         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67675         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67677 2012-05-17  Andreas Jaeger  <aj@suse.de>
67678             Carlos O'Donell  <carlos_odonell@mentor.com>
67680         [BZ #14059]
67681         * sysdeps/x86_64/multiarch/init-arch.h
67682         (bit_YMM_Usable): Rename to...
67683         (bit_AVX_Usable): ... this.
67684         (bit_FMA4_Usable): New macro.
67685         (bit_XMM_state): New macro.
67686         (bit_YMM_state): New macro.
67687         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67688         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67689         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67690         (CPUID_OSXSAVE): New macro.
67691         (CPUID_AVX): New macro.
67692         (CPUID_FMA4): New macro.
67693         (index_YMM_Usable): Rename to...
67694         (index_AVX_Usable): ... this.
67695         (HAS_AVX): Use HAS_ARCH_FEATURE.
67696         (HAS_FMA4): Likewise.
67697         (HAS_YMM_USABLE): Remove.
67698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67699         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67700         are present.
67701         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67702         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67703         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67704         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67705         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67707 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67709         * math/libm-test.c: Support platforms without multiple rounding modes.
67710         * math/bug-nextafter.c: Support platforms without FP exceptions.
67711         * math/bug-nexttoward.c: Likewise.
67712         * math/test-fenv.c: Likewise.
67713         * math/test-misc.c: Likewise.
67714         * stdlib/bug-getcontext.c: Likewise.
67716 2012-05-17  Andreas Jaeger  <aj@suse.de>
67718         * manual/examples/search.c (critter_cmp): Change signature to
67719         avoid warnings.
67720         * manual/string.texi (Collation Functions): Likewise.
67722 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67724         * bits/types.h: Fold copyright years.
67725         * bits/typesizes.h: Likewise.
67726         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67730         * time/time.h: Likewise.
67732 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67734         [BZ #208]
67735         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67736         in instead of returning them.  Return void.
67737         (__libc_mallinfo): Accumulate over all arenas.
67738         (__malloc_stats): Adjust for change in int_mallinfo interface.
67740 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67742         [BZ #10375]
67743         * configure.in (NM): Add AC_CHECK_TOOL for it.
67744         (libc_extra_cflags): New substituted variable.
67745         Check for -fstack-protector being used implicitly.
67746         * configure: Regenerated.
67747         * config.make.in (config-extra-cflags): New variable,
67748         gets @libc_extra_cflags@.
67749         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67751         [BZ #10375]
67752         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67753         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67754         * configure: Regenerated.
67755         * config.make.in (CPPUNDEFS): New substituted variable.
67756         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67757         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67758         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67760 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67762         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67763         (mq_attr): Use __syscall_slong_t.
67765 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67767         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67768         Check __x86_64__ instead of __WORDSIZE.
67769         (_STAT_VER_LINUX): Likewise.
67770         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67771         __syscall_ulong_t and __syscall_slong_t.
67772         (stat64): Likewise.
67774 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67776         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67778 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67780         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67784         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67785         __syscall_ulong_t.
67787         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67788         include <bits/wordsize.h>.  Check __x86_64__ instead of
67789         __WORDSIZE.
67790         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67791         defined.
67792         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67795         include <bits/wordsize.h>.  Check __x86_64__ instead of
67796         __WORDSIZE.
67797         (user_regs_struct): Use "__extension__ unsigned long long"
67798         instead of "unsigned long" if __x86_64__ is defined.
67799         (user): Likewise.  Pad after pointer field if __ILP32__ is
67800         defined.
67802 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67804         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67805         versions 5 to 9.
67806         * configure: Regenerated.
67807         * manual/install.texi (texinfo): Increase version requirement to
67808         4.5 or later.
67809         * INSTALL: Regenerated.
67811         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67813 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67815         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67817         * sysdeps/x86_64/x32/ffs.c: New file.
67819         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67820         __syscall_ulong_t.
67821         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67822         defined.  Use __syscall_ulong_t.
67823         (shminfo): Use __syscall_ulong_t.
67824         (shm_info): Likewise.
67826         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67827         __syscall_ulong_t.
67829         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67830         <bits/wordsize.h>.
67831         (msgqnum_t): Use __syscall_ulong_t.
67832         (msglen_t): Likewise.
67833         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67834         __syscall_ulong_t.
67836         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67837         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67839         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67841         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67842         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67844         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67845         __syscall_slong_t.
67847         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67848         include <bits/wordsize.h>.  Check __x86_64__ instead of
67849         __WORDSIZE.
67851         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67852         "unsigned long long int" if __x86_64__ is defined.
67853         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67855         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67856         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67857         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67859         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67860         <stdint.h>.
67861         (GET_PC): Cast to uintptr_t first.
67862         (GET_FRAME): Likewise.
67863         (GET_STACK): Likewise.
67865         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67866         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67867         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67868         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67869         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67870         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67871         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67872         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67873         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67874         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67875         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67876         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67877         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67878         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67879         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67880         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67881         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67882         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67883         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67884         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67885         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67886         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67887         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67888         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67889         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67890         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67891         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67892         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67893         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67895 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67897         * Makerules (+depfiles): Also collect depfiles from .oS in
67898         $(extra-objs).
67899         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67900         .oS, $(libnldbl-routines)).
67902         * Makerules (native-compile-mkdep-flags): Define.
67903         * sunrpc/Makefile (extra-objs): Add $(addprefix
67904         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67905         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67906         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67907         calling $(make-target-directory).
67909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67911         * bits/types.h (__snseconds_t): Removed.
67912         * time/time.h (struct timespec): Replace __snseconds_t with
67913         __syscall_slong_t.
67914         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67915         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67916         Likewise.
67917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67918         (__SNSECONDS_T_TYPE): Likewise.
67919         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67920         (__SNSECONDS_T_TYPE): Likewise.
67921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67922         (__SNSECONDS_T_TYPE): Likewise.
67924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67926         * sysdeps/mach/hurd/bits/typesizes.h
67927         (__SYSCALL_SLONG_TYPE): New macro.
67928         (__SYSCALL_ULONG_TYPE): Likewise.
67930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67932         * bits/types.h (__syscall_slong_t): New type.
67933         (__syscall_ulong_t): Likewise.
67935         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67936         (__SYSCALL_ULONG_TYPE): Likewise.
67937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67938         (__SYSCALL_SLONG_TYPE): Likewise.
67939         (__SYSCALL_ULONG_TYPE): Likewise.
67940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67941         (__SYSCALL_SLONG_TYPE): Likewise.
67942         (__SYSCALL_ULONG_TYPE): Likewise.
67943         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67944         (__SYSCALL_SLONG_TYPE): Likewise.
67945         (__SYSCALL_ULONG_TYPE): Likewise.
67947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67949         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67950         Add sigaltstack-offsets.sym.
67951         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67952         <sigaltstack-offsets.h>.
67953         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67954         longjmp_msg pointer.
67955         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67956         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67957         signal stack.
67958         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67960 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67962         * elf/stackguard-macros.h: Remove file.
67963         * sysdeps/generic/stackguard-macros.h: New file.
67964         * sysdeps/i386/stackguard-macros.h: Likewise.
67965         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67966         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67967         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67968         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67969         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67970         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67971         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67972         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67973         <elf/stackguard-macros.h>.
67975         [BZ #14109]
67976         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67977         __aligned__ in attribute.
67978         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67979         (gregset_t): Likewise.
67981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67983         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67984         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67985         * sysdeps/x86_64/x32/Implies-after: New file.
67987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67989         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67990         and access return value for _dl_profile_fixup.  Use R10_LP to
67991         load frame size.
67993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67995         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67999         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68000         * sysdeps/x86_64/x32/sysdep.h: New file.
68002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68004         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68005         * sysdeps/x86_64/setjmp.S: Likewise.
68007 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68009         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68010         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68011         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68012         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68013         remove unused global constant.
68015 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68017         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68018         include of <not-cancel.h>.
68020 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68022         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68024 2012-05-15  Jeff Law  <law@redhat.com>
68025             Andreas Jaeger  <aj@suse.de>
68027         [BZ #13594]
68028         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68029         out from...
68030         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68031         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68032         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68033         code changing __hst_map_handle.map.
68035 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68037         * configure.in (sysnames): Look for Implies-before and Implies-after
68038         files.
68039         * configure: Regenerated.
68041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68043         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68044         8-byte data alignment with LP_SIZE alignment.
68046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68048         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68049         into R10_LP.
68051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68053         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68055 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68057         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68058         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68059         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68060         Likewise.
68061         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68065         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68066         (stackinfo_sub_sp): Likewise.
68068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68070         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68071         RAX_LP.
68073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68076         into R*_LP.
68078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68081         sizes into R*_LP.
68083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68085         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68089         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68090         into R11_LP and load __x86_64_shared_cache_size_half into
68091         R8_LP.
68093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68095         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68096         R8_LP.
68098 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68101         logb for POWER7.
68102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68103         logbf for POWER7.
68104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68105         logbl for POWER7.
68106         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68107         powerpc32/power7/fpu/s_logb.c via #include.
68108         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68109         powerpc32/power7/fpu/s_logbf.c via #include.
68110         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68111         powerpc32/power7/fpu/s_logbl.c via #include.
68113 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68115         * README.libm: Remove file.
68117 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68119         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68120         count for x32.  Use R*_LP and omit operand-size suffix.
68122 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68124         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68125         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68126         * sysdeps/x86_64/x32/shlib-versions: New file.
68128 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68130         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68131         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68132         Use _dl_fatal_printf instead.
68134 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68136         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68137         set if not set by the user.  Do not allow for being unset.
68138         * sysdeps/unix/sysv/linux/configure: Regenerated.
68140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68142         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68143         the `q' suffix from lea and replace .quad with ASM_ADDR.
68145 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68148         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68149         instead of $17.
68150         (PTR_DEMANGLE): Likewise.
68152 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68154         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68155         (LP_OP): Likewise.
68156         (ASM_ADDR): Likewise.
68157         (RAX_LP): Likewise.
68158         (RBP_LP): Likewise.
68159         (RBX_LP): Likewise.
68160         (RCX_LP): Likewise.
68161         (RDI_LP): Likewise.
68162         (RSI_LP): Likewise.
68163         (RSP_LP): Likewise.
68164         (R8_LP): Likewise.
68165         (R9_LP): Likewise.
68166         (R10_LP): Likewise.
68167         (R10_LP): Likewise.
68168         (R11_LP): Likewise.
68169         (R12_LP): Likewise.
68170         (R13_LP): Likewise.
68171         (R14_LP): Likewise.
68172         (R15_LP): Likewise.
68174 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68176         * sysdeps/x86_64/x32/dl-machine.h: New file.
68178 2012-05-14  Andreas Jaeger  <aj@suse.de>
68180         * manual/Makefile (subdir): Remove export of subdir.
68181         (all): Remove target.
68182         (.PHONY): Remove all from list.
68183         (mkinstalldirs): Remove.
68184         (.PHONY): Remove installdirs from list.
68185         ($(inst_infodir)/libc.info): Use make-target-directory.
68186         (installdirs): Remove.
68187         (subdir_%): Remove.
68188         (glibc-targets): Remove.
68189         (lib): Remove.
68190         (stubs): Remove.
68191         ($(objpfx)stubs ../po/manual.pot): Remove.
68192         ($(objpfx)stamp%): Remove.
68193         (make-target-directory): Remove.
68194         (subdir_install): Remove.
68195         (routines): Remove.
68196         (aux): Remove.
68197         (sources): Remove.
68198         (objects): Remove.
68199         (headers): Remove.
68201         [BZ #13750]
68202         * manual/.gitignore: Remove, it's not needed anymore.
68203         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68204         all files in it.
68205         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68206         directory.
68207         (texis): Renamed to $(objpfx)texis.
68208         (texis-path): New, contains path to generated files.
68209         (chapters.%): Use texis-path for complete path, add extra argument
68210         libc-texinfo.sh.
68211         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68212         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68213         (summary,texi, stamp-summary): Use complete path of
68214         files. Generate files in build dir.
68215         (dir-add.texi): Build in build dir.
68216         (libm-err.texi,stamp-libm-err): Likewise.
68217         (version.texi, stamp-version): Likewise.
68218         (.%c.texi): Likewise.
68219         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68220         (mostlyclean): Remove target.
68221         (realclean): Remove target.
68222         (generated): Add new variable with contents from mostlyclean and
68223         realclean, remove entries duplicated in common-mostlyclean, add
68224         stamp-libm-err and stamp-version.
68225         (generated-dirs): Add libc directory.
68226         ($(inst_infodir)/libc.info): Install files from build dir.
68228         * manual/install.texi (Configuring and compiling): Adjust since
68229         the info files are not part of the tar ball anymore.
68231 2012-05-14  Andreas Jaeger  <aj@suse.de>
68233         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68234         variable.
68236 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68238         [BZ #13717]
68239         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68240         to 2.2.0 where earlier.
68241         * sysdeps/unix/sysv/linux/configure: Regenerated.
68242         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68243         Remove conditional code.
68244         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68245         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68246         Remove conditional code.
68247         [!__NR_lchown]: Likewise.
68248         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68249         [__NR_lchown]: Likewise.
68250         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68251         comment referencing __ASSUME_LCHOWN_SYSCALL.
68252         * sysdeps/unix/sysv/linux/i386/sigaction.c
68253         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68254         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68255         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68256         Remove conditional code.
68257         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68258         (__protocol_available): Remove #if 0 code.
68259         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68260         conditional code.
68261         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68262         * sysdeps/unix/sysv/linux/kernel-features.h
68263         (__ASSUME_GETCWD_SYSCALL): Don't define.
68264         (__ASSUME_REALTIME_SIGNALS): Likewise.
68265         (__ASSUME_PREAD_SYSCALL): Likewise.
68266         (__ASSUME_PWRITE_SYSCALL): Likewise.
68267         (__ASSUME_POLL_SYSCALL): Likewise.
68268         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68269         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68270         non-SPARC.
68271         (__ASSUME_SIOCGIFNAME): Don't define.
68272         (__ASSUME_MSG_NOSIGNAL): Likewise.
68273         (__ASSUME_SENDFILE): Define unconditionally.
68274         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68275         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68276         conditional code.
68277         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68278         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68279         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68280         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68281         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68282         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68283         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68285         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68286         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68288         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68289         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68291         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68294         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68295         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68297         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68300         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68301         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68303         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68306         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68307         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68308         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68309         Remove conditional code.
68310         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68311         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68312         Remove conditional code.
68313         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68314         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68315         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68316         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68317         Remove conditional code.
68318         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68319         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68320         Remove conditional code.
68321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68322         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68323         Remove conditional code.
68324         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68325         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68326         Remove conditional code.
68327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68328         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68329         Remove conditional code.
68330         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68331         * sysdeps/unix/sysv/linux/sh/pwrite64.c
68332         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68333         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68334         * sysdeps/unix/sysv/linux/sigaction.c
68335         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68336         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68337         * sysdeps/unix/sysv/linux/sigpending.c
68338         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68339         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68340         * sysdeps/unix/sysv/linux/sigprocmask.c
68341         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68342         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68343         * sysdeps/unix/sysv/linux/sigsuspend.c
68344         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68345         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68346         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68347         (__libc_missing_rt_sigs): Remove.
68348         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68349         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68350         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68351         Remove conditional code.
68352         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68353         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68354         return 1.
68355         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68356         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68357         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68358         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68360 2012-05-14  Andreas Jaeger  <aj@suse.de>
68362         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68363         it's not used in glibc.
68364         (__coshm1): Likewise.
68365         (__acosh1p): Likewise.
68366         (__sgn): Likewise.
68368         * manual/string.texi (Copying and Concatenation): Add missing
68369         variable in concat example.
68370         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68372 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68374         [BZ #14103]
68375         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68376         __builtin_clzl with __builtin_clzll.
68378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68380         [BZ #14104]
68381         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68382         libc_freeres_ptr.
68384 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68386         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68387         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68388         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68389         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68391 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
68393         * NEWS: Update ia64 info.
68395 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
68397         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68398         used as bcopy.
68400 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
68402         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68403         * sysdeps/unix/syscalls.list (dup3): Likewise.
68404         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68405         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68407 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68409         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68410         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68412 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68414         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68415         thread pointer.
68416         (TLS_IE): Use mov/add instead of movq/addq to load thread
68417         pointer.
68418         (TLS_GD_PREFIX): New.
68419         (TLS_GD): Use it.
68421 2012-05-11  David S. Miller  <davem@davemloft.net>
68423         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68424         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68425         (_FPU_SETCW): Likewise.
68427 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68429         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68430         is 32-byte aligned.
68432 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
68434         [BZ #11837]
68435         * iconvdata/gb18030.c: Update tables.
68436         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
68437         characters specially.
68438         (BODY for TO_LOOP): Add encoding of missing ranges.
68440 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68442         [BZ #13673]
68443         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68444         * sysdeps/mach/hurd/dup3.c: Likewise.
68445         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68446         * sysdeps/powerpc/memmove.c:: Likewise.
68448 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68450         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68451         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68453 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68455         * elf/elf.h (R_X86_64_RELATIVE64): New.
68456         (R_X86_64_NUM): Updated.
68457         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68458         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68459         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68460         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68461         tst-quad1pie tst-quad2pie
68462         (modules-names): Add tst-quadmod1 tst-quadmod2.
68463         ($(objpfx)tst-quad1): New dependency.
68464         ($(objpfx)tst-quad2): Likewise.
68465         ($(objpfx)tst-quad1pie): Likewise.
68466         ($(objpfx)tst-quad2pie): Likewise.
68467         * sysdeps/x86_64/tst-quad1.c: New file.
68468         * sysdeps/x86_64/tst-quad1pie.c: New file.
68469         * sysdeps/x86_64/tst-quad2.c: Likewise.
68470         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68471         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68472         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68473         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68474         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68478         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68479         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68480         * streams/stropts.h (t_scalar_t): Define type.
68482         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68483         (_PATH_PRESERVE): Set to "/var/lib".
68484         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68486         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68487         instead of int.
68489         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68490         if __dir_mkfile succeeded.
68492         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68493         checking for _hurd_dtablesize.  Unlock it right after having
68494         finished _hurd_dtable allocation.
68496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68498         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68499         * sysdeps/mach/hurd/configure: Regenerated.
68500         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68501         special-casing to...
68502         * sysdeps/gnu/configure.in: ... this new file.
68503         * sysdeps/unix/sysv/linux/configure: Regenerated.
68504         * sysdeps/gnu/configure: New generated file.
68506         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68507         for Linux: use nsec instead of usec, as well as:
68508         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68509         members of type struct timespec.
68510         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68511         New macros.
68512         (struct stat64): Likewise.
68513         (_STATBUF_ST_NSEC): New macro.
68514         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68516         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68517         __strtoul_internal rather than strtoul.
68519 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68521         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68522         and reject them.
68524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68526         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68527         which preserves existing values.
68528         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68530 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68532         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68533         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68534         greater than FD_SETSIZE.
68536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68538         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68539         allocated, call __vm_protect to finish enabling the existing space, and
68540         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68541         allocate the remainder.
68543 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68545         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68546         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68550         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68551         sysdeps/mach/hurd/readlink.c.
68553         * posix/tst-sysconf.c (posix_options): Only use
68554         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68555         _POSIX_SYNCHRONIZED_IO when they are defined
68556         * sysdeps/mach/hurd/bits/posix_opt.h:
68557         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68558         (_XOPEN_REALTIME): Undefine macro.
68559         (_XOPEN_REALTIME_THREADS): Undefine macro.
68560         (_XOPEN_SHM): Undefine macro.
68561         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68562         macro to -1.
68563         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68564         macro to -1.
68565         (_POSIX_ASYNC_IO): Undefine macro.
68566         (_POSIX_PRIORITIZED_IO): Undefine macro.
68567         (_POSIX_SPIN_LOCKS): Define macro to -1.
68569         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68570         SA_NODEFER, SA_RESETHAND.
68571         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68572         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68573         F_DUPFD_CLOEXEC.
68575 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68577         * elf/Makefile (pldd-modules): Define unconditionally.
68579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68581         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68585         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68586         Return ENOENT when name is empty.
68587         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68591         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68593         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68595 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68597         Fix mlock in all cases except non-readable pages.
68598         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68599         instead of VM_PROT_ALL as parameter to __vm_wire function.
68601         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68602         (__mkdir): When path is `/', just fail with EEXIST.
68603         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68605 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68607         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68608         <sys/uio.h> (for writev).
68609         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68610         and <sys/param.h> (for MIN).
68612 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68614         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68615         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68616         if interrupted.
68618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68620         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68621         Depend on against $(link-rpcuserlibs).
68623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68625         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68626         (__libc_stack_end): Do not use attribute_relro.
68627         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68628         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68629         to libthread-provided value.
68630         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68631         attribute_relro.
68633 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68635         [BZ #3748]
68636         * bits/libc-lock.h (__libc_once_get): New macro.
68637         * sysdeps/mach/bits/libc-lock.h: Likewise.
68638         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68639         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68640         instead of using implementation details.
68642         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68643         * libio/freopen.c: Likewise.
68644         * libio/freopen64.c: Likewise.
68645         * misc/syslog.c: Likewise.
68646         * nscd/connections.c: Likewise.
68647         * nscd/netgroupcache.c: Likewise.
68648         * sysdeps/posix/getcwd.c: Likewise.
68650 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68652         * math/w_ilogbf.c: Add #include <limits.h>.
68654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68656         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68657         path instead of returning without unlocking.
68659         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68660         immediate-write ioctls.
68661         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68665         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68666         __builtin_frame_address instead of making assumptions about the
68667         location of the return address relative to DATA.  Force early load of
68668         the return address.
68669         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68670         __builtin_frame_address.
68672         dup3 for GNU Hurd.
68673         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68674         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68675         implement dup3 and do some further code clean-ups.
68676         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68677         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68681         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68683         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68684         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68685         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68686         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68687         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68688         d->port.lock.
68690         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68691         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68692         when handler == SIG_ERR, not when handler != SIG_ERR.
68694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68696         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68697         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68698         definitions.
68700         accept4 for GNU Hurd.
68701         * include/sys/socket.h (__libc_accept4): New prototype.
68702         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68703         to implement __libc_accept4.
68704         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68705         __libc_accept4.
68706         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68708         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68709         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68710         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68711         signal-defines.sym.
68713 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68715         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68717 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68719         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68720         assertion on O_CLOEXEC flag.
68721         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68722         * hurd/intern-fd.c: Likewise.
68723         * hurd/port2fd.c: Likewise.
68725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68727         [BZ #3906]
68728         * bits/in.h (IPV6_PKTINFO): Define new macro.
68729         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68731 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68733         [BZ #13954]
68734         [BZ #13955]
68735         [BZ #13956]
68736         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68737         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68738         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68739         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68741         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68742         * math/libm-test.inc (logb_test) : Additional logb tests.
68744 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68745             Andreas Jaeger  <aj@suse.de>
68747         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68748         * configure: Regenerated.
68749         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68750         * config.make.in (link-obsolete-rpc): New substituted variable.
68751         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68752         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68753         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68754         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68755         so that libc.a contains the symbols.
68756         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68757         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68758         * sunrpc/auth_none.c: Likewise.
68759         * sunrpc/auth_unix.c: Likewise.
68760         * sunrpc/authdes_prot.c: Likewise.
68761         * sunrpc/authuxprot.c: Likewise.
68762         * sunrpc/clnt_gen.c: Likewise.
68763         * sunrpc/clnt_perr.c: Likewise.
68764         * sunrpc/clnt_raw.c: Likewise.
68765         * sunrpc/clnt_simp.c: Likewise.
68766         * sunrpc/clnt_tcp.c: Likewise.
68767         * sunrpc/clnt_udp.c: Likewise.
68768         * sunrpc/clnt_unix.c: Likewise.
68769         * sunrpc/des_crypt.c: Likewise.
68770         * sunrpc/des_soft.c: Likewise.
68771         * sunrpc/get_myaddr.c: Likewise.
68772         * sunrpc/key_call.c: Likewise.
68773         * sunrpc/key_prot.c: Likewise.
68774         * sunrpc/netname.c: Likewise.
68775         * sunrpc/pm_getmaps.c: Likewise.
68776         * sunrpc/pm_getport.c: Likewise.
68777         * sunrpc/pmap_clnt.c: Likewise.
68778         * sunrpc/pmap_prot.c: Likewise.
68779         * sunrpc/pmap_prot2.c: Likewise.
68780         * sunrpc/pmap_rmt.c: Likewise.
68781         * sunrpc/publickey.c: Likewise.
68782         * sunrpc/rpc_cmsg.c: Likewise.
68783         * sunrpc/rpc_common.c: Likewise.
68784         * sunrpc/rpc_dtable.c: Likewise.
68785         * sunrpc/rpc_prot.c: Likewise.
68786         * sunrpc/rpc_thread.c: Likewise.
68787         * sunrpc/rtime.c: Likewise.
68788         * sunrpc/svc.c: Likewise.
68789         * sunrpc/svc_auth.c: Likewise.
68790         * sunrpc/svc_raw.c: Likewise.
68791         * sunrpc/svc_run.c: Likewise.
68792         * sunrpc/svc_tcp.c: Likewise.
68793         * sunrpc/svc_udp.c: Likewise.
68794         * sunrpc/svc_unix.c: Likewise.
68795         * sunrpc/svcauth_des.c: Likewise.
68796         * sunrpc/xcrypt.c: Likewise.
68797         * sunrpc/xdr.c: Likewise.
68798         * sunrpc/xdr_array.c: Likewise.
68799         * sunrpc/xdr_float.c: Likewise.
68800         * sunrpc/xdr_intXX_t.c: Likewise.
68801         * sunrpc/xdr_mem.c: Likewise.
68802         * sunrpc/xdr_rec.c: Likewise.
68803         * sunrpc/xdr_ref.c: Likewise.
68804         * sunrpc/xdr_sizeof.c: Likewise.
68805         * sunrpc/xdr_stdio.c: Likewise.
68807 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68809         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68810         change.  Update copyright years.
68812 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68814         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68816 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68817             Joseph Myers  <joseph@codesourcery.com>
68818             Paul Pluzhnikov  <ppluzhnikov@google.com>
68820         [BZ #14012]
68821         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68822         requiring rpcgen.
68823         [cross-compiling] (extra-libs): Likewise.
68824         [cross-compiling] (extra-libs-others): Likewise.
68825         [cross-compiling] (librpcsvc-routines): Likewise.
68826         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68827         [cross-compiling] (omit-deps): Likewise.
68828         (sunrpc-CPPFLAGS): New variable.
68829         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68830         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68831         (cross-rpcgen-objs): New variable.
68832         (extra-objs): Append $(cross-rpcgen-objs).
68833         ($(cross-rpcgen-objs)): New rule.
68834         ($(objpfx)cross-rpcgen): Likewise.
68835         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68836         comment.
68837         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68838         ($(objpfx)x%.stmp): Likewise.
68839         * sunrpc/proto.h [IS_IN_build] (_): Define.
68840         [IS_IN_build] (_libc_intl_domainname): Likewise.
68842 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68844         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68845         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68846         and R_X86_64_TPOFF64.
68848 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68850         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68851         sysdeps/unix/sysv/syscalls.list.
68852         (stime): Likewise.
68853         (utime): Likewise.
68854         * sysdeps/unix/sysv/syscalls.list: Remove file.
68856 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68858         [BZ #3440]
68859         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68860         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68861         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68862         (__LC_IDENTIFICATION): Make these macros useful in #if
68863         expressions, as required by C99.
68865 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68867         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68868         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68869         after this.
68871 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68873         * stdlib/longlong.h: Updated from GCC.
68875 2012-05-09  Andreas Jaeger  <aj@suse.de>
68877         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68878         default is first entry.
68879         (run_mode): Set type.
68880         (main): Remove informal message about syslog.
68881         (options): Fix typo.
68883         [BZ #14053]
68884         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68885         to asm.
68886         (lrint): Likewise.
68887         (llrintf): Likewise.
68888         (llrint): Likewise.
68889         (rint): Likewise.
68890         (rintf): Likewise.
68891         (nearbyint): Likewise.
68892         (nearbyintf): Likewise.
68894 2012-05-09  Andreas Jaeger  <aj@suse.de>
68895             Pedro Alves  <palves@redhat.com>
68897         * nscd/nscd.c (run_mode): Use enum.
68898         (main): Cleanup coding style issue.
68900 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68901             Andreas Jaeger  <aj@suse.de>
68903         * nscd/nscd.c (go_background): Replaced with...
68904         (run_mode): ... this.
68905         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68906         (options): Add -F --foreground.
68907         (main): Implement it.
68908         (parse_opt): Parse it.
68910 2012-05-09  Andreas Jaeger  <aj@suse.de>
68912         [BZ #14083]
68913         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68914         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68915         -Wconversion warning.
68916         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68917         Likewise.
68919 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68921         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68922         == 0.
68923         (LC_ALL): Use macro-int-constant.
68924         (LC_COLLATE): Likewise.
68925         (LC_CTYPE): Likewise.
68926         (LC_MESSAGES): Likewise.
68927         (LC_MONETARY): Likewise.
68928         (LC_NUMERIC): Likewise.
68929         (LC_TIME): Likewise.
68930         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68931         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68932         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68933         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68934         Specify type.
68935         [C99-based standards] (float_t): Expect type.
68936         [C99-based standards] (double_t): Expect type.
68937         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68938         type.
68939         [C99-based standards] (HUGE_VALL): Likewise.
68940         [C99-based standards] (INFINITY): Likewise.
68941         [C99-based standards] (NAN): Likewise.
68942         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68943         [C99-based standards] (FP_NAN): Likewise.
68944         [C99-based standards] (FP_NORMAL): Likewise.
68945         [C99-based standards] (FP_SUBNORMAL): Likewise.
68946         [C99-based standards] (FP_ZERO): Likewise.
68947         [C99-based standards] (FP_FAST_FMA): Use
68948         optional-macro-int-constant.  Specify type.  Require == 1.
68949         [C99-based standards] (FP_FAST_FMAF): Likewise.
68950         [C99-based standards] (FP_FAST_FMAL): Likewise.
68951         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68952         [C99-based standards] (FP_ILOGBNAN): Likewise.
68953         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68954         Specify type.
68955         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68956         [C99-based standards] (math_errhandling): Specify type.
68957         [ISO99 || ISO11] (signgam): Do not allow.
68958         [non-C99-based standards] (copysignf): Do not allow.
68959         [non-C99-based standards] (exp2f): Likewise.
68960         [non-C99-based standards] (log2f): Likewise.
68961         [non-C99-based standards] (modff): Allow.
68962         [non-C99-based standards] (erff): Do not allow.
68963         [non-C99-based standards] (erfcf): Likewise.
68964         [non-C99-based standards] (gammaf): Likewise.
68965         [non-C99-based standards] (hypotf): Likewise.
68966         [non-C99-based standards] (j0f): Likewise.
68967         [non-C99-based standards] (j1f): Likewise.
68968         [non-C99-based standards] (jnf): Likewise.
68969         [non-C99-based standards] (lgammaf): Likewise.
68970         [non-C99-based standards] (tgammaf): Likewise.
68971         [non-C99-based standards] (y0f): Likewise.
68972         [non-C99-based standards] (y1f): Likewise.
68973         [non-C99-based standards] (ynf): Likewise.
68974         [non-C99-based standards] (isnanf): Likewise.
68975         [non-C99-based standards] (acoshf): Likewise.
68976         [non-C99-based standards] (asinhf): Likewise.
68977         [non-C99-based standards] (atanhf): Likewise.
68978         [non-C99-based standards] (cbrtf): Likewise.
68979         [non-C99-based standards] (expm1f): Likewise.
68980         [non-C99-based standards] (ilogbf): Likewise.
68981         [non-C99-based standards] (log1pf): Likewise.
68982         [non-C99-based standards] (logbf): Likewise.
68983         [non-C99-based standards] (nextafterf): Likewise.
68984         [non-C99-based standards] (remainderf): Likewise.
68985         [non-C99-based standards] (rintf): Likewise.
68986         [non-C99-based standards] (scalbf): Likewise.
68987         [non-C99-based standards] (copysignl): Likewise.
68988         [non-C99-based standards] (exp2l): Likewise.
68989         [non-C99-based standards] (log2l): Likewise.
68990         [non-C99-based standards] (modfl): Allow.
68991         [non-C99-based standards] (erfl): Do not allow.
68992         [non-C99-based standards] (erfcl): Likewise.
68993         [non-C99-based standards] (gammal): Likewise.
68994         [non-C99-based standards] (hypotl): Likewise.
68995         [non-C99-based standards] (j0l): Likewise.
68996         [non-C99-based standards] (j1l): Likewise.
68997         [non-C99-based standards] (jnl): Likewise.
68998         [non-C99-based standards] (lgammal): Likewise.
68999         [non-C99-based standards] (tgammal): Likewise.
69000         [non-C99-based standards] (y0l): Likewise.
69001         [non-C99-based standards] (y1l): Likewise.
69002         [non-C99-based standards] (ynl): Likewise.
69003         [non-C99-based standards] (isnanl): Likewise.
69004         [non-C99-based standards] (acoshl): Likewise.
69005         [non-C99-based standards] (asinhl): Likewise.
69006         [non-C99-based standards] (atanhl): Likewise.
69007         [non-C99-based standards] (cbrtl): Likewise.
69008         [non-C99-based standards] (expm1l): Likewise.
69009         [non-C99-based standards] (ilogbl): Likewise.
69010         [non-C99-based standards] (log1pl): Likewise.
69011         [non-C99-based standards] (logbl): Likewise.
69012         [non-C99-based standards] (nextafterl): Likewise.
69013         [non-C99-based standards] (remainderl): Likewise.
69014         [non-C99-based standards] (rintl): Likewise.
69015         [non-C99-based standards] (scalbl): Likewise.
69016         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69017         [non-C99-based standards] (FP_*): Do not allow.
69018         [C99-based standards] (FP_*): Change to
69019         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69020         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69021         allow.
69022         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69023         (SIG_ERR): Likewise.
69024         [X/Open-based standards] (SIG_HOLD): Likewise.
69025         (SIG_IGN): Likewise.
69026         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69027         positive value.
69028         (SIGFPE): Likewise.
69029         (SIGILL): Likewise.
69030         (SIGINT): Likewise.
69031         (SIGSEGV): Likewise.
69032         (SIGTER): Likewise.
69033         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69034         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69035         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69036         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69037         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69038         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69039         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69040         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69041         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69042         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69043         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69044         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69045         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69046         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69047         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69048         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69049         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69050         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69051         [X/Open-based standards] (SIGTRAP): Likewise.
69052         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69053         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69054         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69055         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69056         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69057         allow.
69059 2012-05-08  Ian Wienand  <ianw@vmware.com>
69061         [BZ #14080]
69062         * time/tzset.c (__tzset_parse_tz): Update default rules for
69063         daylight time changes in the Energy Policy Act of 2005.
69065 2012-05-09  Andreas Jaeger  <aj@suse.de>
69067         [BZ #13983]
69068         * elf/ldconfig.c (parse_conf): Change string to make clear that
69069         ldconfig only issued a warning if ld.so.conf does not exist.
69071 2012-05-08  David S. Miller  <davem@davemloft.net>
69073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69074         movxtod instead of popping the value on the stack.
69076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69078 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69080         * config.h.in: Add HAVE_ARM_PCS_VFP.
69082 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69084         [BZ #13979]
69085         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69086         checking but the checks are disabled for any reason.
69088 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69090         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69091         and ELF64_R_TYPE with ELFW(R_TYPE).
69093 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69095         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69096         (ulimit): Likewise.
69098         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69099         (settimeofday): Likewise.
69101 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69103         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69104         a struct th_u2 inside the union, and move tu_block/tu_code into
69105         a new th_u3 union of tu_block/tu_code inside of that.  Move
69106         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69107         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69108         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69109         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69110         (th_stuff): Change to th_u1.tu_stuff.
69111         (th_data): Define.
69112         (th_msg): Change to th_u1.th_u2.tu_data.
69114 2012-05-07  David S. Miller  <davem@davemloft.net>
69116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69118         [BZ #14074]
69119         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69120         (SETUP_PIC_REG): Use it.
69121         (SETUP_PIC_REG_LEAF): Use it.
69123 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69125         [BZ #13885]
69126         [BZ #13923]
69127         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69128         USE_AS_EXPM1L.
69129         (EXPL_FINITE): Likewise.
69130         (FLDLOG): Likewise.
69131         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69132         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69133         e_expl.S.
69134         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69135         USE_AS_EXPM1L.
69136         (EXPL_FINITE): Likewise.
69137         (FLDLOG): Likewise.
69138         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69139         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69140         e_expl.S.
69141         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69142         test of -max_value argument for long double.
69143         * sysdeps/i386/fpu/libm-test-ulps: Update.
69144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69146 2012-05-06  David S. Miller  <davem@davemloft.net>
69148         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69149         quad soft-float symbols whose references which are compiler
69150         generated.
69151         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69153 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69155         [BZ #13884]
69156         [BZ #13914]
69157         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69158         USE_AS_EXP10L.
69159         (EXPL_FINITE): Likewise.
69160         (FLDLOG): Likewise.
69161         (c0): Likewise.
69162         (c1): Likewise.
69163         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69164         Adjust comments for base varying.
69165         (__expl_finite): Change alias to EXPL_FINITE.
69166         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69167         e_expl.S.
69168         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69169         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69170         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69171         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69172         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69173         USE_AS_EXP10L.
69174         (EXPL_FINITE): Likewise.
69175         (FLDLOG): Likewise.
69176         (c0): Likewise.
69177         (c1): Likewise.
69178         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69179         Adjust comments for base varying.
69180         (__expl_finite): Change alias to EXPL_FINITE.
69181         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69182         tests for bugs.
69183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69185         [BZ #14064]
69186         * math/libm-test.inc (check_float_internal): Correct ulp
69187         calculation for subnormal expected results.
69189 2012-05-06  Andreas Jaeger  <aj@suse.de>
69191         * Makeconfig (+math-flags): New, set to -frounding-math.
69192         (+cflags): Add +math-flags so that all of glibc gets compiled with
69193         it.
69195         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69197 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69199         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69200         Disable one test.
69202         [BZ #13787]
69203         [BZ #13922]
69204         [BZ #14036]
69205         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69206         (__ieee754_expl): Allow for and saturate large arguments.
69207         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69208         (u_threshold): Likewise.
69209         (__exp): Call __ieee754_exp before checking for overflow and
69210         underflow.
69211         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69212         (u_threshold): Likewise.
69213         (__expf): Call __ieee754_expf before checking for overflow and
69214         underflow.
69215         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69216         (u_threshold): Likewise.
69217         (__expl): Call __ieee754_expl before checking for overflow and
69218         underflow.
69219         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69220         (__ieee754_expl): Allow for and saturate large arguments.
69221         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69222         missing overflow exception on overflow.
69223         (expm1_test): Do not allow missing overflow exception on overflow.
69225         * sysdeps/i386/fpu/e_expl.c: Move to ...
69226         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69227         rather than using inline asm.
69228         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69229         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69230         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69232         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69233         (nice): Likewise.
69234         (poll): Likewise.
69235         (signal): Likewise.
69236         (time): Likewise.
69237         (times): Likewise.
69239 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69241         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69242         sysdeps/unix/common/syscalls.list.
69243         (fchmod): Likewise.
69244         (fchown): Likewise.
69245         (ftruncate): Likewise.
69246         (getrusage): Likewise.
69247         (gettimeofday): Likewise.
69248         (setpgid): Likewise.
69249         (setregid): Likewise.
69250         (setreuid): Likewise.
69251         (sigaction): Likewise.
69252         (truncate): Likewise.
69253         (vhangup): Likewise.
69254         * sysdeps/unix/common/syscalls.list: Remove file.
69255         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69256         * sysdeps/unix/sysv/linux/Implies: Likewise.
69258 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69260         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69262         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69263         Moved to ...
69264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69265         Here.
69266         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69267         to ...
69268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69269         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69270         to ...
69271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69272         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69273         to ...
69274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69275         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69276         to ...
69277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69278         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69279         to ...
69280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69281         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69282         to ...
69283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69284         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69285         to ...
69286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69287         Here.
69288         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69289         to ...
69290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69291         Here.
69292         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69293         to ...
69294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69295         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69296         Moved to ...
69297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69298         Here.
69299         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69300         to ...
69301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69303 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69305         * sysdeps/unix/common/bits/dirent.h: Remove file.
69306         * sysdeps/unix/common/bits/fcntl.h: Likewise.
69308         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69309         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69310         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69311         * sysdeps/unix/bsd/isatty.c: Likewise.
69312         * sysdeps/unix/bsd/tcdrain.c: Likewise.
69313         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69314         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69316 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69318         [BZ #13563]
69319         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69320         long double comparison inaccuracies.
69321         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69324 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
69326         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69327         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69329 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69331         [BZ #14049]
69332         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69333         nonzero digits before rounding a hex value.
69334         * stdlib/tst-strtod.c (tests): Add another test.
69336 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69338         * sysdeps/s390/fpu/libm-test-ulps: Update.
69340 2012-05-03  Andreas Jaeger  <aj@suse.de>
69342         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69343         does not get optimized out.
69344         (malloc_opt_barrier): New.
69346 2012-05-03  Andreas Jaeger  <aj@suse.de>
69347             Roland McGrath  <roland@hack.frob.com>
69349         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69350         intermediate file deletion.
69351         (generated): Add .symlist files.
69353 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
69355         [BZ #13775]
69356         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69357         Redirect under this condition.
69358         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69359         [__USE_GNU] (__dprintf_chk): Not under this condition.
69360         [__USE_GNU] (__vdprintf_chk): Likewise.
69361         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69362         under this condition.
69363         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69364         [__USE_XOPEN2K8] (dprintf): Define under this condition.
69365         [__USE_XOPEN2K8] (vdprintf): Likewise.
69366         [__USE_GNU] (__dprintf_chk): Not under this condition.
69367         [__USE_GNU] (__vdprintf_chk): Likewise.
69368         [__USE_GNU] (dprintf): Likewise.
69369         [__USE_GNU] (vdprintf): Likewise.
69371 2012-05-03  Roland McGrath  <roland@hack.frob.com>
69373         * elf/Makefile (common-generated): Set this instead of generated for
69374         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
69375         $(all-built-dso)-derived lists.
69377 2012-05-03  Andreas Jaeger  <aj@suse.de>
69379         * sysdeps/i386/fpu/libm-test-ulps: Update.
69381         * FAQ: Removed.
69382         * FAQ.in: Likewise.
69383         * scripts/gen-FAQ.pl: Likewise.
69384         * manual/install.texi (Installation): Point to online location of
69385         FAQ.
69386         * Makefile (files-for-dist): Remove FAQ.
69387         (FAQ): Remove.
69389 2012-05-02  Allan McRae  <allan@archlinux.org>
69391         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69392         (LDFLAGS-reldepmod5.so): Likewise.
69393         (LDFLAGS-reldep6mod1.so): Likewise.
69394         (LDFLAGS-reldep6mod4.so): Likewise.
69395         (LDFLAGS-reldep8mod3.so): Likewise.
69396         (LDFLAGS-unload4mod1.so): Likewise.
69397         (LDFLAGS-unload4mod2.so): Likewise.
69398         (LDFLAGS-tst-initorder): Likewise.
69399         (LDFLAGS-tst-initordera2.so): Likewise.
69400         (LDFLAGS-tst-initordera3.so): Likewise.
69401         (LDFLAGS-tst-initordera4.so): Likewise.
69402         (LDFLAGS-tst-initorderb2.so): Likewise.
69403         (LDFLAGS-noload): Likewise.
69404         (LDFLAGS-next): Likewise.
69405         (LDFLAGS-order2mod1.so): Likewise.
69406         (LDFLAGS-order2mod2.so): Likewise.
69407         (LDFLAGS-tst-initorder2): Likewise.
69408         (LDFLAGS-tst-initorder2a.so): Likewise.
69409         (LDFLAGS-tst-initorder2b.so): Likewise.
69410         (LDFLAGS-tst-initorder2c.so): Likewise.
69411         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69413 2012-05-02  David S. Miller  <davem@davemloft.net>
69415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69417 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
69419         [BZ #14055]
69420         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69422 2012-05-02  Andreas Jaeger  <aj@suse.de>
69424         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69425         since we manipulate rounding mode.
69426         (CPPFLAGS-test-idouble.c): Likewise.
69427         (CPPFLAGS-test-ifloat.c): Likewise.
69428         (CFLAGS-test-ldouble.c): Likewise.
69429         (CFLAGS-test-double.c): Likewise.
69430         (CFLAGS-test-float.c): Likewise.
69431         (CFLAGS-test-misc.c): Likewise.
69432         (CFLAGS-test-test-fenv.c): Likewise.
69434 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69436         [BZ #2550]
69437         [BZ #2570]
69438         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69439         comparisons to determine direction to adjust input.
69441 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69443         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69444         output to the target.
69446         * scripts/localplt.awk: New file.
69447         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69448         (check-localplt-CFLAGS): Variable removed.
69449         ($(all-built-dso:=.jmprel)): New static pattern rule.
69450         (generated): Add those targets.
69451         (localplt-built-dso): New variable.
69452         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69454         * elf/check-localplt.c: File removed.
69456         * scripts/check-execstack.awk: New file.
69457         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69458         (check-execstack-CFLAGS): Variable removed.
69459         ($(objpfx)check-execstack.h): Target removed.
69460         ($(objpfx)execstack-default): New target.
69461         (generated): Add that instead of check-execstack.h.
69462         ($(all-built-dso:=.phdr)): New static pattern rule.
69463         (generated): Add those targets.
69464         * elf/check-execstack.c: File removed.
69466         * scripts/check-textrel.awk: New file.
69467         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69468         (check-textrel-CFLAGS): Variable removed.
69469         (all-built-dso): Use := to define.o
69470         ($(all-built-dso:=.dyn)): New static pattern rule.
69471         (generated): Add those targets.
69472         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69473         * config.make.in (READELF): New substituted variable.
69474         * elf/check-textrel.c: File removed.
69476 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69478         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69479         allow.
69480         * conform/data/ctype.h-data [C99-based standards] (isblank):
69481         Expect function.
69482         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69483         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69484         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69485         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69486         Specify type.  Require positive value.
69487         (EILSEQ): Likewise.
69488         (ERANGE): Likewise.
69489         [ISO || POSIX] (EILSEQ): Do not expect.
69490         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69491         Specify type.  Require positive value.
69492         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69493         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69494         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69495         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69496         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69497         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69498         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69499         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69500         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69501         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69502         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69503         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69504         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69505         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69506         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69507         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69508         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69509         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69510         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69511         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69512         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69513         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69514         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69515         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69516         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69517         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69518         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69519         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69520         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69521         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69522         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69523         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69524         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69525         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69526         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69527         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69528         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69529         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69530         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69531         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69532         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69533         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69534         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69535         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69536         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69537         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69538         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69539         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69540         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69541         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69542         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69543         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69544         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69545         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69546         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69547         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69548         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69549         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69550         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69551         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69552         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69553         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69554         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69555         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69556         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69557         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69558         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69559         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69560         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69561         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69562         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69563         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69564         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69565         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69566         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69567         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69568         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69569         Require >= 2.
69570         (FLT_ROUNDS): Expect as macro, not constant.
69571         (FLT_MANT_DIG): Use macro-int-constant.
69572         (DBL_MANT_DIG): Likewise.
69573         (LDBL_MANT_DIG): Likewise.
69574         (FLT_DIG): Likewise.
69575         (DBL_DIG): Likewise.
69576         (LDBL_DIG): Likewise.
69577         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69578         (DBL_MIN_EXP): Likewise.
69579         (LDBL_MIN_EXP): Likewise.
69580         (FLT_MAX_EXP): Use macro-int-constant.
69581         (DBL_MAX_EXP): Likewise.
69582         (LDBL_MAX_EXP): Likewise.
69583         (FLT_MAX_10_EXP): Likewise.
69584         (DBL_MAX_10_EXP): Likewise.
69585         (LDBL_MAX_10_EXP): Likewise.
69586         (FLT_MAX): Use macro-constant.
69587         (DBL_MAX): Likewise.
69588         (LDBL_MAX): Likewise.
69589         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69590         (DBL_EPSILON): Likewise.
69591         (LDBL_EPSILON): Likewise.
69592         (FLT_MIN): Likewise.
69593         (DBL_MIN): Likewise.
69594         (LDBL_MIN): Likewise.
69595         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69596         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69597         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69598         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69599         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69600         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69601         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69602         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69603         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69604         [ISO11] (FLT_TRUE_MIN): Likewise.
69605         [ISO11] (LDBL_TRUE_MIN): Likewise.
69606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69607         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69608         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69609         (SCHAR_MAX): Likewise.
69610         (UCHAR_MAX): Likewise.
69611         (CHAR_MIN): Likewise.
69612         (CHAR_MAX): Likewise.
69613         (MB_LEN_MAX): Use macro-int-constant.
69614         (SHRT_MIN): Use macro-int-constant.  Specify type.
69615         (SHRT_MAX): Likewise.
69616         (USHRT_MAX): Likewise.
69617         (INT_MAX): Likewise.
69618         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69619         bound negative.
69620         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69621         bound with "U".
69622         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69623         bound with "L".
69624         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69625         bound negative.  Suffix upper bound with "L".
69626         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69627         bound with "UL".
69628         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69629         Specify type.
69630         [C99-based standards] (LLONG_MAX): Likewise.
69631         [C99-based standards] (ULLONG_MAX): Likewise.
69632         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69633         == 0.
69634         [ISO11] (max_align_t): Require type.
69635         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69637         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69638         from $CFLAGS, without defining away __attribute__ calls.
69639         (checknamespace): Use $CFLAGS_namespace.
69641         * conform/conformtest.pl (@keywords): Only include C99 keywords
69642         for standards based on C99 or C11.
69644         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69645         Disable tests.
69646         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69647         UNIX98]: Likewise.
69649         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69650         usability of symbols in #if.
69652         * conform/conformtest.pl: If macro or constant types start
69653         "promoted:", expect the symbol to be of the following type
69654         promoted by the integer promotions.
69656         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69657         in one place.  Also handle "macro-constant".
69659         * conform/conformtest.pl: Only accept expected macro values with
69660         "==".  Parse all "macro" lines in one place.
69661         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69663         * conform/conformtest.pl: Handle braced types on "constant" lines
69664         instead of handling "typed-constant".
69665         * conform/data/signal.h-data: Use "constant" instead of
69666         "typed-constant".
69668         * conform/conformtest.pl: Handle "optional-" at start of lines in
69669         one place rather than duplicating several cases.  Handle each
69670         format of "macro" line with initial "optional-".
69672         * conform/conformtest.pl: Only accept expected constant or
69673         optional-constant values with "==".  Parse all "constant" lines in
69674         one place.  Parse all "optional-constant" lines in one place.
69675         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69676         * conform/data/fmtmsg.h-data: Likewise.
69677         * conform/data/netinet/in.h-data: Likewise.
69678         * conform/data/tar.h-data: Likewise.
69679         * conform/data/limits.h-data: Use "==" form on "constant" and
69680         "optional-constant" lines.
69682         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69683         Use -std=c99 for XOPEN2K.
69684         (@knownproblems): Remove.
69685         (newtoken): Don't check %isknown.
69687         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69688         Do not expect macro.
69689         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69690         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69691         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69692         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69693         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69694         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69695         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69696         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69697         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69698         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69699         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69700         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69701         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69702         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69703         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69704         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69705         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69706         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69707         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69708         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69709         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69710         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69711         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69712         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69713         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69714         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69715         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69716         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69717         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69718         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69719         [XPG3] (acosh): Likewise.
69720         [XPG3] (asinh): Likewise.
69721         [XPG3] (atanh): Likewise.
69722         [XPG3] (cbrt): Likewise.
69723         [XPG3] (expm1): Likewise.
69724         [XPG3] (ilogb): Likewise.
69725         [XPG3] (log1p): Likewise.
69726         [XPG3] (logb): Likewise.
69727         [XPG3] (nextafter): Likewise.
69728         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69729         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69730         [XPG3] (remainder): Likewise.
69731         [XPG3] (rint): Likewise.
69732         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69733         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69734         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69735         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69736         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69737         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69738         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69739         [UNIX98 || XOPEN2K] (scalb): Expect.
69740         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69741         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69742         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69743         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69744         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69745         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69746         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69747         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69748         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69749         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69750         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69751         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69752         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69753         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69754         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69755         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69756         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69757         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69758         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69759         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69760         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69761         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69762         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69763         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69764         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69765         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69766         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69767         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69768         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69769         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69770         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69771         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69772         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69773         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69774         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69775         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69776         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69777         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69778         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69779         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69780         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69781         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69782         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69783         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69784         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69785         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69786         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69787         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69788         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69789         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69790         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69791         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69792         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69793         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69794         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69795         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69796         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69797         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69798         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69799         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69800         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69801         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69802         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69803         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69804         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69805         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69806         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69807         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69808         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69809         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69810         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69811         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69812         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69813         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69814         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69815         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69816         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69817         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69818         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69819         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69820         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69821         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69822         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69823         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69824         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69825         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69826         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69827         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69828         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69829         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69830         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69831         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69832         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69833         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69834         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69835         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69836         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69837         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69838         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69839         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69840         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69841         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69842         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69843         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69844         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69845         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69846         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69847         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69848         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69849         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69850         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69851         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69852         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69853         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69854         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69855         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69856         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69857         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69858         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69859         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69860         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69861         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69862         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69863         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69864         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69865         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69866         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69867         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69868         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69869         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69870         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69871         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69872         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69873         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69874         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69875         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69876         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69878         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69879         _XOPEN_SOURCE_EXTENDED for XPG4.
69881         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69883         * Makeconfig (localtime): Remove variable.
69884         (inst_localtime-file): Likewise.
69886 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69889         Update.
69890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69891         Update.
69892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69893         Update.
69894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69895         Update.
69896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69897         Update.
69898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69899         Update.
69900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69901         Update.
69902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69903         Update.
69904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69905         Update.
69907 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69909         [BZ #2550]
69910         [BZ #2570]
69911         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69912         comparisons to determine direction to adjust input.
69913         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69914         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69915         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69916         Likewise.
69917         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69918         Likewise.
69919         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69920         Likewise.
69921         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69922         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69923         Likewise.
69924         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69925         Likewise.
69926         * math/libm-test.inc (nexttoward_test): Add more tests.
69928 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69930         [BZ #14040]
69931         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69932         in version GLIBC_2.1, not GLIBC_2.0.
69933         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69934         Likewise.
69936 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69938         [BZ #13942]
69939         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69940         (1 - x) * (1 + x).
69941         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69942         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69943         * math/libm-test.inc (acos_test): Add more tests.
69944         (asin_test): Likewise.
69945         * sysdeps/i386/fpu/libm-test-ulps: Update.
69946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69948         [BZ #14034]
69949         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69950         of square root.
69951         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69952         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69953         * math/libm-test.inc (acos_test_tonearest): New function.
69954         (acos_test_towardzero): Likewise.
69955         (acos_test_downward): Likewise.
69956         (acos_test_upward): Likewise.
69957         (asin_test_tonearest): Likewise.
69958         (asin_test_towardzero): Likewise.
69959         (asin_test_downward): Likewise.
69960         (asin_test_upward): Likewise.
69961         (main): Call the new functions.
69962         * sysdeps/i386/fpu/libm-test-ulps: Update.
69963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69965         [BZ #13884]
69966         [BZ #13924]
69967         * math/e_exp10.c: Include <float.h>.
69968         (__ieee754_exp10): Handle underflow here rather than multiplying
69969         large negative argument by M_LN10.
69970         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69971         of __ieee754_expf.
69972         * math/e_exp10l.c: Include <float.h>.
69973         (__ieee754_exp10l): Handle underflow here rather than multiplying
69974         large negative argument by M_LN10l.
69975         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69976         spurious overflow exception on underflow.
69978 2012-04-29  Marek Polacek  <polacek@redhat.com>
69980         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69981         (__fortify_function): New macro.
69982         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69983         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69984         __extern_always_inline.
69985         * libio/bits/stdio2.h: Likewise.
69986         * libio/bits/stdio.h: Likewise.
69987         * string/string.h: Likewise.
69988         * string/bits/string3.h: Likewise.
69989         * include/stdio.h: Likewise.
69990         * stdlib/bits/stdlib.h: Likewise.
69991         * stdlib/stdlib.h: Likewise.
69992         * rt/bits/mqueue2.h: Likewise.
69993         * rt/mqueue.h: Likewise.
69994         * posix/bits/unistd.h: Likewise.
69995         * posix/unistd.h: Likewise.
69996         * io/bits/poll2.h: Likewise.
69997         * io/bits/fcntl2.h: Likewise.
69998         * io/fcntl.h: Likewise.
69999         * io/sys/poll.h: Likewise.
70000         * misc/bits/syslog.h: Likewise.
70001         * misc/bits/syslog-ldbl.h: Likewise.
70002         * misc/sys/syslog.h: Likewise.
70003         * socket/bits/socket2.h: Likewise.
70004         * socket/sys/socket.h: Likewise.
70005         * debug/tst-chk1.c: Likewise.
70006         * wcsmbs/bits/wchar2.h: Likewise.
70007         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70008         * wcsmbs/wchar.h: Likewise.
70010 2012-04-29  Andreas Jaeger  <aj@suse.de>
70012         * Makerules (tests): Remove enable-check-abi protection.
70013         (check-abi-warn): Remove.
70014         (check-abi-%): Remove check-abi-warn usage.
70016         * configure.in: Remove check-abi configure option.
70017         * configure: Regenerated.
70018         * config.make.in (enable-check-abi): Remove.
70020 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70022         [BZ #14033]
70023         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70024         double functions to double *_finite functions.
70026         [BZ #13941]
70027         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70028         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70029         LDBL_MIN_EXP.
70030         * stdio-common/Makefile (tests): Add tst-sprintf3.
70031         * stdio-common/tst-sprintf3.c: New file.
70033         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70034         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70036 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70038         * conform/conformtest.pl: Remove duplicate typed-constant
70039         handling.
70041 2012-04-28  David S. Miller  <davem@davemloft.net>
70043         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70044         (check-abi-%): Remove AWK script prerequisite and explicit
70045         abilist directory.
70046         (check-abi): Rewrite to just diff the symlist with the abilist.
70047         (config-tls, config-abi-config): Delete, no longer used.
70048         (update-abi-%): Remove AWK script and explicit abilist directory.
70049         (update-abi): Rewrite to simply compare and conditionally copy the
70050         symlist and the sysdep abilist file.  Remove update-abi-config
70051         checks.
70052         * abilist/ld.abilist: Remove.
70053         * abilist/libBrokenLocale.abilist: Remove.
70054         * abilist/libanl.abilist: Remove.
70055         * abilist/libcrypt.abilist: Remove.
70056         * abilist/libdl.abilist: Remove.
70057         * abilist/librt.abilist: Remove.
70058         * abilist/libthread_db.abilist: Remove.
70059         * abilist/libutil.abilist: Remove.
70060         * scripts/extract-abilist.awk: Remove.
70061         * scripts/merge-abilist.awk: Remove.
70062         * sysdeps/generic/libcidn.abilist: New file.
70063         * sysdeps/generic/libnss_compat.abilist: New file.
70064         * sysdeps/generic/libnss_db.abilist: New file.
70065         * sysdeps/generic/libnss_dns.abilist: New file.
70066         * sysdeps/generic/libnss_files.abilist: New file.
70067         * sysdeps/generic/libnss_hesiod.abilist: New file.
70068         * sysdeps/generic/libnss_nis.abilist: New file.
70069         * sysdeps/generic/libnss_nisplus.abilist: New file.
70070         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70071         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70072         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70073         file.
70074         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70075         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70076         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70077         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70078         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70079         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70080         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70081         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70082         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70083         file.
70084         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70085         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70086         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70087         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70088         file.
70089         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70090         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70091         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70092         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70093         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70094         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70095         file.
70096         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70097         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70098         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70099         file.
70100         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70102         New file.
70103         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70104         New file.
70105         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70106         New file.
70107         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70108         New file.
70109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70110         New file.
70111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70112         New file.
70113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70114         New file.
70115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70116         New file.
70117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70118         New file.
70119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70120         New file.
70121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70122         New file.
70123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70124         New file.
70125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70126         New file.
70127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70128         file.
70129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70130         New file.
70131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70132         New file.
70133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70134         file.
70135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70136         New file.
70137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70138         New file.
70139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70140         file.
70141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70142         New file.
70143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70144         New file.
70145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70146         New file.
70147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70148         New file.
70149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70150         New file.
70151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70152         New file.
70153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70155         file.
70156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70157         New file.
70158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70159         file.
70160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70161         file.
70162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70163         file.
70164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70165         file.
70166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70167         file.
70168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70169         New file.
70170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70171         file.
70172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70173         file.
70174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70175         New file.
70176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70177         file.
70178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70180         file.
70181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70182         New file.
70183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70184         file.
70185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70186         file.
70187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70188         file.
70189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70190         file.
70191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70192         file.
70193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70194         New file.
70195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70196         file.
70197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70198         file.
70199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70200         New file.
70201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70202         file.
70203         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70204         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70205         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70206         file.
70207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70208         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70209         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70210         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70211         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70212         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70213         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70214         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70215         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70216         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70219         file.
70220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70221         New file.
70222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70223         file.
70224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70225         file.
70226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70227         file.
70228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70229         file.
70230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70231         file.
70232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70233         New file.
70234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70235         New file.
70236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70237         file.
70238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70239         New file.
70240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70241         file.
70242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70244         file.
70245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70246         New file.
70247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70248         file.
70249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70250         file.
70251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70252         file.
70253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70254         file.
70255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70256         file.
70257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70258         New file.
70259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70260         New file.
70261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70262         file.
70263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70264         New file.
70265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70266         file.
70268 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70270         * conform/conformtest.pl: Fix typo in handling typed-constant from
70271         allow-header.
70273 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70275         * README: Cut down references to pre-2.6 Linux kernels and
70276         Linuxthreads.  Update lists of configurations in libc and ports
70277         and sort alphabetically.  Say "or newer" with Linux kernel version
70278         requirements.
70280         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70282 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70284         [BZ #887]
70285         * math/libm-test.inc (logb_test_downward): New test to expose
70286         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70287         rounding mode.
70289 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70291         [BZ #14027]
70292         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70293         to be done.
70294         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70295         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70297 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70299         * sysdeps/unix/i386/brk.S: Remove file.
70300         * sysdeps/unix/i386/dl-brk.S: Likewise.
70301         * sysdeps/unix/i386/pipe.S: Likewise.
70302         * sysdeps/unix/i386/sigreturn.S: Likewise.
70303         * sysdeps/unix/i386/syscall.S: Likewise.
70304         * sysdeps/unix/i386/vfork.S: Likewise.
70305         * sysdeps/unix/i386/wait.S: Likewise.
70307         * sysdeps/unix/common/tcsendbrk.c: Move to ...
70308         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70310         * configure.in (arm*-none*): Do not allow without
70311         --enable-hacker-mode.
70312         (netbsd*): Remove case setting base_os.
70313         (386bsd*): Likewise.
70314         (freebsd*): Likewise.
70315         (bsdi*): Likewise.
70316         (osf*): Likewise.
70317         (sunos*): Likewise.
70318         (ultrix*): Likewise.
70319         (newsos*): Likewise.
70320         (dynix*): Likewise.
70321         (*bsd*): Likewise.
70322         (sysv*): Likewise.
70323         (isc*): Likewise.
70324         (esix*): Likewise.
70325         (sco*): Likewise.
70326         (minix*): Likewise.
70327         (irix4*): Likewise.
70328         (irix6*): Likewise.
70329         (solaris[2-9]*): Likewise.
70330         (none): Likewise.
70331         * configure: Regenerated.
70333 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70335         [BZ #11521]
70336         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70337         overflow or cancellation in calculating denominator.
70338         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70340         down expression to avoid unexpected rounding in newer GCCs.
70341         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70343 2012-04-26  David S. Miller  <davem@davemloft.net>
70345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70346         long-double compat symbols.
70347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70361 2012-04-25  David S. Miller  <davem@davemloft.net>
70363         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70364         HWCAP_* values only after the memory barriers have been defined.
70365         (atomic_full_barrier): Define.
70366         (atomic_read_barrier): Define.
70367         (atomic_write_barrier): Define.
70369 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70371         * shlib-versions: Add libgcc_s version information.
70372         * sysdeps/generic/libgcc_s.h: Remove.
70373         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70374         libgcc_s.h.
70375         * sysdeps/gnu/unwind-resume.c: Likewise.
70376         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70378 2012-04-25  David S. Miller  <davem@davemloft.net>
70380         * sysdeps/unix/sparc/brk.S: Delete.
70381         * sysdeps/unix/sparc/dl-brk.S: Delete.
70382         * sysdeps/unix/sparc/pipe.S: Delete.
70383         * sysdeps/unix/sparc/sysdep.S: Delete.
70384         * sysdeps/unix/sparc/sysdep.h: Delete.
70385         * sysdeps/unix/sparc/vfork.S: Delete.
70386         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70387         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70388         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70389         (ret_ERRVAL, r0, r1, MOVE): Define.
70390         (JUMPTARGET): Remove.
70391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70392         sysdeps/unix/sparc/sysdep.h
70393         (ENTRY, END): Remove.
70394         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70396 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
70398         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70399         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70400         -DIS_IN_build.
70402         * timezone/README: Update upstream location and email address for
70403         tzcode and tzdata.
70404         * timezone/zdump.c: Update from tzcode 2012b.
70405         * timezone/zic.c: Likewise.
70407         * configure.in (libc_cv_as_needed): Remove test.
70408         * configure: Regenerated.
70409         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70410         conditional definition.
70411         [$(have-as-needed) != yes] (no-as-needed): Likewise.
70412         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70413         * config.make.in (have-as-needed): Remove variable.
70415 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70416             Paul Pluzhnikov  <ppluzhnikov@google.com>
70418         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70419         strings correctly.
70421 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
70423         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70424         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70425         * sysdeps/sh/strlen.S: Likewise.
70427 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70429         * sysdeps/unix/fork.S: Remove file.
70430         * sysdeps/unix/i386/fork.S: Likewise.
70431         * sysdeps/unix/sparc/fork.S: Likewise.
70433         * sysdeps/unix/system.c: Remove file.
70434         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70436         * sysdeps/unix/getegid.S: Remove file.
70437         * sysdeps/unix/geteuid.S: Likewise.
70439 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70441         * scripts/check-localplt.awk: New file.
70442         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70443         of diff.
70444         * scripts/data/localplt-generic.data: Add a comment.
70446         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70447         NODE when __dir_mkfile failed.
70448         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70449         Reported by Ludovic Courtès <ludo@gnu.org>.
70451 2012-04-24  Andreas Jaeger  <aj@suse.de>
70453         * Makerules (common-clean): Also remove gen-as-const-headers
70454         files.
70456 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70458         * Makerules (native-compile): Do not change working directory for
70459         build.  Use $(OUTPUT_OPTION) in command.
70460         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70462 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70464         [BZ #13886]
70465         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70466         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70467         * math/libm-test.inc (floor_test): Add more tests.
70468         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70470 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70472         * sysdeps/unix/getdents.c: Remove file.
70473         * sysdeps/unix/sysv/getdents.c: Likewise.
70474         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70476         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70477         sysdeps/unix/mman/syscalls.list.
70478         (mmap): Likewise.
70479         (mprotect): Likewise.
70480         (msync): Likewise.
70481         (munmap): Likewise.
70482         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70483         * sysdeps/unix/mman/syscalls.list: Remove.
70484         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70486         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70487         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70488         * configure: Regenerated.
70489         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70490         $(libgcc_s_suffix).
70491         * config.make.in (libgcc_s_suffix): Remove variable.
70493 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70495         * sysdeps/unix/sysv/gethostname.c: Move to ...
70496         * sysdeps/posix/gethostname.c: ... here.
70498         * sysdeps/unix/execve.S: Remove file.
70500         * sysdeps/unix/_exit.S: Remove file.
70502 2012-04-23  Andreas Jaeger  <aj@suse.de>
70504         [BZ #13739]
70505         * manual/Makefile: Remove make dist support, there's no
70506         need for a stand-alone documentation tar ball.
70507         (TEXI2DVI): Define always, it's not in Makeconfig.
70508         (dist): Removed.
70509         (tar-it): Removed.
70510         (edition): Removed.
70511         (glibc-doc-$(edition).tar): Removed
70512         (%.Z): Removed.
70513         (%.gz): Removed.
70514         (%.uu): Removed.
70515         (ETAGS): Remove, it's in Makeconfig.
70516         (move-if-change): Remove, it's in Makeconfig.
70518 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70520         [BZ #13970]
70521         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70522         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70523         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70524         (strtod_l, strtof_l, strtold_l): Remove __wur.
70525         It is not necessarily an error to ignore strtol's return value.
70526         One can reliably look at the stored endptr to decide whether
70527         the number had valid syntax.
70529 2012-04-21  Andreas Jaeger  <aj@suse.de>
70531         [BZ #13739]
70532         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70534 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70536         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70537         * sysdeps/unix/sysv/Versions: Remove file.
70539 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70541         [BZ #13927]
70542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70544 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70546         [BZ #7064]
70547         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70548         version from __vm86.
70550 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70552         * sysdeps/unix/common/lxstat.c: Remove file.
70553         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70555         * sysdeps/unix/sysv/Makefile: Remove file.
70557         * sysdeps/unix/sysv/direct.h: Remove file.
70559         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70560         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70561         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70562         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70563         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70564         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70565         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70567         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70569         * sysdeps/unix/xmknod.c: Remove file.
70570         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70572         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70574         * sysdeps/unix/sysv/i386/time.S: Remove file.
70576         * sysdeps/unix/fxstat.c: Remove file.
70577         * sysdeps/unix/xstat.c: Likewise.
70578         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70580         * sysdeps/unix/sysv/sigaction.c: Remove file.
70582         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70583         (sysdep_headers): Remove variable.
70584         [termio.h not in sysdep_headers] (generated): Likewise.
70585         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70586         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70587         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70588         * sysdeps/unix/sysv/tcflow.c: Likewise.
70589         * sysdeps/unix/sysv/tcflush.c: Likewise.
70590         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70591         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70592         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70593         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70594         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70596         * sysdeps/unix/siglist.c: Remove file.
70598         * sysdeps/unix/getppid.S: Remove file.
70600         * sysdeps/unix/mkdir.c: Remove file.
70601         * sysdeps/unix/rmdir.c: Likewise.
70603 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70605         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70606         ERR_MAX value.
70607         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70608         errlist-compat value.
70610 2012-04-18  David S. Miller  <davem@davemloft.net>
70612         * sysdeps/generic/memcopy.h (reg_char): Delete.
70613         * debug/strcat_chk.c: Use char, not reg_char.
70614         * debug/strcpy_chk.c: Likewise.
70615         * debug/strncat_chk.c: Likewise.
70616         * debug/strncpy_chk.c: Likewise.
70617         * string/memchr.c: Likewise.
70618         * string/memrchr.c: Likewise.
70619         * string/rawmemchr.c: Likewise.
70620         * string/strcat.c: Likewise.
70621         * string/strchr.c: Likewise.
70622         * string/strchrnul.c: Likewise.
70623         * string/strcmp.c: Likewise.
70624         * string/strcpy.c: Likewise.
70625         * string/strncat.c: Likewise.
70626         * string/strncmp.c: Likewise.
70627         * string/strncpy.c: Likewise.
70629 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70631         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70632         __builtin_memcopy is called when src and dest ranges are known to not
70633         overlap.
70635 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70637         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70638         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70639         fwd_align_merge macro call.
70640         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70641         bwd_align_merge macro call.
70642         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70644 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70646         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70647         bwd_align_merge macros.
70648         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70649         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70650         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70652 2012-04-18  David S. Miller  <davem@davemloft.net>
70654         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70656 2012-04-18  Andreas Jaeger  <aj@suse.de>
70658         [BZ# 6794]
70659         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70660         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70661         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70663         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70664         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70665         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70667         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70668         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70669         Adjust for changed ldbl-128 files.
70671         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70672         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70673         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70675 2012-04-17  David S. Miller  <davem@davemloft.net>
70677         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70679 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70681         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70682         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70683         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70684         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70685         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70686         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70688 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70690         [BZ #6794]
70691         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70692         * math/libm-test.inc: Add ilogb errno and exception tests.
70693         * math/w_ilogb.c: New file: ilogb wrapper.
70694         * math/w_ilogbf.c: New file: ilogbf wrapper.
70695         * math/w_ilogbl.c: New file: ilogbl wrapper.
70696         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70697         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70698         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70699         exception being thrown with 0.0 as argument.
70700         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70701         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70702         exception being thrown with 0.0 as argument.
70703         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70704         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70705         exception being thrown with 0.0 as argument.
70706         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70707         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70708         exception being thrown with 0.0 as argument.
70709         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70710         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70711         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70712         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70713         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70714         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70715         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70716         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70717         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70719 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70721         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70722         with altivec.
70724 2012-04-16  Marek Polacek  <polacek@redhat.com>
70726         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70728 2012-04-16  Marek Polacek  <polacek@redhat.com>
70730         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70731         operands of fdivp instruction.
70733 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70735         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70736         * elf/tst-auditmod3b.c: Likewise.
70737         * elf/tst-auditmod4b.c: Likewise.
70738         * elf/tst-auditmod5b.c: Likewise.
70739         * elf/tst-auditmod6b.c: Likewise.
70740         * elf/tst-auditmod6c.c: Likewise.
70741         * elf/tst-auditmod7b.c: Likewise.
70742         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70743         * sysdeps/x86_64/preconfigure.in: Likewise.
70744         * sysdeps/x86_64/preconfigure: Regenerated.
70746 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70748         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70749         __ILP32__.
70751 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70753         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70754         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70756 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70758         [BZ #13973]
70759         * locale/iso-639.def: Fix gl language name. Spotted by
70760         Yaron Shahrabani.
70762 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70764         [BZ #2074]
70765         * libio/libio.h (__io_write_fn): Update comment.
70767 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70769         [BZ #2074]
70770         * stdio.texi (Hook Functions): The user provided writer function
70771         is not allowed to return -1.
70773 2012-04-11  David S. Miller  <davem@davemloft.net>
70775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70777 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70779         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70780         Add a leading slash to rtkaio.
70782 2012-04-11  Jim Meyering  <meyering@redhat.com>
70784         [BZ #11959]
70785         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70786         It is not necessarily an error to ignore fwrite's return
70787         value.  One can reliably use ferror to test for errors after
70788         the fact.
70790 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70792         * bits/types.h (__snseconds_t): New type.
70793         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70795         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70797         (__SNSECONDS_T_TYPE): Likewise.
70798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70799         (__SNSECONDS_T_TYPE): Likewise.
70800         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70801         (__SNSECONDS_T_TYPE): Likewise.
70803 2012-04-10  Andreas Jaeger  <aj@suse.de>
70805         [BZ #2636]
70806         * manual/time.texi (Processor Time): Return type of times is
70807         elapsed real time since an arbitrary point in the past.
70808         (CPU Time): Move CLK_TCK from here...
70809         (Processor Time): ...to here.  Correct description.
70810         * manual/conf.texi (Constants for Sysconf): Correct description of
70811         _SC_CLK_TCK.
70813 2012-04-10  David S. Miller  <davem@davemloft.net>
70815         [BZ #13967]
70816         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70817         where the is a gap between DT_REL(A) and DT_JMPREL.
70819 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70821         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70822         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70823         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70825 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70827         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70828         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70829         (dl_main): Handle --inhibit-cache.
70830         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70831         _dl_inhibit_cache.
70832         * elf/dl-load.c (_dl_map_object): Use it.
70833         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70835 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70837         [BZ #13872]
70838         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70839         (__ieee754_powl): Saturate large exponents rather than testing for
70840         overflow of y*log2(x).
70841         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70842         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70843         exceptions.
70845         [BZ #11521]
70846         * math/s_ctan.c: Include <float.h>.
70847         (__ctan): Avoid internal overflow or cancellation in calculating
70848         denominator.
70849         * math/s_ctanf.c: Likewise.
70850         * math/s_ctanl.c: Likewise.
70851         * math/s_ctanh.c: Likewise.
70852         * math/s_ctanhf.c: Likewise.
70853         * math/s_ctanhl.c: Likewise.
70854         * math/libm-test.inc (ctan_test): Add more tests.
70855         (ctanh_test): Likewise.
70856         * sysdeps/i386/fpu/libm-test-ulps: Update.
70857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70859 2012-04-09  Andreas Jaeger  <aj@suse.de>
70861         [BZ #6894]
70862         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70863         is an optional BSD extension.
70865         [BZ #10254]
70866         * manual/stdio.texi (Opening Streams): Document additional fopen
70867         parameters.
70869 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70871         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70872         %eax without telling the compiler.
70874 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70876         [BZ # 13963]
70877         * manual/install.texi: Use sourceware.org.
70879 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70881         [BZ #13873]
70882         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70883         (__ieee754_pow): Generate overflow and underflow using huge*huge
70884         and tiny*tiny rather than just returning constant infinity or zero
70885         for large exponents.
70886         * math/libm-test.inc (pow_test): Require overflow exceptions for
70887         applicable cases of large exponents.
70889         [BZ #706]
70890         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70891         (__ieee754_pow): Use iterative multiplication algorithm only for
70892         integer exponents with absolute value below 1024.  Check for odd
70893         integer exponents when using algorithm for real exponents.
70894         * math/libm-test.inc (pow_test): Add more tests.
70895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70897 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70899         [BZ #13705]
70900         * math/libm-test.inc (exp_test): Do not allow overflow exception
70901         on underflow test.
70903 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70905         [BZ #13705]
70906         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70907         instead of __kernel_standard_f.
70909 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70911         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70912         * sysdeps/x86_64/memset_chk.S: Likewise.
70914 2012-04-08  Andreas Jaeger  <aj@suse.de>
70916         [BZ #10153]
70917         * manual/startup.texi (Environment Access): Describe return value
70918         for putenv and setenv.
70920         [BZ #6895]
70921         * manual/filesys.texi (Directory Entries): Add description for
70922         DT_LNK.
70924         [BZ #6890]
70925         * manual/filesys.texi (Directory Entries): Clarify that it's file
70926         system not operating system in the description of DT_UNKNOWN.
70928         [BZ #6578]
70929         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70931 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70933         [BZ #6649]
70934         * manual/llio.texi (Opening and Closing Files): Add cross
70935         reference to explain mode argument.
70937 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70939         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70940         * sysdeps/x86_64/memset_chk.S: Likewise.
70942 2012-04-07  David S. Miller  <davem@davemloft.net>
70944         * elf/elf.h (R_SPARC_WDISP10): Define.
70945         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70946         R_SPARC_SIZE32.
70947         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70948         R_SPARC_SIZE64 and R_SPARC_H34.
70950 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70952         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70953         conditions and remove no longer applicable assertion.
70955 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70957         * bits/byteswap.h: Include <features.h>.
70958         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70959         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70961 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70963         * bits/byteswap.h (__bswap_16): Removed.
70964         Include <bits/byteswap-16.h> to get __bswap_16.
70965         * sysdeps/i386/bits/byteswap.h: Likewise.
70966         * sysdeps/s390/bits/byteswap.h: Likewise.
70967         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70968         * bits/byteswap-16.h: New file.
70969         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70970         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70971         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70972         * string/Makefile (headers): Add bits/byteswap-16.h.
70974 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70976         [BZ #13895]
70977         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70978         extra indirection.
70979         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70980         * nss/tst-nss-static.c: New.
70982 2012-04-06  Robert Millan  <rmh@gnu.org>
70984         [BZ #6486]
70985         * manual/llio.texi (File Position Primitive): lseek
70986         refers to WHENCE when it really means OFFSET.
70988 2012-04-06  Andreas Jaeger  <aj@suse.de>
70990         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70991         strncmp declarations.
70993         * abilist/libc.abilist: Add __poll and __ppoll.
70995 2012-04-05  David S. Miller  <davem@davemloft.net>
70997         * scripts/check-local-headers.sh: Accept a host triplet in the
70998         path matched by the exclude regexp.
71000         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71001         definition.
71002         * sysdeps/powerpc/powerpc32/dl-machine.h
71003         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71004         * sysdeps/s390/s390-32/dl-machine.h
71005         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71006         * sysdeps/sparc/sparc32/dl-machine.h
71007         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71008         * sysdeps/sparc/sparc64/dl-machine.h
71009         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71011         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71012         lazy binding.
71013         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71014         undefined symbol errors.
71016         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71017         DT_NEEDED entries.
71019 2012-04-05  Michael Matz  <matz@suse.de>
71021         [BZ #13592]
71022         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71024 2012-04-05  Andreas Jaeger  <aj@suse.de>
71026         [BZ #13908]
71027         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71028         comment.
71030 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71033         which ROUND is no valid rounding mode.
71035 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71037         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71038         read again.
71039         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71041 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71043         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71044         an exception using FPU order intentionally.
71046 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71048         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71049         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71050         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71051         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71053 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71055         [BZ #12340]
71056         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71057         EINVAL when BUFLEN is too smal.
71059 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71061         [BZ #13553]
71062         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71063         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71065 2012-04-03  Andreas Jaeger  <aj@suse.de>
71067         [BZ #13938]
71068         * manual/setjmp.texi (System V contexts): Fix sentence.
71070         [BZ #13926]
71071         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71072         New macro for this case.
71073         [!__GNUC__] (__bswap_64): New inline function for this case.
71074         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71075         * bits/byteswap.h: Likewise.
71076         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71077         ull, guard with __GLIBC_HAVE_LONG_LONG.
71079         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71080         __GLIBC_HAVE_LONG_LONG.
71082         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71083         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71085 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71087         [BZ #13691]
71088         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71089         inptr and inend, rather than using last_ch.
71091 2012-04-02  David S. Miller  <davem@davemloft.net>
71093         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71094         * stdio-common/printf-parse.h (read_int): Change return type to
71095         'int', return -1 on INT_MAX overflow.
71096         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71097         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71098         overflows INT_MAX.  Check for overflow of in-format-string precision
71099         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71100         SIZE_MAX not INT_MAX for integer overflow test.
71101         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71102         skip the construct in the format string but do not record anything.
71103         * stdio-common/bug22.c: Adjust to test both width/prevision
71104         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71105         explicitly for proper errno values.
71107 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71109         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71110         CHAR_MAX.
71111         * string/test-strcmp.c [! WIDE]: Likewise.
71112         * time/tst-mktime2.c: Likewise for INT_MAX.
71113         * string/test-string.h: #include <sys/param.h> for MIN.
71115         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71116         * sysdeps/i386/init-first.c (init): Likewise.
71117         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71118         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71119         * sysdeps/sh/init-first.c (init): Likewise.
71121 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71123         * po/ru.po: Update from translation team.
71124         * po/vi.po: Likewise.
71126 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71128         * resolv/nss_dns/dns-host.c: Merge copyright years.
71130 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71132         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71133         Optimize memcpy with prefetch if
71134         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71135         src, dst pointers have unequal 16 byte alignments.
71137 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71139         [BZ #13928]
71140         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71141         from a CNAME entry and return the minimum ttl for the query.
71142         (gaih_getanswer_slice): Likewise.
71144 2012-03-30  Jeff Law  <law@redhat.com>
71146         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71147         due to long keys.
71148         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71149         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71151         * resolv/nss_dns/dns-host.c: Update copyright year.
71153 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71155         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71156         requests to save a system call.  Fix check that all bytes are sent.
71158         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71159         comments for sendmmsg.
71161 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71163         [BZ #13691]
71164         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71165         with only 1 character between 0x0041 and 0x01b0.
71166         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71167         * wcsmbs/tst-mbsnrtowcs.c: New file.
71169 2012-03-29  David S. Miller  <davem@davemloft.net>
71171         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71172         small copies by hand.
71174 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71176         [BZ #13761]
71177         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71178         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71179         group memberships.
71181 2012-03-28  David S. Miller  <davem@davemloft.net>
71183         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71184         that branches into memcpy.
71185         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71186         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71188         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71190         bits.
71191         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71192         implementation too.
71193         * sysdeps/sparc/mempcpy.S: New file.
71195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71196         the IFUNC routine in the libc case.
71197         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71199         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71200         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71201         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71202         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71203         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71204         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71205         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71206         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71208         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71209         loop to 256 bytes instead of 64 bytes and fix test signedness.
71211         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71212         * sysdeps/sparc/sparc32/Makefile: rather than here...
71213         * sysdeps/sparc/sparc64/Makefile: and here.
71215 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71217         * malloc/mallocbug.c: Avoid warnings about unused variables.
71219 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71221         [BZ #13760]
71222         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71223         in the right place. Discard and retry query if response is
71224         larger than input buffer size.
71226 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71228         [BZ #369]
71229         [BZ #2678]
71230         [BZ #3866]
71231         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71232         x for large integer exponent.
71233         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71234         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71235         sign of result as needed afterwards.
71236         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71237         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71238         result for underflowing pow the same as for overflow.
71239         (__kernel_standard_l): Handle powl overflow and underflow here
71240         rather than calling __kernel_standard.
71241         * math/libm-test.inc (pow_test): Add more tests.
71243         [BZ #3868]
71244         [BZ #13879]
71245         [BZ #13910]
71246         [BZ #13911]
71247         [BZ #13912]
71248         [BZ #13913]
71249         [BZ #13915]
71250         [BZ #13916]
71251         [BZ #13917]
71252         [BZ #13918]
71253         [BZ #13919]
71254         [BZ #13920]
71255         [BZ #13921]
71256         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71257         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71258         (__kernel_standard_l): New function.
71259         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71260         __kernel_standard.
71261         * math/w_acosl.c (__acosl): Likewise.
71262         * math/w_asinl.c (__asinl): Likewise.
71263         * math/w_atan2l.c (__atan2l): Likewise.
71264         * math/w_atanhl.c (__atanhl): Likewise.
71265         * math/w_coshl.c (__coshl): Likewise.
71266         * math/w_exp10l.c (__exp10l): Likewise.
71267         * math/w_exp2l.c (__exp2l): Likewise.
71268         * math/w_fmodl.c (__fmodl): Likewise.
71269         * math/w_hypotl.c (__hypotl): Likewise.
71270         * math/w_j0l.c (__j0l, __y0l): Likewise.
71271         * math/w_j1l.c (__j1l, __y1l): Likewise.
71272         * math/w_jnl.c (__jnl, __ynl): Likewise.
71273         * math/w_lgammal.c (__lgammal): Likewise.
71274         * math/w_log10l.c (__log10l): Likewise.
71275         * math/w_log2l.c (__log2l): Likewise.
71276         * math/w_logl.c (__logl): Likewise.
71277         * math/w_powl.c (__powl): Likewise.
71278         * math/w_remainderl.c (__remainderl): Likewise.
71279         * math/w_scalbl.c (sysv_scalbl): Likewise.
71280         * math/w_sinhl.c (__sinhl): Likewise.
71281         * math/w_sqrtl.c (__sqrtl): Likewise.
71282         * math/w_tgammal.c (__tgammal): Likewise.
71283         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71284         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71285         * math/libm-test.inc (acos_test): Add more tests.
71286         (acosh_test): Likewise.
71287         (asin_test): Likewise.
71288         (atanh_test): Likewise.
71289         (exp_test): Likewise.
71290         (exp10_test): Likewise.
71291         (exp2_test): Likewise.
71292         (expm1_test): Likewise.
71293         (lgamma_test): Likewise.
71294         (log_test): Likewise.
71295         (log10_test): Likewise.
71296         (log1p_test): Likewise.
71297         (log2_test): Likewise.
71298         (pow_test): Do not allow some spurious overflow exceptions.
71299         (sqrt_test): Add more tests.
71300         (tgamma_test): Likewise.
71301         (y0_test): Likewise.
71302         (y1_test): Likewise.
71303         (yn_test): Likewise.
71305 2012-03-27  Anton Blanchard  <anton@samba.org>
71307         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71308         MAP_HUGETLB.
71309         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71310         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71311         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71313 2012-03-27  David S. Miller  <davem@davemloft.net>
71315         * conform/Makefile: Run run-conformtest.sh using $(BASH).
71317         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71318         have-as-vis3 check.
71320 2012-03-27  Andreas Jaeger  <aj@suse.de>
71322         * sysdeps/x86_64/elf/configure.in: Moved to ...
71323         * sysdeps/x86_64/configure.in: ... here.
71324         * sysdeps/x86_64/elf/start.S: Moved to ...
71325         * sysdeps/x86_64/start.S: ... here.
71326         * sysdeps/x86_64/elf/configure: Delete.
71328         * sysdeps/x86_64/configure.in: Merge contents from
71329         sysdeps/i386/configure.in (without i686 check).
71331         * sysdeps/i386/elf/Versions: Merge into ...
71332         * sysdeps/i386/Versions: ... this.
71333         * sysdeps/i386/elf/Versions: Delete file.
71334         * sysdeps/i386/elf/start.S: Moved to ...
71335         * sysdeps/i386/start.S: ...here.
71336         * sysdeps/i386/elf/configure.in: Merge into...
71337         * sysdeps/i386/configure.in: ...here.
71338         * sysdeps/i386/elf/configure.in: Delete file.
71339         * sysdeps/i386/elf/configure: Delete file.
71341         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71342         * debug/backtracesyms.c: ... here.
71343         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71344         * debug/backtracesymsfd.c: ... here.
71345         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71346         * sysdeps/generic/ifunc-sel.h: ... here.
71348         * sysdeps/unix/i386/start.c: Delete file.
71349         * sysdeps/unix/sparc/start.c: Delete file.
71350         * sysdeps/unix/start.c: Delete file.
71352         * sysdeps/sh/elf/configure.in: Moved to ...
71353         * sysdeps/sh/configure.in: ... here.
71354         * sysdeps/sh/elf/start.S: Moved to ...
71355         * sysdeps/sh/start.S: ... here.
71356         * sysdeps/sh/elf/configure: Delete file.
71358         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71359         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71360         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71361         * sysdeps/powerpc/powerpc64/entry.h: ... here.
71362         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71363         * sysdeps/powerpc/powerpc64/start.S: here.
71364         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71365         * sysdeps/powerpc/powerpc64/Makefile: ... this.
71366         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71367         * sysdeps/powerpc/powerpc64/configure.in: ... this.
71368         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71370         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71371         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71372         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71373         * sysdeps/powerpc/powerpc32/start.S: ... here.
71374         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71375         * sysdeps/powerpc/powerpc32/configure.in: ... this.
71376         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71378         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71379         * sysdeps/powerpc/ifunc-sel.h: ... here.
71380         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71381         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71383         * sysdeps/sparc/elf/configure.in: Moved to ...
71384         * sysdeps/sparc/configure.in: ... here.
71385         * sysdeps/sparc/elf/configure: Delete file.
71386         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71387         * sysdeps/sparc/sparc32/start.S: ... here.
71388         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71389         * sysdeps/sparc/sparc64/start.S: ... here.
71390         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71391         * sysdeps/sparc/sparc32/Makefile: ... this.
71392         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71393         * sysdeps/sparc/sparc64/Makefile: ... this.
71395         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71396         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71397         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71398         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71399         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71400         * sysdeps/s390/s390-32/setjmp.S: ... here.
71401         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71402         * sysdeps/s390/s390-32/configure.in: ... here.
71403         * sysdeps/s390/s390-32/elf/configure: Delete file.
71404         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71405         * sysdeps/s390/s390-32/start.S: ... here.
71407         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71408         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71409         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71410         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71411         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71412         * sysdeps/s390/s390-64/setjmp.S: ... here.
71413         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71414         * sysdeps/s390/s390-64/configure.in: ... here
71415         * sysdeps/s390/s390-64/elf/configure: Delete file.
71416         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71417         * sysdeps/s390/s390-64/start.S: ... here.
71418         * sysdeps/s390/s390-64/elf/configure: Delete.
71420         * configure.in: Remove support for elf directories in sysdeps.
71422         * configure: Regenerated.
71423         * sysdeps/i386/configure: Regenerated.
71424         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71425         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71426         * sysdeps/s390/s390-32/configure: Regenerated.
71427         * sysdeps/s390/s390-64/configure: Regenerated.
71428         * sysdeps/sh/configure: Regenerated.
71429         * sysdeps/sparc/configure: Regenerated.
71430         * sysdeps/x86_64/configure: Regenerated.
71432 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
71434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71436         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71437         denormal result into account.
71439 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71441         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71442         Reported by Allan McRae <allan@archlinux.org>.
71444 2012-03-23  Jeff Law  <law@redhat.com>
71446         * nss/getnssent.c (__nss_getent): Fix typo.
71448 2012-03-23  David S. Miller  <davem@davemloft.net>
71450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71452 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71454         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71455         to pad to uint64_t for each field.
71456         (dl_tls_index): Replace unsigned long with uint64_t.
71458 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71459         Paul Pluzhnikov  <ppluzhnikov@google.com>
71461         [BZ #6528]
71462         * grp/Makefile (otherlibs): Don't set it.
71463         * inet/Makefile (otherlibs): Likewise.
71464         * login/Makefile (otherlibs): Likewise.
71465         * nscd/Makefile (otherlibs): Likewise.
71466         * posix/Makefile (otherlibs): Likewise.
71467         * pwd/Makefile (otherlibs): Likewise.
71468         * rt/Makefile (otherlibs): Likewise.
71469         * sunrpc/Makefile (otherlibs): Likewise.
71470         * nss/Makefile (otherlibs): Likewise.
71471         Add libnss_files to routines and static-only-routines.
71472         ($(objpfx)getent): Remove rule.
71473         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71474         static-only-routines.
71476 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71478         [BZ #13892]
71479         * math/s_cexp.c: Include <float.h>.
71480         (__cexp): Handle exp result overflowing not necessarily
71481         overflowing both real and imaginary parts of result.
71482         * math/s_cexpf.c: Likewise.
71483         * math/s_cexpl.c: Likewise.
71484         * math/libm-test.inc (cexp_test): Add more tests.
71485         * sysdeps/i386/fpu/libm-test-ulps: Update.
71486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71488 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71490         * include/link.h (ELFW): New macro.
71491         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71492         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71494 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71496         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71497         with uint64_t.
71499 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71501         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71502         declaration.
71503         (struct La_x32_retval): Likewise.
71505 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71507         * sysdeps/x86_64/preconfigure.in: New file.
71508         * sysdeps/x86_64/preconfigure: New generated file.
71510 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71512         [BZ #13824]
71513         * math/e_exp2l.c: Include <float.h>.
71514         (__ieee754_exp2l): Handle overflow and underflow cases
71515         separately.  Only pass fractional part of argument to
71516         __ieee754_expl.
71517         * math/libm-test.inc (exp2_test): Add more tests.
71519         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71520         negating x to take absolute value.
71521         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71522         Likewise.
71523         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71524         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71525         Likewise.
71526         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71527         computing low part if x was negated.
71528         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71530 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71532         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71533         la_x32_gnu_pltexit.
71534         (pltexit): Cast int_retval to ptrdiff_t.
71535         * elf/tst-auditmod3b.c: Likewise.
71536         * elf/tst-auditmod4b.c: Likewise.
71537         * elf/tst-auditmod5b.c: Likewise.
71538         * elf/tst-auditmod6b.c: Likewise.
71539         * elf/tst-auditmod6c.c: Likewise.
71540         * elf/tst-auditmod7b.c: Likewise.
71542         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71543         and x32_gnu_pltexit.
71545         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71546         __ELF_NATIVE_CLASS.
71547         (La_x32_regs): New macro.
71548         (La_x32_retval): Likewise.
71549         (la_x32_gnu_pltenter): New function prototype.
71550         (la_x32_gnu_pltexit): Likewise.
71552 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71554         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71555         exponent.
71557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71559         * configure.in (libc_cv_cc_nofma): Check for option to disable
71560         generation of FMA instructions.
71561         * configure: Regenerate.
71562         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71563         * sysdeps/ieee754/dbl-64/Makefile: New file.
71564         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71565         Remove brandred-fma4.
71566         (CFLAGS-brandred-fma4.c): Remove.
71567         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71568         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71569         define.
71570         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71571         define.
71573 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71575         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71576         LLONG_MAX != LONG_MAX.
71577         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71578         (_fitoa_word): Likewise.
71579         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71580         LLONG_MAX != LONG_MAX.
71581         * stdio-common/_itowa.h: Include <_itoa.h>.
71582         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71583         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71584         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71585         only if not defined.
71586         (_ITOA_WORD_TYPE): Likewise.
71587         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71588         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71590 2012-03-21  David S. Miller  <davem@davemloft.net>
71592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71594 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71596         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71597         of x86_64 when setting libc_cv_slibdir, libdir and
71598         libc_cv_localedir.
71599         * sysdeps/unix/sysv/linux/configure: Regenerated.
71601 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71603         * manual/lang.texi (Old Varargs): Remove section.
71604         (How Variadic): Update menu.
71605         (va_start): Do not mention varargs.h.
71607 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71608             Joseph Myers  <joseph@codesourcery.com>
71610         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71611         link test.
71612         * configure: Regenerated.
71614 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71616         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71617         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71618         conformtest.pl
71620 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71622         * NOTES: Remove.
71623         * Makefile (files-for-dist): Remove NOTES.
71624         (NOTES): Remove rule.
71625         * README: Don't refer to NOTES.
71626         * manual/creature.texi: Don't include macros.texi.
71627         * manual/intro.texi (creature.texi): Remove comment referring to
71628         NOTES.
71630         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71631         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71632         * configure: Regenerated.
71633         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71634         LIBC_TRY_CC_OPTION.
71635         (libc_cv_as_i686): Likewise.
71636         (libc_cv_cc_avx): Likewise.
71637         (libc_cv_cc_sse2avx): Likewise.
71638         (libc_cv_cc_fma4): Likewise.
71639         (libc_cv_cc_novzeroupper): Likewise.
71640         * sysdeps/i386/configure: Regenerated.
71642         [BZ #13883]
71643         * sysdeps/i386/fpu/s_cexp.S: Remove.
71644         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71645         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71646         * math/libm-test.inc (cexp_test): Add more tests.
71647         * sysdeps/i386/fpu/libm-test-ulps: Update.
71648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71650 2012-03-21  Allan McRae  <allan@archlinux.org>
71652         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71654 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71656         [BZ #13871]
71657         * math/w_exp2.c: Do not include <float.h>.
71658         (o_threshold, u_threshold): Remove.
71659         (__exp2): Calculate result before checking finiteness and calling
71660         __kernel_standard.
71661         * math/w_exp2f.c: Likewise.
71662         * math/w_exp2l.c: Likewise.
71663         * math/libm-test.inc (exp2_test): Require overflow exception for
71664         1e6 input.
71666         [BZ #3866]
71667         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71668         range of signed 64-bit integers before using fistpll.  Remove
71669         checks for whether integers fit in mantissa bits.
71670         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71671         the range of signed 32-bit integers before using fistpl.  Remove
71672         checks for whether integers fit in mantissa bits.
71673         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71674         (__ieee754_powl): Test for y outside the range of signed 64-bit
71675         integers before using fistpll.  Reduce 64-bit values to 63-bit
71676         ones as needed.
71677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71678         divide-by-zero is raised for zero to large negative powers.
71679         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71680         (__ieee754_powl): Test for y outside the range of signed 64-bit
71681         integers before using fistpll.  Reduce 64-bit values to 63-bit
71682         ones as needed.
71683         * math/libm-test.inc (pow_test): Add more tests.
71685 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71687         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71688         <stdio-common/_itoa.h>.
71689         * debug/segfault.c: Likewise.
71690         * elf/dl-cache.c: Likewise.
71691         * elf/dl-minimal.c: Likewise.
71692         * elf/dl-misc.c: Likewise.
71693         * elf/dl-sysdep.c: Likewise.
71694         * elf/dl-version.c: Likewise.
71695         * elf/rtld.c: Likewise.
71696         * hurd/hurdsock.c: Likewise.
71697         * hurd/lookup-retry.c: Likewise.
71698         * malloc/malloc.c: Likewise.
71699         * malloc/mtrace.c: Likewise.
71700         * nscd/nscd_getgr_r.c: Likewise.
71701         * nscd/nscd_getpw_r.c: Likewise.
71702         * nscd/nscd_getserv_r.c: Likewise.
71703         * posix/getopt_init.c: Likewise.
71704         * posix/wordexp.c: Likewise.
71705         * stdio-common/_itoa.c: Likewise.
71706         * stdio-common/printf_fphex.c: Likewise.
71707         * stdio-common/vfprintf.c: Likewise.
71708         * string/_strerror.c: Likewise.
71709         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71710         * sysdeps/i386/i686/hp-timing.h: Likewise.
71711         * sysdeps/mach/_strerror.c: Likewise.
71712         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71713         * sysdeps/mach/hurd/sethostid.c: Likewise.
71714         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71715         * sysdeps/mach/xpg-strerror.c: Likewise.
71716         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71717         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71718         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71719         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71720         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71721         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71722         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71723         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71724         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71725         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71726         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71727         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71728         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71729         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71730         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71731         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71732         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71733         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71734         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71735         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71736         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71738         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71740         * stdio-common/_itoa.h: Moved to ...
71741         * sysdeps/generic/_itoa.h: Here.
71743         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71745         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71746         instead of "_itoa.h" and "_itowa.h".
71747         * stdio-common/vfprintf.: Likewise.
71749 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71751         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71752         <bits/wordsize.h>.
71753         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71754         (__signbit): Likwise.
71755         (llrintf): Likwise.
71756         (llrint): Likwise.
71758 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71760         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71761         __WORDSIZE != 64.
71763 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71765         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71766         OVERFLOW_EXCEPTION_OK.
71767         * math/libm-test.inc ("Philosophy"): Update comment about
71768         exception testing.
71769         (OVERFLOW_EXCEPTION): Define.
71770         (OVERFLOW_EXCEPTION_OK): Likewise.
71771         (INVALID_EXCEPTION_OK): Renumber.
71772         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71773         (IGNORE_ZERO_INF_SIGN): Likewise.
71774         (test_exceptions): Handle FE_OVERFLOW.
71775         (exp10_test): Expect overflow exceptions.
71776         (exp2_test): Likewise.
71777         (expm1_test): Likewise.
71778         (nextafter_test): Likewise.
71779         (pow_test): Likewise.
71780         (scalbn_test): Likewise.
71781         (scalbln_test): Likewise.
71783 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71785         * sysdeps/x86_64/bits/atomic.h
71786         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71787         64bit integer.
71788         (atomic_exchange_acq): Likewise.
71789         (__arch_exchange_and_add_body): Likewise.
71790         (__arch_add_body): Likewise.
71791         (atomic_add_negative): Likewise.
71792         (atomic_add_zero): Likewise.
71794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71796         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71797         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71799 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71801         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71802         Check __x86_64__ instead of __WORDSIZE.
71804 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71806         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71808 2012-03-19  David S. Miller  <davem@davemloft.net>
71810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71812         * sysdeps/sparc/fpu/fenv_private.h: New file.
71813         * sysdeps/sparc/fpu/math_private.h: Use it.
71814         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71815         Remove.
71816         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71817         (libc_feholdexcept_setroundl): Remove.
71818         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71819         Remove.
71820         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71821         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71823 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71825         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71826         int64_t instead of long int.
71827         (INSERT_WORDS64): Likwise.
71829 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71831         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71832         _Unwind_GetCFA return to _Unwind_Ptr first.
71834 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71836         [BZ #13629]
71837         * math/s_clog.c: Include <float.h>.
71838         (__clog): Scale large or subnormal inputs.
71839         * math/s_clogf.c: Likewise.
71840         * math/s_clogl.c: Likewise.
71841         * math/s_clog10.c: Include <float.h>.
71842         (M_LOG10_2): Define.
71843         (__clog10): Scale large or subnormal inputs.
71844         * math/s_clog10f.c: Likewise.
71845         * math/s_clog10l.c: Likewise.
71846         * math/libm-test.inc (clog_test): Add more tests.
71847         (clog10_test): Likewise.
71848         * sysdeps/i386/fpu/libm-test-ulps: Update.
71849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71851         [BZ #11451]
71852         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71853         x and y.
71854         * math/libm-test.inc (atan2_test): Add another test.
71856         * Makerules (common-objdir-compile): Remove.
71857         * sysdeps/unix/Makefile (config-generated): Do not add
71858         $(unix-generated) to variable.
71859         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71860         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71861         Remove rule.
71862         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71863         Likewise.
71864         [generic bits/local_lim.h] (before-compile): Do not append to
71865         variable.
71866         [generic bits/local_lim.h] (common-generated): Likewise.
71867         [generic sys/param.h] (before-compile): Do not append to variable.
71868         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71869         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71870         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71871         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71872         include.
71873         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71874         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71875         [generic sys/param.h] ($(addprefix
71876         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71877         [generic sys/param.h] (common-generated): Do not append to
71878         variable.
71879         [generic sys/param.h] (sysdep_headers): Likewise.
71880         [generic bits/errno.h] (before-compile): Do not append to
71881         variable.
71882         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71883         rule.
71884         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71885         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71886         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71887         [generic bits/errno.h] (common-generated): Do not append to
71888         variable.
71889         [generic bits/ioctls.h] (before-compile): Do not append to
71890         variable.
71891         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71892         rule.
71893         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71894         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71895         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71896         rule.
71897         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71898         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71899         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71900         [generic bits/ioctls.h] (common-generated): Do not append to
71901         variable.
71902         [generic sys/syscall.h] (syscall.h): Remove variable.
71903         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71904         rule.
71905         [generic sys/syscall.h] (before-compile): Do not append to
71906         variable.
71907         [generic sys/syscall.h] (common-generated): Likewise.
71908         * sysdeps/unix/errnos-tmpl.c: Remove file.
71909         * sysdeps/unix/errnos.awk: Likewise.
71910         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71911         * sysdeps/unix/ioctls.awk: Likewise.
71912         * sysdeps/unix/mk-local_lim.c: Likewise.
71913         * sysdeps/unix/snarf-ioctls: Likewise.
71915 2012-03-19  Richard Henderson  <rth@twiddle.net>
71917         * sysdeps/i386/fpu/fenv_private.h: New file.
71918         * sysdeps/i386/fpu/math_private.h: Use it.
71919         (math_opt_barrier, math_force_eval): Remove.
71920         (libc_feholdexcept_setround_53bit): Remove.
71921         (libc_feupdateenv_53bit): Remove.
71922         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71923         (math_opt_barrier, math_force_eval): Remove.
71924         (libc_feholdexcept): Remove.
71925         (libc_feholdexcept_setround): Remove.
71926         (libc_fetestexcept, libc_fesetenv): Remove.
71927         (libc_feupdateenv_test): Remove.
71928         (libc_feupdateenv, libc_feholdsetround): Remove.
71929         (libc_feresetround): Remove.
71931         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71932         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71934         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71935         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71936         (libc_feupdateenv_testl): New.
71937         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71938         (libc_feupdateenv_testf): New.
71939         (libc_feupdateenv): Use libc_feupdateenv_test.
71940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71941         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71943         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71944         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71945         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71946         (libc_feresetround_noex): New.
71947         (libc_feresetround_noexf): New.
71948         (libc_feresetround_noexl): New.
71949         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71950         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71951         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71952         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71953         SET_RESTORE_ROUND.
71954         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71955         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71956         (__cos): Likewise.
71957         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71958         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71959         SET_RESTORE_ROUND_NOEX.
71960         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71961         SET_RESTORE_ROUND_NOEXF.
71962         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71963         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71964         (libc_feholdsetroundf): New.
71965         (libc_feresetround, libc_feresetroundf): New.
71967         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71968         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71969         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71971         * sysdeps/generic/math_private.h: Include <fenv.h>.
71972         (default_libc_feholdexcept): New.
71973         (default_libc_feholdexcept_setround): New.
71974         (default_libc_fesetenv, default_libc_feupdateenv): New.
71975         (libc_feholdexcept): Only define if undefined.
71976         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71977         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71978         (libc_feholdexcept_setroundl): Likewise.
71979         (libc_feholdexcept_setround_53bit): Likewise.
71980         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71981         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71982         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71983         (libc_feupdateenv_53bit): Likewise.
71984         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71985         (libc_feholdexcept): Convert from macro to inline function.
71986         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71987         (libc_fesetenv, libc_feupdateenv): Likewise.
71989         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71990         not previously defined.
71991         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71992         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71993         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71994         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71995         * sysdeps/ieee754/flt-32/math_private.h: New file.
71996         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71997         math_private.h below SET_FLOAT_WORD.
71998         (__isnan, __isinf_ns, __finite): Remove.
71999         (__isnanf, __isinf_nsf, __finitef): Remove.
72001 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72005 2012-03-17  David S. Miller  <davem@davemloft.net>
72007         [BZ #6471]
72008         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72009         for 2.16.
72011 2012-03-16  David S. Miller  <davem@davemloft.net>
72013         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72014         warnings.
72016         [BZ #6471]
72017         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72018         properly.
72019         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72020         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72021         sysdep_routines when subdir is sysvipc.
72022         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72023         __getshmlba helper.
72025         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72027 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72029         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72030         [__LP64__].
72032 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72034         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72035         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72036         (__lround): Renamed to ...
72037         (__llround): This.  Replace long int with long long int.
72038         Define lround functions as aliases of llround functions.
72039         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72041 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72043         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72044         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72045         adresses to uintptr_t.  Replace "long int" and "unsigned long
72046         int" with "greg_t" on va_arg.
72048 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72050         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72051         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72053         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72054         Move e_machine check before EI_CLASS check.  Handle x32
72055         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72056         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72057         SKIP_EM_IA_64 and include
72058         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72060         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72061         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72062         (add_system_dir): New macro.
72064         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72065         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72067 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72069         [BZ #2551]
72070         [BZ #2552]
72071         [BZ #2553]
72072         [BZ #2554]
72073         [BZ #2562]
72074         [BZ #2563]
72075         [BZ #2565]
72076         [BZ #2566]
72077         [BZ #2576]
72078         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72079         (y0): Likewise.
72080         * math/w_j0f.c (j0f): Likewise.
72081         (y0f): Likewise.
72082         * math/w_j0l.c (__j0l): Likewise.
72083         (__y0l): Likewise.
72084         * math/w_j1.c (j1): Likewise.
72085         (y1): Likewise.
72086         * math/w_j1f.c (j1f): Likewise.
72087         (y1f): Likewise.
72088         * math/w_j1l.c (__j1l): Likewise.
72089         (__y1l): Likewise.
72090         * math/w_jn.c (jn): Likewise.
72091         (yn): Likewise.
72092         * math/w_jnf.c (jnf): Likewise.
72093         (ynf): Likewise.
72094         * math/w_jnl.c (__jnl): Likewise.
72095         (__ynl): Likewise.
72096         * math/libm-test.inc (j0_test): Add more tests.
72097         (j1_test): Likewise.
72098         (jn_test): Likewise.  Add trailing semicolon to existing test.
72099         (y0_test): Likewise.
72100         (y1_test): Likewise.
72101         * sysdeps/i386/fpu/libm-test-ulps: Update.
72102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72104         [BZ #13851]
72105         [BZ #13854]
72106         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72107         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72108         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72109         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72110         (__tanl): Set errno for infinite argument.
72111         * sysdeps/i386/fpu/mptan.c: Remove.
72112         * sysdeps/i386/fpu/s_tan.S: Likewise.
72113         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72114         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72115         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72116         * math/libm-test.inc (tan_test): Add more tests and enable more
72117         tests for double and long double.
72118         * sysdeps/i386/fpu/libm-test-ulps: Update.
72119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72121 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72123         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72124         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72126 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72128         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72129         * configure.in: Use it for both main tree and add-ons.
72130         * configure: Regenerated.
72132 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72134         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72136 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72138         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72139         in comment.
72141         [BZ #13851]
72142         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72143         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72144         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72145         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72146         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72147         infinite argument.
72148         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72149         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72150         != 0 for prec == 2.
72151         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72152         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72153         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72154         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72155         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72156         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72157         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72158         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72159         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72160         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72161         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72162         * math/libm-test.inc (cos_test): Add more tests and enable more
72163         tests for long double.
72164         (sin_test): Likewise.
72165         (sincos_test): Likewise.
72166         * sysdeps/i386/fpu/libm-test-ulps: Update.
72167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72169 2012-03-16  David S. Miller  <davem@davemloft.net>
72171         * sysdeps/sparc/fpu/math_private.h: New file.
72173 2012-03-15  David S. Miller  <davem@davemloft.net>
72175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72176         file.
72177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72179         file.
72180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72185         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72186         sysdep routines.
72187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72189         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72190         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72192         * sysdeps/sparc/sparc-ifunc.h: New file.
72193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72194         sparc-ifunc.h
72195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72197         Likewise.
72198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72199         Likewise.
72200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72204         Likewise.
72205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72210         Likewise.
72211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72212         Likewise.
72213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72219         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72220         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72231         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72232         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72233         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72234         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72238 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72240         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72241         scaling.
72242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72244 2012-03-15  Andreas Jaeger  <aj@suse.de>
72246         [BZ #13852]
72247         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72248         ieee754/flt-32 implementation for sin, cos and sincos.
72249         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72250         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72251         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72252         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72253         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72254         ieee754/flt-32 implementation for tan.
72256         * math/libm-test.inc (cos_test): Enable some large input tests for
72257         float as well
72258         (sin_test): Likewise.
72259         (sincos_test): Likewise.
72260         (tan_test): Add tests for large input.
72262         * sysdeps/i386/fpu/libm-test-ulps: Update.
72264 2012-03-15  Andreas Jaeger  <aj@suse.de>
72266         [BZ #13658]
72267         * math/libm-test.inc (cos_test): Add more test cases.
72268         (sin_test): Likewise.
72269         (sincos_test): Likewise.
72271 2012-03-15  Andreas Jaeger  <aj@suse.de>
72273         [BZ #13837]
72274         * math/libm-test.inc (cos_test): Add a test case for large input
72275         value.
72276         (sin_test): Likewise.
72277         (sincos_test): Likewise.
72279 2012-03-15  Andreas Jaeger  <aj@suse.de>
72280             Joseph Myers  <joseph@codesourcery.com>
72282         [BZ #13658]
72283         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72284         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72285         * sysdeps/i386/fpu/branred.c: Likewise.
72286         * sysdeps/i386/fpu/dosincos.c: Likewise.
72287         * sysdeps/i386/fpu/mpa.c: Likewise.
72288         * sysdeps/i386/fpu/s_cos.S: Likewise.
72289         * sysdeps/i386/fpu/s_sin.S: Likewise.
72290         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72291         * sysdeps/i386/fpu/sincos32.c: Likewise.
72293         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72294         Define.
72295         (libc_feupdateenv_53bit): Define.
72296         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72297         Define.
72298         (libc_feupdateenv_53bit): Define.
72300         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72301         53 bit (without extend i386 double precision).
72303         * math/libm-test.inc (sincos_test): Add tests for large input.
72304         (sin): Likewise.
72305         (cos): Likewise.
72307         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72309 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72313 2012-03-15  David S. Miller  <davem@davemloft.net>
72315         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72316         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72317         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72318         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72331         file.
72332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72334         file.
72335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72337         file.
72338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72340         file.
72341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72343         fmin/fmax sysdep routines.
72344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72346 2012-03-14  David S. Miller  <davem@davemloft.net>
72348         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72351         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72352         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72353         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72355         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72368         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72369         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72370         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72371         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72372         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72373         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72374         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72375         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72376         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72377         routines.
72378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72379         file.
72380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72382         file.
72383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72385         file.
72386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72388         file.
72389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72391         file.
72392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72394         file.
72395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72396         file.
72397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72398         file.
72399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72400         file.
72401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72402         New file.
72403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72404         file.
72405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72406         file.
72407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72409         file.
72410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72412         file.
72413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72415         file.
72416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72418         VIS3 routines.
72420         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72421         New file.
72423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72425         * sysdeps/sparc/configure.in: New file.
72426         * sysdeps/sparc/configure: Generate.
72427         * configure.in (libc_cv_sparc_as_vis3): Substitute.
72428         * configure: Regenerate.
72429         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72430         * config.make.in (have-as-vis3): New.
72431         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72432         available use -Av9d instead of -Av9a.
72433         * sysdeps/sparc/sparc64/Makefile: Likewise.
72434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72436         New file.
72437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72438         file.
72439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72440         New file.
72441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72442         file.
72443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72444         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72445         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72446         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72447         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72449         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72450         fzeros/fnegs to load 0x80000000 into a float register instead of
72451         using the stack.
72452         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72454 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72457         bits/syscall.h.
72458         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72459         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72460         ($(inst_includedir)/bits/syscall.h): Remove rule.
72461         ($(objpfx)bits/syscall.d): Include instead of
72462         $(objpfx)syscall-list.d.
72463         (generated): Change syscall-list.h and syscall-list.d to
72464         bits/syscall.h and bits/syscall.d.
72466 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72468         [BZ #13846]
72469         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72471 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72473         [BZ #13841]
72474         * math/s_csqrt.c: Include <float.h>.
72475         (__csqrt): Scale large or subnormal inputs.
72476         * math/s_csqrtf.c: Likewise.
72477         * math/s_csqrtl.c: Likewise.
72478         * math/libm-test.inc (csqrt_test): Add more tests.
72479         * sysdeps/i386/fpu/libm-test-ulps: Update.
72480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72482         [BZ #13840]
72483         * math/libm-test.inc (hypot_test): Add more tests.
72485 2012-03-13  David S. Miller  <davem@davemloft.net>
72487         [BZ #13840]
72488         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72489         double-precision for the calculation instead of scaling.
72491 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72493         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72494         manipulate bits before adding and subtracting TWO52[sx].
72495         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72496         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72497         Likewise.
72498         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72500 2012-03-13  David S. Miller  <davem@davemloft.net>
72502         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72503         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72505         rtld-global-offsets.h
72506         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72508         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72509         large parameters.
72511         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72513         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72514         'err' in the ifdef scope in which it is actually used.
72516         * nss/nss_db/db-init.c: Include string.h
72518 2012-03-12  David S. Miller  <davem@davemloft.net>
72520         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72521         masking out of the most significant byte of random value used.
72522         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72523         Fix coding style in previous change.
72525         * sysdeps/unix/sysv/linux/kernel-features.h
72526         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72527         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72528         expression.
72529         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72530         later.
72532 2012-03-11  David S. Miller  <davem@davemloft.net>
72534         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72535         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72536         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72537         for 'resultvar' otherwise things get truncated on 64-bit.
72539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72540         Fix masking out of the most significant byte of random value used.
72542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72544 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72548 2012-03-09  David S. Miller  <davem@davemloft.net>
72550         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72551         variables with appropriate CPP guards.
72552         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72553         from the frame pointer, not the stack pointer.  Correct layout
72554         comments.  Fix test on resulting framesize and the management of
72555         the outregs buffer for pltexit.  Preserve floating point return
72556         values across _dl_call_pltexit call.
72557         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72558         framesize and the management of the outregs buffer for pltexit.
72559         Preserve floating point return values across _dl_call_pltexit
72560         call.
72561         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72562         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72563         (la_sparc64_gnu_pltexit): New functions.
72564         (print_exit): Fix format string for return register value.
72566 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72568         * sunrpc/Makefile (others): Add rpcgen.
72569         ($(objpfx)rpcgen): Remove special build rule and dependency on
72570         libc.
72571         * sunrpc/rpcgen.c: New file.
72573 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72575         [BZ #13673]
72576         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72577         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72578         * sysdeps/i386/crti.S: Likewise.
72579         * sysdeps/i386/crtn.S: Likewise.
72580         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72581         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72582         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72583         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72584         * sysdeps/sh/crti.S: Likewise.
72585         * sysdeps/sh/crtn.S: Likewise.
72586         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72588         [BZ #13673]
72589         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72590         with URL.
72591         * locale/programs/locfile-kw.gperf: Likewise.
72592         * locale/programs/charmap-kw.h: Regenerated.
72593         * locale/programs/locfile-kw.h: Likewise.
72595         [BZ #13673]
72596         * intl/plural.y: Replace FSF snail mail address with URL.
72597         * intl/plural.c: Regenerated.
72599 2012-03-09  Richard Henderson  <rth@twiddle.net>
72601         * include/math_private.h: Remove file.
72602         * math/math_private.h: Move file ...
72603         * sysdeps/generic/math_private.h: ... here.
72605         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72606         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72607         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72609         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72610         and <math_private.h>.
72611         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72612         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72613         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72614         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72615         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72616         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72617         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72620         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72622         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72623         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72624         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72625         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72626         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72630         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72632         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72633         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72635         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72636         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72637         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72638         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72639         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72640         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72641         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72642         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72643         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72644         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72645         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72646         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72647         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72648         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72649         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72650         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72651         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72652         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72653         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72654         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72655         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72656         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72657         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72658         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72659         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72660         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72661         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72662         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72663         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72664         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72665         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72666         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72667         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72668         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72669         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72670         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72671         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72672         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72673         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72674         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72675         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72676         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72677         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72678         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72679         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72680         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72681         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72682         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72683         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72684         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72685         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72686         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72688         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72690         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72691         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72692         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72693         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72694         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72695         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72696         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72698         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72699         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72700         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72701         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72702         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72703         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72704         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72705         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72706         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72707         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72708         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72709         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72710         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72711         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72712         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72713         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72714         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72715         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72716         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72717         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72718         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72719         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72720         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72721         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72722         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72723         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72724         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72725         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72726         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72727         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72728         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72729         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72730         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72731         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72732         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72733         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72734         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72735         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72736         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72737         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72738         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72739         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72740         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72741         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72742         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72743         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72744         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72745         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72746         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72747         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72748         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72749         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72750         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72751         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72752         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72753         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72754         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72755         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72756         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72757         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72758         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72759         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72760         * sysdeps/ieee754/k_standard.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72765         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72770         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72771         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72773         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72774         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72775         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72776         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72777         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72778         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72781         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72782         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72783         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72784         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72785         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72786         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72791         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72792         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72793         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72794         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72796         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72797         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72798         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72799         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72800         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72801         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72804         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72805         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72807         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72809         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72810         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72811         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72812         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72813         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72814         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72815         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72816         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72817         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72818         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72819         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72820         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72821         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72822         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72823         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72824         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72827         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72829         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72831         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72833         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72834         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72835         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72837         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72838         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72839         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72840         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72841         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72842         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72843         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72844         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72845         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72846         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72847         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72848         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72849         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72851         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72852         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72853         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72854         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72855         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72856         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72857         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72858         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72859         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72860         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72862         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72863         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72864         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72865         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72866         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72868         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72869         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72870         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72871         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72872         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72873         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72874         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72875         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72876         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72877         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72878         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72879         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72880         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72881         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72882         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72883         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72884         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72885         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72886         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72887         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72888         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72889         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72890         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72891         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72892         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72893         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72894         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72895         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72896         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72897         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72898         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72899         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72900         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72901         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72902         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72903         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72904         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72905         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72906         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72907         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72908         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72909         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72910         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72911         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72912         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72913         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72914         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72915         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72916         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72917         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72918         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72919         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72920         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72921         * sysdeps/ieee754/s_lib_version.c: Likewise.
72922         * sysdeps/ieee754/s_matherr.c: Likewise.
72923         * sysdeps/ieee754/s_signgam.c: Likewise.
72924         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72925         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72926         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72927         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72928         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72929         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72930         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72931         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72932         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72933         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72934         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72935         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72936         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72937         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72938         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72939         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72940         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72941         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72942         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72946 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72948         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72949         * sunrpc/rpc_main.c: Likewise.
72950         * sunrpc/rpc_svcout.c: Likewise.
72952 2012-03-09  David S. Miller  <davem@davemloft.net>
72954         * include/math_private.h: New file.
72956 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72958         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72959         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72960         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72961         from <bits/socket_type.h>.
72962         (enum __socket_type): Don't define here.
72963         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72965         bits/socket_type.h.
72967         [BZ #13566]
72968         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72969         checking __USE_GNU.
72971         * Makerules ($(inst_includedir)/%.h): New rule.
72972         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72973         (install-others): Remove variable setting.
72974         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72976 2012-03-08  Richard Henderson  <rth@twiddle.net>
72978         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72979         from macro to inline function; merge with the
72980         !__LIBC_INTERNAL_MATH_INLINES version.
72981         (__ieee754_sqrtf): Likewise.
72983         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72984         to inline function.
72985         (__rintf, __floor, __floorf): Likewise.
72987         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72988         macro to inline function.
72989         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72991         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72992         not <math/math_private.h>.
72994 2012-03-08  David S. Miller  <davem@davemloft.net>
72996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72997         copyright year.
72998         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73000 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73002         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73003         normalization.
73004         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73005         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73007 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73009         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73010         be defined individually, they must be defined as a block.  Define
73011         S for printing a string instead of hidint the different by using a
73012         macro for adding the 'l'.
73013         * stdio-common/tst-fphex-wide.c: Adjust.
73015 2012-03-07  Marek Polacek  <polacek@redhat.com>
73017         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73019 2012-03-08  Marek Polacek  <polacek@redhat.com>
73021         [BZ #13806]
73022         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73023         * stdio-common/tst-fphex.c: Define a few macros to make the
73024         test reusable.  Use them.
73025         * stdio-common/tst-fphex-wide.c: New file.
73027 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73029         [BZ #6911]
73030         * manual/macros.texi (gnusystems): New macro.
73031         (nongnusystems): Likewise.
73032         (gnulinuxhurdsystems): Likewise.
73033         (gnuhurdsystems): Likewise..
73034         (gnulinuxsystems): Likewise.
73035         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73036         variants of the GNU system, not "GNU system".
73037         * manual/conf.texi: Likewise.
73038         * manual/errno.texi: Likewise.  Update example of errno macro
73039         expansion.
73040         * manual/filesys.texi: Likewise.
73041         (getumask): Document as specific to GNU/Hurd.
73042         * manual/install.texi: Likewise.  Reword some references to
73043         GNU/Linux.
73044         * manual/intro.texi: Likewise.
73045         * manual/io.texi: Likewise.
73046         (File Name Portability): Detail which constraints are inapplicable
73047         to all GNU systems and which are only inapplicable to GNU/Hurd.
73048         * manual/job.texi: Likewise.
73049         * manual/llio.texi: Likewise.
73050         (O_NOCTTY): Document as present on GNU/Linux.
73051         * manual/maint.texi: Likewise.
73052         * manual/memory.texi: Likewise.
73053         * manual/pattern.texi: Likewise.
73054         * manual/pipe.texi: Likewise.
73055         * manual/process.texi: Likewise.
73056         * manual/resource.texi: Likewise.
73057         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73058         child on GNU/Hurd.
73059         * manual/setjmp.texi: Likewise.
73060         * manual/signal.texi: Likewise.
73061         * manual/startup.texi: Likewise.
73062         * manual/stdio.texi: Likewise.
73063         * manual/terminal.texi: Likewise.
73064         (ONLCR): Document as POSIX.
73065         (OXTABS): Document availability on GNU/Linux as XTABS.
73066         (ONOEOT): Document availability separately from other bits.
73067         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73068         * manual/time.texi: Likewise.
73069         * manual/users.texi: Likewise.
73070         * INSTALL: Regenerated.
73071         * sysdeps/gnu/errlist.c: Regenerated.
73073         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73074         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73075         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73076         puts.
73077         * configure: Regenerated.
73079 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73081         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73082         default includes instead of AC_HEADER_CHECK.
73083         * sysdeps/i386/configure: Regenerated.
73085         [BZ #10716]
73086         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73087         * math/s_cacoshf.c (__cacoshf): Likewise.
73088         * math/s_cacoshl.c (__cacoshl): Likewise.
73089         * math/s_casinh.c (__casinh): Set signs of result from argument.
73090         * math/s_casinhf.c (__casinhf): Likewise.
73091         * math/s_casinhl.c (__casinhl): Likewise.
73092         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73093         (casinh_test): Add more tests.
73094         * sysdeps/i386/fpu/libm-test-ulps: Update.
73095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73097 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73099         * po/zh_TW.po: Update from translation team.
73101         * login/Makefile (distribute): Remove variable.
73102         * catgets/Makefile: Likewise.
73103         * mach/Makefile: Likewise.
73104         * malloc/Makefile: Likewise.
73105         * misc/Makefile: Likewise.
73106         * iconv/Makefile: Likewise.
73107         * nscd/Makefile: Likewise.
73108         * hurd/Makefile: Likewise.
73109         * manual/Makefile: Likewise.
73110         * locale/Makefile: Likewise.
73111         * intl/Makefile: Likewise.
73112         * conform/Makefile: Likewise.
73113         * nss/Makefile: Likewise.
73114         * time/Makefile: Likewise.
73115         * soft-fp/Makefile: Likewise.
73116         * dirent/Makefile: Likewise.
73117         * gmon/Makefile: Likewise.
73118         * po/Makefile: Likewise.
73119         * rt/Makefile: Likewise.
73120         * socket/Makefile: Likewise.
73121         * math/Makefile: Likewise.
73122         * signal/Makefile: Likewise.
73123         * debug/Makefile: Likewise.
73124         * elf/Makefile: Likewise.
73125         * timezone/Makefile: Likewise.
73126         * stdlib/Makefile: Likewise.
73127         * iconvdata/Makefile: Likewise.
73128         * sunrpc/Makefile: Likewise.
73129         * io/Makefile: Likewise.
73130         * argp/Makefile: Likewise.
73131         * inet/Makefile: Likewise.
73132         * hesiod/Makefile: Likewise.
73133         * grp/Makefile: Likewise.
73134         * csu/Makefile: Likewise.
73135         * wctype/Makefile: Likewise.
73136         * crypt/Makefile: Likewise.
73137         * libio/Makefile: Likewise.
73138         * string/Makefile: Likewise.
73139         * nis/Makefile: Likewise.
73140         * resolv/Makefile: Likewise.
73141         * stdio-common/Makefile: Likewise.
73142         * wcsmbs/Makefile: Likewise.
73143         * dlfcn/Makefile: Likewise.
73144         * posix/Makefile: Likewise.
73146         [BZ #6959]
73147         * timezone/Makefile: Don't install timezone files, just the programs
73148         and scripts.
73150 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73152         * nss/databases.def: Add missing gshadow entry.
73154         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73156 2012-03-06  Marek Polacek  <polacek@redhat.com>
73158         [BZ #13726]
73159         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73160         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73161         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73162         * stdio-common/tst-long-dbl-fphex.c: New file.
73164 2012-03-06  David S. Miller  <davem@davemloft.net>
73166         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73167         (set_obp_int): New function.
73168         (get_obp_int): New function.
73169         (__get_clockfreq_via_dev_openprom): Likewise.
73170         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73171         Avoid unused variable warnings on 'val' and use builtin_expect.
73172         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73173         __builtin_expect.
73174         (INLINE_CLONE_SYSCALL): Likewise.
73176 2012-03-05  David S. Miller  <davem@davemloft.net>
73178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73180 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73184         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73185         only for |x| >= 40.
73186         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73188 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73190         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73191         Replace gettimeofday with __vdso_gettimeofday.
73193         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73194         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73195         __vdso_clock_gettime and __vdso_getcpu.
73197         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73198         time with __vdso_time.
73200 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73202         * manual/lang.texi (size_t): Note types to which size_t may be
73203         equivalent with the GNU C Library, but do not describe when
73204         differences between them are significant.
73206 2012-03-05  Andreas Jaeger  <aj@suse.de>
73208         * sysdeps/i386/fpu/libm-test-ulps: Update.
73210 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73212         [BZ #3976]
73213         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73214         (__ieee754_pow): Save and restore rounding mode and use
73215         round-to-nearest for main computations.
73216         * math/libm-test.inc (pow_test_tonearest): New function.
73217         (pow_test_towardzero): Likewise.
73218         (pow_test_downward): Likewise.
73219         (pow_test_upward): Likewise.
73220         (main): Call the new functions.
73221         * sysdeps/i386/fpu/libm-test-ulps: Update.
73222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73224         [BZ #3976]
73225         * math/libm-test.inc (cosh_test_tonearest): New function.
73226         (cosh_test_towardzero): Likewise.
73227         (cosh_test_downward): Likewise.
73228         (cosh_test_upward): Likewise.
73229         (sinh_test_tonearest): Likewise.
73230         (sinh_test_towardzero): Likewise.
73231         (sinh_test_downward): Likewise.
73232         (sinh_test_upward): Likewise.
73233         (main): Call the new functions.
73234         * sysdeps/i386/fpu/libm-test-ulps: Update.
73235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73237 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73239         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73240         default stack guard is set in last bytes.
73241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73243 2012-03-05  Kees Cook  <keescook@chromium.org>
73245         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73247         [BZ #13656]
73248         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73249         possibly allocate from heap instead of stack.
73250         * stdio-common/bug-vfprintf-nargs.c: New file.
73251         * stdio-common/Makefile (tests): Add nargs overflow test.
73253 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73257 2012-03-03  Marek Polacek  <polacek@redhat.com>
73259         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73260         * math/math_private.h: Likewise.
73261         * stdlib/tst-strtod.c: Likewise.
73262         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73263         * sysdeps/x86_64/bits/atomic.h: Likewise.
73265 2012-03-02  David S. Miller  <davem@davemloft.net>
73267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73271         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73272         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73273         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73274         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73276 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73278         [BZ #13792]
73279         * manual/examples/README: New file, says the example source files
73280         can be used under GPL>=2.
73281         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73282         line containing just "*/".
73283         * manual/examples/add.c: Add copyright header (GPL>=2).
73284         * manual/examples/argp-ex1.c: Likewise.
73285         * manual/examples/argp-ex2.c: Likewise.
73286         * manual/examples/argp-ex3.c: Likewise.
73287         * manual/examples/argp-ex4.c: Likewise.
73288         * manual/examples/atexit.c: Likewise.
73289         * manual/examples/db.c: Likewise.
73290         * manual/examples/dir.c: Likewise.
73291         * manual/examples/dir2.c: Likewise.
73292         * manual/examples/execinfo.c: Likewise.
73293         * manual/examples/filecli.c: Likewise.
73294         * manual/examples/filesrv.c: Likewise.
73295         * manual/examples/fmtmsgexpl.c: Likewise.
73296         * manual/examples/genpass.c: Likewise.
73297         * manual/examples/inetcli.c: Likewise.
73298         * manual/examples/inetsrv.c: Likewise.
73299         * manual/examples/isockad.c: Likewise.
73300         * manual/examples/longopt.c: Likewise.
73301         * manual/examples/memopen.c: Likewise.
73302         * manual/examples/memstrm.c: Likewise.
73303         * manual/examples/mkfsock.c: Likewise.
73304         * manual/examples/mkisock.c: Likewise.
73305         * manual/examples/mygetpass.c: Likewise.
73306         * manual/examples/pipe.c: Likewise.
73307         * manual/examples/popen.c: Likewise.
73308         * manual/examples/rprintf.c: Likewise.
73309         * manual/examples/search.c: Likewise.
73310         * manual/examples/select.c: Likewise.
73311         * manual/examples/setjmp.c: Likewise.
73312         * manual/examples/sigh1.c: Likewise.
73313         * manual/examples/sigusr.c: Likewise.
73314         * manual/examples/stpcpy.c: Likewise.
73315         * manual/examples/strdupa.c: Likewise.
73316         * manual/examples/strftim.c: Likewise.
73317         * manual/examples/strncat.c: Likewise.
73318         * manual/examples/subopt.c: Likewise.
73319         * manual/examples/swapcontext.c: Likewise.
73320         * manual/examples/termios.c: Likewise.
73321         * manual/examples/testopt.c: Likewise.
73322         * manual/examples/testpass.c: Likewise.
73323         * manual/examples/timeval_subtract.c: Likewise.
73325         [BZ #13792]
73326         * manual/time.texi (Elapsed Time): Move timeval_subtract example
73327         function to ...
73328         * manual/timeval_subtract.c.texi: ... here, new file.
73330 2012-03-02  David S. Miller  <davem@davemloft.net>
73332         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73334 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
73336         [BZ #3976]
73337         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73338         (__sin): Save and restore rounding mode and use round-to-nearest
73339         for all computations.
73340         (__cos): Save and restore rounding mode and use round-to-nearest
73341         for all computations.
73342         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73343         <fenv.h>.
73344         (tan): Save and restore rounding mode and use round-to-nearest for
73345         all computations.
73346         * math/libm-test.inc (cos_test_tonearest): New function.
73347         (cos_test_towardzero): Likewise.
73348         (cos_test_downward): Likewise.
73349         (cos_test_upward): Likewise.
73350         (sin_test_tonearest): Likewise.
73351         (sin_test_towardzero): Likewise.
73352         (sin_test_downward): Likewise.
73353         (sin_test_upward): Likewise.
73354         (tan_test_tonearest): Likewise.
73355         (tan_test_towardzero): Likewise.
73356         (tan_test_downward): Likewise.
73357         (tan_test_upward): Likewise.
73358         (main): Call the new functions.
73359         * sysdeps/i386/fpu/libm-test-ulps: Update.
73360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73362         [BZ #10135]
73363         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73364         small n, then large n, before computing and testing k+n.
73365         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73366         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73367         Likewise.
73368         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73369         Likewise.
73370         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73371         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73372         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73373         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73374         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73375         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73376         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73377         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73378         * math/libm-test.inc (scalbn_test): Add more tests.
73379         (scalbln_test): Likewise.
73381         * manual/filesys.texi (mode_t): Describe constraints on size and
73382         signedness, not exact equivalence to a particular type.
73383         (ino_t): Likewise.
73384         (ino64_t): Likewise.
73385         (dev_t): Likewise.
73386         (nlink_t): Likewise.
73387         (blkcnt_t): Likewise.
73388         (blkcnt64_t): Likewise.
73389         * manual/llio.texi (off_t): Likewise.
73391         [BZ #3976]
73392         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73393         (__ieee754_exp): Save and restore rounding mode and use
73394         round-to-nearest for all computations.
73395         * math/libm-test.inc (exp_test_tonearest): New function.
73396         (exp_test_towardzero): Likewise.
73397         (exp_test_downward): Likewise.
73398         (exp_test_upward): Likewise.
73399         (main): Call the new functions.
73400         * sysdeps/i386/fpu/libm-test-ulps: Update.
73401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73403 2012-03-01  Chris Demetriou  <cgd@google.com>
73405         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73406         have predictable order.
73408 2012-03-01  David S. Miller  <davem@davemloft.net>
73410         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73412         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73413         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73414         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73415         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73417         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73418         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73419         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73421         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73422         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73423         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73424         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73425         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73429         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73430         * sysdeps/sparc/fpu/libm-test-ulps: to here.
73431         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73433         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73434         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73435         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73436         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73437         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73438         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73440         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73441         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73442         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73443         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73444         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73446         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73447         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73449         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73450         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73451         * sysdeps/sparc/elf/configure: Regenerated.
73453 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73455         * configure.in (AS, LD): Require binutils 2.20 or later.
73456         * configure: Regenerated.
73457         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73458         as required minimum version.
73459         * INSTALL: Regenerated.
73461         [BZ #2541]
73462         [BZ #4108]
73463         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73464         before squaring exponent.
73465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73466         bottom long double and 27 bits of top long double before squaring
73467         exponent.
73468         * math/libm-test.inc (erfc_test): Add more tests.
73469         * sysdeps/i386/fpu/libm-test-ulps: Update.
73470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73473 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73475         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73476         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73477         containing bit-fields.
73478         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73479         * soft-fp/single.h (_FP_UNION_S): Likewise.
73480         * soft-fp/double.h (_FP_UNION_D): Likewise.
73482 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73484         [BZ #13786]
73485         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73486         not include ../strcmp.S.
73487         [USE_AS_STRNCASECMP_L]: Likewise.
73488         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73489         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73490         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73491         (__strncasecmp_l_ia32): Define as alias to
73492         __strncasecmp_l_nonascii.
73494         [BZ #5794]
73495         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73496         * sysdeps/i386/fpu/libm-test-ulps: Update.
73497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73499         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73502 2012-02-29  Jeff Law  <law@redhat.com>
73504         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73505         out of bounds read.
73507 2012-02-29  Marek Polacek  <polacek@redhat.com>
73509         [BZ #13706]
73510         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73511         * elf/Makefile: Add rules to run tst-unused-dep.out.
73513 2012-02-28  David S. Miller  <davem@davemloft.net>
73515         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73516         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73517         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73518         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73519         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73520         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73522 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73524         * math/libm-test.inc (llround_test): Move one test from
73525         lround_test.  Use TEST_f_L in moved test.
73526         (lround_test): Move misplaced test to llround_test.  Add testcase
73527         from bug 2561.
73529 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73531         * sysdeps/x86_64/fpu/e_expf.S: New file.
73532         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73534 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73536         [BZ #13637]
73537         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73538         of remain_len that may cause incomplete multi-byte character and
73539         false match.
73540         * posix/bug-regex33.c: New file.
73541         * posix/Makefile (tests): Add bug-regex33.
73543 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73545         * manual/macros.texi: New file.
73546         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73547         * manual/libc.texinfo: Include macros.texi.
73548         * manual/creatute.texi: Likewise.
73549         * manual/install.texi: Likewise.
73550         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73551         @glibcadj{} in references to the GNU C Library.
73552         * manual/charset.texi: Likewise.
73553         * manual/conf.texi: Likewise.
73554         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73555         when not using those macros.
73556         * manual/creature.texi: Likewise.
73557         * manual/crypt.texi: Likewise.
73558         * manual/errno.texi: Likewise.
73559         * manual/filesys.texi: Likewise.
73560         * manual/header.texi: Likewise.
73561         * manual/install.texi: Likewise.
73562         * manual/intro.texi: Likewise.
73563         * manual/io.texi: Likewise.
73564         * manual/job.texi: Likewise.
73565         * manual/lang.texi: Likewise.
73566         * manual/libc.texiinfo: Likewise.
73567         * manual/llio.texi: Likewise.
73568         * manual/locale.texi: Likewise.
73569         * manual/maint.texi: Likewise.
73570         * manual/math.texi: Likewise.
73571         * manual/memory.texi: Likewise.
73572         * manual/message.texi: Likewise.
73573         * manual/nss.texi: Likewise.
73574         * manual/pattern.texi: Likewise.
73575         * manual/process.texi: Likewise.
73576         * manual/resource.texi: Likewise.
73577         * manual/search.texi: Likewise.
73578         * manual/setjmp.texi: Likewise.
73579         * manual/signal.texi: Likewise.
73580         * manual/socket.texi: Likewise.
73581         * manual/startup.texi: Likewise.
73582         * manual/stdio.texi: Likewise.
73583         * manual/string.texi: Likewise.
73584         * manual/sysinfo.texi: Likewise.
73585         * manual/syslog.texi: Likewise.
73586         * manual/terminal.texi: Likewise.
73587         * manual/time.texi: Likewise.
73588         * manual/users.texi: Likewise.
73589         * INSTALL: Regenerated.
73590         * NOTES: Regenerated.
73591         * sysdeps/gnu/errlist.c: Regenerated.
73593 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73595         * include/dirent.h: Include <dirstream.h> before
73596         <dirent/dirent.h>.
73598 2012-02-28  David S. Miller  <davem@davemloft.net>
73600         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73601         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73602         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73603         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73605 2012-02-27  David S. Miller  <davem@davemloft.net>
73607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73609         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73610         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73613         frame pointer instead of stack pointer relative arg slot.
73614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73615         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73616         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73618 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73620         [BZ #3992]
73621         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73623 2012-02-27  David S. Miller  <davem@davemloft.net>
73625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73629         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73630         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73631         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73632         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73634 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73636         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73637         later.  Allow versions 5-9.
73638         * configure: Regenerated.
73639         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73640         required minimum version and 4.6 as recommended version.  Do not
73641         mention bugs in GCC 2.7 and 2.8.
73642         * INSTALL: Regenerated.
73644 2012-02-27  David S. Miller  <davem@davemloft.net>
73646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73650         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73651         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73652         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73653         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73655         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73656         manipulate bits before adding and subtracting TWO112[sx].
73657         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73659 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73661         [BZ #13775]
73662         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73663         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73664         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73665         being in POSIX, because they are in 1003.1-2008.
73667         * rt/tst-aio.c: Include <fcntl.h>.
73668         * rt/tst-aio7.c: Likewise.
73669         * rt/tst-aio64.c: Likewise.
73671         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73673 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73675         * manual/install.texi (--with-headers): Describe headers as
73676         interface headers, not private headers.
73677         (Specific advice for GNU/Linux systems): Describe use of headers
73678         from "make headers_install", not private headers from older
73679         kernels.
73680         * INSTALL: Regenerated.
73681         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73682         Change to 2.6.19.
73683         * sysdeps/unix/sysv/linux/configure: Regenerated.
73685         * manual/llio.texi (fclean): Remove documentation.
73687         * manual/Makefile (libc-texi-generated): New variable.  Include
73688         version.texi.
73689         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73690         $(libc-texi-generated), not duplicated list of files.
73691         (version.texi, stamp-version): New rules.
73692         (realclean): Remove $(libc-texi-generated), not individual files
73693         from that list.  Do not remove dir-add.texinfo.
73694         * manual/libc.texinfo: Comment out uses of edition numbers and
73695         references to printed manual.  Remove last-updated dates.
73696         (EDITION): Comment out.
73697         (ISBN): Likewise.
73698         (VERSION, UPDATED): Remove.
73699         (version.texi): Include.
73701 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73703         * sysdeps/posix/spawni.c: Include <signal.h>.
73704         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73705         * sysdeps/pthread/aio_fsync.c: Likewise.
73707 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73709         * conform/Makefile (tests): Run only when not cross-compiling and
73710         when fast-check is not defined.
73712         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73713         * conform/data/limits.h-data: Fixes for POSIX2008.
73714         * conform/run-conformtest.sh: Run all tests.
73715         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73716         headers.
73717         * include/bits/dlfcn.h: Likewise.
73718         * include/langinfo.h: Likewise.
73719         * include/monetary.h: Likewise.
73720         * include/sys/poll.h: Likewise.
73722         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73723         for __USE_GNU.
73724         * posix/spawn.h: Define __need_sigset_t.
73725         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73726         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73727         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73728         to get sigevent_t only.
73729         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73730         only for __USE_GNU.
73731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73732         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73733         process_vm_writev only for __USE_GNU.
73734         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73736         * conform/Makefile: For now ignore errors from run-conformtest.
73737         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73738         POSIX to avoid namespace pollution.  Don't prepend headers.
73739         * conform/data/aio.h-data: Fixes for POSIX testing.
73740         * conform/data/fcntl.h-data: Likewise.
73741         * conform/data/glob.h-data: Likewise.
73742         * conform/data/grp.h-data: Likewise.
73743         * conform/data/pthread.h-data: Likewise.
73744         * conform/data/pwd.h-data: Likewise.
73745         * conform/data/signal.h-data: Likewise.
73746         * conform/data/spawn.h-data: Likewise.
73747         * conform/data/stdio.h-data: Likewise.
73748         * conform/data/stdlib.h-data: Likewise.
73749         * conform/data/stropts.h-data: Likewise.
73750         * conform/data/sys/mman.h-data: Likewise.
73751         * conform/data/sys/stat.h-data: Likewise.
73752         * conform/data/sys/types.h-data: Likewise.
73753         * conform/data/sys/wait.h-data: Likewise.
73754         * conform/data/time.h-data: Likewise.
73755         * conform/data/unistd.h-data: Likewise.
73756         * conform/data/utime.h-data: Likewise.
73758         * io/sys/stat.h: fchmod was always in POSIX.
73759         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73760         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73761         * rt/aio.h: Define __need_timespec before including <time.h>.
73762         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73763         struct.  Add forward declaration of pthread_attr_t and use it in
73764         sigevent.
73765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73766         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73767         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73768         always remove CLK_TCK definition.
73770 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73772         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73774 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73776         * conform/run-conformtest.sh: New file.
73777         * conform/Makefile: Run run-conformtest for tests.
73778         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73779         support.
73781         * conform/data/uchar.h-data: New file.
73782         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73783         * conform/data/arpa/inet.h-data: Likewise.
73784         * conform/data/assert.h-data: Likewise.
73785         * conform/data/complex.h-data: Likewise.
73786         * conform/data/cpio.h-data: Likewise.
73787         * conform/data/ctype.h-data: Likewise.
73788         * conform/data/dirent.h-data: Likewise.
73789         * conform/data/dlfcn.h-data: Likewise.
73790         * conform/data/errno.h-data: Likewise.
73791         * conform/data/fcntl.h-data: Likewise.
73792         * conform/data/float.h-data: Likewise.
73793         * conform/data/fmtmsg.h-data: Likewise.
73794         * conform/data/fnmatch.h-data: Likewise.
73795         * conform/data/ftw.h-data: Likewise.
73796         * conform/data/glob.h-data: Likewise.
73797         * conform/data/grp.h-data: Likewise.
73798         * conform/data/iconv.h-data: Likewise.
73799         * conform/data/inttypes.h-data: Likewise.
73800         * conform/data/langinfo.h-data: Likewise.
73801         * conform/data/libgen.h-data: Likewise.
73802         * conform/data/limits.h-data: Likewise.
73803         * conform/data/locale.h-data: Likewise.
73804         * conform/data/math.h-data: Likewise.
73805         * conform/data/monetary.h-data: Likewise.
73806         * conform/data/mqueue.h-data: Likewise.
73807         * conform/data/ndbm.h-data: Likewise.
73808         * conform/data/net/if.h-data: Likewise.
73809         * conform/data/netdb.h-data: Likewise.
73810         * conform/data/netinet/in.h-data: Likewise.
73811         * conform/data/nl_types.h-data: Likewise.
73812         * conform/data/poll.h-data: Likewise.
73813         * conform/data/pthread.h-data: Likewise.
73814         * conform/data/pwd.h-data: Likewise.
73815         * conform/data/regex.h-data: Likewise.
73816         * conform/data/sched.h-data: Likewise.
73817         * conform/data/search.h-data: Likewise.
73818         * conform/data/semaphore.h-data: Likewise.
73819         * conform/data/setjmp.h-data: Likewise.
73820         * conform/data/signal.h-data: Likewise.
73821         * conform/data/spawn.h-data: Likewise.
73822         * conform/data/stdarg.h-data: Likewise.
73823         * conform/data/stdio.h-data: Likewise.
73824         * conform/data/stdlib.h-data: Likewise.
73825         * conform/data/string.h-data: Likewise.
73826         * conform/data/strings.h-data: Likewise.
73827         * conform/data/stropts.h-data: Likewise.
73828         * conform/data/sys/ipc.h-data: Likewise.
73829         * conform/data/sys/mman.h-data: Likewise.
73830         * conform/data/sys/msg.h-data: Likewise.
73831         * conform/data/sys/resource.h-data: Likewise.
73832         * conform/data/sys/select.h-data: Likewise.
73833         * conform/data/sys/sem.h-data: Likewise.
73834         * conform/data/sys/shm.h-data: Likewise.
73835         * conform/data/sys/socket.h-data: Likewise.
73836         * conform/data/sys/stat.h-data: Likewise.
73837         * conform/data/sys/statvfs.h-data: Likewise.
73838         * conform/data/sys/time.h-data: Likewise.
73839         * conform/data/sys/timeb.h-data: Likewise.
73840         * conform/data/sys/times.h-data: Likewise.
73841         * conform/data/sys/types.h-data: Likewise.
73842         * conform/data/sys/uio.h-data: Likewise.
73843         * conform/data/sys/un.h-data: Likewise.
73844         * conform/data/sys/utsname.h-data: Likewise.
73845         * conform/data/sys/wait.h-data: Likewise.
73846         * conform/data/syslog.h-data: Likewise.
73847         * conform/data/tar.h-data: Likewise.
73848         * conform/data/termios.h-data: Likewise.
73849         * conform/data/utime.h-data: Likewise.
73850         * conform/data/utmpx.h-data: Likewise.
73851         * conform/data/varargs.h-data: Likewise.
73852         * conform/data/wchar.h-data: Likewise.
73853         * conform/data/wctype.h-data: Likewise.
73854         * conform/data/wordexp.h-data: Likewise.
73856         * include/stropts.h: New file.
73857         * include/uchar.h: New file.
73858         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73859         * include/assert.h: Likewise.
73860         * include/ctype.h: Likewise.
73861         * include/dirent.h: Likewise.
73862         * include/dlfcn.h: Likewise.
73863         * include/fcntl.h: Likewise.
73864         * include/fnmatch.h: Likewise.
73865         * include/glob.h: Likewise.
73866         * include/grp.h: Likewise.
73867         * include/libio.h: Likewise.
73868         * include/locale.h: Likewise.
73869         * include/math.h: Likewise.
73870         * include/net/if.h: Likewise.
73871         * include/netdb.h: Likewise.
73872         * include/netinet/in.h: Likewise.
73873         * include/pthread.h: Likewise.
73874         * include/pwd.h: Likewise.
73875         * include/regex.h: Likewise.
73876         * include/sched.h: Likewise.
73877         * include/search.h: Likewise.
73878         * include/setjmp.h: Likewise.
73879         * include/signal.h: Likewise.
73880         * include/stdio.h: Likewise.
73881         * include/stdlib.h: Likewise.
73882         * include/string.h: Likewise.
73883         * include/sys/cdefs.h: Likewise.
73884         * include/sys/mman.h: Likewise.
73885         * include/sys/msg.h: Likewise.
73886         * include/sys/resource.h: Likewise.
73887         * include/sys/select.h: Likewise.
73888         * include/sys/socket.h: Likewise.
73889         * include/sys/stat.h: Likewise.
73890         * include/sys/statvfs.h: Likewise.
73891         * include/sys/time.h: Likewise.
73892         * include/sys/times.h: Likewise.
73893         * include/sys/uio.h: Likewise.
73894         * include/sys/utsname.h: Likewise.
73895         * include/sys/wait.h: Likewise.
73896         * include/termios.h: Likewise.
73897         * include/time.h: Likewise.
73898         * include/ulimit.h: Likewise.
73899         * include/unistd.h: Likewise.
73900         * include/utime.h: Likewise.
73901         * include/wchar.h: Likewise.
73902         * include/wctype.h: Likewise.
73903         * include/wordexp.h: Likewise.
73905         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73907         * time/time.h: TIME_UTC must be a macro.
73908         Make timespec_get available for ISO C11 only as well.
73910 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73912         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73913         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73915 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73917         * configure.in: Use -o not -a in test for unsupported multi-arch.
73919 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73921         * manual/texinfo.tex: Update to version 2012-01-19.16.
73923 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73925         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73927 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73929         [BZ #13738]
73930         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73931         * manual/fdl-1.3.texi: New file.
73932         * manual/fdl-1.1.texi: File removed.
73934         [BZ #13738]
73935         * manual/libc.texinfo (FDL_VERSION): New @set.
73936         Use it for mention of FDL in cover text.
73937         (Documentation License): Use it in @include file name.
73939 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73940             Roland McGrath  <roland@hack.frob.com>
73942         [BZ #5461]
73943         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73944         (not LONG_LONG_MAX and LONG_LONG_MIN.
73945         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73946         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73947         name.
73948         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73950 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73952         [BZ #2547]
73953         [BZ #11365]
73954         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73955         manipulate bits before adding and subtracting TWO23[sx].
73956         * math/libm-test.inc (nearbyint_test): Add more tests.
73958 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73960         [BZ #2548]
73961         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73962         bits before adding and subtracting TWO23[sx].
73963         * math/libm-test.inc (rint_test): Add more tests.
73964         (rint_test_tonearest): Likewise.
73965         (rint_test_towardzero): Likewise.
73966         (rint_test_downward): Likewise.
73967         (rint_test_upward: Likewise.
73969 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73971         [BZ #10110]
73972         * include/stdc-predef.h: New file.  Extracted from features.h.
73973         * include/features.h: Include stdc-predef.h.
73974         * Makefile (headers): Add stdc-predef.h.
73975         * CONFORMANCE (Compiler limitations): Update.
73977 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73979         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73981 2012-02-21  David S. Miller  <davem@davemloft.net>
73983         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73984         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73986 2012-02-20  David S. Miller  <davem@davemloft.net>
73988         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73989         using a normal save/restore sequence, rather than allocating a
73990         dummy stack frame just to store a frame pointer and restore.
73991         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73993 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73995         * manual/install.texi: Fix stray word in line-wrapped comment.
73997 2012-02-20  David S. Miller  <davem@davemloft.net>
73999         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74000         both binutils and gcc support GOTDATA.
74002         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74003         "rd %pc" in the PIC register setup sequences.
74005         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74006         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74007         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74008         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74009         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74011         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74012         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74013         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74014         (SYSCALL_ERROR_HANDLER): Likewise.
74015         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74016         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74017         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74018         (SYSCALL_ERROR_HANDLER): Likewise.
74020         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74021         (HAVE_GCC_GOTDATA): New.
74022         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74023         relocation support in both binutils and gcc.
74024         * sysdeps/sparc/elf/configure: Regenerate.
74026         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74027         * sysdeps/sparc/sparc32/elf/configure: Delete.
74028         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74029         * sysdeps/sparc/sparc64/elf/configure: Delete.
74030         * sysdeps/sparc/elf/configure.in: New file.
74031         * sysdeps/sparc/elf/configure: Generate.
74033         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74034         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74035         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74036         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74037         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74039 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74041         * manual/install.texi: Do not mention specific glibc version
74042         numbers.
74043         * manual/libc.texinfo (VERSION, UPDATED): Update.
74044         (@copying): Use @copyright{} and range of years.
74046 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74048         [BZ #13695]
74049         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74050         [crti.S not in sysdirs] (generated): Do not append.
74051         [crti.S not in sysdirs] (omit-deps): Likewise.
74052         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74053         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74054         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74055         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74056         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74057         Likewise.
74058         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74059         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74060         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74061         * csu/defs.awk: Remove file.
74062         * sysdeps/generic/initfini.c: Likewise.
74063         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74064         variable.
74065         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74066         Likewise.
74068 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74070         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74071         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74072         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74073         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74074         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74075         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74076         <bits/epoll.h>.
74077         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74078         (__EPOLL_PACKED): Define to empty if not defined by
74079         <bits/epoll.h>.
74080         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74082         bits/epoll.h.
74084 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74086         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74087         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74088         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74089         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74090         <bits/timerfd.h>.
74091         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74093         bits/timerfd.h.
74095 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74097         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74098         in C locale.
74099         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74100         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74101         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74104 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74106         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74107         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74109 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74111         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74112         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74113         defined.
74114         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74115         Likewise.
74116         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74117         entry for 2.16.
74119 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74121         * math/w_acos.c: Use non-signaling floating-point comparisons.
74122         * math/w_acosf.c: Likewise.
74123         * math/w_acosh.c: Likewise.
74124         * math/w_acoshf.c: Likewise.
74125         * math/w_acoshl.c: Likewise.
74126         * math/w_acosl.c: Likewise.
74127         * math/w_asin.c: Likewise.
74128         * math/w_asinf.c: Likewise.
74129         * math/w_asinl.c: Likewise.
74130         * math/w_atanh.c: Likewise.
74131         * math/w_atanhf.c: Likewise.
74132         * math/w_atanhl.c: Likewise.
74133         * math/w_exp2.c: Likewise.
74134         * math/w_exp2f.c: Likewise.
74135         * math/w_exp2l.c: Likewise.
74136         * math/w_j0.c: Likewise.
74137         * math/w_j0f.c: Likewise.
74138         * math/w_j0l.c: Likewise.
74139         * math/w_j1.c: Likewise.
74140         * math/w_j1f.c: Likewise.
74141         * math/w_j1l.c: Likewise.
74142         * math/w_jn.c: Likewise.
74143         * math/w_jnf.c: Likewise.
74144         * math/w_log.c: Likewise.
74145         * math/w_log10.c: Likewise.
74146         * math/w_log10f.c: Likewise.
74147         * math/w_log10l.c: Likewise.
74148         * math/w_log2.c: Likewise.
74149         * math/w_log2f.c: Likewise.
74150         * math/w_log2l.c: Likewise.
74151         * math/w_logf.c: Likewise.
74152         * math/w_logl.c: Likewise.
74153         * math/w_sqrt.c: Likewise.
74154         * math/w_sqrtf.c: Likewise.
74155         * math/w_sqrtl.c: Likewise.
74156         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74157         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74158         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74159         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74160         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74162 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74164         [BZ #9739]
74165         * manual/string.texi (strnlen): Use correct parameter name in
74166         equivalent expression.
74168 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74170         [BZ #11174]
74171         * manual/users.texi (seteuid): Consistently use neweuid for
74172         argument name.
74174 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74176         [BZ #13704]
74177         * manual/nss.texi (Services in the NSS configuration): Correct
74178         list of services in example configuration file.
74180 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74182         [BZ #11322]
74183         * manual/arith.texi: Remove statements about negative zero
74184         behaving identically to zero.
74186 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74188         [BZ #5993]
74189         * manual/install.texi: Do not document upgrading from libc5.
74191 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74193         [BZ #4596]
74194         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74196 2012-02-18  David S. Miller  <davem@davemloft.net>
74198         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74199         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74200         %o7 across the call.
74201         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74202         instead.
74203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74204         SETUP_PIC_REG_LEAF.
74205         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74206         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74207         * sysdeps/sparc/crtn.S: Likewise.
74209 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74211         * aout/Makefile: Remove.
74213 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74215         [BZ #13058]
74216         * manual/examples/argp-ex1.c (main): Format definition in GNU
74217         style.
74218         * manual/examples/argp-ex2.c (main): Likewise.
74219         * manual/examples/argp-ex3.c (main): Likewise.
74220         * manual/examples/argp-ex4.c (main): Likewise.
74221         * manual/examples/longopt.c (main): Use new-style prototype
74222         definition.
74223         * manual/examples/strncat.c (main): Specify return type and use
74224         (void) for arguments.
74225         * manual/examples/subopt.c (main): Use char **argv argument.
74227 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74229         [BZ #5077]
74230         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74231         rounding modes.
74233 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74235         [BZ #6907]
74236         * manual/string.texi (strchr): Change when strchrnul is
74237         recommended.
74239 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74241         [BZ #174]
74242         * manual/locale.texi (setlocale): Document LOCPATH.
74244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74246         [BZ #10210]
74247         * manual/process.texi (execle): Move @dots{} before last argument.
74249 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74251         [BZ #12047]
74252         * manual/charset.texi (Generic Charset Conversion): Fix typo
74253         (LC_TYPE -> LC_CTYPE).
74255 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74257         [BZ #5805]
74258         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74259         (scalbnf): Likewise.
74260         (scalbnl): Likewise.
74261         (scalbln): Likewise.
74262         (scalblnf): Likewise.
74263         (scalblnl): Likewise.
74264         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74265         (vwarnx): Likewise.
74266         (verr): Likewise.
74267         (verrx): Likewise.
74268         * manual/filesys.texi (telldir): Use braces around return type.
74269         * manual/llio.texi (mmap): Add space after comma.
74270         (mmap64): Likewise.
74271         * manual/math.texi (jn): Use @var{} on parameter names.
74272         (jnf): Likewise.
74273         (jnl): Likewise.
74274         (yn): Likewise.
74275         (ynf): Likewise.
74276         (ynl): Likewise.
74277         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74278         line.
74279         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74280         "...".
74281         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74282         (sched_get_priority_max): Likewise.
74283         * manual/signal.texi (sigvec): Add space after comma.
74284         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74285         names.
74286         (if_indextoname): Likewise.
74287         (if_freenameindex): Likewise.
74288         (sendto): Use ',' instead of '.' in prototype.
74289         * manual/startup.texi (syscall): Use @dots{} instead of literal
74290         "...".
74291         * manual/stdio.texi (__fpending): Separate initial words of
74292         paragraph from @deftypefun line.
74293         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74294         "...".
74295         (vsyslog): Use @var{} on parameter names.
74296         * manual/terminal.texi (stty): Use @var{} on parameter names.
74297         * manual/users.texi (getutmp): Use @var{} on parameter names.
74298         (getutmpx): Likewise.
74300 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74302         [BZ #6884]
74303         * manual/stdio.texi (fopen): Fix typos in description of
74304         ",ccs=STRING".
74306 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
74308         [BZ #4026]
74309         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74310         get clock_id definition.
74312 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
74314         [BZ #4822]
74315         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74316         (madvise): Cast every argument to void on its own.
74318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74320         [BZ #9902]
74321         * manual/startup.texi (Exit Status): Fix typo.
74323 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74325         [BZ #10140]
74326         * manual/examples/argp-ex1.c: Include <stdlib.h>.
74327         * manual/examples/argp-ex2.c: Likewise.
74328         * manual/examples/argp-ex3.c: Likewise.
74330 2012-02-16  Richard Henderson  <rth@redhat.com>
74332         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74333         * sysdeps/s390/s390-32/initfini.c: Remove.
74334         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74335         * sysdeps/s390/s390-64/initfini.c: Remove.
74337 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74339         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74340         compiler output for sysdeps/generic/initfini.c.
74341         * sysdeps/sh/elf/initfini.c: Remove file.
74343 2012-02-16  David S. Miller  <davem@davemloft.net>
74345         [BZ #11494]
74346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74348         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74349         * sysdeps/sparc/crti.S: New file.
74350         * sysdeps/sparc/crtn.S: New file.
74351         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74352         * sysdeps/sparc/sparc64/Makefile: Likewise.
74354 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
74356         [BZ #3335]
74357         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74359 2012-02-15  Roland McGrath  <roland@hack.frob.com>
74361         [BZ #4822]
74362         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74364         * mach/devstream.c (cookie_io_functions_t): Macro removed.
74365         (write, read, close): Likewise.
74366         Patch by Aurelien Jarno <aurelien@aurel32.net>.
74368 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
74370         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74371         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74372         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74373         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74374         <bits/signalfd.h>.
74375         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74376         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74377         bits/signalfd.h.
74379 2012-02-14  Marek Polacek  <polacek@redhat.com>
74381         * sysdeps/x86_64/crti.S: New file.
74382         * sysdeps/x86_64/crtn.S: New file.
74383         * sysdeps/x86_64/elf/initfini.c: Remove file.
74385 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74387         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74388         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74389         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74390         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74391         <bits/inotify.h>.
74392         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74394         bits/inotify.h.
74396 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74398         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74399         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74400         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74401         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74402         <bits/eventfd.h>.
74403         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74405         bits/eventfd.h.
74407 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
74409         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74410         __feraiseexcept instead of feraiseexcept.
74412         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74413         nanosleep invocations.
74414         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74415         strings, and add error checking for a nanosleep invocations.
74417 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
74419         Replace FSF snail mail address with URLs, as per GNU coding standards.
74420         Most of the snail mail addresses were wrong anyway, and omitting
74421         them makes the source code easier to maintain.  Almost all of the
74422         changes are to license notices and to locale LC_IDENTIFICATION
74423         addresses, except for this one:
74424         * manual/libc.texinfo: In "Published by", give the FSF's URL,
74425         not its snail mail address.
74427 2012-02-09  Richard Henderson  <rth@twiddle.net>
74429         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74430         of kernel-features.h.
74432         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74434 2012-02-08  Marek Polacek  <polacek@redhat.com>
74436         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74437         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74438         * sysdeps/gnu/_G_config.h: Likewise.
74439         * sysdeps/generic/_G_config.h: Likewise.
74441 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74443         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74444         tests.
74445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74447         * sysdeps/powerpc/powerpc32/crti.S: New file.
74448         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74449         * sysdeps/powerpc/powerpc64/crti.S: New file.
74450         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74452         * Makeconfig (have-initfini): Don't set.
74453         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74454         * configure.in (nopic_initfini): Don't substitute.
74455         * config.h.in (HAVE_INITFINI): Don't #undef.
74456         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74457         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74459 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74461         Support crti.S and crtn.S provided directly by architectures.
74462         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74463         [crti.S in sysdirs] (omit-deps): Likewise.
74464         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74465         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74466         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74467         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74468         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74469         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74470         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74471         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74472         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74473         compiler output for sysdeps/generic/initfini.c.
74474         * sysdeps/i386/elf/Makefile: Remove file.
74475         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74477 2012-02-07  Marek Polacek  <polacek@redhat.com>
74479         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74480         * sysdeps/gnu/_G_config.h: Likewise.
74481         * sysdeps/mach/hurd/_G_config.h: Likewise.
74483 2012-02-07  Marek Polacek  <polacek@redhat.com>
74485         * math/Makefile (tests): Add tst-CMPLX2.
74486         * math/tst-CMPLX2.c: New file.
74488 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74490         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74492         * math/libm-test.inc (jn_test): Add missing L suffix.
74494 2012-02-06  Marek Polacek  <polacek@redhat.com>
74496         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74497         * sysdeps/i386/fpu/e_powf.S: Likewise.
74498         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74499         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74500         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74501         * sysdeps/i386/fpu/e_pow.S: Likewise.
74502         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74503         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74504         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74505         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74506         * sysdeps/i386/fpu/e_log2.S: Likewise.
74507         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74508         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74509         * sysdeps/i386/fpu/e_powl.S: Likewise.
74510         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74511         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74512         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74513         * sysdeps/i386/fpu/e_logl.S: Likewise.
74514         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74515         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74516         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74517         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74518         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74519         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74520         * sysdeps/i386/fpu/e_log.S: Likewise.
74521         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74522         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74523         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74524         * sysdeps/i386/fpu/e_logf.S: Likewise.
74525         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74526         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74527         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74528         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74529         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74530         * sysdeps/i386/fpu/e_log10.S: Likewise.
74531         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74532         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74533         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74534         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74535         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74536         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74537         * sysdeps/i386/asm-syntax.h: Likewise.
74538         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74539         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74540         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74541         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74542         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74543         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74544         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74545         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74546         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74547         * sysdeps/powerpc/sysdep.h: Likewise.
74548         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74549         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74551 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74553         [BZ #411]
74554         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74556 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74558         * sysdeps/i386/sysdep.h: Include <features.h>.
74559         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74560         version.
74562 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74564         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74565         Define.
74566         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74567         LOAD_PIC_REG_STR.
74569 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74571         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74572         (SETUP_PIC_REG): Use GET_PC_THUNK.
74573         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74574         macro.
74576 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74578         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74579         for non-PIC compilation.
74580         (SETUP_PIC_REG): Add .p2align directive.
74581         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74582         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74583         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74584         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74585         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74586         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74587         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74588         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74589         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74590         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74591         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74592         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74593         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74594         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74595         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74596         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74597         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74598         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74599         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74600         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74601         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74602         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74603         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74604         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74605         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74607         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74608         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74609         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74610         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74611         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74612         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74613         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74614         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74615         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74616         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74617         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74618         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74619         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74620         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74621         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74623 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74625         * math/tst-CMPLX.c: Include <stdio.h>.
74627 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74629         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74630         float.
74631         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74632         * sysdeps/sparc/bits/mathdef.h: Likewise.
74634 2012-01-31  Marek Polacek  <polacek@redhat.com>
74636         * libio/libio.h: Don't define _PARAMS.
74637         * locale/programs/config.h: Don't define PARAMS.
74638         * stdlib/strtol_l.c: Likewise.
74639         (__strtol_l): Remove PARAMS from the prototype.
74641 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74643         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74644         names.  Just use the correct names.  Remove unnecessary wrapper
74645         functions.
74646         * malloc/arena.c: Likewise.
74647         * malloc/hooks.c: Likewise.
74649         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74650         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74651         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74653 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74655         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74656         into tail calls.
74657         (update_get_addr): New function.
74658         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74659         GET_ADDR_MODULE parameter.
74661 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74663         * crypt/cert.c: Remove __STDC__ conditionals.
74664         * crypt/crypt-entry.c: Likewise.
74665         * crypt/crypt_util.c: Likewise.
74666         * libio/filedoalloc.c: Likewise.
74667         * libio/fileops.c: Likewise.
74668         * libio/genops.c: Likewise.
74669         * libio/iofclose.c: Likewise.
74670         * libio/iofdopen.c: Likewise.
74671         * libio/iofopen.c: Likewise.
74672         * libio/iofopen64.c: Likewise.
74673         * libio/iogetdelim.c: Likewise.
74674         * libio/iopopen.c: Likewise.
74675         * libio/obprintf.c: Likewise.
74676         * libio/oldfileops.c: Likewise.
74677         * libio/oldiofclose.c: Likewise.
74678         * libio/oldiofdopen.c: Likewise.
74679         * libio/oldiofopen.c: Likewise.
74680         * libio/oldiopopen.c: Likewise.
74681         * libio/wfiledoalloc.c: Likewise.
74682         * libio/wgenops.c: Likewise.
74683         * locale/programs/xmalloc.c: Likewise.
74684         * misc/syslog.c: Likewise.
74685         * stdio-common/xbug.c: Likewise.
74686         * string/memchr.c: Likewise.
74687         * string/memcmp.c: Likewise.
74688         * string/memrchr.c: Likewise.
74689         * string/rawmemchr.c: Likewise.
74690         * sysdeps/posix/getcwd.c: Likewise.
74691         * time/strftime_l.c: Likewise.
74693 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74695         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74696         * config.make.in (config-cflags-sse2avx): Define.
74697         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74698         Fix typo.
74700 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74702         * scripts/config.guess: Update from upstream config git repository.
74703         * scripts/config.sub: Likewise.
74705 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74707         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74708         (EM_NUM): Update.
74709         (R_TILEPRO_*, R_TILEGX_*): New macros.
74711         * scripts/firstversions.awk: Fix bug in version range handling.
74713         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74715         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74717         * include/sys/epoll.h: New file.
74718         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74719         libc_hidden_def.
74721 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74723         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74724         Avoid unnecessary __WORDSIZE == 64 test.
74725         (fmaxf): Use VEX format if possible.
74726         (fmax): Likewise.
74727         (fminf): Likewise.
74728         (fmin): Likewise.
74730         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74731         * math/math_private.h: Remove libc_fegetround* and
74732         libc_fesetround*.
74733         * sysdeps/i386/configure.in: Check for -msse2avx.
74734         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74735         also if SSE2AVX is defined.
74736         Remove libc_fegetround* and libc_fesetround*.
74737         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74738         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74739         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74740         of HAS_YMM_USABLE.
74741         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74742         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74744         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74745         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74747         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74749 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74751         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74752         size is not set.
74753         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74755 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74757         [BZ #13618]
74758         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74759         relocation.
74760         * Makeconfig (libm): Define.
74761         * elf/Makefile: Add rules to build and run tst-relsort1.
74762         * elf/tst-relsort1.c: New file.
74763         * elf/tst-relsort1mod1.c: New file.
74764         * elf/tst-relsort1mod2.c: New file.
74766 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74768         * math/s_ldexp.c: Remove __STDC__ conditionals.
74769         * math/s_ldexpf.c: Likewise.
74770         * math/s_ldexpl.c: Likewise.
74771         * math/s_nextafter.c: Likewise.
74772         * math/s_nexttowardf.c: Likewise.
74773         * math/s_significand.c: Likewise.
74774         * math/s_significandf.c: Likewise.
74775         * math/s_significandl.c: Likewise.
74776         * math/w_jnl.c: Likewise.
74777         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74778         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74779         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74780         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74781         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74782         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74783         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74784         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74786         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74787         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74788         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74789         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74790         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74791         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74792         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74793         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74794         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74796         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74797         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74798         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74799         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74800         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74801         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74802         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74803         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74804         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74805         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74806         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74807         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74808         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74809         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74810         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74811         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74812         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74813         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74814         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74815         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74816         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74817         * sysdeps/ieee754/k_standard.c: Likewise.
74818         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74819         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74820         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74821         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74822         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74823         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74824         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74825         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74826         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74827         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74828         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74829         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74830         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74831         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74832         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74833         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74834         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74835         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74836         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74837         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74838         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74839         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74840         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74841         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74843         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74844         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74845         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74846         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74847         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74848         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74849         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74850         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74851         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74853         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74854         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74855         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74856         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74857         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74858         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74860         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74861         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74862         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74863         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74864         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74865         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74866         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74867         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74868         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74869         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74870         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74871         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74872         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74873         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74874         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74875         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74876         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74877         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74878         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74879         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74880         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74881         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74882         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74883         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74884         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74885         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74886         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74887         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74888         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74889         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74890         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74891         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74892         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74893         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74894         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74895         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74896         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74897         * sysdeps/ieee754/s_matherr.c: Likewise.
74898         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74899         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74901         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74903 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74905         * crypt/md5.h: Remove __STDC__ conditionals.
74906         * libio/libioP.h: Likewise.
74907         * locale/programs/config.h: Likewise.
74908         * sysdeps/generic/sysdep.h: Likewise.
74909         * sysdeps/i386/asm-syntax.h: Likewise.
74910         * sysdeps/s390/asm-syntax.h: Likewise.
74911         * sysdeps/unix/sysdep.h: Likewise.
74912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74915 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74917         * libio/libio.h: Remove __STDC__ conditionals.
74918         * malloc/obstack.h: Likewise.
74919         * math/complex.h: Likewise.
74920         * math/math.h: Likewise.
74921         * sysdeps/generic/_G_config.h: Likewise.
74922         * sysdeps/gnu/_G_config.h: Likewise.
74923         * sysdeps/mach/hurd/_G_config.h: Likewise.
74924         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74925         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74926         * sysdeps/sparc/bits/mathdef.h: Likewise.
74928 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74930         [BZ #13583]
74931         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74932         Clean up HAS_* macros.
74933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74934         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74935         possible.
74936         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74937         HAS_AVX.
74938         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74939         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74940         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74941         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74942         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74944 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74946         * elf/tst-unique3.cc (gets): Remove declaration.
74947         * elf/tst-unique3lib.cc (gets): Likewise.
74948         * elf/tst-unique3lib2.cc (gets): Likewise.
74949         * elf/tst-unique4.cc (gets): Likewise.
74951 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74953         * include/stdio.h: Add C++ protection.  Add gets declarations and
74954         definitions.
74955         * debug/tst-chk1.c: Don't declare gets here.
74956         * stdio-common/tst-gets.c: Likewise.
74958 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74960         * posix/glob: Remove directory.
74962 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74964         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74966 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74968         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74969         of the non-standard EPFNOSUPPORT.
74971 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74973         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74974         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74975         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74977 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74979         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74981 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74983         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74984         transient errors.
74985         * nscd/grpcache.c (cache_addgr): Likewise.
74986         * nscd/hstcache.c (cache_addhst): Likewise.
74987         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74988         * nscd/pwdcache.c (cache_addpw): Likewise.
74989         * nscd/servicescache.c (cache_addserv): Likewise.
74991 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74993         * malloc/malloc.c: Various cleanups.
74994         * malloc/hooks.c: Likewise.
74996         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74997         * stdlib/bug-fmtmsg1.c: New file.
74999         * stdlib/fmtmsg.c (init): Add missing unlock.
75000         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75002 2012-01-12  Marek Polacek  <polacek@redhat.com>
75004         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75005         and _GNU_SOURCE.
75007 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75009         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75010         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75011         macro to ensure uniqueness of label name.
75012         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75013         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75015 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75017         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75019         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75020         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75021         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75022         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75024 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75026         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75028         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75029         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75030         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75032         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75034         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75035         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75036         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75037         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75039         * math/bits/math-finite.h: Add ldexp support.
75041 2012-01-10  Marek Polacek  <polacek@redhat.com>
75043         * locale/programs/localedef.h (show_archive_content): Add noreturn
75044         attribute.
75046 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75048         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75050 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75052         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75054         * io/Makefile (headers): Add bits/poll2.h.
75056 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75059         typo #include statement.
75061 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75063         * include/sys/cdefs.h: Define __attribute_alloc_size.
75064         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75065         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75066         * elf/pldd.c: Likewise.
75067         * iconv/iconv_charmap.c: Likewise.
75068         * iconv/iconvconfig.c: Likewise.
75069         * iconv/strtab.c: Likewise.
75070         * locale/programs/locale.c: Likewise.
75071         * locale/programs/localedef.h: Likewise.
75072         * locale/programs/simple-hash.c: Likewise.
75073         * nscd/nscd.h: Likewise.
75074         * nss/makedb.c: Likewise.
75075         * sysdeps/generic/ldconfig.h: Likewise.
75076         * locale/programs/localedef.c: Remove xmalloc prototype.
75077         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75079 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75081         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75082         appropriate.
75084 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75086         * math/Makefile (tests): Add tst-CMPLX.
75087         * math/tst-CMPLX.c: New file.
75089         * math/complex.h (CMPLXL): Fix typo.
75091         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75092         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75093         GLIBC_2.16.
75094         * debug/tst-chk1.c: Add poll and ppoll tests.
75095         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75096         * include/sys/poll.h: Add hidden proto for ppoll.
75097         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75098         * sysdeps/mach/hurd/ppoll.c: Likewise.
75099         * io/ppoll.c: Likewise.
75100         * debug/poll_chk.c: New file.
75101         * debug/ppoll_chk.c: New file.
75102         * include/bits/poll2.h: New file.
75103         * io/bits/poll2.h: New file.
75105         [BZ #1350]
75106         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75108         * configure.in: static is always set to yes.  Remove.
75109         * config.make.in: Don't set build-static.
75110         * Makeconfig: Remove use of build-static.
75111         * dlfcn/Makefile: Likewise.
75112         * elf/Makefile: Likewise.
75113         * math/Makefile: Likewise.
75114         * misc/Makefile: Likewise.
75115         * nptl/Makefile: Likewise.
75116         * sysdeps/mach/hurd/Makefile: Likewise.
75118         * configure.in: PWD_P is not used anymore.
75119         * config.make.in: Remove PWD_P entry.
75121         * configure.in: Remove last remnants of RANLIB.
75122         No need to check for signed size_t anymore.
75123         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75124         and IA-64.
75125         Remove __builtin_expect test because we require at least gcc 3.4.
75126         * aclocal.m4: Likewise.
75128         * wcsmbs/mbrtoc16.c: Implement using towc function.
75129         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75130         * wcsmbs/wcsmbsload.c: Likewise.
75131         * iconv/gconv_simple.c: Likewise.
75132         * iconv/gconv_int.h: Likewise.
75133         * iconv/gconv_builtin.h: Likewise.
75134         * iconv/iconv_prog.c: Remove CHAR16 handling.
75136         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75138         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75140         * configure.in: Remove --with-elf and --enable-bounded options.
75141         Dont set base_machine for ia64.  More non-ELF conditions removed.
75142         Remove testing and setting of leading underscore information.
75143         * config.make.in (build-bounded): Set to no.
75144         * config.h.in: Remove NO_UNDERSCORES entry.
75145         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75146         them.
75147         * csu/start.c: Remove !NO_UNDERSCORE code.
75148         * locale/localeinfo.h: Likewise.
75149         * sysdeps/generic/machine-gmon.h: Likewise.
75150         * sysdeps/generic/sysdep.h: Likewise.
75151         * sysdeps/i386/sysdep.h: Likewise.
75152         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75153         * sysdeps/mach/sysdep.h: Likewise.
75154         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75155         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75156         * sysdeps/sh/sysdep.h: Likewise.
75157         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75158         * sysdeps/unix/i386/sysdep.S: Likewise.
75159         * sysdeps/unix/sparc/start.c: Likewise.
75160         * sysdeps/unix/sparc/sysdep.S: Likewise.
75161         * sysdeps/unix/sparc/sysdep.h: Likewise.
75162         * sysdeps/unix/start.c: Likewise.
75163         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75164         * sysdeps/x86_64/sysdep.h: Likewise.
75166 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75168         [BZ #13553]
75169         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75170         for non-gcc.
75171         * argp/argp-fmtstream.h: Use const instead __const.
75172         * argp/argp.h: Likewise.
75173         * assert/assert.h: Likewise.
75174         * bits/fenv.h: Likewise.
75175         * bits/sched.h: Likewise.
75176         * bits/sigset.h: Likewise.
75177         * bits/sigthread.h: Likewise.
75178         * catgets/nl_types.h: Likewise.
75179         * conform/data/pthread.h-data: Likewise.
75180         * crypt/crypt-private.h: Likewise.
75181         * crypt/crypt.h: Likewise.
75182         * crypt/crypt_util.c: Likewise.
75183         * ctype/ctype.h: Likewise.
75184         * debug/execinfo.h: Likewise.
75185         * debug/mbsnrtowcs_chk.c: Likewise.
75186         * debug/mbsrtowcs_chk.c: Likewise.
75187         * debug/wcsnrtombs_chk.c: Likewise.
75188         * debug/wcsrtombs_chk.c: Likewise.
75189         * debug/wcstombs_chk.c: Likewise.
75190         * dirent/dirent.h: Likewise.
75191         * dlfcn/dlfcn.h: Likewise.
75192         * elf/neededtest4.c: Likewise.
75193         * grp/grp.h: Likewise.
75194         * gshadow/gshadow.h: Likewise.
75195         * iconv/gconv.h: Likewise.
75196         * iconv/gconv_int.h: Likewise.
75197         * iconv/gconv_simple.c: Likewise.
75198         * iconv/iconv.h: Likewise.
75199         * iconv/loop.c: Likewise.
75200         * iconv/skeleton.c: Likewise.
75201         * include/aio.h: Likewise.
75202         * include/aliases.h: Likewise.
75203         * include/argz.h: Likewise.
75204         * include/arpa/inet.h: Likewise.
75205         * include/assert.h: Likewise.
75206         * include/dirent.h: Likewise.
75207         * include/dlfcn.h: Likewise.
75208         * include/execinfo.h: Likewise.
75209         * include/fcntl.h: Likewise.
75210         * include/fenv.h: Likewise.
75211         * include/glob.h: Likewise.
75212         * include/grp.h: Likewise.
75213         * include/libintl.h: Likewise.
75214         * include/mntent.h: Likewise.
75215         * include/netdb.h: Likewise.
75216         * include/pwd.h: Likewise.
75217         * include/rpc/netdb.h: Likewise.
75218         * include/sched.h: Likewise.
75219         * include/search.h: Likewise.
75220         * include/shadow.h: Likewise.
75221         * include/signal.h: Likewise.
75222         * include/stdio.h: Likewise.
75223         * include/stdlib.h: Likewise.
75224         * include/string.h: Likewise.
75225         * include/sys/socket.h: Likewise.
75226         * include/sys/stat.h: Likewise.
75227         * include/sys/statfs.h: Likewise.
75228         * include/sys/statvfs.h: Likewise.
75229         * include/sys/syslog.h: Likewise.
75230         * include/sys/time.h: Likewise.
75231         * include/sys/uio.h: Likewise.
75232         * include/time.h: Likewise.
75233         * include/unistd.h: Likewise.
75234         * include/utmp.h: Likewise.
75235         * include/wchar.h: Likewise.
75236         * include/wctype.h: Likewise.
75237         * inet/aliases.h: Likewise.
75238         * inet/arpa/inet.h: Likewise.
75239         * inet/netinet/ether.h: Likewise.
75240         * inet/netinet/in.h: Likewise.
75241         * intl/libintl.h: Likewise.
75242         * io/bits/fcntl2.h: Likewise.
75243         * io/fcntl.h: Likewise.
75244         * io/ftw.h: Likewise.
75245         * io/sys/poll.h: Likewise.
75246         * io/sys/stat.h: Likewise.
75247         * io/sys/statfs.h: Likewise.
75248         * io/sys/statvfs.h: Likewise.
75249         * io/utime.h: Likewise.
75250         * libio/bits/stdio.h: Likewise.
75251         * libio/bits/stdio2.h: Likewise.
75252         * libio/libio.h: Likewise.
75253         * libio/libioP.h: Likewise.
75254         * libio/stdio.h: Likewise.
75255         * locale/lc-ctype.c: Likewise.
75256         * locale/locale.h: Likewise.
75257         * login/utmp.h: Likewise.
75258         * malloc/arena.c: Likewise.
75259         * malloc/malloc.c: Likewise.
75260         * malloc/malloc.h: Likewise.
75261         * malloc/mcheck.c: Likewise.
75262         * malloc/mtrace.c: Likewise.
75263         * math/bits/mathcalls.h: Likewise.
75264         * math/fenv.h: Likewise.
75265         * math/math_private.h: Likewise.
75266         * misc/bits/error.h: Likewise.
75267         * misc/bits/syslog.h: Likewise.
75268         * misc/err.h: Likewise.
75269         * misc/error.h: Likewise.
75270         * misc/fstab.h: Likewise.
75271         * misc/mntent.h: Likewise.
75272         * misc/regexp.h: Likewise.
75273         * misc/search.h: Likewise.
75274         * misc/sgtty.h: Likewise.
75275         * misc/sys/mman.h: Likewise.
75276         * misc/sys/syslog.h: Likewise.
75277         * misc/sys/uio.h: Likewise.
75278         * misc/sys/xattr.h: Likewise.
75279         * misc/ttyent.h: Likewise.
75280         * nis/rpcsvc/ypclnt.h: Likewise.
75281         * nss/nss.h: Likewise.
75282         * posix/bits/unistd.h: Likewise.
75283         * posix/fnmatch.h: Likewise.
75284         * posix/glob.h: Likewise.
75285         * posix/sched.h: Likewise.
75286         * posix/spawn.h: Likewise.
75287         * posix/sys/wait.h: Likewise.
75288         * posix/unistd.h: Likewise.
75289         * posix/wordexp.h: Likewise.
75290         * pwd/pwd.h: Likewise.
75291         * resolv/netdb.h: Likewise.
75292         * resource/sys/resource.h: Likewise.
75293         * rt/aio.h: Likewise.
75294         * rt/bits/mqueue2.h: Likewise.
75295         * rt/mqueue.h: Likewise.
75296         * shadow/shadow.h: Likewise.
75297         * signal/signal.h: Likewise.
75298         * socket/send.c: Likewise.
75299         * socket/sendto.c: Likewise.
75300         * socket/sys/socket.h: Likewise.
75301         * stdio-common/printf.h: Likewise.
75302         * stdlib/bits/stdlib.h: Likewise.
75303         * stdlib/fmtmsg.h: Likewise.
75304         * stdlib/monetary.h: Likewise.
75305         * stdlib/stdlib.h: Likewise.
75306         * stdlib/ucontext.h: Likewise.
75307         * streams/stropts.h: Likewise.
75308         * string/argz.h: Likewise.
75309         * string/bits/string2.h: Likewise.
75310         * string/string.h: Likewise.
75311         * string/strings.h: Likewise.
75312         * sunrpc/rpc/auth.h: Likewise.
75313         * sunrpc/rpc/auth_des.h: Likewise.
75314         * sunrpc/rpc/clnt.h: Likewise.
75315         * sunrpc/rpc/netdb.h: Likewise.
75316         * sunrpc/rpc/pmap_clnt.h: Likewise.
75317         * sunrpc/rpc/xdr.h: Likewise.
75318         * sysdeps/generic/inttypes.h: Likewise.
75319         * sysdeps/generic/net/if.h: Likewise.
75320         * sysdeps/generic/sys/swap.h: Likewise.
75321         * sysdeps/gnu/net/if.h: Likewise.
75322         * sysdeps/gnu/utmpx.h: Likewise.
75323         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75324         * sysdeps/i386/i486/bits/string.h: Likewise.
75325         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75326         * sysdeps/s390/bits/string.h: Likewise.
75327         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75328         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75329         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75330         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75331         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75332         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75333         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75334         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75335         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75336         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75337         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75338         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75339         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75340         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75341         * sysdeps/unix/sysv/linux/readv.c: Likewise.
75342         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75343         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75345         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75347         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75348         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75349         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75350         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75351         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75352         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75353         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75354         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75355         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75356         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75357         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75358         * sysvipc/sys/ipc.h: Likewise.
75359         * sysvipc/sys/msg.h: Likewise.
75360         * sysvipc/sys/sem.h: Likewise.
75361         * sysvipc/sys/shm.h: Likewise.
75362         * termios/termios.h: Likewise.
75363         * time/sys/time.h: Likewise.
75364         * time/time.h: Likewise.
75365         * wcsmbs/bits/wchar2.h: Likewise.
75366         * wcsmbs/uchar.h: Likewise.
75367         * wcsmbs/wchar.h: Likewise.
75368         * wctype/wctype.h: Likewise.
75370         [BZ #13551]
75371         * Makeconfig: Remove all but ELF support including AIX support.
75372         * Makerules: Likewise.
75373         * config.h.in: Likewise.
75374         * config.make.in: Likewise.
75375         * configure: Likewise.
75376         * configure.in: Likewise.
75377         * csu/Makefile: Likewise.
75378         * csu/version.c: Likewise.
75379         * debug/Makefile: Likewise.
75380         * dlfcn/Makefile: Likewise.
75381         * elf/Makefile: Likewise.
75382         * extra-lib.mk: Likewise.
75383         * iconv/Makefile: Likewise.
75384         * include/libc-symbols.h: Likewise.
75385         * include/shlib-compat.h: Likewise.
75386         * resolv/Makefile: Likewise.
75387         * resolv/res_libc.c: Likewise.
75388         * rt/Makefile: Likewise.
75389         * sysdeps/i386/asm-syntax.h: Likewise.
75390         * sysdeps/i386/sysdep.h: Likewise.
75391         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75392         * sysdeps/mach/sysdep.h: Likewise.
75393         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75394         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75395         * sysdeps/s390/asm-syntax.h: Likewise.
75396         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75397         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75398         * sysdeps/sh/sysdep.h: Likewise.
75399         * sysdeps/unix/sparc/sysdep.h: Likewise.
75400         * sysdeps/wordsize-32/divdi3.c: Likewise.
75401         * sysdeps/x86_64/sysdep.h: Likewise.
75403         * argp/Versions: Remove _argp_unlock_xxx.
75405         [BZ #13559]
75406         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
75407         * abilist/libBrokenLocale.abilist: Likewise.
75408         * abilist/libanl.abilist: Likewise.
75409         * abilist/libc.abilist: Likewise.
75410         * abilist/libcrypt.abilist: Likewise.
75411         * abilist/libdl.abilist: Likewise.
75412         * abilist/libm.abilist: Likewise.
75413         * abilist/libnsl.abilist: Likewise.
75414         * abilist/libpthread.abilist: Likewise.
75415         * abilist/libresolv.abilist: Likewise.
75416         * abilist/librt.abilist: Likewise.
75417         * abilist/libthread_db.abilist: Likewise.
75418         * abilist/libutil.abilist: Likewise.
75419         * abilist/libnss_db.abilist: New file.
75421         * scripts/abilist.awk: Add support for indirect functions.
75423         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75425         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75427         * shlib-versions: Remove entries for ports architectures.
75429         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
75430         files in ports.
75431         * elf/stackguard-macros.h: Remove support for IA-64.
75432         * elf/tst-auditmod1.c: Likewise.
75433         * sysdeps/generic/ldsodefs.h: Likewise.
75435         * sysdeps/unix/sysv/linux/configure.in: Ports should define
75436         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75437         configure files.
75439         [BZ #13552]
75440         * configure.in: Remove --enable-omitfp support.
75441         * FAQ.in: Adjust.
75442         * config.make.in: Likewise.
75443         * Makeconfig: Likewise.
75444         * manual/install.texi: Likewise.
75446         In case anyone cares, the IA-64 architecture could move to ports.
75447         * sysdeps/ia64/*: Removed.
75448         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75449         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75451         [BZ #13555]
75452         * configure.in: Remove entries for unsupported architectures.
75454         [BZ #13533]
75455         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75456         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75457         routines.
75458         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75459         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75460         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75461         fall back to using wcrtomb.
75462         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75463         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75464         renaming.
75465         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75466         * wcsmbs/tst-c16c32-1.c: New file.
75468         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75469         local variable.
75471         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75473         * elf/tst-unique3.cc: Add explicit declaration of gets.
75474         * elf/tst-unique3lib.cc: Likewise.
75475         * elf/tst-unique3lib2.cc: Likewise.
75476         * elf/tst-unique4.cc: Likewise.
75478         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75480 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75482         [BZ #13566]
75483         * assert/assert.h (static_assert): Don't define for C++.
75484         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75485         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75487 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75489         * iconv/loop.c (single loop): Fix assertion in storing of
75490         remaining bytes.
75492         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75494 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75496         * posix/getconf.c: Update copyright year.
75497         * nss/getent.c: Likewise.
75498         * nss/makedb.c: Likewise.
75499         * iconv/iconvconfig.c: Likewise.
75500         * iconv/iconv_prog.c: Likewise.
75501         * elf/ldconfig.c: Likewise.
75502         * elf/pldd.c: Likewise.
75503         * elf/sotruss.ksh: Likewise.
75504         * catgets/gencat.c: Likewise.
75505         * csu/version.c: Likewise.
75506         * elf/ldd.bash.in: Likewise.
75507         * elf/sprof.c (print_version): Likewise.
75508         * locale/programs/locale.c: Likewise.
75509         * locale/programs/localedef.c: Likewise.
75510         * login/programs/pt_chown.c: Likewise.
75511         * nscd/nscd.c (print_version): Likewise.
75512         * debug/xtrace.sh: Likewise.
75513         * malloc/memusage.sh: Likewise.
75514         * malloc/mtrace.pl: Likewise.
75515         * debug/catchsegv.sh: Likewise.
75517 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75519         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75520         pure attribute.
75522 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75524         [BZ #13533]
75525         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75526         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75527         transformations.
75528         * iconv/gconv_int.h: Likewise.
75529         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75530         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75531         from libc for GLIBC_2.16.
75532         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75533         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75534         * wcsmbs/uchar.h: Really define mbstate_t.
75535         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75536         * wcsmbs/c16rtomb.c: New file.
75537         * wcsmbs/mbrtoc16.c: New file.
75538         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75539         for C/POSIX locale.
75540         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75541         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75543         * wcsmbs/wchar.h: Add missing __restrict.
75545 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75547         [BZ #13532]
75548         * time/Makefile (routines): Add timespec_get.
75549         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75550         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75551         timespec for ISO C11.
75552         * time/timespec_get.c: New file.
75553         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75554         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75556         [BZ #13531]
75557         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75558         * stdlib/stdlib.h: Declare aligned_alloc.
75559         * Versions.def: Add GLIBC_2.16 for libc.
75560         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75562         [BZ 13527]
75563         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75564         ISO C11.
75566         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75567         code.
75569         [BZ #13528]
75570         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75572         [BZ #13529]
75573         * assert/assert.h (static_assert): Define.
75575         * version.h: Update for 2.16 development version.
75577         [BZ #13526]
75578         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75579         _ISOC11_SOURCE.
75581         * version.h (RELEASE): Bump for 2.15 release.
75582         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75584         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75585         Patch by Marek Polacek <mpolacek@redhat.com>.
75587         * bits/byteswap.h: Protect long long constants with __extension__.
75588         * sysdeps/i386/bits/byteswap.h: Likewise.
75589         * sysdeps/ia64/bits/byteswap.h: Likewise.
75590         * sysdeps/s390/bits/byteswap.h: Likewise.
75591         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75593 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75595         [BZ #13540]
75596         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75597         destination buffer.
75598         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75600 2011-12-23  Marek Polacek  <polacek@redhat.com>
75602         * elf/dl-addr.c (determine_info): Add inline keyword.
75603         * elf/tst-auditmod4b.c (check_avx): Likewise.
75604         * elf/tst-auditmod6b.c (check_avx): Likewise.
75605         * elf/tst-auditmod6c.c (check_avx): Likewise.
75606         * elf/tst-auditmod7b.c (check_avx): Likewise.
75608 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75610         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75611         !__SSE_MATH__.
75613 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75615         [BZ #13540]
75616         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75617         processing for last bytes.
75619 2011-08-06  Bruno Haible  <bruno@clisp.org>
75621         [BZ #13061]
75622         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75623         U+0385, not to U+1FEE.
75625         [BZ #13062]
75626         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75627         entry for U+00A5 U+0301.
75629 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75631         [BZ #13166]
75632         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75633         buffer for the output is too small.
75635         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75636         optimization.
75638         [BZ #13185]
75639         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75640         SSE flags if possible.
75642 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75644         [BZ #13540]
75645         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75646         processing for last bytes.
75648 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75650         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75651         (syscall-list-default-options, syscall-list-default-condition)
75652         (syscall-list-includes): Define.
75653         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75654         list of ABIs and options and #if conditions for each ABI.  Do not
75655         handle common syscalls between ABIs specially.
75656         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75657         Remove.
75658         (syscall-list-variants, syscall-list-32bit-options)
75659         (syscall-list-32bit-condition, syscall-list-64bit-options)
75660         (syscall-list-64bit-condition): Define.
75661         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75662         (syscall-list-variants, syscall-list-32bit-options)
75663         (syscall-list-32bit-condition, syscall-list-64bit-options)
75664         (syscall-list-64bit-condition): Define.
75665         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75666         Remove.
75667         (syscall-list-variants, syscall-list-32bit-options)
75668         (syscall-list-32bit-condition, syscall-list-64bit-options)
75669         (syscall-list-64bit-condition): Define.
75670         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75671         Remove.
75672         (syscall-list-variants, syscall-list-32bit-options)
75673         (syscall-list-32bit-condition, syscall-list-64bit-options)
75674         (syscall-list-64bit-condition): Define.
75676 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75678         * locale/iso-639.def: Add brx entry.
75680         [BZ #13328]
75681         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75682         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75684         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75685         __feraiseexcept_renamed.
75687 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75689         [BZ #13538]
75690         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75691         EPOLLET with unsigned values.
75692         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75693         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75695         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75696         to large cancellation.
75697         * math/s_cacoshf.c: Likewise.
75698         * math/s_cacoshl.c: Likewise.
75700 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75702         [BZ #13305]
75703         [BZ #12786]
75704         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75705         * math/s_cacoshf.c: Likewise.
75706         * math/s_cacoshl.c: Likewise.
75708 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75710         [BZ #13439]
75711         * iconv/gconv.h: Define __GCONV_SWAP.
75712         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75713         * iconvdata/utf-16.c: Likewise.
75714         * iconvdata/utf-32.c: Likewise.
75716 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75718         [BZ #13524]
75719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75720         numerator after shifting it by one limb.
75722 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75724         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75725         under [__USE_EXTERN_INLINES].
75727 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75729         [BZ #13446]
75730         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75732 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75734         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75735         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75736         optimized code.
75737         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75738         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75739         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75740         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75741         for strncasecmp/strncasecmp_l compilation.
75742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75743         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75745 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75747         [BZ #13484]
75748         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75749         of __asm__.
75751 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75753         [BZ #13506]
75754         * time/tzfile.c (__tzfile_read): Check values from file header.
75756 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75758         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75759         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75760         * powerpc/powerpc32/dl-start.S: Likewise.
75761         * powerpc/powerpc32/elf/start.S: Likewise.
75762         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75763         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75764         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75765         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75766         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75767         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75768         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75769         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75770         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75771         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75772         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75773         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75774         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75775         * powerpc/powerpc32/memset.S: Likewise.
75776         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75777         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75778         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75779         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75780         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75781         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75782         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75783         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75784         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75785         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75786         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75787         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75788         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75790 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75792         * math/libm-test.inc: Added more nearbyint tests.
75793         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75794         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75795         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75798 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75800         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75801         FD_CLOEXEC.
75803 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75805         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75806         Add wcscpy-ssse3 wcscpy-c.
75807         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75808         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75809         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75810         * sysdeps/x86_64/wcschr.S: New file.
75811         * sysdeps/x86_64/wcsrchr.S: New file.
75812         * string/test-strcmp.c: Remove checking of wcscmp function for
75813         wrong alignments.
75814         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75815         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75816         wcsrchr-sse2 wcsrchr-c.
75817         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75818         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75819         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75820         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75821         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75822         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75823         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75824         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75825         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75826         * wcsmbc/wcschr.c (WCSCHR): New macro.
75828 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75830         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75831         * wcsmbs/test-wcsrchr.c: New file.
75832         * string/test-strrchr.c: Add wcsrchr support.
75833         (WIDE): New macro.
75834         * wcsmbs/test-wcscpy.c: New file.
75835         * string/test-strcpy.c: Add wcscpy support.
75836         (WIDE): New macro.
75838 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75840         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75841         the inner loop.
75843 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75845         [BZ #13472]
75846         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75848 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75850         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75851         Minor optimizations.
75853         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75854         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75855         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75857 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75859         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75860         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75861         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75862         for gcc to avoid warnings.
75863         * inet/Makefile (tests): Add tst-checks.
75864         * inet/tst-checks.c: New file.
75866         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75867         warning.
75869         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75870         __wmemcmp_sse2.
75872         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75873         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75875         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75877 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75879         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75880         problem.
75882         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75884 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75886         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75887         conditional on GCC version.
75888         (__arch_compare_and_exchange_val_8_acq)
75889         (__arch_compare_and_exchange_val_16_acq)
75890         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75891         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75892         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75894 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75896         * sysdeps/sh/backtrace.c: New file.
75898 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75900         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75901         parenthesis.
75903 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75905         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75906         falling back to utime.
75908 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75910         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75911         expectations for float.
75913 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75915         * locale/weight.h (findidx): Add parameter len.
75916         * locale/weightwc.h (findidx): Likewise.
75917         * posix/fnmatch_loop.c (FCT): Adjust caller.
75918         * posix/regcomp.c (build_equiv_class): Likewise.
75919         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75920         * posix/regexec.c (check_node_accept_bytes): Likewise.
75921         * string/strcoll_l.c (STRCOLL): Likewise.
75922         * string/strxfrm_l.c (STRXFRM): Likewise.
75924 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75926         * Makefile.in: Remove CVSOPT handling.
75927         * configure.in: Remove use of AC_REVISION.
75928         * iconvdata/Makefile (distribute): No need to filter out CVS.
75929         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75930         handling.
75932 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75935         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75936         [USE_AS_STRNCASECMP_L]: Likewise.
75937         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75938         NO_TLS_DIRECT_SEG_REFS.
75939         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75940         Fix argument offsets for non-PIC.
75941         [USE_AS_STRNCASECMP_L]: Likewise.
75942         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75943         NO_TLS_DIRECT_SEG_REFS.
75945 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75947         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75948         O_CLOEXEC.
75949         * locale/loadlocale.c (_nl_load_locale): Likewise.
75951 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75953         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75954         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75955         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75956         (SYSCALL_GETTIME): Set errno on error.
75958         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75959         count references to noai6ai_cached.
75961 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75963         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75965         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75966         FD_CLOEXEC for /proc/self/maps.
75968         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75969         FD_CLOEXEC for /proc/meminfo.
75971         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75972         gai.conf.
75974         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75975         FD_CLOEXEC for given file.
75977         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75979         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75980         FD_CLOEXEC for /etc/hosts.
75981         (_gethtent): Likewise.
75983         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75985         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75986         cancellation and set FD_CLOEXEC for /etc/netgroup.
75988         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75989         reading /etc/publickey.
75991         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75992         allow cancellation when reading /etc/group.
75994         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75995         cancellation.
75996         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75998         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75999         when using data file.
76001         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76003         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76004         (write_nis_obj): Use "c" and "e" in fopen.
76006         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76008         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76010         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76012         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76014         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76015         locale.alias.
76017         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76019         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76021         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76023         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76024         file parsing and set FD_CLOEXEC.
76026 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76028         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76030 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76032         * malloc/arena.c (arena_get2): Don't call reused_arena when
76033         _int_new_arena failed.
76035 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76037         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76038         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76039         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76040         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76041         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76042         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76043         to compile strcasecmp and strncasecmp.
76044         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76045         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76049 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76051         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76052         locale-defines.sym to gen-as-const-headers.
76053         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76054         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76055         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76056         to compile strcasecmp and strncasecmp.
76057         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76058         strcasecmp_l and strncasecmp_l.
76059         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76060         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76061         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76062         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76063         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76064         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76065         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76066         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76067         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76068         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76069         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76071 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76073         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76074         result of SYSDEP_GETTIME_CPU to retval.
76075         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76076         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76078         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76079         variable.
76081         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76082         mantissa words.
76083         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76085         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76086         from unused variable.
76088         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76089         DWARF definitions.
76090         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76091         for assembling.
76093         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76094         over namespaces.
76096         * sunrpc/rpc_prot.c (rejected): Fix case value.
76098         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76099         unsigned long long int to avoid warnings in shift.
76101         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76102         of use of trans.
76103         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76104         variable tmp.
76106         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76107         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76108         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76110         * nis/nis_table.c (nis_list): Use variable of correct type for
76111         result of __follow_path call.
76113 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76115         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76116         of math functions ceil, trunc, floor, round, and sqrt, when
76117         avaliable on the platform.
76118         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76119         name clash.
76120         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76121         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76122         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76124 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76126         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76127         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76129 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76131         * include/unistd.h: Fix __readlink return type.
76132         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76134 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76136         * stdlib/ucontext.h: Undo last change for makecontext.
76138 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76140         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76142         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76143         * setjmp/setjmp.h: Mark functions as non-leaf.
76144         * setjmp/bits/setjmp2.h: Likewise.
76145         * stdlib/ucontext.h: Likewise.
76147 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76149         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76150         (reused_arena): Don't check arena limit.
76151         (arena_get2): Atomically check arena limit.
76153 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76155         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76156         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76159         instructions.
76161 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76163         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76164         handler when locking.
76166         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76167         Fix size of allocated buffer.
76169 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76171         [BZ #10103]
76172         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76173         declarations for long double functions.
76174         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76176         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76178 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76180         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76181         installed.
76183         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76184         is disabled.
76186 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76188         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76190 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76192         * include/alloca.h (stackinfo_alloca_round): Define.
76193         (extend_alloca): Use it.
76194         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76195         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76196         here.
76198         * scripts/check-local-headers.sh: Ignore libaudit.h.
76200         * nscd/Makefile (extra-objs): Make recursively expanded.
76202 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76204         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76205         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76207         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76208         * posix/tst-rfc3484-2.c: Likewise.
76209         * posix/tst-rfc3484-3.c: Likewise.
76211         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76212         process_vm_writev.
76213         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76214         process_vm_writev.
76215         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76216         process_vm_writev from libc using GLIBC_2.15 version.
76218         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76220 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76222         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76223         stack usage.
76225 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76227         [BZ #13367]
76228         * nss/getent.c (initgroups_keys): Show error message in case no group
76229         names are given.
76231         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76232         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76233         __bump_nl_timestamp.
76234         * nscd/connections (nscd_init): When host database is served open
76235         netlink socket and request notification about configuration changes.
76236         (main_loop_poll): Track netlink file descriptor and bump timestamp
76237         in case data becomes available.
76238         (main_loop_epoll): Likewise.
76239         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76240         (database_pers_head): Add extra_data fileds.
76241         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76242         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76243         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76244         Adjust caller.
76245         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76246         in6ai data, call __free_in6ai.
76247         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76248         Add -DHAVE_NETLINK.
76249         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76250         interface information.  Reuse previous data if netlink timestamp
76251         is not changed.
76252         (__bump_nl_timestamp): New function.
76253         (__free_in6ai): New function.
76255 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76257         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76258         close_not_cancel_no_status here.
76259         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76261 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76263         [BZ #13276]
76264         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76265         return value.
76267         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76268         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76269         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76271 2011-07-03  Andreas Jaeger  <aj@suse.de>
76273         [BZ #10709]
76274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76275         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76276         * math/libm-test.inc (sin_test): Add test case.
76278 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76280         [BZ #13337]
76281         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76282         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76284         * elf/chroot_canon.c (chroot_canon): Cleanups.
76286         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76288         [BZ #13335]
76289         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76290         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76292         * string/test-strchr.c: Make usable for strchrnul testing.
76293         * string/test-strchrnul.c: New file.
76294         * string/Makefile (strop-tests): Add strchrnul.
76296         * po/it.po: Update from translation team.
76297         * po/es.po: Likewise.
76299 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
76301         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76302         the three constants needed as parameters.  Drop the others.
76303         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76304         __m128i_strloadu_tolower.
76305         Create and initialize variable zero and use it in all the places
76306         where _mm_setzero_si128 was used.
76308         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76309         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76310         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76311         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76312         anymore.
76313         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76314         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76315         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76316         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76317         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76318         __mpranred, __mptan.
76319         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76320         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76321         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76322         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76323         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76324         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76325         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76326         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76327         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76329 2011-10-28  Andreas Schwab  <schwab@redhat.com>
76331         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76332         redefine if SHARED.
76333         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76336         wide char related routines to wcsmbs subdir.
76338 2011-10-27  Andreas Schwab  <schwab@redhat.com>
76340         [BZ #13344]
76341         * misc/sys/cdefs.h (__THROWNL): Define.
76342         * posix/unistd.h: Use __THREADNL instead of __THREAD
76343         for memory synchronization functions.
76345 2011-10-26  Roland McGrath  <roland@hack.frob.com>
76347         [BZ #13349]
76348         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76349         doesn't exist.
76350         * manual/stdio.texi (Obstack Streams): Node removed.
76352 2011-10-26  Andreas Schwab  <schwab@redhat.com>
76354         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76355         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76356         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76358         * math/math_private.h (math_force_eval): Allow non-addressable
76359         arguments.
76360         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76362 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76364         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76365         file is not needed.
76367         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76368         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76369         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76370         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76371         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76372         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76373         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76374         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76375         Add AVX variants.
76376         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76377         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76378         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76379         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76380         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76381         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76382         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76383         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76384         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76385         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76386         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76387         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76389         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76390         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76391         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76392         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76393         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76394         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76396         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76397         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
76399         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76400         place.  Use VEX encoding when compiling for AVX.
76402 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76404         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76405         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76407         * string/test-strchr.c (do_test): Don't generate NUL bytes.
76409 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76411         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76412         useless if() expression.
76413         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76414         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76415         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76416         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76417         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76418         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76419         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76420         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76421         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76422         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76423         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76424         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76425         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76426         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76427         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76428         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76429         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76430         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76431         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76433         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76435 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76437         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76438         condition.
76439         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76441 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76443         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76444         .text section.  Avoid duplicate constants.
76445         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76446         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76447         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76449         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76450         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76453         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76454         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76455         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76456         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76457         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76458         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76459         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76460         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76461         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76462         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76463         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76464         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76465         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76466         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76467         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76468         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76469         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76470         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76471         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76472         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76473         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76474         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76475         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76476         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76477         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76478         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76479         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76480         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76481         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76482         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76483         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76484         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76485         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76486         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76487         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76488         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76489         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76491 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76493         * sysdeps/x86_64/dla.h: Move to ...
76494         * sysdeps/x86_64/fpu/dla.h: ...here.
76495         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76496         situations.  Use __builtin_fma only for gcc 4.6 and up.
76498         * config.make.in: Add have-mfma4 entry.
76499         * configure.in: Substitute libc_cv_cc_fma4.
76500         * math/Makefile (dbl-only-routines): Add sincostab.
76501         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76502         Use __sincostab not sincos.
76503         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76504         name is a macro.
76505         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76508         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76509         using __copysign.
76510         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76511         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76512         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76513         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76514         and __inv.
76515         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76516         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76517         __copysign.
76518         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76519         define aliases when function name is a macro.
76520         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76521         sysdeps/ieee754/dbl-64/sincos.tbl.
76522         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76523         fma4-enabled routines.
76524         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76525         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76526         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76527         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76528         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76529         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76530         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76531         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76532         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76533         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76534         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76535         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76536         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76537         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76538         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76539         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76540         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76541         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76542         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76543         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76544         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76545         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76546         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76547         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76548         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76549         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76550         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76551         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76552         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76553         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76555         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76556         rename.
76557         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76563         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76566 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76568         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76570 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76572         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76574         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76575         prediction.
76576         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76578         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76579         Remove unused variable magic_bits.
76580         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76582         * string/strnlen.c: Define and use STRNLEN macro.
76583         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76584         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76585         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76586         * wcsmbs/wcslen.c: Define and use WCSLEN.
76587         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76588         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76589         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76590         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76591         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76592         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76593         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76595 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76598         strnlen-sse2-no-bsf.
76599         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76600         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76601         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76602         Add strnlen support.
76603         (USE_AS_STRNLEN): New macro.
76604         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76605         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76606         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76607         * sysdeps/x86_64/wcslen.S: New file.
76609 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76611         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76612         XMM-moves are used for copying on small sizes.
76614 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76616         * wcsmbs/Makefile (strop-tests): Add wcschr.
76617         * wcsmbs/test-wcschr.c: New file.
76618         * string/test-strchr.c: Update.
76619         Add wcschr support.
76620         (WIDE): New macro.
76622 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76624         * wcsmbs/Makefile (strop-tests): Add wcslen.
76625         * wcsmbs/test-wcslen.c: New file.
76626         * string/test-strlen.c: Update.
76627         Add wcslen support.
76628         (WIDE): New macro.
76630 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76632         * po/it.po: Update from translation team.
76634 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76636         * sysdeps/x86_64/wcscmp.S: Update.
76637         Fix wrong comparison semantics.
76638         wcscmp shall use signed comparison not unsigned.
76639         Don't use substraction to avoid overflow bug.
76640         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76641         * wcsmbc/wcscmp.c: Likewise.
76642         * string/test-strcmp.c: Likewise.
76643         Add new tests to check cases with negative values.
76645 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76647         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76648         * sysdeps/x86_64/dla.h: ...here.  New file.
76649         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76654         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76656         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76657         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76659 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76662         __ynl_finite aliases.
76664 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76668         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76669         define DLA_FMA.
76670         [DLA_FMA] (EMULV): Use DLA_FMA.
76671         [DLA_FMA] (MUL12): Use EMULV.
76672         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76673         that are not needed.
76674         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76675         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76676         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76677         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76678         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76679         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76680         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76682 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76684         * math/s_nan.c: Undef __nan.
76685         * math/s_nanf.c: Undef __nanf.
76686         * math/s_nanl.c: Undef __nanl.
76687         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76688         "math_private.h".
76690 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76692         * math/s_catan.c: Add branch predictions.
76693         * math/s_catanf.c: Likewise.
76694         * math/s_catanh.c: Likewise.
76695         * math/s_catanhf.c: Likewise.
76696         * math/s_catanhl.c: Likewise.
76697         * math/s_catanl.c: Likewise.
76698         * math/s_cexp.c: Likewise.
76699         * math/s_cexpf.c: Likewise.
76700         * math/s_cexpl.c: Likewise.
76701         * math/s_clog.c: Likewise.
76702         * math/s_clog10.c: Likewise.
76703         * math/s_clog10f.c: Likewise.
76704         * math/s_clog10l.c: Likewise.
76705         * math/s_clogf.c: Likewise.
76706         * math/s_clogl.c: Likewise.
76707         * math/s_csqrt.c: Likewise.
76708         * math/s_csqrtf.c: Likewise.
76709         * math/s_csqrtl.c: Likewise.
76710         * math/s_ctanf.c: Likewise.
76711         * math/s_ctanh.c: Likewise.
76712         * math/s_ctanhf.c: Likewise.
76713         * math/s_ctanhl.c: Likewise.
76714         * math/s_ctanl.c: Likewise.
76716         * math/math_private.h: Define __nan, __nanf, __nanl.
76717         * math/s_cacosh.c: Include <math_private.h>.
76718         * math/s_cacoshl.c: Likewise.
76719         * math/s_casinh.c: Likewise.
76720         * math/s_casinhf.c: Likewise.
76721         * math/s_casinhl.c: Likewise.
76722         * math/s_ccos.c: Rely entire on ccosh.
76723         * math/s_ccosf.c: Rely entire on ccoshf.
76724         * math/s_ccosl.c: Rely entirely on ccoshl.
76725         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76726         Remove tests for FE_INVALID.
76727         * math/s_ccoshf.c: Likewise.
76728         * math/s_ccoshl.c: Likewise.
76729         * math/s_csin.c: Likewise.
76730         * math/s_csinf.c: Likewise.
76731         * math/s_csinh.c Likewise.
76732         * math/s_csinhf.c: Likewise.
76733         * math/s_csinhl.c: Likewise.
76734         * math/s_csinl.c: Likewise.
76735         * math/s_ctan.c: Likewise.
76736         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76737         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76738         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76740 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76743         compilation problems.
76745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76746         __builtin_expect.
76748 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76750         * sysdeps/i386/configure.in: Test for -mfma4 option.
76751         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76752         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76753         COMMON_CPUID_INDEX_80000001.
76754         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76755         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76756         use it if FMA3 is not supported.
76757         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76759         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76760         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76762 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76764         [BZ #12892]
76765         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76766         it would create a cycle with a link time dependency.
76768 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76770         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76771         instruction.
76772         * string/Makefile (strop-tests): Add rawmemchr.
76773         * string/test-rawmemchr.c: New file.
76775         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76776         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76777         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76778         when compiling str{,n}casecmp and when AVX is available.  Hook up
76779         new optimized code in initializers.
76781 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76783         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76784         __feraiseexcept instead of feraiseexcept.
76786 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76788         * math/math_private.h: Define defaults for libc_fetestexcept and
76789         libc_feupdateenv.
76790         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76791         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76792         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76793         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76794         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76795         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76796         libc_fetestexcept and libc_feupdateenv.
76798         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76799         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76800         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76801         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76802         libc_feholdexcept_setround.
76804         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76805         Add s_nearbyint-c and s_nearbyintf-c.
76806         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76807         nearbyintf inlines.
76808         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76809         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76810         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76811         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76813         * math/math_private.h: Define defaults for libc_fegetround,
76814         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76815         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76816         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76817         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76818         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76819         standard functions.
76820         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76821         Remove comments and hacks for old compiler versions.
76822         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76823         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76824         libc_feholdexceptl.
76826 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76828         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76829         (__feraiseexcept_renamed): Add __NTH.
76830         (feraiseexcept): Add __NTH.  Rename local variables to fix
76831         namespace violations.
76833 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76835         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76837         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76839         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76840         recently added interfaces.
76841         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76843         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76844         about macro parameter expansion.
76846         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76847         __NO_MATH_INLINES is defined.  Cleanups.
76849         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76850         and __floorf is target has SSE4.1.
76851         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76852         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76853         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76854         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76856         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76857         name.
76858         (floorf): Likewise.
76860         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76862 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76864         * misc/sys/cdefs.h: Fix last change.
76866         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76867         database lookup.
76869 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76871         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76873         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76874         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76875         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76876         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76877         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76878         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76879         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76880         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76881         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76882         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76883         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76884         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76885         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76886         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76887         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76888         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76889         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76890         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76891         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76892         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76893         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76894         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76896         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76897         ceil, ceilf, floor, floorf.
76899         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76900         Perform IRELATIVE relocations last.
76902         * elf/do-rel.h: Add another parameter nrelative, replacing the
76903         local variable with the same name.  Change name of the function
76904         to end in Rel or Rela (uppercase).
76905         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76906         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76907         elf_dynamic_do_##reloc function.
76909 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76911         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76912         is sufficient, at least on modern CPUs.
76914         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76916         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76917         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76919         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76920         __expl_finite.
76921         * math/bits/math-finite.h: Add entries for exp.
76922         * math/e_expl.c: Add __*_finite alias.
76923         * sysdeps/i386/fpu/e_exp.S: Likewise.
76924         * sysdeps/i386/fpu/e_expf.S: Likewise.
76925         * sysdeps/i386/fpu/e_expl.c: Likewise.
76926         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76927         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76928         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76930         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76931         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76932         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76934         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76935         is sufficient, at least on modern CPUs.
76937         * ctype/ctype-info.c (__ctype_init): Define.
76938         * include/ctype.h (__ctype_init): Declare.
76939         (__ctype_b_loc): The variable is always initialized.
76940         (__ctype_toupper_loc): Likewise.
76941         (__ctype_tolower_loc): Likewise.
76942         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76943         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76945 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76947         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76949         * configure.in: Also look in $cxxmachine/include for C++ system
76950         headers.
76952 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76954         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76955         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76956         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76957         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76958         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76959         (USE_AS_WMEMCMP): New macro.
76960         Fixing indents.
76961         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76962         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76963         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76964         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76966         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76967         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76968         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76969         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76970         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76972         (USE_AS_WMEMCMP): New macro.
76973         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76974         * sysdeps/string/test-memcmp.c: Update.
76975         Fix simple_wmemcmp.
76976         Add new tests.
76977         * wcsmbs/wmemcmp.c: Update.
76978         (WMEMCMP): New macro.
76979         Fix overflow bug.
76981 2011-10-12  Andreas Jaeger  <aj@suse.de>
76983         [BZ #13268]
76984         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76986 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76988         * libio/iofwide.c (do_length): Avoid warning.
76990         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76992 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76994         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76996         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76997         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76998         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76999         * sysdeps/i386/i686/fpu/e_log.S: New file.
77000         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77001         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77003         * ctype/ctype.h: Add support for inlined isXXX functions when
77004         compiling C++ code.
77006 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77008         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77010         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77012 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77014         [BZ #13291]
77015         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77017 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77019         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77020         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77021         feraiseexcept.
77023         * sysdeps/x86_64/memrchr.S: Check for zero size.
77025         * string/stratcliff.c: Add memrchr tests.
77027 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77030         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77031         rawmemchr-sse2 rawmemchr-sse2-bsf.
77032         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77033         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77034         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77035         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77036         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77037         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77038         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77039         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77040         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77041         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77042         * string/memrchr.c (MEMRCHR): New macro.
77044 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77046         Add integration with gcc's -ffinite-math-only and optimize wrapper
77047         functions in libm.
77048         * Versions.def: Define GLIBC_2.15 version for libm.
77049         * math/Makefile (headers): Add bits/math-finite.h.
77050         * math/bits/math-finite.h: New file.
77051         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77052         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77053         * math/e_acoshl.c: Add __*_finite alias.
77054         * math/e_acosl.c: Likewise.
77055         * math/e_asinl.c: Likewise.
77056         * math/e_atan2l.c: Likewise.
77057         * math/e_atanhl.c: Likewise.
77058         * math/e_coshl.c: Likewise.
77059         * math/e_exp10.c: Likewise.
77060         * math/e_exp10f.c: Likewise.
77061         * math/e_exp10l.c: Likewise.
77062         * math/e_exp2l.c: Likewise.
77063         * math/e_fmodl.c: Likewise.
77064         * math/e_gammal_r.c: Likewise.
77065         * math/e_hypotl.c: Likewise.
77066         * math/e_j0l.c: Likewise.
77067         * math/e_j1l.c: Likewise.
77068         * math/e_jnl.c: Likewise.
77069         * math/e_lgammal_r.c: Likewise.
77070         * math/e_log10l.c: Likewise.
77071         * math/e_log2l.c: Likewise.
77072         * math/e_logl.c: Likewise.
77073         * math/e_powl.c: Likewise.
77074         * math/e_sinhl.c: Likewise.
77075         * math/e_sqrtl.c: Likewise.
77076         * math/e_scalb.c: Completely rewritten and optimized.
77077         * math/e_scalbf.c: Likewise.
77078         * math/e_scalbl.c: Likewise.
77079         * math/w_acos.c: Likewise.
77080         * math/w_acosf.c: Likewise.
77081         * math/w_acosl.c: Likewise.
77082         * math/w_acosh.c: Likewise.
77083         * math/w_acoshf.c: Likewise.
77084         * math/w_acoshl.c: Likewise.
77085         * math/w_asin.c: Likewise.
77086         * math/w_asinf.c: Likewise.
77087         * math/w_asinl.c: Likewise.
77088         * math/w_atan2.c: Likewise.
77089         * math/w_atan2f.c: Likewise.
77090         * math/w_atan2l.c: Likewise.
77091         * math/w_atanh.c: Likewise.
77092         * math/w_atanhf.c: Likewise.
77093         * math/w_atanhl.c: Likewise.
77094         * math/w_exp10.c: Likewise.
77095         * math/w_exp10f.c: Likewise.
77096         * math/w_exp10l.c: Likewise.
77097         * math/w_fmod.c: Likewise.
77098         * math/w_fmodf.c: Likewise.
77099         * math/w_fmodl.c: Likewise.
77100         * math/w_j0.c: Likewise.
77101         * math/w_j0f.c: Likewise.
77102         * math/w_j0l.c: Likewise.
77103         * math/w_j1.c: Likewise.
77104         * math/w_j1f.c: Likewise.
77105         * math/w_j1l.c: Likewise.
77106         * math/w_jn.c: Likewise.
77107         * math/w_jnf.c: Likewise.
77108         * math/w_log.c: Likewise.
77109         * math/w_logf.c: Likewise.
77110         * math/w_logl.c: Likewise.
77111         * math/w_log10.c: Likewise.
77112         * math/w_log10f.c: Likewise.
77113         * math/w_log10l.c: Likewise.
77114         * math/w_log2.c: Likewise.
77115         * math/w_log2f.c: Likewise.
77116         * math/w_log2l.c: Likewise.
77117         * math/w_pow.c: Likewise.
77118         * math/w_powf.c: Likewise.
77119         * math/w_powl.c: Likewise.
77120         * math/w_remainder.c: Likewise.
77121         * math/w_remainderf.c: Likewise.
77122         * math/w_remainderl.c: Likewise.
77123         * math/w_scalb.c: Likewise.
77124         * math/w_scalbf.c: Likewise.
77125         * math/w_scalbl.c: Likewise.
77126         * math/w_sqrt.c: Likewise.
77127         * math/w_sqrtf.c: Likewise.
77128         * math/w_sqrtl.c: Likewise.
77129         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77130         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77131         used.
77132         * math/math_private.h: Declare __kernel_standard_f.
77133         * math/w_cosh.c: Remove cruft and optimize a bit.
77134         * math/w_coshf.c: Likewise.
77135         * math/w_coshl.c: Likewise.
77136         * math/w_exp2.c: Likewise.
77137         * math/w_exp2f.c: Likewise.
77138         * math/w_exp2l.c: Likewise.
77139         * math/w_hypot.c: Likewise.
77140         * math/w_hypotf.c: Likewise.
77141         * math/w_hypotl.c: Likewise.
77142         * math/w_lgamma.c: Likewise.
77143         * math/w_lgamma_r.c: Likewise.
77144         * math/w_lgammaf.c: Likewise.
77145         * math/w_lgammaf_r.c: Likewise.
77146         * math/w_lgammal.c: Likewise.
77147         * math/w_lgammal_r.c: Likewise.
77148         * math/w_sinh.c: Likewise.
77149         * math/w_sinhf.c: Likewise.
77150         * math/w_sinhl.c: Likewise.
77151         * math/w_tgamma.c: Likewise.
77152         * math/w_tgammaf.c: Likewise.
77153         * math/w_tgammal.c: Likewise.
77154         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77155         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77156         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77157         Minor optimizations.  Pretty printing.  Remove cruft.
77158         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77159         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77160         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77161         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77162         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77163         * sysdeps/i386/fpu/e_asin.S: Likewise.
77164         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77165         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77166         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77167         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77168         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77169         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77170         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77171         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77172         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77173         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77174         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77175         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77176         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77177         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77178         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77179         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77180         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77181         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77182         * sysdeps/i386/fpu/e_log.S: Likewise.
77183         * sysdeps/i386/fpu/e_log10.S: Likewise.
77184         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77185         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77186         * sysdeps/i386/fpu/e_log2.S: Likewise.
77187         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77188         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77189         * sysdeps/i386/fpu/e_logf.S: Likewise.
77190         * sysdeps/i386/fpu/e_logl.S: Likewise.
77191         * sysdeps/i386/fpu/e_pow.S: Likewise.
77192         * sysdeps/i386/fpu/e_powf.S: Likewise.
77193         * sysdeps/i386/fpu/e_powl.S: Likewise.
77194         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77195         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77196         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77197         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77198         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77199         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77200         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77201         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77202         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77203         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77204         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77206         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77207         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77208         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77209         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77210         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77211         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77212         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77213         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77214         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77216         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77217         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77218         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77219         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77220         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77223         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77224         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77225         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77226         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77227         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77228         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77229         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77230         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77231         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77232         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77233         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77234         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77235         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77236         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77237         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77238         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77239         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77240         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77241         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77242         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77243         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77244         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77245         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77246         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77247         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77248         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77249         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77250         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77251         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77252         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77253         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77254         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77255         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77256         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77257         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77258         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77259         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77260         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77261         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77262         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77263         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77264         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77267         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77268         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77269         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77270         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77271         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77272         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77273         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77274         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77275         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77276         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77277         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77278         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77279         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77280         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77281         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77282         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77283         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77284         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77285         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77286         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77287         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77288         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77289         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77290         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77291         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77292         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77293         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77296         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77297         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77298         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77299         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77300         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77301         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77302         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77303         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77304         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77305         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77306         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77307         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77308         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77309         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77310         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77311         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77312         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77313         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
77314         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77315         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77316         (__isnanf): Likewise.
77317         (__isinf_ns): Likewise.
77318         (__isinf_nsf): Likewise.
77319         (__finite): Likewise.
77320         (__finitef): Likewise.
77321         (__ieee754_sqrt): Define as macro.
77322         (__ieee754_sqrtf): Define as macro.
77323         (__ieee754_sqrtl): Define as macro.
77324         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77325         inlined copy.
77326         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77327         __FINITE_MATH_ONLY__ consistent.
77328         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77330 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
77332         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77333         of rawmemchr.
77335         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77337 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
77339         * po/ja.po: Update from translation team.
77341 2011-10-08  Roland McGrath  <roland@hack.frob.com>
77343         * locale/programs/locarchive.c (prepare_address_space): New function.
77344         (create_archive, enlarge_archive, open_archive): Use it.
77346         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77347         inside [SHARED], where it is used.
77349         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77351         * nss/getent.c (netgroup_keys): Remove unused variable.
77352         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77354 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
77356         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77357         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77358         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77359         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77360         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77361         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77362         * math/Makefile (libm-calls): Add s_isinf_ns.
77363         * math/divtc3.c: Use __isinf_nsl instead of isinf.
77364         * math/multc3.c: Likewise.
77365         * math/s_casin.c: Likewise.
77366         * math/s_casinf.c: Likewise.
77367         * math/s_casinl.c: Likewise.
77368         * math/s_ccos.c: Likewise.
77369         * math/s_ccosf.c: Likewise.
77370         * math/s_ccosl.c: Likewise.
77371         * math/s_ctan.c: Likewise.
77372         * math/s_ctanf.c: Likewise.
77373         * math/s_ctanh.c: Likewise.
77374         * math/s_ctanhf.c: Likewise.
77375         * math/s_ctanhl.c: Likewise.
77376         * math/s_ctanl.c: Likewise.
77377         * math/w_fmod.c: Likewise.
77378         * math/w_fmodf.c: Likewise.
77379         * math/w_fmodl.c: Likewise.
77380         * math/w_remainder.c: Likewise.
77381         * math/w_remainderf.c: Likewise.
77382         * math/w_remainderl.c: Likewise.
77383         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77384         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77385         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77387         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77388         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77389         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77390         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77392         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77393         of the number.
77394         * stdio-common/printf_fphex.c: Likewise.
77395         * stdio-common/printf_size.c: Likewise.
77397         * math/e_exp10.c: Include math_private.h using <...> not "...".
77398         * math/e_exp10f.c: Likewise.
77399         * math/e_exp10l.c: Likewise.
77400         * math/e_exp2l.c: Likewise.
77401         * math/e_j0l.c: Likewise.
77402         * math/e_j1l.c: Likewise.
77403         * math/e_jnl.c: Likewise.
77404         * math/e_lgammal_r.c: Likewise.
77405         * math/e_rem_pio2l.c: Likewise.
77406         * math/e_scalb.c: Likewise.
77407         * math/e_scalbf.c: Likewise.
77408         * math/e_scalbl.c: Likewise.
77409         * math/k_cosl.c: Likewise.
77410         * math/k_sinl.c: Likewise.
77411         * math/k_tanl.c: Likewise.
77412         * math/s_cacoshf.c: Likewise.
77413         * math/s_catan.c: Likewise.
77414         * math/s_catanf.c: Likewise.
77415         * math/s_catanh.c: Likewise.
77416         * math/s_catanhf.c: Likewise.
77417         * math/s_catanhl.c: Likewise.
77418         * math/s_catanl.c: Likewise.
77419         * math/s_ccosh.c: Likewise.
77420         * math/s_ccoshf.c: Likewise.
77421         * math/s_ccoshl.c: Likewise.
77422         * math/s_cexp.c: Likewise.
77423         * math/s_cexpf.c: Likewise.
77424         * math/s_cexpl.c: Likewise.
77425         * math/s_clog.c: Likewise.
77426         * math/s_clog10.c: Likewise.
77427         * math/s_clog10f.c: Likewise.
77428         * math/s_clog10l.c: Likewise.
77429         * math/s_clogf.c: Likewise.
77430         * math/s_clogl.c: Likewise.
77431         * math/s_csin.c: Likewise.
77432         * math/s_csinf.c: Likewise.
77433         * math/s_csinh.c: Likewise.
77434         * math/s_csinhf.c: Likewise.
77435         * math/s_csinhl.c: Likewise.
77436         * math/s_csinl.c: Likewise.
77437         * math/s_csqrt.c: Likewise.
77438         * math/s_csqrtf.c: Likewise.
77439         * math/s_csqrtl.c: Likewise.
77440         * math/s_ctan.c: Likewise.
77441         * math/s_ctanf.c: Likewise.
77442         * math/s_ctanh.c: Likewise.
77443         * math/s_ctanhf.c: Likewise.
77444         * math/s_ctanhl.c: Likewise.
77445         * math/s_ctanl.c: Likewise.
77446         * math/s_ldexp.c: Likewise.
77447         * math/s_ldexpf.c: Likewise.
77448         * math/s_ldexpl.c: Likewise.
77449         * math/s_significand.c: Likewise.
77450         * math/s_significandf.c: Likewise.
77451         * math/s_significandl.c: Likewise.
77452         * math/w_acos.c: Likewise.
77453         * math/w_acosf.c: Likewise.
77454         * math/w_acosh.c: Likewise.
77455         * math/w_acoshf.c: Likewise.
77456         * math/w_acoshl.c: Likewise.
77457         * math/w_acosl.c: Likewise.
77458         * math/w_asin.c: Likewise.
77459         * math/w_asinf.c: Likewise.
77460         * math/w_asinl.c: Likewise.
77461         * math/w_atan2.c: Likewise.
77462         * math/w_atan2f.c: Likewise.
77463         * math/w_atan2l.c: Likewise.
77464         * math/w_atanh.c: Likewise.
77465         * math/w_atanhf.c: Likewise.
77466         * math/w_atanhl.c: Likewise.
77467         * math/w_cosh.c: Likewise.
77468         * math/w_coshf.c: Likewise.
77469         * math/w_coshl.c: Likewise.
77470         * math/w_dremf.c: Likewise.
77471         * math/w_exp10.c: Likewise.
77472         * math/w_exp10f.c: Likewise.
77473         * math/w_exp10l.c: Likewise.
77474         * math/w_exp2.c: Likewise.
77475         * math/w_exp2f.c: Likewise.
77476         * math/w_fmod.c: Likewise.
77477         * math/w_fmodf.c: Likewise.
77478         * math/w_fmodl.c: Likewise.
77479         * math/w_hypot.c: Likewise.
77480         * math/w_hypotf.c: Likewise.
77481         * math/w_hypotl.c: Likewise.
77482         * math/w_j0.c: Likewise.
77483         * math/w_j0f.c: Likewise.
77484         * math/w_j0l.c: Likewise.
77485         * math/w_j1.c: Likewise.
77486         * math/w_j1f.c: Likewise.
77487         * math/w_j1l.c: Likewise.
77488         * math/w_jn.c: Likewise.
77489         * math/w_jnf.c: Likewise.
77490         * math/w_jnl.c: Likewise.
77491         * math/w_lgamma.c: Likewise.
77492         * math/w_lgamma_r.c: Likewise.
77493         * math/w_lgammaf.c: Likewise.
77494         * math/w_lgammaf_r.c: Likewise.
77495         * math/w_lgammal.c: Likewise.
77496         * math/w_lgammal_r.c: Likewise.
77497         * math/w_log.c: Likewise.
77498         * math/w_log10.c: Likewise.
77499         * math/w_log10f.c: Likewise.
77500         * math/w_log10l.c: Likewise.
77501         * math/w_log2.c: Likewise.
77502         * math/w_log2f.c: Likewise.
77503         * math/w_log2l.c: Likewise.
77504         * math/w_logf.c: Likewise.
77505         * math/w_logl.c: Likewise.
77506         * math/w_pow.c: Likewise.
77507         * math/w_powf.c: Likewise.
77508         * math/w_powl.c: Likewise.
77509         * math/w_remainder.c: Likewise.
77510         * math/w_remainderf.c: Likewise.
77511         * math/w_remainderl.c: Likewise.
77512         * math/w_scalb.c: Likewise.
77513         * math/w_scalbf.c: Likewise.
77514         * math/w_scalbl.c: Likewise.
77515         * math/w_sinh.c: Likewise.
77516         * math/w_sinhf.c: Likewise.
77517         * math/w_sinhl.c: Likewise.
77518         * math/w_sqrt.c: Likewise.
77519         * math/w_sqrtf.c: Likewise.
77520         * math/w_sqrtl.c: Likewise.
77521         * math/w_tgamma.c: Likewise.
77522         * math/w_tgammaf.c: Likewise.
77523         * math/w_tgammal.c: Likewise.
77525         * po/ja.po: Update from translation team.
77527 2011-09-29  Andreas Jaeger  <aj@suse.de>
77529         [BZ #13179]
77530         * sunrpc/netname.c (netname2host): Fix logic.
77532         [BZ #6779]
77533         [BZ #6783]
77534         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77535         correctly.
77536         * math/w_remainder.c (__remainder): Likewise.
77537         * math/w_remainderf.c (__remainderf): Likewise.
77538         * math/libm-test.inc (remainder_test): Add test cases.
77540 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77542         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77543         sdiv_qrnnd.
77545 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77547         * string/test-memcmp.c: Avoid unncessary #defines.
77548         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77550 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77552         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77553         Use new sse2 version for core i3 - i7 as it's faster
77554         than sse42 version.
77555         (bit_Prefer_PMINUB_for_stringop): New.
77556         * sysdeps/x86_64/rawmemchr.S: Update.
77557         Replace with faster SSE2 version.
77558         * sysdeps/x86_64/memrchr.S: New file.
77559         * sysdeps/x86_64/memchr.S: Update.
77560         Replace with faster SSE2 version.
77562 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77564         * elf/dl-load.c (lose): Add cast to avoid warning.
77566 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77568         * po/ca.po: Update from translation team.
77570         * inet/getnetgrent_r.c: Hook up nscd.
77571         * nscd/Makefile (routines): Add nscd_netgroup.
77572         (nscd-modules): Add netgroupcache.
77573         (CFLAGS-netgroupcache.c): Define.
77574         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77575         (cache_search): Add const to second parameter.
77576         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77577         INNETGR.
77578         (dbs): Add netgrdb entry.
77579         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77580         (verify_persistent_db): Handle netgrdb.
77581         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77582         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77583         GETFDNETGR.
77584         (netgroup_response_header): Define.
77585         (innetgroup_response_header): Define.
77586         (datahead): Add netgroup_response_header and innetgroup_response_header
77587         elements.
77588         * nscd/nscd.conf: Add entries for netgroup cache.
77589         * nscd/nscd.h (dbtype): Add netgrdb.
77590         (_PATH_NSCD_NETGROUP_DB): Define.
77591         (netgroup_iov_disabled): Declare.
77592         (xmalloc, xcalloc, xrealloc): Move declarations here.
77593         (cache_search): Adjust prototype.
77594         Add netgroup-related prototypes.
77595         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77596         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77597         (__nscd_innetgr): Declare.
77598         * nscd/selinux.c (perms): Use access_vector_t as element type and
77599         add netgroup-related initializers.
77600         * nscd/netgroupcache.c: New file.
77601         * nscd/nscd_netgroup.c: New file.
77602         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77603         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77604         For four parameters use innetgr.
77605         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77606         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77607         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77608         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77610         * nscd/connections.c (register_traced_file): Don't register file
77611         for disabled databases.
77613 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77615         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77617         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77618         from tree and freeing node.
77620 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77622         * nss/nsswitch.c (__nss_database_lookup): Handle
77623         nss_parse_service_list out of memory case.
77625 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77627         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77628         out of memory case.
77630 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77632         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77633         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77634         pass it down.
77635         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77636         elf_machine_rela, elf_machine_lazy_rel.
77637         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77638         (ELF_DYNAMIC_DO_REL): Likewise.
77639         (ELF_DYNAMIC_DO_RELA): Likewise.
77640         (ELF_DYNAMIC_RELOCATE): Likewise.
77641         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77642         to ELF_DYNAMIC_DO_REL.
77643         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77644         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77645         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77646         elf_machine_rela.
77647         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77648         skip_ifunc, don't call ifunc function if non-zero.
77649         (elf_machine_rela): Likewise.
77650         (elf_machine_lazy_rel): Likewise.
77651         (elf_machine_lazy_rela): Likewise.
77652         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77653         (elf_machine_lazy_rel): Likewise.
77654         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77655         Likewise.
77656         (elf_machine_lazy_rel): Likewise.
77657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77658         Likewise.
77659         (elf_machine_lazy_rel): Likewise.
77660         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77661         (elf_machine_lazy_rel): Likewise.
77662         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77663         (elf_machine_lazy_rel): Likewise.
77664         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77665         (elf_machine_lazy_rel): Likewise.
77666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77667         (elf_machine_lazy_rel): Likewise.
77668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77669         (elf_machine_lazy_rel): Likewise.
77670         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77671         (elf_machine_lazy_rel): Likewise.
77673 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77675         * nss/nss_files/files-init.c (_nss_files_init): Use static
77676         initialization for all the *_traced_file variables.
77678 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77680         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77682 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77684         [BZ #13226]
77685         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77687 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77689         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77690         Reread the line before reparsing it.
77692 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77694         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77696 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77697             Maxim Kuvyrkov  <maxim@codesourcery.com>
77698             Joseph Myers  <joseph@codesourcery.com>
77700         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77701         if needed for __stack_chk_guard.
77703 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77705         * sysdeps/posix/spawni.c (script_execute): Always define it.
77706         It will be optimized away if unused.
77707         (maybe_script_execute): New function.
77708         (__spawni): Call it.
77710         * Makerules: Don't include tls.make.
77711         (config-tls): Always set to thread.
77712         * tls.make.c: File removed.
77714 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77716         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77717         * config.make.in (CPPFLAGS-config): New substituted variable.
77719 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77721         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77723         [BZ #13192]
77724         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77725         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77727 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77729         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77730         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77731         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77732         (CALL_FAIL): Likewise.
77733         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77734         (CALL_FAIL): Macro removed.
77735         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77737 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77739         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77740         for __FINITE_MATH_ONLY__ == 1.
77742 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77744         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77745         __ieee754_sqrt instead of sqrt.
77746         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77747         __ieee754_sqrtf instead of sqrtf.
77748         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77749         __floorf instead of floorf.
77750         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77751         __floorf, __truncf instead of floorf, truncf.
77753 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77755         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77757         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77758         __extern_always_inline.
77759         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77760         32-bit.
77762 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77764         * elf/rtld.c (dl_main): Also relocate in dependency order when
77765         doing symbol dependency testing.
77767 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77769         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77770         Always define `refsym'.
77772 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77774         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77775         (__FD_ELT): Renamed from __FDELT.
77776         * misc/bits/select2.h (__FD_ELT): Likewise.
77777         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77778         __FD_MASK instead of __FDELT, __FDMASK.
77779         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77780         Likewise.
77781         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77782         Likewise.
77784         * elf/Makefile (gen-ldd): Fix pattern.
77786         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77787         (init_tls): Likewise.
77789 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77793 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77795         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77796         `struct cmsghdr *' instead of `void *'.
77797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77798         Likewise.
77800 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77802         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77803         if non-absolute.
77804         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77805         ldd_rewrite_script.
77807 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77809         * configure.in: Remove --with-tls option.
77810         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77811         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77812         out in case it is missing.
77813         * sysdeps/ia64/elf/configure.in: Likewise.
77814         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77815         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77816         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77817         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77818         * sysdeps/sh/elf/configure.in: Likewise.
77819         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77820         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77821         * sysdeps/x86_64/elf/configure.in: Likewise.
77822         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77823         * sysdeps/mach/hurd/tls.h: Likewise.
77825         [BZ #13067]
77826         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77828         [BZ #13090]
77829         * configure.in: Fix use of AC_INIT.
77831         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77833 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77835         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77836         __set_errno.
77837         * malloc/hooks.c: Likewise.
77839         [BZ #11929]
77840         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77841         variables statically.
77842         (narenas): Initialize.
77843         (list_lock): Initialize.
77844         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77845         initializtion of main_arena and list_lock.  Small cleanups.
77846         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77847         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77848         Add initializers to main_arena and mp_.
77849         (malloc_state): Remove pagesize member.  Change all users to use
77850         GLRO(dl_pagesize).
77852         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77853         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77854         is always initialized.
77856         * malloc/malloc.c: Removed unused configurations and dead code.
77857         * malloc/arena.c: Likewise.
77858         * malloc/hooks.c: Likewise.
77859         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77861         * include/tls.h: Removed.  USE___THREAD must always be defined.
77862         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77863         * elf/dl-libc.c: Likewise.
77864         * elf/dl-tsd.c: Likewise.
77865         * include/errno.h: Likewise.
77866         * include/netdb.h: Likewise.
77867         * include/resolv.h: Likewise.
77868         * inet/herrno-loc.c: Likewise.
77869         * inet/herrno.c: Likewise.
77870         * malloc/arena.c: Likewise.
77871         * malloc/hooks.c: Likewise.
77872         * malloc/malloc.c: Likewise.
77873         * resolv/res-state.c: Likewise.
77874         * resolv/res_libc.c: Likewise.
77875         * sysdeps/i386/dl-machine.h: Likewise.
77876         * sysdeps/ia64/dl-machine.h: Likewise.
77877         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77878         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77879         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77880         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77881         * sysdeps/sh/dl-machine.h: Likewise.
77882         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77883         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77884         * sysdeps/unix/i386/sysdep.S: Likewise.
77885         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77886         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77887         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77891         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77892         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77895         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77896         * sysdeps/x86_64/dl-machine.h: Likewise.
77897         * tls.make.c: Likewise.
77899         * configure.in: Remove --with-__thread option.  Make tests for
77900         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77901         tls_model attribute fail if no support is available.  Remove
77902         USE_IN_LIBIO.
77903         * Makeconfig: Adjust for dropped configure option.  All features are
77904         now mandatory.
77905         * Makerules: Likewise.
77906         * Versions.def: Likewise.
77907         * argp/argp-fmtstream.c: Likewise.
77908         * argp/argp-fmtstream.h: Likewise.
77909         * argp/argp-help.c: Likewise.
77910         * assert/assert.c: Likewise.
77911         * config.h.in: Likewise.
77912         * config.make.in: Likewise.
77913         * configure: Likewise.
77914         * configure.in: Likewise.
77915         * csu/Versions: Likewise.
77916         * csu/init.c: Likewise.
77917         * elf/tst-audit2.c: Likewise.
77918         * elf/tst-tls10.c: Likewise.
77919         * elf/tst-tls10.h: Likewise.
77920         * elf/tst-tls11.c: Likewise.
77921         * elf/tst-tls12.c: Likewise.
77922         * elf/tst-tls14.c: Likewise.
77923         * elf/tst-tlsmod11.c: Likewise.
77924         * elf/tst-tlsmod12.c: Likewise.
77925         * elf/tst-tlsmod13.c: Likewise.
77926         * elf/tst-tlsmod13a.c: Likewise.
77927         * elf/tst-tlsmod14a.c: Likewise.
77928         * elf/tst-tlsmod15b.c: Likewise.
77929         * elf/tst-tlsmod16a.c: Likewise.
77930         * elf/tst-tlsmod16b.c: Likewise.
77931         * elf/tst-tlsmod7.c: Likewise.
77932         * elf/tst-tlsmod8.c: Likewise.
77933         * elf/tst-tlsmod9.c: Likewise.
77934         * gmon/gmon.c: Likewise.
77935         * grp/fgetgrent_r.c: Likewise.
77936         * grp/putgrent.c: Likewise.
77937         * hurd/fopenport.c: Likewise.
77938         * include/libc-symbols.h: Likewise.
77939         * include/tls.h: Likewise.
77940         * intl/gettextP.h: Likewise.
77941         * intl/loadinfo.h: Likewise.
77942         * locale/global-locale.c: Likewise.
77943         * locale/localeinfo.h: Likewise.
77944         * mach/devstream.c: Likewise.
77945         * malloc/arena.c: Likewise.
77946         * malloc/set-freeres.c: Likewise.
77947         * misc/err.c: Likewise.
77948         * misc/getttyent.c: Likewise.
77949         * misc/mntent_r.c: Likewise.
77950         * posix/getopt.c: Likewise.
77951         * posix/wordexp.c: Likewise.
77952         * pwd/fgetpwent_r.c: Likewise.
77953         * resolv/Versions: Likewise.
77954         * resolv/res_hconf.c: Likewise.
77955         * shadow/fgetspent_r.c: Likewise.
77956         * shadow/putspent.c: Likewise.
77957         * stdio-common/printf_fphex.c: Likewise.
77958         * stdio-common/tmpfile.c: Likewise.
77959         * stdlib/abort.c: Likewise.
77960         * stdlib/fmtmsg.c: Likewise.
77961         * sunrpc/auth_unix.c: Likewise.
77962         * sunrpc/clnt_perr.c: Likewise.
77963         * sunrpc/clnt_tcp.c: Likewise.
77964         * sunrpc/clnt_udp.c: Likewise.
77965         * sunrpc/clnt_unix.c: Likewise.
77966         * sunrpc/openchild.c: Likewise.
77967         * sunrpc/svc_simple.c: Likewise.
77968         * sunrpc/svc_tcp.c: Likewise.
77969         * sunrpc/svc_udp.c: Likewise.
77970         * sunrpc/svc_unix.c: Likewise.
77971         * sunrpc/xdr.c: Likewise.
77972         * sunrpc/xdr_array.c: Likewise.
77973         * sunrpc/xdr_rec.c: Likewise.
77974         * sunrpc/xdr_ref.c: Likewise.
77975         * sunrpc/xdr_stdio.c: Likewise.
77977 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77979         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77981 2011-07-03  Andreas Jaeger  <aj@suse.de>
77983         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77984         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77985         regenerate with gen-libm-tests.pl.
77987 2010-05-12  Petr Baudis  <pasky@suse.cz>
77989         [BZ #11589]
77990         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77991         around j0() zero points by switching to j1().
77992         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77993         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77995         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77997 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77999         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78000         instead of 0.
78001         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78002         instead of 0.
78003         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78004         Patch in part by Pavel Roskin <proski@gnu.org>.
78006         [BZ #13138]
78007         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78008         realloc.
78009         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78010         Free memory block if necessary.
78012         [BZ #12847]
78013         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78014         be NULL.  Don't lock in this case.
78016 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78018         * elf/elf.h (ELFOSABI_GNU): New macro.
78019         (ELFOSABI_LINUX): Define to that.
78021 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78023         * string/strncat.c (strncat): Undef the symbol in case it has been
78024         defined in bits/string.h.
78026 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78028         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78030         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78031         link map.
78033 2011-08-17  Andreas Jaeger  <aj@suse.de>
78035         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78037 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78038             Ian Lance Taylor  <iant@google.com>
78040         * math/libm-test.inc (lround_test): New testcase.
78041         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78043 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78045         * Makefile: Remove support for automatic cvs check-ins.
78046         * Makerules: Likewise.
78047         * config.make.in: Likewise.
78048         * configure.in: Likewise.
78049         * intl/Makefile: Likewise.
78050         * locale/Makefile: Likewise.
78051         * po/Makefile: Likewise.
78052         * posix/Makefile: Likewise.
78053         * sysdeps/gnu/Makefile: Likewise.
78054         * sysdeps/mach/hurd/Makefile: Likewise.
78055         * sysdeps/sparc/sparc32/Makefile: Likewise.
78057         [BZ #13118]
78058         * posix/Makefile (bug-regex32-ENV): Define.
78059         Patch by John Stanley <jpsinthemix@verizon.net>.
78061         * misc/Makefile (headers): Add bits/select2.h.
78062         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78063         * misc/bits/select2.h: New file.
78064         * include/bits/select2.h: New file.
78065         * debug/Makefile (routines): Add fdelt_chk.
78066         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78067         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78068         FD_ISSET.
78069         * debug/fdelt_chk.c: New file.
78071         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78072         * wcsmbs/test-wmemcmp.c: Likewise.
78073         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78074         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78076 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78078         * string/Makefile (strop-tests): Add memcmp.
78079         * string/test-wmemcmp.c: New file.
78080         * string/test-memcmp.c: Add wmemcmp support.
78082 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78084         [BZ #13153]
78085         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78086         2011-07-19 change.
78088         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78089         garbage value in a __mach_port_mod_refs call in the cases of the
78090         task-self and thread-self ports.
78092 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78094         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78096 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78098         * elf/dl-load.c (lose): Check for non-null L.
78100 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78102         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78104         * elf/dl-libc.c (dlerror_run): Pass back error code from
78105         dl_catch_error.
78107         [BZ #13123]
78108         * elf/dl-load.c (lose): Free l_origin if it is valid.
78110         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78111         names.
78112         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78113         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78114         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78115         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78116         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78117         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78119 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78121         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78122         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78123         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78124         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78125         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78126         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78127         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78128         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78129         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78130         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78132 2011-08-15  Alan Modra  <amodra@gmail.com>
78134         [BZ #13092]
78135         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78136         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78137         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78138         ppc_mcount to static-only-routines.
78139         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78140         __mcount_internal.
78141         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78142         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78144 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78146         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78147         for finite and infinity parameters.
78149 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78152         and add nop instructions for throughput optimization.
78153         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78155 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78157         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78158         aligned copy for power7 with vector-scalar instructions.
78159         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78161 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78163         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78164         AVX check.
78166 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78168         [BZ #13144]
78169         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78170         last change.
78172 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78174         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78175         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78176         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78177         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78178         clock_gettime.
78180 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78182         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78183         Forgot to demangle the pointer.
78185         * sysdeps/i386/sysdep.h: Define atom_text_section.
78186         * sysdeps/x86_64/sysdep.h: Likewise.
78187         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78188         section with atom_text_section.
78189         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78190         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78191         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78192         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78193         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78195         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78196         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78197         already be defined.  Change to take two parameters and don't assign
78198         result to variable.  Adjust all users.
78199         Define INTERNAL_GETTIME if not already defined.
78200         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78201         call.
78202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78203         HAVE_CLOCK_GETTIME_VSYSCALL.
78204         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78206         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78207         gettimeofday vsyscall, just use time.
78209 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78211         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78212         <errno.h>.
78214 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78216         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78217         syscall on x86-64.
78218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78219         syscall.
78220         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78221         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78222         syscall if possible.
78224 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78226         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78227         e_ident.  Don't pass to find_mapsXX.
78228         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78230 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78233         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78234         * sysdeps/x86_64/multiarch/strchr.S: Update.
78235         Check bit_slow_BSF bit.
78236         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78237         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78238         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78240 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78242         [BZ #13134]
78243         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78244         before glibc 2.15.
78245         (tryshell): Define.
78246         (__spawni): Change last parameter to be flag.  Test
78247         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78248         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78249         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78250         * posix/spawni.c: Likewise.
78251         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78252         * posix/spawnp.c: Likewise.  Change normal version to use
78253         SPAWN_XFLAGS_USE_PATH.
78254         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78255         SPAWN_XFLAGS_TRY_SHELL.
78257         [BZ #13150]
78258         * posix/glob.h: Remove gcc 1.x support.
78260         [BZ #13068]
78261         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78263 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78266         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78267         strrchr-sse2-bsf
78268         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78269         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78270         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78271         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78272         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78273         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78275 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78277         * sysdeps/x86_64/wcscmp.S: New file.
78279         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78280         wcscmp-c wcscmp-sse2
78281         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78282         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78283         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78284         * wcsmbs/wcscmp.c: Allow renaming.
78286 2011-09-05  David S. Miller  <davem@davemloft.net>
78288         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78289         stack slot, rather than the struct return pointer slot.
78290         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78291         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78293         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78295 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78297         * po/ja.po: Update from translation team.
78299         [BZ #13144]
78300         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78301         kernel in 64-bit binaries.
78303 2011-09-01  David S. Miller  <davem@davemloft.net>
78305         * elf/elf.h (HWCAP_SPARC_*): Move to..
78306         * sysdeps/sparc/sysdep.h: this new file and add new values.
78307         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78308         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78309         _DL_HWCAP_COUNT to 24.
78310         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78311         entries.
78312         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78313         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78314         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78315         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78316         instead of magic constants.
78317         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78319 2011-08-31  David S. Miller  <davem@davemloft.net>
78321         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78323         Reimplement to do errno handling inline.
78324         (SYSCALL_ERROR_HANDLER): New macro.
78325         (__SYSCALL_STRING): Do not do errno handling in asm.
78326         (__CLONE_SYSCALL_STRING): Delete.
78327         (__INTERNAL_SYSCALL_STRING): Delete.
78328         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78329         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78330         (PSEUDO): Reimplement to do errno handling inline.
78331         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78332         (SYSCALL_ERROR_HANDLER): New macro.
78333         (__SYSCALL_STRING): Do not do errno handling in asm.
78334         (__CLONE_SYSCALL_STRING): Delete.
78335         (__INTERNAL_SYSCALL_STRING): Delete.
78336         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78337         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78338         i386.
78339         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78340         (inline_syscall*): Add 'err' argument.
78341         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78342         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78343         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78344         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78346         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78347         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78349 2011-08-30  Andreas Schwab  <schwab@redhat.com>
78351         * elf/rtld.c (dl_main): Relocate objects in dependency order.
78353 2011-08-29  Jiri Olsa <jolsa@redhat.com>
78355         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78356         directive.
78358 2011-08-24  David S. Miller  <davem@davemloft.net>
78360         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78362 2011-08-24  Andreas Schwab  <schwab@redhat.com>
78364         * elf/Makefile: Add rules to build and run unload8 test.
78365         * elf/unload8.c: New file.
78366         * elf/unload8mod1.c: New file.
78367         * elf/unload8mod1x.c: New file.
78368         * elf/unload8mod2.c: New file.
78369         * elf/unload8mod3.c: New file.
78371         * elf/dl-close.c (_dl_close_worker): Reset private search list if
78372         it wasn't used.
78374 2011-08-23  David S. Miller  <davem@davemloft.net>
78376         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78377         subtract stack bias.
78378         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78379         %sp not %fp in calculations.
78380         (_JMPBUF_UNWINDS_ADJ): Likewise.
78382         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78383         (aio_suspend): Call it to force an exception region around the
78384         AIO_MISC_WAIT() invocation.
78386 2011-08-23  Andreas Schwab  <schwab@redhat.com>
78388         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78389         backslash.
78391 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
78393         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78394         protection macro.
78395         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78396         and <dl-machine.h>.
78397         (Elf64_FuncDesc): Remove.
78399 2011-08-22  David S. Miller  <davem@davemloft.net>
78401         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78402         sigaltstack check, add missing cfi directives.
78403         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78404         missing cfi directives, and sigaltstack handling.
78406 2011-08-16  Andreas Schwab  <schwab@redhat.com>
78408         [BZ #11724]
78409         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78410         object is seen twice.
78411         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78413         * elf/Makefile (distribute): Add tst-initorder2.c.
78414         (tests): Add tst-initorder2.
78415         (modules-names): Add tst-initorder2a tst-initorder2b
78416         tst-initorder2c tst-initorder2d.  Add rules to build them.
78417         ($(objpfx)tst-initorder2.out): New rule.
78418         * elf/tst-initorder2.c: New file.
78419         * elf/tst-initorder2.exp: New file.
78421 2011-08-22  Andreas Schwab  <schwab@redhat.com>
78423         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78425         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78426         dependencies back to end of function.
78428         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78429         $(elfobjdir)/ld.so.
78431 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
78433         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78434         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78436         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78437         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78438         of __vdso_gettimeofday.
78439         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78440         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78441         attribute_hidden.
78442         (_libc_vdso_platform_setup): Remove initialization of
78443         __vdso_gettimeofday and __vdso_time.
78445 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78447         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78448         and fgetc_unlocked.
78449         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78450         getc_unlocked.
78452         * elf/dl-open.c (add_to_global): Report additions to the global scope
78453         for LD_DEBUG=scopes.
78454         (dl_open_worker): Also print scope of newly loaded dependencies.
78455         (_dl_show_scope): Indicate if there is no scope.
78457         [BZ #13114]
78458         * stdio-common/Makefile (tests): Add bug24.
78459         * stdio-common/bug24.c: New file.
78461 2011-08-19  Andreas Jaeger  <aj@suse.de>
78463         [BZ #13114]
78464         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78465         non-existant file when using close-on-exec mode.
78467 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78470         the very first instruction.
78472         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78473         the CFI state in the end.
78474         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78475         inclusion of dl-trampoline.h.
78476         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78478 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78480         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78481         expectations for long double.
78483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78484         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78486 2011-08-14  David S. Miller  <davem@davemloft.net>
78488         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78489         artificual limit depends upon the system page size.
78491 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78493         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78494         * resolv/Makefile: Define CFLAGS-libresolv.
78496 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78498         * nss/makedb.c (compute_tables): Make variables used in nested
78499         function static.
78501 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78503         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78504         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78505         if buffer was too small.
78507         * elf/pldd.c (main): Attach to all threads in the process.
78508         Rewrite /proc handling to use *at functions.
78510 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78512         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78513         specifies first scope to show.
78514         (dl_open_worker): Update callers.  Move printing scope of new
78515         object to before the relocation.
78516         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78517         * sysdeps/generic/ldsodefs.h: Update declaration.
78519         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78520         string for the scope number.
78522 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78524         * nscd/servicescache.c (cache_addserv): Make sure written is always
78525         initialized.
78527 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78529         * sysdeps/i386/i486/bits/atomic.h
78530         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78531         statement expression, so as to suppress "set but not used" warning.
78532         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78534         * string/strncat.c (STRNCAT): Use prototype definition.
78536         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78537         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78538         -Iprograms here.
78539         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78540         (localedef-modules): Add localedef.
78541         (locale-modules): Add locale.
78543         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78544         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78545         to avoid a warning.
78547 2011-08-14  David S. Miller  <davem@davemloft.net>
78549         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78550         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78552 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78554         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78555         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78556         * elf/rtld.c (dl_main): Set l_name of vDSO.
78557         Call _dl_show_scope when DL_DEBUG_SCOPES.
78558         (process_dl_debug): Recognize scopes flag and also set it for all.
78559         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78560         Declare _dl_show_scope.
78562         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78563         (do_dlopen): Pass caller_dlopen to dl_open.
78564         (__libc_dlopen_mode): Initialize caller_dlopen.
78566         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78567         of libc.  Make tolower call locale-independent.  Optimize a bit by
78568         using isdigit instead of isalnum.
78569         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78571 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78573         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78574         was a dependency or dynamically loaded.
78576 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78578         * intl/l10nflist.c: Allow architecture-specific pop function.
78579         * sysdeps/x86_64/l10nflist.c: New file.
78581         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78582         classification.
78584 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78586         * include/dirent.h: Add libc_hidden_proto for scandirat and
78587         scandirat64.  Don't declare __scandirat64.
78588         * dirent/scandirat.c: Add libc_hidden_def.
78589         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78590         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78592 2011-08-10  David S. Miller  <davem@davemloft.net>
78594         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78595         enum.
78596         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78597         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78598         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78600 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78602         * Versions.def [libc]: Add GLIBC_2.15.
78603         * dirent/Makefile (routines): Add scandirat and scandirat64.
78604         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78605         GLIBC_2.15.
78606         * dirent/dirent.h: Declare scandirat and scandirat64.
78607         * dirent/scandirat.c: New file.
78608         * dirent/scandirat64.c: New file.
78609         * sysdeps/wordsize-64/scandirat.c: New file.
78610         * sysdeps/wordsize-64/scandirat64.c: New file.
78611         * dirent/opendir.c: Define opendirat.
78612         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78613         using scandirat.
78614         * dirent/scandir64.c: Adjust for scandir.c change.
78615         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78616         __scandirat64, and __scandir_cancel_handler.
78617         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78618         additional parameter and use openat instead of open (outside of ld.so).
78619         Add new __opendir as wrapper around __opendirat.
78620         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78621         here without requiring old scandirat implementation.
78623 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78625         * dirent/scandir.c (cancel_handler): Renamed to
78626         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78627         defined.  Adjust users.
78628         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78629         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78631 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78633         * string/test-string.h (IMPL): Use __STRING to expand name and then
78634         stringify it.
78636         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78637         of cleanups.
78639 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78641         * string/Makefile: Update.
78642         (strop-tests): Append strncat.
78643         * string/test-wcscmp.c: New file.
78644         New comprehensive test for wcscmp.
78645         * string/test-strcmp.c: Update.
78646         (WIDE): New define.
78648 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78650         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78651         line.
78653 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78656         encoding to ACE if AI_IDN.
78658 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78660         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78661         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78663 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78665         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78666         Fix overflow bug in strncat.
78667         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78669         * string/test-strncat.c: Update.
78670         Add new tests for checking overflow bugs.
78672 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78675         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78676         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78677         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78678         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78679         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78680         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78681         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78682         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78684         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78685         (USE_AS_STRCAT): Define.
78686         Add strcat and strncat support.
78687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78689 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78691         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78692         __n bigger than INT_MAX+1.
78693         (__strncmp_g): Likewise.
78695 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78697         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78698         * libio/stido.h: Likewise.
78700         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78701         (AF_NFC): Define.
78702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78703         (AF_NFC): Define.
78705         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78706         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78707         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78708         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78709         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78711         [BZ #13021]
78712         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78713         installed.
78715         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78716         typo.
78717         (_dl_x86_64_save_sse): Likewise.
78719 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78722         OSXSAVE.
78723         (_dl_x86_64_save_sse): Likewise.
78725         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78727         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78729 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78732         change.
78733         (_dl_x86_64_save_sse): Use correct AVX check.
78735 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78737         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78738         bug in strncpy/strncat.
78739         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78741 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78743         * string/tester.c (test_strcat): Add tests for different alignments
78744         of source and destination.
78745         (test_strncat): Likewise.
78747 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78749         [BZ #12852]
78750         * posix/glob.c (glob): Check passed in values before using them in
78751         expressions to avoid some overflows.
78752         (glob_in_dir): Likewise.
78754         [BZ #13007]
78755         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78756         check for AVX enablement so that we don't crash with old kernels and
78757         new hardware.
78758         * elf/tst-audit4.c: Add same checks here.
78759         * elf/tst-audit6.c: Likewise.
78761         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78763 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78765         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78767 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78769         * po/cs.po: Update from translation team.
78770         * po/bg.po: Likewise.
78772 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78774         * misc/sys/cdefs.h: Add support for const attribute.
78775         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78776         to gnu_dev_{major,minor,makedev} functions.
78778 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78780         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78782 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78784         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78785         strlen results.
78787 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78790         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78791         register in order to avoid conflicts with the soft frame pointer
78792         being held in r11 when necessary.
78793         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78794         (INTERNAL_VSYSCALL_NCS): Likewise.
78796 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78798         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78799         * elf/dl-fini.c (_dl_fini): Adjust caller.
78800         * elf/dl-close.c (_dl_close_worker): Likewise.
78801         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78803 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78805         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78806         "aux_cache->nlibs < 0".
78808         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78809         in the reload-count case.
78811 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78814         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78815         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78816         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78817         * sysdeps/x86_64/multiarch/strcat.S: New file.
78818         * sysdeps/x86_64/multiarch/strncat.S: New file.
78819         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78820         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78821         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78822         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78823         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78824         (USE_AS_STRCAT): Define.
78825         Add strcat and strncat support.
78826         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78827         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78828         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78829         * string/strncat.c: Update.
78830         (USE_AS_STRNCAT): Define.
78831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78832         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78833         and i7.
78834         * sysdeps/x86_64/multiarch/init-arch.h
78835         (bit_Prefer_PMINUB_for_stringop): New.
78836         (index_Prefer_PMINUB_for_stringop): Likewise.
78837         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78838         bit_Prefer_PMINUB_for_stringop.
78840 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78842         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78843         buffer64.
78844         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78845         of casting of buffer.
78846         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78847         buffer32 and buffer64.
78848         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78849         writes instead of casting of buffer.
78850         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78851         buffer32.
78852         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78853         casting of buffer.
78855 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78857         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78859 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78861         * nscd/nscd.c (termination_handler): Don't do anything for a database
78862         if it has not yet been initialized.
78864 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78866         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78868 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78870         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78872 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78874         * po/nl.po: Update from translation team.
78875         * po/sv.po: Likewise.
78877 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78879         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78880         now disallowed by GCC.
78882         * configure.in (use-default-link): Default to yes if a test -shared
78883         link meets our qualifications.
78884         * configure: Regenerated.
78886         * config.make.in (output-format): New variable.
78887         * configure.in: Check for ld --print-output-format support.
78888         * configure: Regenerated.
78889         * Makerules ($(common-objpfx)format.lds)
78890         [$(output-format) != unknown]: Just use $(output-format),
78891         instead of the linker-script munging.
78893 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78895         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78896         of $(common-objpfx)shlib.lds.
78897         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78899         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78900         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78902         * configure.in (-z relro check): Adjust test code to add a large
78903         writable data section after it.
78904         * configure: Regenerated.
78906 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78908         * configure.in (-z relro check): Fix test code to make the variable
78909         truly const.
78910         * configure: Regenerated.
78912 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78914         * nscd/nscd.h (struct traced_file): Define.
78915         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78916         elements.  Add traced_files.
78917         (inotify_fd): Declare.
78918         (register_traced_file): Declare.
78919         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78920         (inotify_fd): Export.
78921         (resolv_conf_descr): Remove.
78922         (nscd_init): Move inotify descriptor creation to main.
78923         Don't register files for notification here.
78924         (register_traced_file): New function.
78925         (invalidate_cache): Don't use reset_res to determine whether to call
78926         res_init, go through the list of registered files.
78927         (main_loop_poll): The inotify descriptors are now stored in the
78928         structures for the traced files.
78929         (main_loop_epoll): Likewise.
78930         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78931         to __nss_disable_nscd.
78932         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78933         for a database anymore.  Check the records for all the registered
78934         files instead.
78935         * nss/Makefile (libnss_files-routines): Add files-init.
78936         (libnss_db-routines): Add db-init.
78937         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78938         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78939         * nss/nss_db/db-init.c: New file.
78940         * nss/nss_files/files-init.c: New file.
78941         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78942         __nss_lookup_function.
78943         (__nss_lookup_function): Call nss_load_library.
78944         (nss_load_all_libraries): New function.
78945         (__nss_disable_nscd): Take parameter with callback function for files
78946         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78947         used for the cached services.
78948         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78949         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78950         options for features to all the files in nscd.
78952         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78954 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78956         * csu/elf-init.c (__libc_csu_init): Comment typo.
78958 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78960         * po/pl.po: Update from translation team.
78961         * po/ja.po: Likewise.
78962         * po/ru.po: Likewise.
78963         * po/ko.po: Likewise.
78964         * po/fr.po: Likewise.
78966 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78968         * configure.in (.ctors/.dtors header and trailer check):
78969         Use an empirical test on a built program.
78970         * configure: Regenerated.
78972         * configure.in (-z relro check): Use an empirical test on a built DSO.
78973         Detect, but do not require, on ia64.
78974         * configure: Regenerated.
78976         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78977         Update tests that use readelf to use $READELF instead.
78978         * configure: Regenerated.
78980 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78982         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78983         if the result is not used.
78985 2011-07-05  Andreas Jaeger  <aj@suse.de>
78987         [BZ#9696]
78988         * stdlib/tst-strtod.c: Add testcase.
78990 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78992         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78993         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78994         The latter has a higher limit.  Take additional parameter to pass to
78995         the new function.
78996         (__pathconf): Pass file to __statfs_link_max.
78997         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78998         __statfs_link_max.
78999         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79000         __statfs_link_max.
79002         [BZ #12868]
79003         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79004         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79005         Handle Lustre.
79006         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79007         (__statfs_filesize_max): Likewise.
79008         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79010 2011-07-05  Andreas Jaeger  <aj@suse.de>
79012         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79014 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79016         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79017         `status' variable.
79018         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79019         Likewise.
79021 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79023         * Makefile (strop-tests): Add strncat.
79024         * string/test-strncat.c: New file.
79026 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79028         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79030 2011-06-21  Andreas Jaeger  <aj@suse.de>
79032         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79033         Copy rule from iconvdata/Makefile.
79035 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79037         [BZ #12922]
79038         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79039         but no long options are defined, just return 'W'.
79041 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79043         [BZ #9696]
79044         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79046 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79048         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79049         netgroups to read.
79050         (innetgr): Likewise.
79052 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79054         * config.make.in (install_root): Default to $(DESTDIR).
79056 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79058         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79060 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79062         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79064         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79065         containing directory rather than embedding absolute directory names.
79067         * scripts/check-local-headers.sh: Rewritten using awk.
79068         Match by word, not by line.  Print error messages for matches.
79069         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79071         * Makerules [shlib-lds-flags empty]:
79072         ($(common-objpfx)libc_pic.opts): New target.
79073         ($(common-objpfx)libc_pic.os.clean): New target.
79074         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79076         * config.make.in (OBJCOPY): New variable.
79077         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79078         * configure: Regenerated.
79080         * config.make.in (use-default-link): New variable.
79081         * configure.in (use_default_link): Grok --with-default-link to set it.
79082         * configure: Regenerated.
79083         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79084         (shlib-lds, shlib-lds-flags): Define to empty.
79086         * Makerules (shlib-lds): New variable.
79087         (shlib-lds-flags): New variable.
79088         (build-shlib, build-moduile, build-module-asneeded): Use it.
79089         ($(common-objpfx)libc.so): Use $(shlib-lds).
79090         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79091         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79093         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79094         DT_FLAGS/DT_FLAGS_1 with zero flags.
79096         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79097         linker script munging.
79099 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79101         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79102         as 128-bit value.
79103         * crypt/sha512.c (sha512_process_block): Perform total addition using
79104         128-bit if possible.
79105         (__sha512_finish_ctx): Likewise.
79106         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79107         as 64-bit value.
79108         * crypt/sha256.c (SWAP64): Define.
79109         (sha256_process_block): Perform total addition using 64-bit if
79110         possible.
79111         (__sha256_finish_ctx): Likewise.
79113 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79115         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79117         * nscd/hstcache.c (cache_addhst): Likewise.
79118         * nscd/grpcache.c (cache_addgr): Likewise.
79119         * nscd/aicache.c (addhstaiX): Likewise.
79120         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79122 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79124         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79125         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79126         * nscd/hstcache.c (cache_addhst): Likewise.
79127         * nscd/grpcache.c (cache_addgr): Likewise.
79128         * nscd/aicache.c (addhstaiX): Likewise.
79130 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79132         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79133         domain only when needed.
79135 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79138         is always restored.
79140 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79142         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79143         are re-adding the entry.
79144         * nscd/servicescache.c (cache_addserv): Likewise.
79146 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79148         * sysdeps/generic/dl-irel.h: fix protection against multiple
79149         inclusions.
79150         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79152 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79154         [BZ #12935]
79155         * malloc/memusage.sh: Fix quoting in message.
79156         * debug/xtrace.sh: Likewise.
79158         * configure.in: Remove support for --experimental-malloc option, make
79159         it the default.
79160         * config.make.in: Likewise.
79161         * malloc/Makefile: Likewise.
79163 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79165         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79166         two-byte characters.
79168 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79170         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79171         AC_CACHE_CHECK invocation.
79172         * configure: Regenerated.
79174         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79176 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79178         [BZ #12350]
79179         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79180         bit from old_res_options.
79182         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79184         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79185         value type for setfct.
79187 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79190         __gettimeofday instead of gettimeofday.
79192 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79194         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79196 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79198         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79201         info.
79203 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79206         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79207         strcpy-sse2-unaligned strncpy-sse2-unaligned
79208         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79209         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79210         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79211         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79212         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79213         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79214         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79215         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79216         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79217         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79218         (STRCPY): Support SSE2 and SSSE3 versions.
79220 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79222         [BZ #12874]
79223         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79224         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79225         kernels which artificially limit size of requests.
79227 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79230         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79231         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79232         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79233         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79234         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79235         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79236         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79237         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79238         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79239         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79240         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79241         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79242         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79243         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79245         Enable unaligned load optimization for Intel Core i3, i5 and i7
79246         processors.
79247         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79248         Define.
79249         (index_Fast_Unaligned_Load): Define.
79250         (HAS_FAST_UNALIGNED_LOAD): Define.
79252 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79254         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79256 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79258         [BZ #12907]
79259         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79260         until it is clear that the information is realy needed.
79261         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79263 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79267 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79270         /sys/devices/system/cpu/online if it is usable.
79272         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79273         reading the information from the /proc filesystem to once a second.
79275 2011-06-21  Andreas Jaeger  <aj@suse.de>
79277         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79278         NULL after inclusion of kernel headers.
79280 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79282         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79283         calls to internal_setent.
79285         [BZ #12885]
79286         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79287         addresses using gethostbyname4_r ignore IPv4 addresses.
79289         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79290         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79292         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79294 2011-06-20  David S. Miller  <davem@davemloft.net>
79296         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79297         inclusions.
79298         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79300         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79301         (elf_irel): Use it.
79302         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79303         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79304         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79305         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79306         * sysdeps/x86_64/dl-irel.h: Likewise.
79308         * elf/dl-runtime.c: Use elf_ifunc_invoke.
79309         * elf/dl-sym.c: Likewise.
79311 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79313         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
79314         need to dereference resplen2.
79316 2011-06-14  Andreas Schwab  <schwab@redhat.com>
79318         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79320 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79322         * Makeconfig: Define vardbdir and inst_vardbdir.
79323         * nss/Makefile: Add rules to install db-Makefile.
79325         * nss/nss_db/db-XXX.c: Cleanup.
79327         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79328         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79329         GLIBC_PRIVATE.
79330         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79331         * nss/makedb.c: Implement -g option to specify that value strings
79332         are generated and should not be added to table iterated over for
79333         get*ent calls.
79334         * nss/nss_db/db-initgroups.c: New file.
79336         * nss/getent.c: Add support for initgroups lookups through getgrouplist
79337         interface.
79339         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79340         (internal_getgrouplist): Adjust to name change.
79341         Update use_initgroups_entry if this is not the first call.
79342         * nss/databases.def: Add initgroups entry.
79344         * nss/makedb.c (compute_tables): Check result of multiple hash table
79345         sizes to minimize maximum chain length.
79347 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
79349         * Versions.def: Add entry for libnss_db.
79350         * shlib-versions: Likewise.
79351         * nss/Makefile: Add rules to build libnss_db.
79352         * nss/Versions: Add libnss_db information.  Organize libnss_files
79353         entries better.
79354         * nss/db-Makefile: Add gshadow support.  Change rules for the new
79355         makedb progra.  Some minor improvements to generate smaller files.
79356         * nss/nss_db/nss_db.h: Move NSS database header data structures to
79357         here from...
79358         * nss/makedb.c: ...here.
79359         Improve database format to be smaller and require less memory at
79360         runtime.
79361         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
79362         db anymore.
79363         * nss/nss_db/db-netgrp.c: Likewise.
79364         * nss/nss_db/db-open.c: Likewise.
79365         * nss/nss_files/flies-XXX.x: Adjust comments.
79366         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79367         * nss/nss_files/files-grp.c: Likewise.
79368         * nss/nss_files/files-hosts.c: Likewise.
79369         * nss/nss_files/files-network.c: Likewise.
79370         * nss/nss_files/files-proto.c: Likewise.
79371         * nss/nss_files/files-pwd.c: Likewise.
79372         * nss/nss_files/files-rpc.c: Likewise.
79373         * nss/nss_files/files-service.c: Likewise.
79374         * nss/nss_files/files-sgrp.c: Likewise.
79375         * nss/nss_files/files-spwd.c: Likewise.
79376         * nss/nss_db/db-alias.c: Removed.
79377         * nss/nss_db/dummy-db.h: Removed.
79379 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
79381         * nss/makedb.c: Rewritten to not use database library.
79382         * nss/Makefile: Update to build new makedb program.
79384 2011-06-14  Andreas Jaeger  <aj@suse.de>
79386         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79387         memset declaration.
79389 2011-06-10  Andreas Schwab  <schwab@redhat.com>
79391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79392         tmpbuf.
79394 2011-06-10  Roland McGrath  <roland@hack.frob.com>
79396         * Makerules (shlib.lds): Fail if the linker script comes out empty.
79397         * elf/Makefile ($(objpfx)ld.so): Likewise.
79399         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79400         Don't list ld.so twice in dependencies.
79402         * posix/bug-regex31.c: Include <stdlib.h>.
79404         * nscd/hstcache.c (cache_addhst): Remove unused variable.
79406         * nis/nss_compat/compat-spwd.c
79407         (getspent_next_nss_netgr): Remove unused variable.
79408         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79410         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79411         nonmembers" output to use the right array.
79413         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79415         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79417         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79418         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79419         * catgets/gencat.c (read_input_file): Likewise.
79420         * locale/programs/locarchive.c (enlarge_archive): Likewise.
79422         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79423         variable definition inside #if's controlling its use.
79425         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79427         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79429         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79431         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79432         unreachable code.
79434         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79436         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79437         * configure: Regenerated.
79439         * Makerules: Revert last change.
79440         * elf/Makefile: Likewise.
79442 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79444         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79445         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79446         (reloc-link): Likewise.
79448 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79450         * elf/Makefile: Add rules to build pldd.
79451         * elf/pldd.c: New file.
79452         * elf/pldd-xx.c: New file.
79454 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79456         * version.h: Update for 2.15 development version.
79458 2011-06-07  David S. Miller  <davem@davemloft.net>
79460         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79461         ifuncs.
79462         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79463         elf_machine_lazy_rel): Likewise.
79464         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79465         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79466         elf_machine_lazy_rel): Likewise.
79467         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79468         dl_hwcap via passed in argument.
79469         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79470         Likewise.
79472 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79474         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79476 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79478         [BZ #12849]
79479         * manual/fdl-1.1.texi: New file, verbatim from:
79480         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79481         * manual/lgpl-2.1.texi: New file, verbatim from:
79482         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79483         * manual/Makefile (licenses): New variable, list those new file names.
79484         (texis): Use it.
79485         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79487         * manual/fdl.texi: File removed.
79488         * manual/lesser.texi: File removed.
79489         * manual/libc.texinfo (Copying, Documentation License):
79490         Use new @include file names, put @appendix directive before @include.
79492 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79494         [BZ #12841]
79495         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79496         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79497         (mq_open): Add __NTH.
79499 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79502         Assume Intel Core i3/i5/i7 processor if AVX is available.
79504 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79506         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79507         typo.
79509 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79511         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79512         memory.  Use alloca_account.  Fix memory leak when retrying.
79514 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79516         * version.h (RELEASE): Bump for 2.14 release.
79517         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79519         * config.make.in (RANLIB): Remove entry.
79521 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79523         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79524         (libc.pot): Work around missing support for .ksh extension in xgettext.
79526         [BZ #12684]
79527         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79528         if both request failed.
79529         (send_dg): In case of server errors clear resplen or *resplen2.
79531         [BZ #12454]
79532         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79533         when there are multiple maps.
79534         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79535         (_dl_fini): Remove test here.
79537         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79539 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79541         [BZ #12350]
79542         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79543         bit from old_res_options.
79544         (gaih_inet): Likewise.
79546         [BZ #11099]
79547         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79548         as signed.
79550         * resolv/res_init.c (res_setoptions): Make the code more compact.
79552         [BZ #11558]
79553         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79554         set RES_USEVC.
79556         [BZ #11634]
79557         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79559         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79561         [BZ #11781]
79562         * malloc/malloc.h: Declare malloc hook variables as volatile.
79564         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79565         in last patch.
79567         [BZ #11799]
79568         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79569         raise in the comment.
79570         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79571         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79572         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79574 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79576         [BZ #12811]
79577         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79578         grow the buffers more if it already has to be sufficient.
79579         (build_wcs_upper_buffer): Likewise.
79580         * posix/regexec.c (check_matching): Likewise.
79581         (clean_state_log_if_needed): Likewise.
79582         (extend_buffers): Don't enlarge buffers beyond size of the input
79583         buffer.
79584         Patches mostly by Emil Wojak <emil@wojak.eu>.
79585         * posix/bug-regex32.c: New file.
79586         * posix/Makefile (tests): Add bug-regex32.
79588         * locale/findlocale.c (_nl_find_locale): Return right away if
79589         _nl_explode_name failed.
79590         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79592         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79594         * debug/xtrace.sh: Unify messages.
79595         * malloc/memusage.sh: Likewise.
79597         [BZ #12813]
79598         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79599         time symbol from vDSO.  Substitute with vsyscall if not available.
79600         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79601         __vdso_time.
79603         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79604         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79605         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79606         Add sendmmsg and internal_sendmmsg.
79607         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79608         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79609         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79611         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79612         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79613         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79615 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79617         [BZ #12813]
79618         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79619         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79620         available.
79621         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79622         __vdso_getcpu.
79624         [BZ #12814]
79625         * iconvdata/Makefile (tests): Add bug-iconv9.
79626         * iconvdata/bug-iconv9.c: New file.
79628 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79630         [BZ #12814]
79631         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79633 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79635         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79636         (struct user_regs_struct): Change intcs field back to cs.
79638 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79640         * po/ja.po: Update from translation team.
79642 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79644         [BZ #12795]
79645         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79646         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79648 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79650         * stdlib/longlong.h: Update from GCC.
79652 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79654         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79655         parameter name.
79656         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79657         Add parameter name.
79658         (__sysconf): Pass it down.
79660 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79662         [BZ #12671]
79663         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79664         some situations.
79665         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79666         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79667         add in in __libc_use_alloca calls.  Adjust callers.
79668         (glob): Use malloc in some situations.
79670         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79671         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79672         pltexit.
79674 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79676         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79677         and CLOCK_BOOTTIME_ALARM.
79679         [BZ #12782]
79680         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79681         is returned.
79683         * string/_strerror.c (__strerror_r): Print negative errors as signed
79684         numbers.
79686         [BZ #12777]
79687         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79688         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79689         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79691         * configure.in: Fix typo in redirection and correct removal of test
79692         files in two cases.
79694         [BZ #12788]
79695         * locale/setlocale.c (new_composite_name): Fix test to check for
79696         identical name of all categories.
79698         [BZ #12792]
79699         * libio/filedoalloc.c (local_isatty): New function.
79700         (_IO_file_doallocate): Use local_isatty.
79701         * stdio-common/perror.c (perror): In case a new stream is used
79702         forward the stream error.
79703         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79704         error flag.
79706 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79708         [BZ #11884]
79709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79710         alloca.
79711         * include/alloca.h (extend_alloca_account): Define.
79713         [BZ #11857]
79714         * posix/regex.h: Fix comments with documentation of user-accessible
79715         fields after compilation and describe correct free'ing of pattern
79716         after re_compile_pattern.
79717         Patch by Reuben Thomas <rrt@sc3d.org>.
79719 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79721         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79722         and -mno-altivec to prevent the compiler from using Altivec and/or
79723         VSX instructions when the corresponding registers are not available.
79725 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79727         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79729 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79731         * libio/freopen.c (freopen): Use __dup2, not dup2.
79732         * libio/freopen64.c (freopen64): Likewise.
79734 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79736         [BZ #12775]
79737         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79738         * math/Makefile (tests): Add test-powl.
79739         (CFLAGS-test-powl.c): Define.
79740         * math/test-powl.c: New file.
79742 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79744         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79746 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79748         [BZ #11837]
79749         * iconvdata/gb18030.c: Update to GB18020-2005.
79751 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79753         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79754         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79755         Patch by Aharon Robbins <arnold@skeeve.com>.
79757         [BZ #11892]
79758         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79759         on the stack.
79761         [BZ #11895]
79762         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79763         through underflows.
79765         [BZ #12766]
79766         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79767         point to strings before performing equality test for error_one_per_line
79768         mode.
79770         [BZ #11697]
79771         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79773         [BZ #11820]
79774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79775         (struct user_fpregs_struct): Avoid __uint*_t types.
79777         [BZ #6420]
79778         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79779         symbol info.  Use it instead of calling _dl_addr locally.
79780         (lock_and_info): New function.
79781         (tr_freehook): Call lock_and_info and pass symbol info as additional
79782         parameter to tr_where.
79783         (tr_mallochook): Likewise.
79784         (tr_reallochook): Likewise.
79785         (tr_memalignhook): Likewise.
79787         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79788         used and couldn't be at all thread-safe.
79790 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79792         * libio/freopen.c (freopen): Don't close old file descriptor
79793         before the new one is opened.  Instead dup the new file descriptor
79794         to the old one after the new stream is created.
79795         * libio/freopen64.c (freopen64): Likewise.
79796         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79797         * libio/fileops.c (_IO_new_file_close_it): Handle new
79798         _IO_FLAGS2_NOCLOSE flag.
79799         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79800         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79801         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79802         _IO_FLAGS2_NOCLOSE flag.
79803         * include/unistd.h: Add hidden_proto for dup3.
79804         Define __have_dup3.
79805         * io/dup3.c: Define hidden symbol.
79806         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79808         [BZ #7101]
79809         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79810         when an incomplete long option is used.
79811         * posix/tst-getopt_long1.c: New file.
79812         * posix/Makefile (tests): Add tst-getopt_long1.
79814         [BZ #10138]
79815         * scripts/config.guess: Update from autoconf-2.68.
79816         * scripts/config.sub: Likewise.
79818         [BZ #10157]
79819         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79820         tests into ...
79821         (has_cpuclock): ...this.  New function.
79822         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79823         macro here based on has_cpuclock code.
79825         [BZ #10149]
79826         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79827         First byte (not low byte) is now always NUL.
79828         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79830         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79831         Use non-cancelable interfaces.
79833         [BZ #9809]
79834         * locale/iso-639.def: Add entry for Sorani.
79836         [BZ #11901]
79837         * include/stdlib.h: Move include protection to the right place.
79838         Define abort_msg_s.  Declare __abort_msg with it.
79839         * stdlib/abort.c (__abort_msg): Adjust type.
79840         * assert/assert.c (__assert_fail_base): New function.  Majority
79841         of code from __assert_fail.  Allocate memory for __abort_msg with
79842         mmap.
79843         (__assert_fail): Now call __assert_fail_base.
79844         * assert/assert-perr.c: Remove bulk of implementation.  Use
79845         __assert_fail_base.
79846         * include/assert.hL Declare __assert_fail_base.
79847         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79848         mmap.
79849         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79851 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79853         [BZ #11952]
79854         [BZ #12453]
79855         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79856         until all modules are registered in the DTV.
79857         * elf/Makefile: Add rules to build and run tst-tls19.
79858         * elf/tst-tls19.c: New file.
79859         * elf/tst-tls19mod1.c: New file.
79860         * elf/tst-tls19mod2.c: New file.
79861         * elf/tst-tls19mod3.c: New file.
79862         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79864         [BZ #12083]
79865         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79866         correctly.
79868         [BZ #12601]
79869         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79870         two-byte sequence errors.
79871         * iconvdata/Makefile (tests): Add bug-iconv8.
79872         * iconvdata/bug-iconv8.c: New file.
79874         [BZ #12626]
79875         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79876         buf2 definition.
79878         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79880         [BZ #12432]
79881         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79882         (dummy_getcfa): New function.
79883         (init): Get _Unwind_GetCFA address, use dummy if not found.
79884         (backtrace_helper): In recursion check, also check whether CFA changes.
79885         (__backtrace): Completely initialize arg.
79887         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79888         storing incomplete byte sequence in state object.  Avoid testing for
79889         guaranteed too small input if we know there is enough data available.
79891 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79893         * Makeconfig (+link-pie): Indent.
79894         * Rules (binaries-pie): Define if $(have-fpie) and
79895         $(build-shared).
79896         (binaries-shared): Also filter out $(binaries-pie).
79897         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79898         * nscd/Makefile (others-pie): Add nscd.
79899         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79900         ($(objpfx)nscd): Remove command override.
79901         * login/Makefile (others-pie): Add pt_chown.
79902         ($(objpfx)pt_chown): Remove command override.
79903         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79904         remove command overrides.
79906 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79908         * libio/tst_putwc.c: Fix error messages.
79910         [BZ #12724]
79911         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79912         currently writing and seek to current position when not.
79913         * libio/Makefile (tests): Add bug-fclose1.
79914         * libio/bug-fclose1.c: New file.
79916 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79918         [BZ #12511]
79919         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79920         don't set DF_1_NODELETE here.
79921         (do_lookup_x): When entering new entry test for copy relocation
79922         and if necessary set DF_1_NODELETE flag.
79923         * elf/tst-unique4.cc: New file.
79924         * elf/tst-unique4.h: New file.
79925         * elf/tst-unique4lib.cc: New file.
79926         * elf/Makefile: Add rules to build and run tst-unique4.
79927         Patch by Piotr Bury <pbury@goahead.com>.
79929 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79931         [BZ #12052]
79932         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79934         [BZ #12625]
79935         * misc/mntent_r.c (addmntent): Flush the stream after the output
79937         [BZ #12393]
79938         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79939         (is_trusted_path_normalize): Skip initial colon.  Append slash
79940         to empty buffer.  Duplicate is_trusted_path code but allow
79941         constructed patch to be prefix.
79942         (is_dst): Allow $ORIGIN followed by /.
79943         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79944         Correct testing of result of is_trusted_path_normalize
79945         (decompose_rpath): Fix warning.
79947 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79949         [BZ #11257]
79950         * grp/initgroups.c (internal_getgrouplist): When we found the service
79951         list through the initgroups entry in nsswitch.conf do not always
79952         continue on a successful lookup.  Don't always use the
79953         __nss_group_database value if it is set.
79954         * nss/nsswitch.conf (initgroups): Change action for successful db
79955         lookup to continue for compatibility.
79957 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79959         [BZ #11532]
79960         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79961         and CP774 modules.
79962         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79963         and CP774 modules.
79964         * iconvdata/tst-tables.sh: Likewise.
79965         * iconvdata/cp770.c: New file.
79966         * iconvdata/cp771.c: New file.
79967         * iconvdata/cp772.c: New file.
79968         * iconvdata/cp773.c: New file.
79969         * iconvdata/cp774.c: New file.
79970         * iconvdata/testdata/CP770: New file.
79971         * iconvdata/testdata/CP770..UTF8: New file.
79972         * iconvdata/testdata/CP771: New file.
79973         * iconvdata/testdata/CP771..UTF8: New file.
79974         * iconvdata/testdata/CP772: New file.
79975         * iconvdata/testdata/CP772..UTF8: New file.
79976         * iconvdata/testdata/CP773: New file.
79977         * iconvdata/testdata/CP773..UTF8: New file.
79978         * iconvdata/testdata/CP774: New file.
79979         * iconvdata/testdata/CP774..UTF8: New file.
79981         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79982         END CHARMAP line.
79983         * iconvdata/gen-8bit-gap.sh: Likewise.
79984         * iconvdata/gen-8bit.sh: Likewise.
79986         * locale/iso-639.def: Add ary entry.
79988         [BZ #11258]
79989         * locale/C-translit.h.in: Add U20A1 transliteration.
79991         [BZ #12178]
79992         * locale/iso-639.def: Add wae entry.
79993         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79995         [BZ #12545]
79996         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79997         for n.
79999         [BZ #12711]
80000         * locale/C-translit.h.in: Add entry for U20B9.
80001         Patch by pravin.d.s@gmail.com.
80003 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80005         [BZ #12713]
80006         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80007         ENAMETOOLONG use generic getcwd.
80008         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80009         in rtld.  Use *stat64.
80010         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80011         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80012         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80013         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80014         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80015         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80016         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80017         __fstatat64 macros.
80018         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80019         * dirent/rewinddir.c: Add libc_hidden_def.
80020         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80021         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80023         * include/dirent.h (__alloc_dir): Add flags parameter.
80024         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80025         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80026         __alloc_dir.
80027         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80028         from fdopendir if O_CLOEXEC is already set.
80030 2011-03-15  Alan Modra  <amodra@gmail.com>
80032         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80033         l_tls_firstbyte_offset non-zero.  Save padding offset in
80034         l_tls_firstbyte_offset for later use.
80035         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80036         freeing static tls block.
80038 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80040         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80041         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80042         being defined by the kernel headers.
80044 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80046         [BZ #12734]
80047         * resolv/resolv.h: Define RES_NOTLDQUERY.
80048         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80049         no-tld-query and set RES_NOTLDQUERY.
80050         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80051         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80052         modern BIND to search name as TLD unless forbidden.
80054 2011-05-07  Petr Baudis  <pasky@suse.cz>
80055             Ulrich Drepper  <drepper@gmail.com>
80057         [BZ #12393]
80058         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80059         (is_trusted_path): ...to here.
80060         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80061         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80062         using is_trusted_path_normalize() in setuid scripts.
80064 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80066         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80067         __BEGIN/__END_DECLS.
80069 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80071         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80072         NSS_STATUS_NOTFOUND if no record was found.
80074 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80076         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80077         (headers-not-in-tirpc): Remove rpc/netdb.h
80078         * resolv/netdb.h: Revert last change.
80080 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80082         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80083         circular dependency between libgcc.a and libc.a.
80085 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80087         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80088         * nis/Makefile: Don't install rpcsvc/*.
80089         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80090         instead of <rpc/types.h>.
80091         (MAXHOSTNAMELEN): Define.
80093 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80095         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80097 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80099         [BZ #12714]
80100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80101         gethostbyname4_r when IPv6 results are possible.
80103 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80105         [BZ #12723]
80106         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80107         _PC_PIPE_BUF handling.
80109 2011-04-30  Bruno Haible  <bruno@clisp.org>
80111         [BZ #12717]
80112         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80113         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80114         to 'int'.
80115         * inet/getnameinfo.c (getnameinfo): Likewise.
80117 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80119         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80120         to groups setting in database lookup.
80121         * nss/nsswitch.conf: Add initgroups entry.
80123 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80125         [BZ #12685]
80126         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80127         mode string.
80128         Patch by Eric Blake <eblake@redhat.com>.
80130 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80132         * sunrpc/Makefile (need-export-routines): Add svc_run.
80133         (routines): Remove svc_run.
80134         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80135         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80136         * sunrpc/svc_run.c (svc_run): Likewise.
80137         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80139 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80141         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80142         problem in reallocation in last patch.
80144 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80146         * sunrpc/Makefile: Move inclusion of Rules.
80148 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80150         * nss/nss_files/files-initgroups.c: New file.
80151         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80152         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80153         _nss_files_initgroups_dyn.
80155 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80157         * elf/elf.h (R_ARM_IRELATIVE): Define.
80159 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80161         * po/ru.po: Update from translation team.
80163 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80165         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80166         dependencies.
80168 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80170         [BZ #12653]
80171         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80172         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80173         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80175         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80177 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80179         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80180         differing bytes.
80181         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80182         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80183         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80185 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80187         [BZ #12420]
80188         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80189         storing it.
80190         * stdlib/bug-getcontext.c: New file.
80191         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80193 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80195         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80196         instructions into .machine "z9-109".
80197         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80198         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80200 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80202         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80203         between environment variables and auxiliary vector.
80205 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80207         * Makefile: Add rules to build linkobj/libc.so.
80208         * include/libc-symbols.h: Define libc_hidden_nolink.
80209         * include/rpc/auth.h: Mark functions which are to be hidden.
80210         * include/rpc/auth_des.h: Likewise.
80211         * include/rpc/auth_unix.h: Likewise.
80212         * include/rpc/clnt.h: Likewise.
80213         * include/rpc/des_crypt.h: Likewise.
80214         * include/rpc/key_prot.h: Likewise.
80215         * include/rpc/pmap_clnt.h: Likewise.
80216         * include/rpc/pmap_prot.h: Likewise.
80217         * include/rpc/pmap_rmt.h: Likewise.
80218         * include/rpc/rpc_msg.h: Likewise.
80219         * include/rpc/svc.h: Likewise.
80220         * include/rpc/svc_auth.h: Likewise.
80221         * include/rpc/xdr.h: Likewise.
80222         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80223         * nss/Makefile: Likewise.
80224         * sunrpc/Makefile: Don't install headers.  Build library with normal
80225         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80226         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80227         for the compat linking library.  Remove use of INTDEF/INTUSE.
80228         * sunrpc/auth_none.c: Likewise.
80229         * sunrpc/auth_unix.c: Likewise.
80230         * sunrpc/authdes_prot.c: Likewise.
80231         * sunrpc/authuxprot.c: Likewise.
80232         * sunrpc/clnt_gen.c: Likewise.
80233         * sunrpc/clnt_perr.c: Likewise.
80234         * sunrpc/clnt_raw.c: Likewise.
80235         * sunrpc/clnt_simp.c: Likewise.
80236         * sunrpc/clnt_tcp.c: Likewise.
80237         * sunrpc/clnt_udp.c: Likewise.
80238         * sunrpc/clnt_unix.c: Likewise.
80239         * sunrpc/des_crypt.c: Likewise.
80240         * sunrpc/des_soft.c: Likewise.
80241         * sunrpc/get_myaddr.c: Likewise.
80242         * sunrpc/key_call.c: Likewise.
80243         * sunrpc/key_prot.c: Likewise.
80244         * sunrpc/netname.c: Likewise.
80245         * sunrpc/pm_getmaps.c: Likewise.
80246         * sunrpc/pm_getport.c: Likewise.
80247         * sunrpc/pmap_clnt.c: Likewise.
80248         * sunrpc/pmap_prot.c: Likewise.
80249         * sunrpc/pmap_prot2.c: Likewise.
80250         * sunrpc/pmap_rmt.c: Likewise.
80251         * sunrpc/publickey.c: Likewise.
80252         * sunrpc/rpc_cmsg.c: Likewise.
80253         * sunrpc/rpc_common.c: Likewise.
80254         * sunrpc/rpc_dtable.c: Likewise.
80255         * sunrpc/rpc_prot.c: Likewise.
80256         * sunrpc/rpc_thread.c: Likewise.
80257         * sunrpc/rtime.c: Likewise.
80258         * sunrpc/svc.c: Likewise.
80259         * sunrpc/svc_auth.c: Likewise.
80260         * sunrpc/svc_authux.c: Likewise.
80261         * sunrpc/svc_raw.c: Likewise.
80262         * sunrpc/svc_run.c: Likewise.
80263         * sunrpc/svc_simple.c: Likewise.
80264         * sunrpc/svc_tcp.c: Likewise.
80265         * sunrpc/svc_udp.c: Likewise.
80266         * sunrpc/svc_unix.c: Likewise.
80267         * sunrpc/svcauth_des.c: Likewise.
80268         * sunrpc/xcrypt.c: Likewise.
80269         * sunrpc/xdr.c: Likewise.
80270         * sunrpc/xdr_array.c: Likewise.
80271         * sunrpc/xdr_float.c: Likewise.
80272         * sunrpc/xdr_intXX_t.c: Likewise.
80273         * sunrpc/xdr_mem.c: Likewise.
80274         * sunrpc/xdr_rec.c: Likewise.
80275         * sunrpc/xdr_ref.c: Likewise.
80276         * sunrpc/xdr_sizeof.c: Likewise.
80277         * sunrpc/xdr_stdio.c: Likewise.
80279 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80281         [BZ #12650]
80282         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80283         * sysdeps/ia64/dl-tls.h: Likewise.
80284         * sysdeps/powerpc/dl-tls.h: Likewise.
80285         * sysdeps/s390/dl-tls.h: Likewise.
80286         * sysdeps/sh/dl-tls.h: Likewise.
80287         * sysdeps/sparc/dl-tls.h: Likewise.
80288         * sysdeps/x86_64/dl-tls.h: Likewise.
80289         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80291 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80293         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80294         rpath element also skip the following colon.
80295         (expand_dynamic_string_token): Add is_path parameter and pass
80296         down to DL_DST_REQUIRED and _dl_dst_substitute.
80297         (decompose_rpath): Call expand_dynamic_string_token with
80298         non-zero is_path.  Ignore empty rpaths.
80299         (_dl_map_object_from_fd): Call expand_dynamic_string_token
80300         with zero is_path.
80302 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
80304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80305         Make cancelable.
80307 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
80309         [BZ #12655]
80310         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80311         Patch by Filipe David Manana <fdmanana@apache.org>.
80313 2011-04-07  Andreas Schwab  <schwab@redhat.com>
80315         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80316         Maintain aligned stack.
80317         (CHECK_RSP): Remove unused macro.
80319 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
80321         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80322         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80324 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
80326         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80328         * include/features.h: Mention __USE_XOPEN2K8 in comment.
80330 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
80332         [BZ #12518]
80333         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80334         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80335         * sysdeps/x86_64/memmove.c: New file.
80336         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80337         (memcpy): Renamed to ...
80338         (__new_memcpy): This.
80339         (memcpy): Provide GLIBC_2_14 memcpy.
80340         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80341         (memcpy): Provide GLIBC_2_2_5 memcpy.
80343 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80345         [BZ #12631]
80346         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80348 2011-03-30  Andreas Schwab  <schwab@redhat.com>
80350         * misc/syncfs.c: New file.
80351         * misc/Makefile (routines): Add syncfs.
80352         * posix/unistd.h: Declare syncfs.
80353         * sysdeps/unix/syscalls.list: Add syncfs.
80355 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80357         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80358         open_by_handle_at.
80359         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80360         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80362         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80364         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80365         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80367 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80370         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80371         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80372         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80377         * io/Makefile: Compile fallocate.c, fallocate64.c, and
80378         sync_file_range.c with -fexceptions.
80379         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80380         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80381         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80382         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80383         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80384         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80385         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80386         sync_file_range as cancellation point
80387         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
80388         now a wrapper around __call_sync_file_range with cancellation handling.
80389         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80390         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
80391         function name to __call_sync_file_range.
80392         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80393         Add call_sync_file_range.
80395 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80398         bits/timex.h.
80400 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80402         * iconv/iconv.h: Fix typo in comment.
80403         * io/fcntl.h: Likewise.
80404         * libio/stdio.h: Likewise.
80405         * posix/spawn.h: Likewise.
80406         * posix/unistd.h: Likewise.
80407         * stdlib/stdlib.h: Likewise.
80408         * time/time.h: Likewise.
80409         * wcsmbs/wchar.h: Likewise.
80411         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80412         open_by_handle): Add.
80413         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80414         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
80415         Augment a few comments.
80416         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80417         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80418         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80419         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80420         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80421         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80422         open_by_handle.
80424         * io/fcntl.h (AT_EMPTY_PATH): Define.
80426 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
80428         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80429         * sysdeps/unix/sysv/linux/bits/time.h: New file.
80430         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80431         to...
80432         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
80433         * Versions.def: Add GLIBC_2.14.
80434         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80435         Export.
80437 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
80439         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80440         round counter.
80441         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80443 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80445         [BZ #12597]
80446         * string/test-strncmp.c (do_page_test): New function.
80447         (check2): Likewise.
80448         (test_main): Call check2.
80449         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80451 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80453         [BZ #12587]
80454         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80455         Handle cache information in CPU leaf 4.
80456         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80458 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80460         [BZ #12583]
80461         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80462         character representation.
80463         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80465 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80467         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80468         END(__isnan) to END(__isnanf) to match function entry point/label
80469         EALIGN(__isnanf,...).
80471 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80473         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80475 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80477         [BZ #12510]
80478         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80479         copy from the symbol referenced in the relocation to initialize the
80480         used variable.
80481         Patch by Piotr Bury <pbury@goahead.com>.
80482         * elf/Makefile: Add rules to build and tst-unique3.
80483         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80484         * elf/tst-unique3.cc: New file.
80485         * elf/tst-unique3.h: New file.
80486         * elf/tst-unique3lib.cc: New file.
80487         * elf/tst-unique3lib2.cc: New file.
80489         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80491 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80493         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80494         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80495         to _start.
80497 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80499         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80500         to-be-loaded object along a path to loader is ld.so.
80502 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80503             Ulrich Drepper  <drepper@gmail.com>
80505         * sysdeps/x86_64/memset.S: After aligning destination, code
80506         branches to different locations depending on the value of
80507         misalignment, when multiarch is enabled. Fix this.
80509 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80511         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80512         Set _x86_64_preferred_memory_instruction for AMD processsors.
80513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80514         Set bit_Prefer_SSE_for_memop for AMD processors.
80516 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80518         * libio/fmemopen.c (fmemopen): Optimize a bit.
80520 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80522         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80524 2011-03-03  Roland McGrath  <roland@redhat.com>
80526         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80528 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80530         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80531         __bzero_ultra1 instead of __memset_ultra1.
80533 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80534             Ulrich Drepper  <drepper@gmail.com>
80536         [BZ #12509]
80537         * include/link.h (struct link_map): Add l_orig_initfini.
80538         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80539         returning unsuccessfully.
80540         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80541         close of a file loaded at startup, restore the original l_initfini
80542         list.
80543         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80544         list, store the pointer.
80545         * elf/Makefile ($(objpfx)noload-mem): New rule.
80546         (noload-ENV): Define.
80547         (tests): Add $(objpfx)noload-mem.
80548         * elf/noload.c: Include <memcheck.h>.
80549         (main): Call mtrace.  Close all opened handles.
80551 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80553         [BZ #12454]
80554         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80555         dependencies are missing.
80557 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80559         Fix __if_freereq crash: Unlike the generic version which uses free,
80560         Hurd needs munmap.
80561         * sysdeps/mach/hurd/ifreq.h: New file.
80563 2011-01-27  Petr Baudis  <pasky@suse.cz>
80564             Ulrich Drepper  <drepper@gmail.com>
80566         [BZ 12445]#
80567         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80568         to extend_alloca().
80569         * stdio-common/bug23.c: New file.
80570         * stdio-common/Makefile (tests): Add bug23.
80572 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80573             Ulrich Drepper  <drepper@gmail.com>
80575         [BZ #12489]
80576         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80577         before performing relro protection.  At old place add assertion
80578         to make sure nothing changed.
80580 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80581             Glauber de Oliveira Costa  <glommer@gmail.com>
80583         * elf/elf.h: Add new ARM TLS relocs.
80585 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80588         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80589         cast from r3.
80590         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80591         'tests' variable.
80592         * sysdeps/wordsize-64/tst-writev.c: New file.
80594 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80596         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80597         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80598         insns in _dl_start to prevent a TOC reference before relocs are
80599         resolved.
80601 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80603         [BZ #12469]
80604         * Makeconfig: Remove RANLIB definition.
80605         * Makerules: Don't use RANLIB.
80606         * aclocal.m4: Remove ranlib test.
80607         * configure.in: No need to check for ranlib.
80608         * elf/rtld-Rules: Don't use RANLIB.
80610 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80612         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80613         protection macro.
80614         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80615         inclusion protection macro.
80617         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80618         SIGRTMIN and SIGRTMAX and print information in that case only when
80619         SIGRTMIN is defined.
80621 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80623         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80624         arginfo fn returning -1.
80626         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80627         and thousands string is zero terminated.
80629 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80631         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80632         sysdeps/unix/sysv/linux/bits/socket.h.
80634 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80636         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80637         (__CPU_COUNT): Remove old macros.
80638         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80639         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80640         (__CPU_ALLOC, __CPU_FREE): Add macros.
80641         (__sched_cpualloc, __sched_cpufree): Add declarations.
80643 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80645         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80646         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80647         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80648         (readdhstai): Return value of addhstaiX call.
80649         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80650         (addgrbyX): Return value returned by cache_addgr.
80651         (readdgrbyname): Return value returned by addgrbyX.
80652         (readdgrbygid): Likewise.
80653         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80654         (addpwbyX): Return value returned by cache_addpw.
80655         (readdpwbyname): Return value returned by addhstbyX.
80656         (readdpwbyuid): Likewise.
80657         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80658         (addservbyX): Return value returned by cache_addserv.
80659         (readdservbyname): Return value returned by addservbyX:
80660         (readdservbyport): Likewise.
80661         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80662         (addhstbyX): Return value returned by cache_addhst.
80663         (readdhstbyname): Return value returned by addhstbyX.
80664         (readdhstbyaddr): Likewise.
80665         (readdhstbynamev6): Likewise.
80666         (readdhstbyaddrv6): Likewise.
80667         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80668         (readdinitgroups): Return value returned by addinitgroupsX.
80669         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80670         (prune_cache): Keep track of timeout value of re-added entries.
80671         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80672         * nscd/nscd.h: Adjust prototypes of readd* functions.
80674 2011-02-04  Roland McGrath  <roland@redhat.com>
80676         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80677         (nis_stats): Likewise.
80678         * nis/nis_modify.c (nis_modify): Likewise.
80679         * nis/nis_remove.c (nis_remove): Likewise.
80680         * nis/nis_add.c (nis_add): Likewise.
80682         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80684         * posix/fnmatch_loop.c: Add some consts.
80686         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80688 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80690         [BZ #12460]
80691         * config.make.in (config-cflags-novzeroupper): Define.
80692         * configure.in: Substitute libc_cv_cc_novzeroupper.
80693         * elf/Makefile (AVX-CFLAGS): Define.
80694         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80695         (CFLAGS-tst-auditmod4a.c): Likewise.
80696         (CFLAGS-tst-auditmod4b.c): Likewise.
80697         (CFLAGS-tst-auditmod6b.c): Likewise.
80698         (CFLAGS-tst-auditmod6c.c): Likewise.
80699         (CFLAGS-tst-auditmod7b.c): Likewise.
80700         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80702 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80704         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80705         function to the callback.
80706         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80708 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80710         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80711         of errno.
80713 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80715         [BZ #11724]
80716         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80717         of constructors.
80718         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80719         of destructors.
80720         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80722         [BZ #11724]
80723         * elf/Makefile: Add rules to build and run new test.
80724         * elf/tst-initorder.c: New file.
80725         * elf/tst-initorder.exp: New file.
80726         * elf/tst-initordera1.c: New file.
80727         * elf/tst-initordera2.c: New file.
80728         * elf/tst-initordera3.c: New file.
80729         * elf/tst-initordera4.c: New file.
80730         * elf/tst-initorderb1.c: New file.
80731         * elf/tst-initorderb2.c: New file.
80732         * elf/tst-order-a1.c: New file.
80733         * elf/tst-order-a2.c: New file.
80734         * elf/tst-order-a3.c: New file.
80735         * elf/tst-order-a4.c: New file.
80736         * elf/tst-order-b1.c: New file.
80737         * elf/tst-order-b2.c: New file.
80738         * elf/tst-order-main.c: New file.
80739         New test case by George Gensure <werkt0@gmail.com>.
80741 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80744         decoding ACE if AI_CANONIDN.
80746 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80748         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80750 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80752         * version.h (RELEASE): Bump for 2.13 release.
80753         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80755         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80757         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80758         MADV_NOHUGEPAGE.
80759         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80760         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80761         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80762         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80763         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80764         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80766         * posix/getconf.c: Update copyright year.
80767         * catgets/gencat.c: Likewise.
80768         * csu/version.c: Likewise.
80769         * debug/catchsegv.sh: Likewise.
80770         * debug/xtrace.sh: Likewise.
80771         * elf/ldconfig.c: Likewise.
80772         * elf/ldd.bash.in: Likewise.
80773         * elf/sprof.c (print_version): Likewise.
80774         * iconv/iconv_prog.c: Likewise.
80775         * iconv/iconvconfig.c: Likewise.
80776         * locale/programs/locale.c: Likewise.
80777         * locale/programs/localedef.c: Likewise.
80778         * malloc/memusage.sh: Likewise.
80779         * malloc/mtrace.pl: Likewise.
80780         * nscd/nscd.c (print_version): Likewise.
80781         * nss/getent.c: Likewise.
80783         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80784         PF_CAIF, and PF_ALG.
80785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80787 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80789         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80790         (modules-names): Use them.
80791         (ifunc-test-modules, ifunc-pie-tests): Define.
80792         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80793         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80794         (test-extras): Likewise.
80795         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80796         $(compile-command.c).
80797         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80798         (all-built-dso): Define.
80799         (check-textrel.out, check-execstack.out): Depend on it.
80801         * configure.in: Don't override --enable-multi-arch.
80803 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80805         [BZ #6812]
80806         * nscd/hstcache.c (tryagain): Define.
80807         (cache_addhst): Return tryagain not notfound for temporary errors.
80808         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80809         failed.
80811 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80813         [BZ #10563]
80814         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80815         to make the syscall.
80816         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80818         [BZ #12378]
80819         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80820         and fall back to matching as normal character if the string ends before
80821         the matching ']' is found.  This is what POSIX requires.
80822         * posix/testfnm.c: Adjust test result.
80823         * posix/globtest.sh: Adjust test result.  Add new test.
80824         * posix/tst-fnmatch.input: Likewise.
80825         * posix/tst-fnmatch2.c: Add new test.
80827 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80829         * elf/Makefile (check-execstack): Revert last change.  Depend on
80830         check-execstack.h.
80831         (check-execstack.h): New target.
80832         (generated): Add check-execstack.h.
80833         * elf/check-execstack.c: Include "check-execstack.h".
80834         (main): Revert last change.
80835         (handle_file): Return zero if GNU_STACK is absent and
80836         DEFAULT_STACK_PERMS doesn't include PF_X.
80838 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80840         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80841         in child fails because the descriptor is already closed.
80842         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80843         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80844         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80846         [BZ #12397]
80847         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80848         syscall.
80850         [BZ #10484]
80851         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80852         temporary buffer used to handle multi lookups locally.
80853         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80855 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80857         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80858         loader is ld.so.
80860 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80862         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80863         alignment for SSE2.
80865 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80867         [BZ #12394]
80868         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80869         characters.  When rounding increased number of integer digits recompute
80870         number of groups.
80871         * stdio-common/tst-grouping.c: New file.
80872         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80874 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80876         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80877         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80879         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80880         void.
80881         * bits/select.h: Likewise.
80883 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80885         * po/ja.po: Update from translation team.
80887 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80889         [BZ #11155]
80890         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80891         implementation just like for lxstat, fxstatat, et al.
80893 2010-12-27  Jim Meyering  <meyering@redhat.com>
80895         [BZ #12348]
80896         * posix/regexec.c (build_trtable): Return failure indication upon
80897         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80899 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80901         [BZ #12201]
80902         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80903         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80904         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80905         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80907         [BZ #12207]
80908         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80910         [BZ #12204]
80911         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80912         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80914 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80916         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80917         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80918         script has SORT_BY_INIT_PRIORITY.
80919         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80920         NO_CTORS_DTORS_SECTIONS is defined.
80921         * elf/soinit.c: Likewise.
80922         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80923         NO_CTORS_DTORS_SECTIONS is defined.
80924         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80925         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80926         * sysdeps/sh/init-first.c: Likewise.
80927         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80929 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80931         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80932         always use the slow path.
80934 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80936         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80937         similar rule which adds the sysdep directories to the header search in
80938         order to pick up the correct platform stackinfo.h.
80939         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80940         perform test if it is, otherwise return successfully without testing.
80941         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80942         DEFAULT_STACK_PERMS define in stackinfo.h.
80943         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80944         defined in stackinfo.h.
80945         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80946         DEFAULT_STACK_PERMS defined in stackinfo.h.
80947         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80948         * sysdeps/ia64/stackinfo.h: Likewise.
80949         * sysdeps/s390/stackinfo.h: Likewise.
80950         * sysdeps/sh/stackinfo.h: Likewise.
80951         * sysdeps/sparc/stackinfo.h: Likewise.
80952         * sysdeps/x86_64/stackinfo.h: Likewise.
80953         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80954         PF_X for powerpc64.  Retain PF_X for powerpc32.
80956 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80958         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80959         accurately.
80960         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80961         GETDENTS_64BIT_ALIGNED.
80963 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80965         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80967 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80969         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80970         _GNU_SOURCE.
80972         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80973         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80974         Remove __restrict.
80975         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80976         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80978 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80980         [BZ #11655]
80981         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80982         are initialized.
80984 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80986         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80988 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80990         * po/it.po: Update from translation team.
80992 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80994         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80995         unused codes.
80997 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80999         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81001 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81003         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81004         specially.
81005         (gaih_getanswer_slice): Likewise.
81007 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81011 2010-05-31  Petr Baudis  <pasky@suse.cz>
81013         [BZ #11149]
81014         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81015         silently even in the chroot mode.
81017 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81019         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81020         last patch a bit.  Pretty printing
81022 2010-05-31  Petr Baudis <pasky@suse.cz>
81024         [BZ #10085]
81025         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81026         initialization of skip_initgroups_dyn.
81028 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81030         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81031         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81033 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81035         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81037 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81039         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81040         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81041         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81042         ($(objpfx)tst-fnmatch-mem): New rule.
81043         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81044         * posix/tst-fnmatch.c (main): Call mtrace.
81046 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81049         Support Intel processor model 6 and model 0x2c.
81051 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81053         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81054           signed comparison.
81056 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81058         [BZ #12205]
81059         * string/test-strncasecmp.c (check_result): New function.
81060         (do_one_test): Use it.
81061         (check1): New function.
81062         (test_main): Use it.
81063         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81064         Support strcasecmp and strncasecmp.
81066 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81068         [BZ #12194]
81069         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81070         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81072 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81074         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81075         IFUNC support.
81076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81077         memset-x86-64.
81078         * sysdeps/x86_64/multiarch/bzero.S: New file.
81079         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81080         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81081         * sysdeps/x86_64/multiarch/memset.S: New file.
81082         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81084         Set bit_Prefer_SSE_for_memop for Intel processors.
81085         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81086         Define.
81087         (index_Prefer_SSE_for_memop): Define.
81088         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81090 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81092         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81093         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81095 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81097         [BZ #12191]
81098         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81099         (__x86_64_raw_data_cache_size_half): Likewise.
81100         (__x86_64_raw_shared_cache_size): Likewise.
81101         (__x86_64_raw_shared_cache_size_half): Likewise.
81103         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81104         (__x86_64_raw_data_cache_size_half): Likewise.
81105         (__x86_64_raw_shared_cache_size): Likewise.
81106         (__x86_64_raw_shared_cache_size_half): Likewise.
81107         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81108         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81109         and __x86_64_raw_shared_cache_size_half.  Round
81110         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81111         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81112         to multiple of 256 bytes.
81114 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81116         [BZ #12167]
81117         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81118         of inacessible symlinks.  Verify result of symlink before returning it.
81119         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81120         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81122 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81124         * math/math.h (isinf): Fix typo in comment.
81126 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81128         * po/da.po: Update from translation team.
81130 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81132         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81133         is added to the list.
81135 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81136             Ulrich Drepper  <drepper@gmail.com>
81138         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81139         the global list here.  Move code to...
81140         (_dl_add_to_namespace_list): ...here.  New function.
81141         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81142         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81143         * elf/dl-load.c (lose): Don't remove the element from the list.
81144         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81145         (_dl_map_object): Likewise.
81147 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81149         [BZ #12159]
81150         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81151         into all bytes of SSE register.
81152         Patch by Richard Li <richardpku@gmail.com>.
81154 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81156         [BZ #12140]
81157         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81158         perturbing.
81160 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81162         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81163         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81164         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81165         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81167         submachine.
81168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81170 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81172         * include/dlfcn.h (__RTLD_SECURE): Define.
81173         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81174         mode & __RTLD_SECURE instead.
81175         (open_path): Rename preloaded parameter to secure.
81176         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81177         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81178         * elf/dl-deps.c (openaux): Likewise.
81179         * elf/rtld.c (struct map_args): Remove is_preloaded.
81180         (map_doit): Don't use it.
81181         (dl_main): Likewise.
81182         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81183         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81185 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81187         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81188         (sysd-rules-targets): Remove duplicates.
81189         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81190         rtld-%.$o dependency.
81192 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81194         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81195         _dl_map_object do it.
81197 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81199         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81200         fast fma builtins, define the macros in the C99 standard.
81201         (FP_FAST_FMAF): Likewise.
81202         (FP_FAST_FMAL): Likewise.
81203         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81205         * bits/mathdef.h: Update copyright year.
81206         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81208 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81210         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81211         builtins, define the macros in the C99 standard.
81212         (FP_FAST_FMAF): Likewise.
81213         (FP_FAST_FMAL): Likewise.
81214         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81215         multiply/add.
81216         (FP_FAST_FMAF): Likewise.
81218 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81220         [BZ #3268]
81221         * math/libm-test.inc (fma_test): Some new testcases.
81222         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81223         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81224         y and infinite z.  Do multiplication by C already in long double.
81225         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81227         y and infinite z.  Do bitwise or of inexact bit into u.d.
81228         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81229         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81230         * sysdeps/i386/fpu/s_fma.S: Removed.
81231         * sysdeps/i386/fpu/s_fmal.S: Removed.
81233 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81235         [BZ #3268]
81236         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81237         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81238         computation is not scheduled after fetestexcept.  Fix value
81239         of minimum denormal long double.
81241 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81243         [BZ #3268]
81244         * math/libm-test.inc (fma_test): Add some more tests.
81245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81246         correctly.
81248 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81250         * scripts/data/localplt-s390-linux-gnu.data: New file.
81251         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81253 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81255         [BZ #3268]
81256         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81257         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81258         instead of dbl-64.
81259         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81260         inlines.
81261         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81263         if one of x and y is very large and the other is subnormal.
81264         * sysdeps/s390/fpu/s_fmaf.c: New file.
81265         * sysdeps/s390/fpu/s_fma.c: New file.
81266         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81267         * sysdeps/powerpc/fpu/s_fma.S: New file.
81268         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81269         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81270         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81272 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81274         [BZ #3268]
81275         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81276         fma tests.
81277         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81278         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81279         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81280         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81281         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81282         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81283         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81285 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81287         [BZ #12078]
81288         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81289         * posix/bug-regex31.input: Add test case.
81291 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81293         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81294         * posix/bug-regex31.input: New file.
81296         [BZ #12078]
81297         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81298         (parse_sub_exp): Fix last change, use postorder.
81300         * posix/bug-regex31.c: New file.
81301         * posix/Makefile: Add rules to build and run bug-regex31.
81303         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81305         [BZ #12078]
81306         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81308         [BZ #12108]
81309         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81310         to have entries in sys_siglist.
81312         [BZ #12093]
81313         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81314         be NULL.
81316 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
81318         [BZ #3268]
81319         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81320         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81321         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81322         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81323         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81324         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81325         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81326         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81327         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81328         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81329         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81330         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81331         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81332         * math/ftestexcept.c (fetestexcept): Likewise.
81333         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81334         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81335         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81336         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81337         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81338         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81339         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81341 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81343         [BZ #12107]
81344         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81345         newline.
81347 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
81349         * string/bug-strstr1.c: New file.
81350         * string/Makefile: Add rules to build and run bug-strstr1.
81352 2010-10-05  Eric Blake  <eblake@redhat.com>
81354         [BZ #12092]
81355         * string/str-two-way.h (two_way_long_needle): Always clear memory
81356         when skipping input due to the shift table.
81358 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
81360         [BZ #12005]
81361         * malloc/mcheck.c: Handle large requests.
81363         [BZ #12077]
81364         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81365         for strncmp and strncasecmp.
81366         * string/stratcliff.c: Add tests for strcmp and strncmp.
81367         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81369 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81371         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81372         __set_fpscr.
81374 2010-09-30  Andreas Jaeger  <aj@suse.de>
81376         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81377         (CGROUP_SUPER_MAGIC): Define.
81378         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81379         Handle btrfs and cgroup file systems.
81380         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81381         Likewise.
81383 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
81385         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81386         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81388 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81390         [BZ #12067]
81391         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81392         trying to locate the ELF header.
81394 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81396         [BZ #11611]
81397         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81398         Mask out sign-bit copies when constructing f_fsid.
81400 2010-09-24  Petr Baudis <pasky@suse.cz>
81402         * debug/stack_chk_fail_local.c: Add missing licence exception.
81403         * debug/warning-nop.c: Likewise.
81405 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
81407         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81408         implementing getdents64 using getdents syscall, set d_type if
81409         __ASSUME_GETDENTS32_D_TYPE.
81411 2010-09-16  Andreas Schwab  <schwab@redhat.com>
81413         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81414         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81416 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
81418         [BZ #12037]
81419         * posix/unistd.h: Undo change of feature selection for ftruncate from
81420         2010-01-11.
81422 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
81424         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81425         detection.
81427 2010-09-20  Andreas Schwab  <schwab@redhat.com>
81429         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81430         fanotify_mark.
81431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81433 2010-09-14  Andreas Schwab  <schwab@redhat.com>
81435         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81436         variables after CHECK_SP call.
81437         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81439 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81440             Ulrich Drepper  <drepper@redhat.com>
81442         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81443         re-relocationg ld.so.
81444         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81445         _dl_init_paths call.
81446         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81447         here anymore.
81449 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81451         * resolv/res_init.c (__res_vinit): Count the default server we added.
81453 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81454             Ulrich Drepper  <drepper@redhat.com>
81456         [BZ #11968]
81457         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81458         (____longjmp_chk): Use %ebx for saving value across system call.
81459         Add unwind info.
81461 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81463         * manual/Makefile: Don't mix pattern rules with normal rules.
81465 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81467         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81468         operation.
81469         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81470         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81471         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81472         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81473         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81474         Likewise.
81476 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81478         [BZ #11979]
81479         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81480         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81482 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81484         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81485         * sysdeps/x86_64/addmul_1.S: Likewise.
81486         * sysdeps/x86_64/lshift.S: Likewise.
81487         * sysdeps/x86_64/mul_1.S: Likewise.
81488         * sysdeps/x86_64/rshift.S: Likewise.
81489         * sysdeps/x86_64/sub_n.S: Likewise.
81490         * sysdeps/x86_64/submul_1.S: Likewise.
81492 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81494         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81495         Define __sched_param instead of SCHED_* and sched_param when
81496         <bits/sched.h> is included with __need_schedparam defined.
81497         * bits/sched.h [__need_schedparam]
81498         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81499         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81500         (__defined_schedparam): Define to 1.
81501         (__sched_param): New structure, identical to sched_param.
81502         (__need_schedparam): Undefine.
81504 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81507         (epoll_create1): Declare.
81509         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81511 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81513         [BZ #7066]
81514         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81515         shifting retval into place.
81517 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81519         * nis/rpcsvc/nis.h: Update copyright notice.
81520         * nis/rpcsvc/nis.x: Likewise.
81521         * nis/rpcsvc/nis_callback.h: Likewise.
81522         * nis/rpcsvc/nis_callback.x: Likewise.
81523         * nis/rpcsvc/nis_object.x: Likewise.
81524         * nis/rpcsvc/nis_tags.h: Likewise.
81525         * nis/rpcsvc/yp.h: Likewise.
81526         * nis/rpcsvc/yp.x: Likewise.
81527         * nis/rpcsvc/ypupd.h: Likewise.
81528         * nis/yp_xdr.c: Likewise.
81529         * nis/ypupdate_xdr.c: Likewise.
81531         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81532         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81533         (pmap_getport): Use __libc_rpc_getport.
81534         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81535         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81536         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81538 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81541         fanotify_mark.
81543 2010-08-27  Roland McGrath  <roland@redhat.com>
81545         * sysdeps/i386/i686/multiarch/Makefile
81546         (CFLAGS-varshift.c): New variable.
81548 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81550         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81551         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81553         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81555         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81557 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81559         * sysdeps/x86_64/strlen.S: Unroll the loop.
81560         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81561         strlen-sse2 strlen-sse2-bsf.
81562         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81563         __strlen_no_bsf if bit_Slow_BSF is set.
81564         (__strlen_sse42): Removed.
81565         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81566         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81568 2010-08-25  Roland McGrath  <roland@redhat.com>
81570         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81571         * sysdeps/x86_64/multiarch/varshift.c: New file.
81572         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81573         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81574         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81575         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81577 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81580         strlen-sse2 strlen-sse2-bsf.
81581         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81582         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81583         (__strlen_sse2): Removed.
81584         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81585         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81587         bit_Slow_BSF for Atom.
81588         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81589         (index_Slow_BSF): Define.
81590         (HAS_SLOW_BSF): Define.
81592 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81594         [BZ #10851]
81595         * resolv/res_init.c (__res_vinit): When no server address at all
81596         is given default to loopback.
81598 2010-08-24  Roland McGrath  <roland@redhat.com>
81600         * configure.in: Remove config-name.h generation.
81601         * configure: Regenerated.
81602         * config-name.in: File removed.
81603         * scripts/config-uname.sh: New file.
81604         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81605         ($(objdir)config-name.h): New target.
81607         * sunrpc/rpc_parse.h: Avoid nested comment.
81609 2010-08-24  Richard Henderson  <rth@redhat.com>
81610             Ulrich Drepper  <drepper@redhat.com>
81611             H.J. Lu  <hongjiu.lu@intel.com>
81613         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81615         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81616         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81617         _mm_alignr_epi8 with _mm_loadu_si128.
81618         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81619         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81620         (__m128i_shift_right): Removed.
81621         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81622         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81623         * sysdeps/x86_64/multiarch/varshift.h: New file.
81624         * sysdeps/x86_64/multiarch/varshift.S: New file.
81626 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81628         * configure.in: Move assembler checks to before sysdep dir checking.
81630 2010-08-20  Petr Baudis  <pasky@suse.cz>
81632         * LICENSES: Sync the sunrpc license.
81634 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81636         * sunrpc/auth_des.c: Update copyright notice once again.
81637         * sunrpc/auth_none.c: Likewise.
81638         * sunrpc/auth_unix.c: Likewise.
81639         * sunrpc/authdes_prot.c: Likewise.
81640         * sunrpc/authuxprot.c: Likewise.
81641         * sunrpc/bindrsvprt.c: Likewise.
81642         * sunrpc/clnt_gen.c: Likewise.
81643         * sunrpc/clnt_perr.c: Likewise.
81644         * sunrpc/clnt_raw.c: Likewise.
81645         * sunrpc/clnt_simp.c: Likewise.
81646         * sunrpc/clnt_tcp.c: Likewise.
81647         * sunrpc/clnt_udp.c: Likewise.
81648         * sunrpc/clnt_unix.c: Likewise.
81649         * sunrpc/des_crypt.c: Likewise.
81650         * sunrpc/des_soft.c: Likewise.
81651         * sunrpc/get_myaddr.c: Likewise.
81652         * sunrpc/getrpcport.c: Likewise.
81653         * sunrpc/key_call.c: Likewise.
81654         * sunrpc/key_prot.c: Likewise.
81655         * sunrpc/openchild.c: Likewise.
81656         * sunrpc/pm_getmaps.c: Likewise.
81657         * sunrpc/pm_getport.c: Likewise.
81658         * sunrpc/pmap_clnt.c: Likewise.
81659         * sunrpc/pmap_prot.c: Likewise.
81660         * sunrpc/pmap_prot2.c: Likewise.
81661         * sunrpc/pmap_rmt.c: Likewise.
81662         * sunrpc/rpc/auth.h: Likewise.
81663         * sunrpc/rpc/auth_unix.h: Likewise.
81664         * sunrpc/rpc/clnt.h: Likewise.
81665         * sunrpc/rpc/des_crypt.h: Likewise.
81666         * sunrpc/rpc/key_prot.h: Likewise.
81667         * sunrpc/rpc/netdb.h: Likewise.
81668         * sunrpc/rpc/pmap_clnt.h: Likewise.
81669         * sunrpc/rpc/pmap_prot.h: Likewise.
81670         * sunrpc/rpc/pmap_rmt.h: Likewise.
81671         * sunrpc/rpc/rpc.h: Likewise.
81672         * sunrpc/rpc/rpc_des.h: Likewise.
81673         * sunrpc/rpc/rpc_msg.h: Likewise.
81674         * sunrpc/rpc/svc.h: Likewise.
81675         * sunrpc/rpc/svc_auth.h: Likewise.
81676         * sunrpc/rpc/types.h: Likewise.
81677         * sunrpc/rpc/xdr.h: Likewise.
81678         * sunrpc/rpc_clntout.c: Likewise.
81679         * sunrpc/rpc_cmsg.c: Likewise.
81680         * sunrpc/rpc_common.c: Likewise.
81681         * sunrpc/rpc_cout.c: Likewise.
81682         * sunrpc/rpc_dtable.c: Likewise.
81683         * sunrpc/rpc_hout.c: Likewise.
81684         * sunrpc/rpc_main.c: Likewise.
81685         * sunrpc/rpc_parse.c: Likewise.
81686         * sunrpc/rpc_parse.h: Likewise.
81687         * sunrpc/rpc_prot.c: Likewise.
81688         * sunrpc/rpc_sample.c: Likewise.
81689         * sunrpc/rpc_scan.c: Likewise.
81690         * sunrpc/rpc_scan.h: Likewise.
81691         * sunrpc/rpc_svcout.c: Likewise.
81692         * sunrpc/rpc_tblout.c: Likewise.
81693         * sunrpc/rpc_util.c: Likewise.
81694         * sunrpc/rpc_util.h: Likewise.
81695         * sunrpc/rpcinfo.c: Likewise.
81696         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81697         * sunrpc/rpcsvc/key_prot.x: Likewise.
81698         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81699         * sunrpc/rpcsvc/mount.x: Likewise.
81700         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81701         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81702         * sunrpc/rpcsvc/rex.x: Likewise.
81703         * sunrpc/rpcsvc/rstat.x: Likewise.
81704         * sunrpc/rpcsvc/rusers.x: Likewise.
81705         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81706         * sunrpc/rpcsvc/spray.x: Likewise.
81707         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81708         * sunrpc/rtime.c: Likewise.
81709         * sunrpc/svc.c: Likewise.
81710         * sunrpc/svc_auth.c: Likewise.
81711         * sunrpc/svc_authux.c: Likewise.
81712         * sunrpc/svc_raw.c: Likewise.
81713         * sunrpc/svc_run.c: Likewise.
81714         * sunrpc/svc_simple.c: Likewise.
81715         * sunrpc/svc_tcp.c: Likewise.
81716         * sunrpc/svc_udp.c: Likewise.
81717         * sunrpc/svc_unix.c: Likewise.
81718         * sunrpc/svcauth_des.c: Likewise.
81719         * sunrpc/xcrypt.c: Likewise.
81720         * sunrpc/xdr.c: Likewise.
81721         * sunrpc/xdr_array.c: Likewise.
81722         * sunrpc/xdr_float.c: Likewise.
81723         * sunrpc/xdr_mem.c: Likewise.
81724         * sunrpc/xdr_rec.c: Likewise.
81725         * sunrpc/xdr_ref.c: Likewise.
81726         * sunrpc/xdr_sizeof.c: Likewise.
81727         * sunrpc/xdr_stdio.c: Likewise.
81729         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81730         handling.
81732 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81734         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81736 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81738         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81739         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81740         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81741         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81742         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81743         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81744         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81745         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81746         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81747         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81748         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81749         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81750         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81751         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81753 2010-07-26  Anton Blanchard  <anton@samba.org>
81755         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81756         * malloc/arena.c (heap_trim): Likewise.
81758 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81760         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81761         here.  Not...
81762         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81763         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81765 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81767         * sysdeps/i386/elf/Makefile: New file.
81769 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81771         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81772         from fanotify_init.
81773         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81774         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81776 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81778         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81779         of strncasecmp_l.
81780         * sysdeps/multiarch/strcmp.S: Likewise.
81782 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81784         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81785         strncase_l-nonascii.
81786         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81787         Add strncase_l-ssse3.
81788         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81789         * sysdeps/x86_64/strcmp.S: Likewise.
81790         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81791         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81792         * sysdeps/x86_64/strncase.S: New file.
81793         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81794         * sysdeps/x86_64/strncase_l.S: New file.
81795         * string/Makefile (strop-tests): Add strncasecmp.
81796         * string/test-strncasecmp.c: New file.
81798         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81799         warning.
81801         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81802         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81804 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81806         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81808 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81810         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81811         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81812         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81814 2010-05-01  Alan Modra  <amodra@gmail.com>
81816         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81817         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81818         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81819         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81820         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81821         tidying.  Don't tail-call __sigjmp_save for static lib.
81822         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81823         save location.
81824         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81825         (CALL_MCOUNT): Add eh info, and nop after bl.
81826         (TAIL_CALL_SYSCALL_ERROR): New macro.
81827         (PSEUDO_RET): Use it.
81828         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81829         Correct save location of integer regs and cr.
81830         (_dl_profile_resolve): Correct cr save location.  Delete nops
81831         after bl when SHARED.  Reduce cfi size a little by better
81832         placement of cfi directives.
81833         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81834         make a stack frame.  Instead use parm save area as a temp.
81835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81836         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81838         Don't make a stack frame for parent, use parm save area.
81839         Increase child stack frame to 112 bytes.  Don't save unused reg,
81840         and adjust reg usage.  Set up cfi on error recovery and
81841         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81843         (__makecontext): Add dummy nop after jump to exit.
81844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81845         Use correct parm save area and cr save, reduce stack frame.
81846         Correct cfi for possible PSEUDO_RET frame setup.
81847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81848         Branch to local label emitted by PSEUDO_RET rather than
81849         __syscall_error.
81851 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81853         [BZ #11904]
81854         * locale/programs/locale.c (print_assignment): New function.
81855         (show_locale_vars): Use it.
81857 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81859         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81860         field.
81861         (struct statfs64): Likewise.
81862         (_STATFS_F_FLAGS): Define.
81863         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81864         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81865         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81866         (ST_VALID): Define locally.
81867         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81868         __statvfs_getflags, use the provided value.
81869         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81870         __ASSUME_STATFS_F_FLAGS.
81872         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81874         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81875         Add sys/fanotify.h.
81876         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81877         fanotify_mask for GLIBC_2.13.
81878         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81879         fanotify_init and fanotify_mark.
81880         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81881         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81883         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81884         Add prlimit.
81885         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81886         prlimit64 for GLIBC_2.13.
81887         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81888         prlimit64.
81889         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81890         syscall.
81891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81893         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81894         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81895         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81896         add prlimit alias.
81897         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81899         [BZ #11903]
81900         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81901         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81903         * nss/Makefile: Add rules to build and run tst-nss-test1.
81904         * shlib-versions: Add entry for libnss_test1.
81905         * nss/nss_test1.c: New file.
81906         * nss/tst-nss-test1.c: New file.
81908         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81909         (__nss_configure_lookup): Set appropriate entry in
81910         __nss_configure_lookup to true.
81911         * nss/nsswitch.h: Define enum with indeces of databases in
81912         databases and __nss_database_custom arrays.  Declare
81913         __nss_database_custom.
81914         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81915         to avoid using nscd when custom rules are installed.
81916         * nss/getXXbyYY_r.c: Likewise.
81917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81919         * nss/nss_files/files-parse.c: Whitespace fixes.
81921 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81923         [BZ #11883]
81924         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81925         * posix/fnmatch_loop.c: Likewise.
81927 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81929         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81930         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81931         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81932         * Versions.def [GLIBC_2.13]: Add.
81934 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81936         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81937         Also fail if tpwd after pwuid call is NULL.
81939 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81941         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81942         when converting to ms.
81944 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81946         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81947         EOPNOTSUPP errors with ENOTTY.
81948         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81949         EOPNOTSUPP errors with ENOTTY.
81951 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81953         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81954         Add strcasecmp_l-ssse3.
81955         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81956         strcasecmp.
81957         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81958         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81959         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81961 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81963         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81965         * string/Makefile (strop-tests): Add strcasecmp.
81966         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81967         strcasecmp_l-nonascii.
81968         (gen-as-const-headers): Add locale-defines.sym.
81969         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81970         * sysdeps/x86_64/strcasecmp.S: New file.
81971         * sysdeps/x86_64/strcasecmp_l.S: New file.
81972         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81973         * sysdeps/x86_64/locale-defines.sym: New file.
81974         * string/test-strcasecmp.c: New file.
81976         * string/test-strcasestr.c: Test both ends of the range of characters.
81977         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81979 2010-07-29  Roland McGrath  <roland@redhat.com>
81981         [BZ #11856]
81982         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81984 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81986         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81987         for ld.so.
81989 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81991         * manual/memory.texi (Malloc Tunable Parameters): Document
81992         M_PERTURB.
81994 2010-07-26  Roland McGrath  <roland@redhat.com>
81996         [BZ #11840]
81997         * configure.in (-fgnu89-inline check): Set and substitute
81998         gnu89_inline, not libc_cv_gnu89_inline.
81999         * configure: Regenerated.
82000         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82002 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82004         * string/test-strnlen.c: New file.
82005         * string/Makefile (strop-tests): Add strnlen.
82006         * string/tester.c (test_strnlen): Add a few more test cases.
82007         * string/tst-strlen.c: Better error reporting.
82009         * sysdeps/x86_64/strnlen.S: New file.
82011 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82013         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82014         lower-latency instructions.
82016 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82018         * string/test-strcasestr.c: New file.
82019         * string/test-strstr.c: New file.
82020         * string/Makefile (strop-tests): Add strstr and strcasestr.
82021         * string/str-two-way.h: Don't undefine MAX.
82022         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82024 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82027         strcasestr-nonascii.
82028         (CFLAGS-strcasestr-nonascii.c): Define.
82029         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82030         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82031         Remove unused attribute.
82033 2010-07-20  Roland McGrath  <roland@redhat.com>
82035         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82036         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82037         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82038         like LD_HWCAP_MASK can disable hwcaps.
82040 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82042         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82044 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82046         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82047         call in strcasestr.
82048         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82049         __strcasestr_sse42_nonascii.
82050         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82051         strcasestr-nonascii.c.
82052         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82054 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82056         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82057         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82058         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82059         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82061 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82063         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82064         fcntl.
82066 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82068         [BZ #11577]
82069         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82070         dl_signal_cerror.
82072 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82075         _PC_PIPE_BUF using F_GETPIPE_SZ.
82077 2010-07-05  Roland McGrath  <roland@redhat.com>
82079         * manual/arith.texi (Rounding Functions): Fix rint description
82080         implicit in round description.
82082 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82084         * elf/Makefile: Fix linking for a few tests to make recent linker
82085         happy.
82087 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82089         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82090         $(common-objpfx)libc_nonshared.a.
82092 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82094         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82095         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82096         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82097         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82098         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82099         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82100         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82101         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82116         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82117         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82118         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82119         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82120         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82121         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82122         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82123         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82124         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82125         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82126         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82127         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82143 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82145         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82146         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82147         * string/memmove.c (memmove): Renamed to ...
82148         (MEMMOVE): ...this.  Default to memmove.
82149         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82150         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82151         (END_CHK): Define.
82152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82153         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82154         mempcpy-ssse3-back memmove-ssse3-back.
82155         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82156         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82157         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82158         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82159         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82160         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82161         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82162         * sysdeps/x86_64/multiarch/memmove.c: New file.
82163         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82164         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82165         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82166         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82167         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82168         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82169         Define.
82170         (index_Fast_Copy_Backward): Define.
82171         (HAS_ARCH_FEATURE): Define.
82172         (HAS_FAST_REP_STRING): Define.
82173         (HAS_FAST_COPY_BACKWARD): Define.
82175 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82177         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82178         Restore proper fallback handling.
82180 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82182         [BZ #11701]
82183         * posix/group_member.c (__group_member): Correct checking loop.
82185         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82186         OOM in getpwuid_r correctly.  Return error number when the caller
82187         should return, otherwise -1.
82188         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82189         call returning > 0 value.
82190         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82192 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82194         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82195         libc_nonshared.a from targets in modules-names.
82197 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82199         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82200         requires it.
82202 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82204         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82205         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82206         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82207         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82209 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82211         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82213 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82215         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82216         and F_GETPIPE_SZ.
82217         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82218         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82220         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82221         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82222         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82224 2010-06-14  Roland McGrath  <roland@redhat.com>
82226         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82228 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82230         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82231         __REDIRECT followed by __THROW.
82232         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82233         * posix/getopt.h (getopt): Likewise.
82235 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82237         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82238         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82239         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82240         in AT_FLAGS.
82241         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82242         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82244 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82248 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82250         [BZ #11640]
82251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82252         Properly check family and model.
82254 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82256         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82258 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82260         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82262 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82264         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82265         symbol reference.
82267 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82269         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82270         symbol reference.
82272 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82274         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82275         and internal_recvmmsg.
82276         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82277         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82278         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82279         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82281         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82282         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82283         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82285 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82287         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82289 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82291         POWER7 optimizations.
82292         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82293         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82295 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82297         * version.h: Update for 2.13 development version.
82299 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
82301         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82302         exceptions.  Return 0.
82304 2010-05-07  Roland McGrath  <roland@redhat.com>
82306         * elf/ldconfig.c (main): Add a const.
82308 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
82310         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82311         (args_options): Add no-idn option.
82312         (ahosts_keys_int): Add idn_flags to ai_flags.
82313         (parse_option): Handle 'i' option to clear idn_flags.
82315         * malloc/malloc.c (_int_free): Possible race in the most recently
82316         added check.  Only act on the data if no current modification
82317         happened.
82319 See ChangeLog.17 for earlier changes.