Fix netdb.h addrinfo namespace (bug 18529).
[glibc.git] / ChangeLog
bloba16069deeedb11468295d7ec0573b9d9190e085b
1 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18529]
4         * resolv/netdb.h [__USE_POSIX]: Change condition to
5         [__USE_XOPEN2K].
6         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
7         not expect.
8         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
9         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12         [XPG4 || UNIX98] (AI_ALL): Likewise.
13         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
26         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31         [XPG4 || UNIX98] (gai_strerror): Likewise.
32         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33         [XPG4 || UNIX98] (getnameinfo): Likewise.
35         [BZ #18528]
36         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
37         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
38         __USE_XOPEN2K8].
39         (getgrent): Likewise.
40         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
41         expect.
42         [XPG3 || POSIX2008] (endgrent): Likewise.
43         [XPG3] (setgrent): Likewise.
44         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
45         variable.
46         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
48         [BZ #18527]
49         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
50         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
51         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
52         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
53         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
54         * include/unistd.h (__getlogin_r): Declare.  Use
55         libc_hidden_proto.
56         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
57         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
58         variable.
59         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
60         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
61         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
63 2015-06-12  Martin Sebor  <msebor@redhat.com>
65         [BZ #18512]
66         * Makerules (check-install-supported): New target.
67         (install): Add check-install-supported as a dependency.
68         * manual/install.texi (Installing the C Library): Document
69         that overriding prefix and exec_prefix is not supported.
70         Mention DESTDIR.
71         * INSTALL: Regenerate from the above.
73 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
75         [BZ #18519]
76         * posix/Versions (libc): Export __libc_pread at version
77         GLIBC_PRIVATE.
78         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
79         instead of pread.
80         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
81         variable.
83         [BZ #18522]
84         * misc/efgcvt_r.c
85         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
86         (cvt_symbol): Use weak_alias instead of strong_alias.
87         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
88         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
89         Remove variable.
90         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
91         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
93         [BZ #18520]
94         * inet/herrno.c (h_errno): Rename to __h_errno.
95         (__libc_h_errno): Define as alias of __h_errno not h_errno.
96         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
97         to __h_errno instead of h_errno.
98         * nptl/herrno.c (h_errno): Rename to __h_errno.
99         (__h_errno_location): Refer to __h_errno not h_errno.
100         * resolv/Versions (h_errno): Rename to __h_errno.
101         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
102         Remove variable.
103         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
105 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
107         * configure.ac: More strict check for AVX512 assembler support.
108         * configure: Regenerated.
110         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
111         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
112         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
113         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
115         * sysdeps/x86_64/fpu/Versions: New versions added.
116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
117         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
118         build of SSE, AVX2 and AVX512 IFUNC versions.
119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
122         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
123         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
124         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
125         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
126         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
127         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
128         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
129         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
130         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
132         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
133         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
135         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
136         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
137         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
138         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
139         * NEWS: Mention addition of x86_64 vector sin.
141 2015-06-11  Florian Weimer  <fweimer@redhat.com>
143         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
144         comment.
146 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
148         [BZ #18479]
149         * nptl/pt-interp.c: New file.
150         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
151         Add pt-interp.
152         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
153         $(common-objpfx)runtime-linker.h.
155 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
157         * Makeconfig (+interp): Remove unused variable.
158         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
159         only.  Depend on $(common-objpfx)runtime-linker.h instead of
160         $(elf-objpfx)runtime-linker.h.
161         ($(elf-objpfx)runtime-linker.h): Rename to
162         $(common-objpfx)runtime-linker.h and move ...
163         * Makerules [$(build-shared) = yes]: ... here.
164         * elf/interp.c: Include <runtime-linker.h> instead of
165         <elf/runtime-linker.h>.
167 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
169         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
170         (__gettimeofday_syscall): Remove vsyscall fallback.
171         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
172         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
173         Add syscall fallback function.
174         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
175         if vDSO is not present.
176         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
177         fallback function.
178         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
179         present.
180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
181         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
183 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
185         [BZ #18497]
186         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
187         of wcscmp.
188         (wcscmp): Define as weak alias of WCSCMP.
189         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
190         wcscoll.
191         (USE_HIDDEN_DEF): Define.
192         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
193         __wcscoll.  Don't use libc_hidden_weak.
194         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
195         wcscmp.
196         * sysdeps/i386/i686/multiarch/wcscmp-c.c
197         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
198         __GI_wcscmp.
199         (weak_alias): Undefine and redefine.
200         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
201         __wcscmp and define as weak alias of __wcscmp.
202         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
203         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
204         (__wcscoll): Likewise.
205         (wcscmp): Don't use libc_hidden_proto.
206         (wcscoll): Likewise.
207         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
208         wcscoll.
209         * posix/regexec.c (check_node_accept_bytes): Likewise.
210         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
211         variable.
212         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
213         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
215         [BZ #18507]
216         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
217         __fstatvfs and define as weak alias of __fstatvfs.  Use
218         libc_hidden_weak.
219         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
220         and define as weak alias of __statvfs.  Use libc_hidden_weak.
221         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
222         Define as alias of __fstatvfs, not fstatvfs.
223         (fstatvfs64): Likewise.
224         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
225         Define as alias of __statvfs, not statvfs.
226         (statvfs64): Likewise.
227         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
228         Remove variable.
230 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
233         (HAVE_GETCPU_VSYSCALL): Define.
234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
235         (HAVE_GETCPU_VSYSCALL): Likewise.
236         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
237         * sysdeps/unix/sysv/linux/sched_getcpu.c
238         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
239         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
240         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
241         prototype.
242         * sysdeps/unix/sysv/linux/x86_64/init-first.c
243         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
244         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
246         Define.
247         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
248         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
250         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
252 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
254         * sysdeps/x86_64/fpu/Makefile: New file.
255         * sysdeps/x86_64/fpu/Versions: New file.
256         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
257         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
258         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
259         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
260         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
261         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
262         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
267         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
268         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
269         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
270         build of SSE, AVX2 and AVX512 IFUNC versions.
271         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
272         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
273         * sysdeps/x86_64/configure.ac: Options for libmvec build.
274         * sysdeps/x86_64/configure: Regenerated.
275         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
276         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
277         * manual/install.texi (Configuring and compiling): Document
278         --disable-mathvec.
279         * INSTALL: Regenerated.
280         * NEWS: Mention addition of libmvec and x86_64 vector cos.
282         * math/Makefile: Added rules for vector tests.
283         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
284         declaration under condition.
285         * math/test-double-vlen2.h: New file.
286         * math/test-double-vlen4.h: New file.
287         * math/test-double-vlen8.h: New file.
288         * math/test-vec-loop.h: Added initialization macro.
289         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
291         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
292         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
293         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
294         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
295         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
296         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
297         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
298         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
299         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
301         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
302         * sysdeps/x86_64/fpu/Versions: New versions added.
303         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
304         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
305         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
306         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
307         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
309         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
310         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
313         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
314         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
315         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
316         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
317         build of SSE, AVX2 and AVX512 IFUNC versions.
318         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
319         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
320         * NEWS: Mention addition of x86_64 vector cosf.
322         * math/Makefile: Added CFLAGS for new tests.
323         * math/test-float-vlen16.h: New file.
324         * math/test-float-vlen4.h: New file.
325         * math/test-float-vlen8.h: New file.
326         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
327         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
329         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
330         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
331         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
332         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
333         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
334         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
335         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
336         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
338 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
340         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
341         * locale/programs/ld-ctype.c: Likewise.
343 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
345         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
346         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
347         bit_ZMM16_31_state): New macro.
348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
349         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
351 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
353         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
355 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
357         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
359 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
361         [BZ #18498]
362         * libio/memstream.c (open_memstream): Rename to __open_memstream
363         and define as weak alias of __open_memstream.
364         * include/stdio.h (__open_memstream): Declare.  Use
365         libc_hidden_proto.
366         (open_memstream): Don't use libc_hidden_proto.
367         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
368         open_memstream.
369         * posix/getopt.c (_getopt_internal_r): Likewise.
370         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
371         variable.
372         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
373         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
374         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
376         [BZ #18496]
377         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
378         instead of wcrtomb.
380         [BZ #18483]
381         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
382         [__USE_XOPEN2K8].  Remove redundant #endif.
383         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
384         Remove redundant #if.
385         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
386         Remove variable.
387         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
388         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
390         [BZ #18495]
391         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
392         (__iswlower): Likewise.
393         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
394         (__iswlower): Likewise.
395         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
396         instead of towlower.
397         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
398         instead of iswlower.  Call __towupper instead of towupper.
399         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
400         instead of iswalnum.
402 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
404         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
405         errors to stderr.
407 2015-06-05  Florian Weimer  <fweimer@redhat.com>
409         [BZ #15661]
410         [BZ #17322]
411         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
412         Check for overflow properly.  Check for O_APPEND.  Ignore large
413         file system block sizes.  Add comments about problems.
414         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
415         * manual/filesys.texi (Storage Allocation): New node.
417 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
419         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
420         cancellable syscalls.
421         (SYS_ify): Add guard to no redefine it.
422         (INLINE_SYSCALL): Likewise.
423         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
424         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
425         SYSCALL_CANCEL instead.
426         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
427         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
428         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
429         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
430         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
431         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
432         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
433         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
434         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
435         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
436         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
437         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
438         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
439         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
440         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
442         Likewise.
443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
444         (__libc_pread64): Likewise.
445         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
446         (__libc_preadv): Likewise.
447         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
448         (__libc_readv64): Likewise.
449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
450         (__libc_pwrite): Likewise.
451         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
452         (__libc_pwrite64): Likewise.
453         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
454         (__libc_pwritev): Likewise.
455         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
456         (__libc_pwritev64): Likewise.
457         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
458         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
459         (sync_file_range): Likewise.
460         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
461         Likewise.
462         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
463         Likewise.
464         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
465         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
466         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
467         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
468         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
469         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
470         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
471         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
473         Likewise.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
475         (__libc_read64): Likewise.
476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
477         Likewise.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
479         Likewise.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
481         Likewise.
482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
483         Likewise.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
485         (__libc_pread64): Likewise.
486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
487         Likewise.
488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
489         (__libc_pwrite64): Likewise.
490         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
491         (sync_file_range): Likewise.
492         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
493         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
494         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
495         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
496         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
497         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
498         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
499         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
500         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
501         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
502         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
503         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
504         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
505         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
506         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
507         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
508         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
509         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
510         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
511         Likewise.
512         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
513         Likewise.
514         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
515         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
516         Likewise.
517         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
518         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
519         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
520         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
521         Likewise.
522         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
523         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
524         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
525         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
526         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
528 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
530         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
531         Include dl-vdso.
532         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
533         Use VDSO routines for gettimeofday, clock_gettime if
534         available.
535         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
536         Declare VDSO symbols.
537         * sysdeps/unix/sysv/linux/arm/sysdep.h:
538         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
539         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
540         * sysdeps/unix/sysv/linux/arm/Versions: Add
541         __vdso_clock_gettime.
543 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
545         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
546         be an inline implementation regardless of library is built within.
547         (open_not_cancel_2): Likewise.
548         (__read_nocancel): Likewise.
549         (__write_nocancel): Likewise.
550         (openat_not_cancel): Likewise.
551         (openat_not_cancel_3): Likewise.
552         (openat64_not_cancel): Likewise.
553         (openat64_not_cancel_3): Likewise.
554         (__close_nocancel): Likewise.
555         (pause_not_cancel): Likewise.
556         (nanosleep_not_cancel): Likewise.
557         (sigsuspend_not_cancel): Likewise.
559 2015-06-04  Torvald Riegel  <triegel@redhat.com>
561         [BZ #14958]
562         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
563         wake-up.
564         (__pthread_rwlock_rdlock_slow): Likewise.
565         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
566         Likewise.
567         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
568         Likewise.
569         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
570         * nptl/tst-rwlock16.c: New file.
571         * nptl/Makefile (tests): Add new test.
573 2015-06-04  Torvald Riegel  <triegel@redhat.com>
575         [BZ #18324]
576         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
577         missing wake-up of readers.
578         * nptl/tst-rwlock15.c: New file.
579         * nptl/Makefile (tests): Add new test.
581 2015-06-03  Roland McGrath  <roland@hack.frob.com>
583         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
584         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
585         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
586         and __nacl_supply_interface_rtld.
587         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
588         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
589         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
590         Add __nacl_supply_interface_rtld.
591         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
593 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
595         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
596         isfinite.
597         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
598         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
600 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
602         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
603         __signbit* with standard C99 macros.
604         * math/e_exp10l.c: Likewise.
605         * math/e_exp2l.c: Likewise.
606         * math/e_scalb.c: Likewise.
607         * math/e_scalbf.c: Likewise.
608         * math/e_scalbl.c: Likewise.
609         * math/s_ldexp.c: Likewise.
610         * math/s_ldexpf.c: Likewise.
611         * math/s_ldexpl.c: Likewise.
612         * math/w_atan2.c: Likewise.
613         * math/w_atan2f.c: Likewise.
614         * math/w_atan2l.c: Likewise.
615         * math/w_cosh.c: Likewise.
616         * math/w_coshf.c: Likewise.
617         * math/w_coshl.c: Likewise.
618         * math/w_exp10.c: Likewise.
619         * math/w_exp10f.c: Likewise.
620         * math/w_exp10l.c: Likewise.
621         * math/w_exp2.c: Likewise.
622         * math/w_exp2f.c: Likewise.
623         * math/w_exp2l.c: Likewise.
624         * math/w_fmod.c: Likewise.
625         * math/w_fmodf.c: Likewise.
626         * math/w_fmodl.c: Likewise.
627         * math/w_hypot.c: Likewise.
628         * math/w_hypotf.c: Likewise.
629         * math/w_hypotl.c: Likewise.
630         * math/w_jnl.c: Likewise.
631         * math/w_lgamma.c: Likewise.
632         * math/w_lgamma_r.c: Likewise.
633         * math/w_lgammaf.c: Likewise.
634         * math/w_lgammaf_r.c: Likewise.
635         * math/w_lgammal.c: Likewise.
636         * math/w_lgammal_r.c: Likewise.
637         * math/w_pow.c: Likewise.
638         * math/w_powf.c: Likewise.
639         * math/w_powl.c: Likewise.
640         * math/w_remainder.c: Likewise.
641         * math/w_remainderf.c: Likewise.
642         * math/w_remainderl.c: Likewise.
643         * math/w_scalb.c: Likewise.
644         * math/w_scalbf.c: Likewise.
645         * math/w_scalbl.c: Likewise.
646         * math/w_scalbln.c: Likewise.
647         * math/w_scalblnf.c: Likewise.
648         * math/w_scalblnl.c: Likewise.
649         * math/w_sinh.c: Likewise.
650         * math/w_sinhf.c: Likewise.
651         * math/w_sinhl.c: Likewise.
652         * math/w_tgamma.c: Likewise.
653         * math/w_tgammaf.c: Likewise.
654         * math/w_tgammal.c: Likewise.
655         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
656         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
657         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
658         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
659         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
660         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
661         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
662         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
663         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
664         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
665         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
667         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
668         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
669         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
670         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
671         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
672         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
676         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
677         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
679         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
680         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
681         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
683         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
684         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
685         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
686         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
687         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
688         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
689         * stdio-common/printf_fp.c: Likewise.
690         * stdio-common/printf_fphex.c: Likewise.
691         * stdio-common/printf_size.c: Likewise.
693 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
695         [BZ #18470]
696         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
697         strnlen.
698         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
699         Remove variable.
700         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
701         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
702         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
703         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
704         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
705         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
706         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
707         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
708         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
709         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
711         [BZ #18468]
712         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
713         weak alias of __wmemchr.  Use libc_hidden_weak.
714         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
715         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
716         instead of wmemchr.
718 2015-06-02  Roland McGrath  <roland@hack.frob.com>
720         [BZ #18383]
721         * elf/tst-tlsalign-extern.c: New file.
722         * elf/tst-tlsalign-extern-static.c: New file.
723         * elf/tst-tlsalign-vars.c: New file.
724         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
725         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
726         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
727         ($(objpfx)tst-tlsalign-extern-static): Likewise.
728         (test-xfail-tst-tlsalign-extern-static): New variable.
730 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
732         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
733         Use variable name _sc_err instead of err.
734         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
735         instead of ret.
736         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
737         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
738         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
739         (INLINE_SYSCALL): Likewise.
741         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
742         * include/string.h (__strnlen): Use libc_hidden_proto.
743         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
744         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
745         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
746         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
747         (libc_hidden_def): Undefine and redefine.
748         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
749         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
750         __GI_strnlen.
751         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
752         libc_hidden_def.
753         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
755         [BZ #18469]
756         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
757         weak alias of __towlower.  Use libc_hidden_weak.
758         (towupper): Rename to __towupper and define as weak alias of
759         __towupper.  Use libc_hidden_weak.
760         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
761         (__towupper): Likewise.
762         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
763         __towlower instead of towlower.
765 2015-06-02  Roland McGrath  <roland@hack.frob.com>
767         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
768         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
770 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
772         * sysdeps/aarch64/libm-test-ulps: Update.
774 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
776         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
777         Define.
778         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
780         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
781         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
782         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
783         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
784         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
786 2015-06-01  Martin Sebor  <msebor@redhat.com>
788         [BZ #18116]
789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
790         (__setcontext): Use extended four-operand version of mtsf whenever
791         possible.
792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
793         (__novec_swapcontext): Likewise.
795 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
797         * benchtests/scripts/compare_bench.py: New file.
798         * benchtests/scripts/import_bench.py (mean): New function.
799         (split_list): Likewise.
800         (do_for_all_timings): Likewise.
801         (compress_timings): Likewise.
803         * benchtests/scripts/import_bench.py: New file.
804         * benchtests/scripts/validate_benchout.py: Import import_bench
805         instead of jsonschema.
806         (validate_bench): Remove function.
807         (main): Use import_bench.
809 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
811         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
812         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
814 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
818 2015-05-28  Roland McGrath  <roland@hack.frob.com>
820         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
821         set THREAD_SELF->tid to a magic value and futex-wake it.
822         Pass its address to the thread_exit system call.
823         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
824         bit is clear.
825         * sysdeps/nacl/lowlevellock.h: New file.
826         * sysdeps/nacl/lll_timedwait_tid.c: New file.
828         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
829         Add TIMEOUT to current time, don't subtract it.
831 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
833         [BZ #18422]
834         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
835         ($(objpfx)tst-audit2.out): Also depend on
836         $(objpfx)tst-auditmod9b.so.
837         * elf/tst-audit2.c: Include <dlfcn.h>.
838         (calloc_called): New.
839         (calloc): Allow to be called more than once.
840         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
842 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
844         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
845         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
847 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
849         * stdlib/monetary.h: Fix comment.
851 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
853         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
854         Avoid using variables in #defines that might cause shadowing.
855         (INTERNAL_VSYSCALL_CALL): Likewise.
857 2015-05-26  Roland McGrath  <roland@hack.frob.com>
859         * sysdeps/nacl/lll_timedlock_wait.c: New file.
861         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
862         * nptl/lll_timedlock_wait.c: ... to this new file.
863         * nptl/Makefile (libpthread-routines): Add it.
864         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
865         * nptl/lll_timedwait_tid.c: ... to this new file.
866         * nptl/Makefile (libpthread-routines): Add it.
867         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
868         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
869         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
870         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
871         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
872         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
873         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
874         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
875         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
876         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
878 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
880         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
881         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
882         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
884         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
886         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
888         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
889         * sysdeps/unix/sysv/linux/tile/sysdep.h
890         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
891         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
892         using vDSO syscall macro.
894 2015-05-26  Andriy Rysin  <arysin@gmail.com>
896         [BZ #17293]
897         * uk_UA: Fix sorting order for Ukrainian locale
899 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
901         * stdlib/monetary.h: Fix comment.
903 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
905         [BZ #18234]
906         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
907         st_mtim and st_ctim members.
908         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
909         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
910         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
911         (struct stat64): Likewise.
912         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
913         (struct stat64): Likewise.
914         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
915         (struct stat64): Likewise.
917 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
919         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
920         Define and include sysdep-vdso.h.
921         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
922         Likewise.
923         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
924         Likewise.
925         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
926         Define with VDSO_SYMBOL and use PTR_MANGLE.
927         (__vdso_clock_gettime): Likewise.
928         (__vdso_clock_getres): Likewise.
929         (_libc_vdso_platform_setup): Likewise.
930         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
931         Likewise.
932         (_libc_vdso_platform_setup): Likewise.
933         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
934         Likewise.
935         (__vdso_clock_gettime): Likewise.
936         (__vdso_clock_getres): Likewise.
937         (__vdso_get_tbfreq): Likewise.
938         (__vdso_getcpu): Likewise.
939         (__vdso_time): Likewise.
940         (__vdso_sigtramp_rt64): Likewise.
941         (__vdso_signtramp32): Likewise.
942         (__vdso_sigtramp_rt32): Likewise.
943         (_libc_vdso_platform_setup): Likewise.
944         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
945         Likewise.
946         (__vdso_clock_gettime): Likewise.
947         (__vdso_clock_getres): Likewise.
948         (_libc_vdso_platform_setup): Likewise.
949         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
950         Likewise.
951         (__vdso_clock_gettime): Likewise.
952         (_libc_vdso_platform_setup): Likewise.
953         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
954         Likewise.
955         (__vdso_getcpu): Likewise.
956         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
957         Use VDSO_SYMBOL macro to define.
958         (__vdso_clock_gettime): Likewise.
959         (__vdso_clock_getres): Likewise.
960         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
961         Likewise.
962         (__vdso_clock_gettime): Likewise.
963         (__vdso_clock_getres): Likewise.
964         (__vdso_get_tbfreq): Likewise.
965         (__vdso_getcpu): Likewise.
966         (__vdso_time): Likewise.
967         (__vdso_sigtramp_rt64): Likewise.
968         (__vdso_signtramp32): Likewise.
969         (__vdso_sigtramp_rt32): Likewise.
970         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
971         Likewise.
972         (__vdso_clock_gettime): Likewise.
973         (__vdso_clock_getres): Likewise.
974         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
975         Likewise.
976         (__vdso_clock_gettime): Likewise.
977         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
978         Likewise.
979         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
980         macro.
981         (INTERNAL_VSYSCALL): Likewise.
982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
983         Remove macro.
984         (INTERNAL_VSYSCALL): Likewise.
985         (INTERNAL_VSYSCALL_NCS): Likewise.
986         (INTERNAL_VSYSCALL_CALL): New macro.
987         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
989         Likewise.
990         (INTERNAL_VSYSCALL): Likewise.
991         (INTERNAL_VSYSCALL_NCS): Likewise.
992         (INTERNAL_VSYSCALL_CALL): New macro.
993         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
995         (INLINE_VSYSCALL): Remove macro.
996         (INTERNAL_VSYSCALL): Remove macro.
997         (INTERNAL_VSYSCALL_NCS): Remove macro.
998         (INTERNAL_VSYSCALL_CALL): New macro.
999         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1000         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1001         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1002         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1003         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1005         (INLINE_VSYSCALL): Remove macro.
1006         (INTERNAL_VSYSCALL): Likewise.
1007         (INTERNAL_VSYSCALL_NCS): Likewise.
1008         (INTERNAL_VSYSCALL_CALL): New macro.
1009         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1010         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1011         PTR_DEMANGLE on vDSO pointer.
1012         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1013         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1014         macro.
1015         (INTERNAL_SYSCALL): Likewise.
1016         (INTERNAL_VSYSCALL_NCS): Remove macro.
1017         (INTERNAL_VSYSCALL_CALL): New macro.
1018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1019         Remove macro.
1020         (INTERNAL_VSYSCALL): Likewise.
1021         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1022         sysdep-vdso.h instead of libc-vdso.h.
1023         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1024         definition.
1025         (INLINE_VSYSCALL): Likewise.
1026         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1027         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1028         definition.
1029         (INLINE_VSYSCALL): Likewise.
1030         (INTERNAL_VSYSCALL): Likewise.
1031         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1032         * sysdeps/unix/sysv/linux/timespec_get.c
1033         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1034         (timespec_get): Use ANSI prototype.
1035         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1036         and definition for Linux.
1038 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1040         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1041         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1043 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1045         [BZ #18410]
1046         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1047         for missing DT_PLTRELSZ.
1049 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1051         Remove obsolete aliases that broke 'locale -a'
1052         [BZ #18412]
1053         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1054         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1055         breaking some applications that use 'locale -a' output.
1056         Change the encoding of this file from Latin-1 to ASCII to avoid
1057         other potential problems with people grepping this file.
1059 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1061         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1062         -fasynchronous-unwind-tables.
1063         (CFLAGS-sendto.c): Likewise.
1064         (CFLAGS-sendmsg.c): Likewise.
1065         (CFLAGS-connect.c): Likewise.
1066         (CFLAGS-recvmsg.c): Likewise.
1067         (CFLAGS-recvfrom.c): Likewise.
1068         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1069         (SOCKETCALL): New macro: non-cancellable socketcall.
1070         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1071         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1072         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1073         * sysdeps/unix/sysv/linux/accept.c: New file.
1074         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1075         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1076         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1077         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1078         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1079         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1080         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1081         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1082         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1083         * sysdeps/unix/sysv/linux/send.c: Likewise.
1084         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1085         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1086         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1087         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1088         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1089         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1090         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1091         prototype.
1092         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1093         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1094         instead of __internal_xxx function.
1095         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1096         prototype.
1097         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1098         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1099         instead of __internal_xxx function.
1100         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1101         prototype.
1102         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1103         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1104         instead of __internal_xxx function.
1105         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1106         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1107         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1108         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1109         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1110         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1111         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1112         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1113         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1114         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1115         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1116         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1117         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1118         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1119         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1120         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1121         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1122         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1123         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1124         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1127         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1128         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1129         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1130         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1131         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1132         * sysdeps/unix/sysv/linux/send.S: Likewise.
1133         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1134         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1135         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1136         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1137         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1138         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1139         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1140         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1141         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1142         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1143         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1144         socketcall is implemented in GLIBC.
1146 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1148         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1149         (__fma): Ignore uninitialized warnings around packing.
1150         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1151         (__fmaf): Ignore uninitialized warnings around packing.
1152         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1153         (__fmal): Ignore uninitialized warnings around packing.
1155         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1156         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1158         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1160         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1161         switch statement into default case.
1162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1164         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1165         a conditional in forcing "inexact".
1166         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1167         Likewise.
1169 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1171         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1172         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1173         for each INTERNAL_SYSCALL use.
1175 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1177         [BZ #438]
1178         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1179         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1180         variable.
1182         [BZ #18444]
1183         * string/basename.c (basename): Rename to __basename and define as
1184         weak alias of __basename.  Use libc_hidden_weak.
1185         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1186         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1187         __basename instead of basename.
1188         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1189         Remove variable.
1190         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1192 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1194         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1195         (_IO_JUMPS_FILE_plus): New.
1196         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1197         _IO_CAST_FIELD_ACCESS.
1198         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1199         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1200         * libio/freopen.c (freopen): Likewise.
1201         * libio/freopen64.c (freopen64): Likewise.
1202         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1203         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1204         * libio/iofwide.c (_IO_fwide): Likewise.
1205         * libio/memstream.c (open_memstream): Likewise.
1206         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1207         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1208         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1210 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1212         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1213         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1214         NADJ.
1215         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1216         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1217         NADJ.
1218         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1219         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1220         NADJ.
1222         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1223         (p == 4) case.
1225         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1226         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1227         Remove variable.
1228         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1229         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1230         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1232 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1234         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1235         Adjust jump table label generation macros.
1237 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1239         * stdio-common/vfprintf.c (vfprintf): Move local variables
1240         args_malloced, specs, specs_malloced, and the code after
1241         do_positional to the printf_positional function.
1242         (printf_positional): New function.
1244 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1246         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1247         function.
1248         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1249         STEP4_TABLE, process_arg): Move macro definitions
1250         out of the vfprintf function.  (Cosmetic change only.)
1252 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1254         * benchtests/Makefile (stdio-common-bench): Define.
1255         (benchset): Add stdio-common-bench.
1256         * sprintf-inputs: New file.
1257         * sprintf-source.c: New file.
1259 2015-05-21  Andreas Schwab  <schwab@suse.de>
1261         [BZ #13028]
1262         [BZ #17053]
1263         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1264         of struct __res_state.
1265         * resolv/res_send.c (__libc_res_nsend): Likewise.
1266         (get_nsaddr): New function.
1267         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1268         statp directly.
1270 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1272         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1273         -D_POSIX_C_SOURCE=199506L.
1275         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1277         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1278         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1279         Do not mention otherwise.
1280         [POSIX] (_XOPEN_VERSION): Do not expect.
1281         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1282         [POSIX] (_POSIX2_C_BIND): Likewise.
1283         [POSIX] (_POSIX2_VERSION): Likewise.
1284         [POSIX] (_XOPEN_XPG2): Likewise.
1285         [POSIX] (_XOPEN_XPG3): Likewise.
1286         [POSIX] (_XOPEN_XPG4): Likewise.
1287         [POSIX] (_XOPEN_UNIX): Likewise.
1288         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1289         [POSIX] (_POSIX_BARRIERS): Likewise.
1290         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1291         [POSIX] (_POSIX_CPUTIME): Likewise.
1292         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1293         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1294         [POSIX] (_POSIX_SHELL): Likewise.
1295         [POSIX] (_POSIX_SPAWN): Likewise.
1296         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1297         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1298         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1299         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1300         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1301         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1302         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1303         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1304         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1305         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1306         [POSIX] (_POSIX2_PBS): Likewise.
1307         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1308         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1309         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1310         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1311         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1312         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1313         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1314         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1315         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1316         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1317         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1318         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1319         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1320         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1321         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1322         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1323         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1324         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1325         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1326         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1327         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1328         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1329         [POSIX] (_SC_2_C_BIND): Likewise.
1330         [POSIX] (_SC_2_C_VERSION): Likewise.
1331         [POSIX] (_SC_2_PBS): Likewise.
1332         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1333         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1334         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1335         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1336         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1337         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1338         [POSIX] (_SC_BARRIERS): Likewise.
1339         [POSIX] (_SC_BASE): Likewise.
1340         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1341         [POSIX] (_SC_DEVICE_IO): Likewise.
1342         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1343         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1344         [POSIX] (_SC_FD_MGMT): Likewise.
1345         [POSIX] (_SC_FIFO): Likewise.
1346         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1347         [POSIX] (_SC_FILE_LOCKING): Likewise.
1348         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1349         [POSIX] (_SC_IOV_MAX): Likewise.
1350         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1351         [POSIX] (_SC_NETWORKING): Likewise.
1352         [POSIX] (_SC_PAGE_SIZE): Likewise.
1353         [POSIX] (_SC_PASS_MAX): Likewise.
1354         [POSIX] (_SC_PIPE): Likewise.
1355         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1356         [POSIX] (_SC_REGEXP): Likewise.
1357         [POSIX] (_SC_SHELL): Likewise.
1358         [POSIX] (_SC_SIGNALS): Likewise.
1359         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1360         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1361         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1362         [POSIX] (_SC_USER_GROUPS): Likewise.
1363         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1364         [POSIX] (_SC_STREAMS): Likewise.
1365         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1366         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1367         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1368         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1369         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1370         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1371         [POSIX] (_PC_FILESIZEBITS): Likewise.
1372         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1373         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1374         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1375         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1376         [POSIX] (uid_t): Likewise.
1377         [POSIX] (gid_t): Likewise.
1378         [POSIX] (off_t): Likewise.
1379         [POSIX] (pid_t): Likewise.
1380         [POSIX] (cuserid): Allow.
1381         (_SC_2_CHAR_TERM): Require constant.
1382         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1383         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1384         variable.
1386 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1388         * sysdeps/nacl/pthread-pids.h: New file.
1389         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1390         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1392         * nptl/pthread-pids.h: New file.
1393         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1394         * nptl/nptl-init.c: Include <pthread-pids.h>.
1395         (__pthread_initialize_minimal_internal):
1396         Call __pthread_initialize_pids instead of set_tid_address syscall.
1398         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1399         * sysdeps/posix/usleep.c: ... here.
1401 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1403         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1404         call_pselect6 object.
1405         [$(subdir) = io]: Remove call_sync_file_range object.
1406         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1407         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1408         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1409         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1411 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1413         * math/s_cproj.c: Add include "math_private.h".
1414         * math/s_cprojf.c: Likewise.
1415         * math/s_cprojl.c: Likewise.
1417 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1419         [BZ #18244]
1420         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1421         high mantissa bit when testing whether P is a NaN.
1422         * math/libm-test.inc (remainder_test_data): Add more tests.
1423         (remquo_test_data): Likewise.
1425         [BZ #18049]
1426         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1427         below -32, return the argument, with underflow if subnormal.
1428         * math/auto-libm-test-in: Add more tests of atanh.
1429         * math/auto-libm-test-out: Regenerated.
1431 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1433         [BZ #18434]
1434         * nptl/tst-sem15.c: New file.
1435         * nptl/Makefile (tests): Add it.
1436         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1437         s/<</>>/ to fix typo in EOVERFLOW check.
1438         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1440 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1442         * manual/strings.texi (envz_remove): Fix typo in safety
1443         annotations.
1445 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1446             Steve Ellcey  <sellcey@imgtec.com>
1448         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1449         in order to avoid strict alias warnings.
1450         (iruserok_af): Ditto for ra.
1452 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1454         [BZ #17581]
1455         * malloc/hooks.c
1456         (magicbyte): Convert to a function and avoid returning 0x01.
1457         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1458         (mem2chunk_check): Fix unsigned comparisons to zero.
1459         Hoist defs of sz and magic.
1461 2015-05-19  Richard Henderson  <rth@redhat.com>
1463         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1465         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1467 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1469         [BZ #16159]
1470         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1471         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1472         (reused_arena): Find a non-corrupt arena.
1473         (heap_trim): Pass arena to unlink.
1474         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1475         malloc_printerr.
1476         (top_check): Likewise.
1477         (free_check): Likewise.
1478         (realloc_check): Likewise.
1479         * malloc/malloc.c (malloc_printerr): Add arena argument.
1480         (unlink): Likewise.
1481         (munmap_chunk): Adjust.
1482         (ARENA_CORRUPTION_BIT): New macro.
1483         (arena_is_corrupt): Likewise.
1484         (set_arena_corrupt): Likewise.
1485         (sysmalloc): Use mmap if there are no usable arenas.
1486         (_int_malloc): Likewise.
1487         (__libc_malloc): Don't fail if arena_get returns NULL.
1488         (_mid_memalign): Likewise.
1489         (__libc_calloc): Likewise.
1490         (__libc_realloc): Adjust for additional argument to
1491         malloc_printerr.
1492         (_int_free): Likewise.
1493         (malloc_consolidate): Likewise.
1494         (_int_realloc): Likewise.
1495         (_int_memalign): Don't touch corrupt arenas.
1496         * malloc/tst-malloc-backtrace.c: New test case.
1498         * Makefile (summarize-tests): Fix return value on success.
1500         * manual/string.texi (Envz Functions): Add envz_remove.
1502 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1504         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1505         (invalid_name): New function, broken out of ...
1506         (__opendirat): ... here.  Call it.
1507         (need_isdir_precheck): New function, broken out of ...
1508         (__opendirat): ... here.  Call it.
1509         Use __fxstatat64, not __xstatat64.
1510         (opendir_oflags): New function, broken out of ...
1511         (__opendirat): ... here.  Call it.
1512         (opendir_tail): New function, broken out of ...
1513         (__opendirat): ... here.  Call it.
1514         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1515         opendir_tail, rather than punting to __opendirat.
1516         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1518 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1520         * .gitignore: Ignore generated *.pyc.
1522 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1524         * include/stdio.h: Define __need_wint_t.
1525         * test-skeleton.c: Avoid `for' loop initial declaration.
1526         * nptl/tst-initializers1.c: Use test-skeleton.c.
1528 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1530         [BZ #18418]
1531         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1533 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1535         [BZ #16352]
1536         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1537         (__ieee754_atanh): Force underflow exception for results with
1538         small absolute value.
1539         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1540         (__ieee754_atanhf): Force underflow exception for results with
1541         small absolute value.
1542         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1543         (__ieee754_atanh): Force underflow exception for results with
1544         small absolute value.
1545         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1546         (__ieee754_atanhf): Force underflow exception for results with
1547         small absolute value.
1548         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1549         (__ieee754_atanhl): Force underflow exception for results with
1550         small absolute value.
1551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1552         (__ieee754_atanhl): Force underflow exception for results with
1553         small absolute value.
1554         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1555         (__ieee754_atanhl): Force underflow exception for results with
1556         small absolute value.
1557         * math/auto-libm-test-in: Do not allow missing underflow
1558         exceptions from atanh.
1559         * math/auto-libm-test-out: Regenerated.
1561         [BZ #18221]
1562         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1563         2**-28 as threshold for returning x or +/- 1/x.
1564         * math/auto-libm-test-in: Add more tests of tan.
1565         * math/auto-libm-test-out: Regenerated.
1567         [BZ #18220]
1568         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1569         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1570         * math/auto-libm-test-in: Add another test of lgamma.
1571         * math/auto-libm-test-out: Regenerated.
1573 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
1575         * stdio-common/printf_fp.c (___printf_fp): Use abs.
1576         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
1577         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1578         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1579         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
1580         (ADD2A): Use fabs.  (SUB2A): Use fabs.
1581         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1582         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1583         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1584         (log1): Use fabs.  (my_log2): Use fabs.
1585         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1586         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1588         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1590         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
1591         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
1592         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
1593         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
1594         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1595         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1597 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1599         [BZ #18217]
1600         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1601         as threshold for returning 1 - x.
1602         * math/auto-libm-test-in: Add more tests of erfc.
1603         * math/auto-libm-test-out: Regenerated.
1605 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
1607         [BZ #18196]
1608         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1609         threshold for large arguments.
1610         * math/auto-libm-test-in: Add another test of atan.
1611         * math/auto-libm-test-out: Regenerated.
1613         [BZ #16339]
1614         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1615         (__log1p): Force underflow exception for results with small
1616         absolute value.
1617         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1618         (__log1pf): Force underflow exception for results with small
1619         absolute value.
1620         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1621         (__log1p): Force underflow exception for results with small
1622         absolute value.
1623         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1624         (__log1pf): Force underflow exception for results with small
1625         absolute value.
1626         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1627         (__log1pl): Force underflow exception for results with small
1628         absolute value.
1629         * math/auto-libm-test-in: Do not allow missing underflow
1630         exceptions from log1p.
1631         * math/auto-libm-test-out: Regenerated.
1633 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
1634             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1636         [BZ #16704]
1637         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1639 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
1641         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1642         (libmvec): New variable.
1643         * configure.ac: Added option for mathvec build.
1644         * configure: Regenerated.
1645         * mathvec/Depend: New file.
1646         * mathvec/Makefile: New file.
1647         * shlib-versions: Added libmvec.
1648         * math/Makefile: Added rule for libm.so installation.
1650         * bits/math-vector.h: New file.
1651         * bits/libm-simd-decl-stubs.h: New header.
1652         * math/Makefile (headers): Added new header
1653         libm-simd-decl-stubs.h.
1654         * math/math.h (__MATHCALL_VEC): New macro.
1656         * math/gen-libm-have-vector-test.sh: Script generates series of macros
1657         for conditions in testing functions.
1658         * math/Makefile: Added call of libm-have-vector-test.sh.
1659         * math/libm-test.inc (HAVE_VECTOR): New macros.
1661         * math/libm-test.inc: START refactored.
1662         * math/test-double.c (TEST_MATHVEC): Add define.
1663         * math/test-float.c: Likewise.
1664         * math/test-idouble.c: Likewise.
1665         * math/test-ifloat.c: Likewise.
1666         * math/test-ildoubl.c: Likewise.
1667         * math/test-ldouble.c: Likewise.
1668         * sysdeps/generic/math-tests-arch.h
1669         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1670         architecture check.
1672         * math/test-double.c (FUNC_TEST): New macro.
1673         * math/test-float.c: Likewise.
1674         * math/test-idouble.c: Likewise.
1675         * math/test-ifloat.c: Likewise.
1676         * math/test-ildoubl.c: Likewise.
1677         * math/test-ldouble.c: Likewise.
1678         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1680 2015-05-13  Roland McGrath  <roland@hack.frob.com>
1682         * sysdeps/nacl/fdopendir.c: New file.
1684         * dirent/scandir-tail.c: New file.
1685         * dirent/scandir64-tail.c: New file.
1686         * dirent/Makefile (routines): Add them.
1687         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1688         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1689         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1690         [!SCANDIR] (SCANDIR_TAIL): New macro.
1691         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1692         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1693         (SCANDIRAT): Macro removed.
1694         (SCANDIR_TAIL): New macro.
1695         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1696         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1697         (SCANDIRAT): Just call __opendirat and __scandir_tail.
1698         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1699         (READDIR): Macro removed.
1700         (SCANDIR_TAIL): New macro.
1701         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1702         (SCANDIR_TAIL): New macro.
1704         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1705         * dirent/scandir-cancel.c: ... to this new file.
1706         * dirent/Makefile (routines): Add it.
1707         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1708         * sysdeps/unix/sysv/linux/i386/scandir64.c
1709         (SKIP_SCANDIR_CANCEL): Macro removed.
1710         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1712         * dirent/tst-scandir.c: New file.
1713         * dirent/tst-scandir64.c: New file.
1714         * dirent/Makefile (tests): Add them.
1716 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1718         [BZ #18409]
1719         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1721 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1723         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1724         list.
1726 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
1728         * benchtests/bench-strcoll.c: New benchmark.
1729         * benchtests/Makefile: Generate locales and run benchmark.
1730         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1731         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1732         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1733         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1734         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1735         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1736         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1737         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1738         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1739         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1740         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1741         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1742         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1743         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1744         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1745         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1746         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1747         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1748         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1749         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1750         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1751         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1752         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1753         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1755 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
1757         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1758         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1760 2015-05-12  Roland McGrath  <roland@hack.frob.com>
1762         * posix/uname-values.h: New file.
1763         * posix/uname.c: Include that instead of <config-name.h>.
1764         * sysdeps/nacl/uname-values.h: New file.
1765         * sysdeps/arm/nacl/uname-values.h: New file.
1767 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1769         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1770         splitting into fields.
1772 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1774         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1775         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1776         * locale/localeinfo.h: Add enum collation_encoding_type.
1777         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1778         * programs/ld-collate.c (collate_output): Add encoding type info.
1779         * string/strcoll_l.c (STRDIFF): New function.
1780         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1781         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1783 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1785         [BZ #18397]
1786         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1787         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1788         <fpu_control.h> instead of <math/fpu_control.c>.
1789         * sysdeps/mips/mips32/fpu/Makefile: New file.
1791 2015-05-11  Andreas Schwab  <schwab@suse.de>
1793         [BZ #18007]
1794         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1795         nss_endgrent.
1796         (_nss_compat_endgrent): Call nss_endgrent.
1797         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1798         nss_endpwent.
1799         (_nss_compat_endpwent): Call nss_endpwent.
1800         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1801         needent, call nss_setspent only if non-zero.
1802         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1803         (internal_endspent): Don't call nss_endspent.
1804         (_nss_compat_endspent): Call nss_endspent.
1805         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1806         Remove.  All uses removed.
1807         (internal_setent): Remove parameter stayopen, add parameter
1808         stream.  Use it instead of global variable.
1809         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1810         (internal_endent, internal_getent): Add parameter stream.  Use it
1811         instead of global variable.
1812         (CONCAT(_nss_files_end,ENTNAME))
1813         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1814         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1815         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1816         uses removed.
1817         (internal_setent, internal_endent): Add parameter stream.  Use it
1818         instead of global variable.
1819         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1820         stream.
1821         (get_next_alias): Add parameter stream.
1822         (_nss_files_getaliasent_r): Pass global stream.
1823         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1824         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1825         (_nss_files_gethostbyname4_r): Pass local stream to
1826         internal_setent, internal_getent and internal_endent.  Remove
1827         locking.
1829 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1831         * tst-strfmon1.c (tests): Update expected currency symbol.
1833 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1835         * sysdeps/nacl/gethostname.c: New file.
1837 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1839         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1840         and sinh.
1841         * math/auto-libm-test-out: Regenerated.
1842         * sysdeps/i386/fpu/libm-test-ulps: Update.
1843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1845 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1847         [BZ #18125]
1848         * stdlib/tst-setcontext3.c: New file.
1849         * stdlib/tst-setcontext3.sh: New file.
1850         * stdlib/Makefile (tests): Add tst-setcontext3.
1851         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1852         to verify test program created output file.
1853         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1854         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1855         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1856         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1858 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1860         [BZ #18383]
1861         * elf/tst-tlsalign.c: New file.
1862         * elf/tst-tlsalign-static.c: New file.
1863         * elf/tst-tlsalign-lib.c: New file.
1864         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1865         (tests-static): Add tst-tlsalign-static.
1866         (modules-names): Add tst-tlsalign-lib.
1867         (test-xfail-tst-tlsalign): New variable.
1868         (test-xfail-tst-tlsalign-static): New variable.
1870         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1871         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1873 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1875         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1876         csqrt, erfc, sin and sincos.
1877         * math/auto-libm-test-out: Regenerated.
1878         * sysdeps/i386/fpu/libm-test-ulps: Update.
1879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1881 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1883         * sysdeps/aarch64/libm-test-ulps: Update.
1885 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1887         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1888         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1889         * math/auto-libm-test-out: Regenerated.
1890         * sysdeps/i386/fpu/libm-test-ulps: Update.
1891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1893 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1895         [BZ #18265]
1896         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1897         (wcsncpy): Likewise.
1899 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1901         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1902         Assume __ASSUME_FALLOCATE is always true.
1903         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1904         (__posix_fallocate64_l64): Likweise.
1905         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1906         (posix_fallocate): Likewise.
1907         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1908         (__posix_fallocate64_l64): Likewise.
1909         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1910         [!__ASSUME_FALLOCATE]: Add comment.
1912 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1914         * sysdeps/unix/sysv/linux/i386/Makefile
1915         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1916         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1917         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1918         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1919         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1920         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1921         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1923 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1925         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1926         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1927         tgamma.
1928         * math/auto-libm-test-out: Regenerated.
1929         * sysdeps/i386/fpu/libm-test-ulps: Update.
1930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1932 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1934         * math/auto-libm-test-in: Add more tests of tgamma.
1935         * math/auto-libm-test-out: Regenerated.
1936         * sysdeps/i386/fpu/libm-test-ulps: Update.
1937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1939         * math/auto-libm-test-in: Add more tests of tanh.
1940         * math/auto-libm-test-out: Regenerated.
1941         * sysdeps/i386/fpu/libm-test-ulps: Update.
1942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944         * math/auto-libm-test-in: Add more tests of tan.
1945         * math/auto-libm-test-out: Regenerated.
1946         * sysdeps/i386/fpu/libm-test-ulps: Update.
1947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1949         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1950         * math/auto-libm-test-out: Regenerated.
1951         * sysdeps/i386/fpu/libm-test-ulps: Update.
1952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1954         * math/auto-libm-test-in: Add another test of pow.
1955         * math/auto-libm-test-out: Regenerated.
1956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1958         * math/auto-libm-test-in: Add more tests of lgamma.
1959         * math/auto-libm-test-out: Regenerated.
1960         * sysdeps/i386/fpu/libm-test-ulps: Update.
1961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1963         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1964         log1p.
1965         * math/auto-libm-test-out: Regenerated.
1966         * sysdeps/i386/fpu/libm-test-ulps: Update.
1967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1971         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1972         Elf64_Chdr structs and ELFCOMPRESS constants.
1974 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1976         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1977         expm1.
1978         * math/auto-libm-test-out: Regenerated.
1979         * sysdeps/i386/fpu/libm-test-ulps: Update.
1980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1982         * math/auto-libm-test-in: Add more tests of erf and erfc.
1983         * math/auto-libm-test-out: Regenerated.
1984         * sysdeps/i386/fpu/libm-test-ulps: Update.
1985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1987 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1989         * config.h.in (HAVE_AARCH64_BE): Add.
1991 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1993         * math/auto-libm-test-in: Add more tests of csqrt.
1994         * math/auto-libm-test-out: Regenerated.
1995         * sysdeps/i386/fpu/libm-test-ulps: Update.
1996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1998         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1999         * math/auto-libm-test-out: Regenerated.
2000         * sysdeps/i386/fpu/libm-test-ulps: Update.
2001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2003         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2005 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2007         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2008         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2010         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2011         (euidaccess, eaccess): Define as weak aliases.
2013         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2014         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2015         but __suseconds_t is often 'long int' so some sources assume that
2016         type is being used (e.g. they use %ld to print tv_usec).
2018 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2020         [BZ #18007]
2021         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2022         (CVE-2014-8121)
2023         * nss/tst-nss-getpwent.c: New file.
2024         * nss/Makefile (tests): Add new test.
2026 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2028         [BZ #18346]
2029         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2030         exponents less than 48 as cases where high part of mantissa needs
2031         examining to determine whether argument is integral.
2032         * math/libm-test.inc (round_test_data): Add more tests.
2034 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2036         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2038 2015-04-27  David S. Miller  <davem@davemloft.net>
2040         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2041         __tls_get_addr.
2042         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2044 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2046         [BZ#18333]
2047         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2049 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2051         [BZ#18333]
2052         * time/tzset.c (parse_tzname): Return error on memory allocation
2053         failure.
2054         * test-skeleton.c (struct temp_name_list): Change type of name
2055         member to non-const.
2056         (add_temp_file): Create a copy of the file name.
2057         (delete_temp_files): Deallocate memory.
2058         (create_temp_file): Add comment.
2060 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2062         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2063         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2065 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2067         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2068         * sysdeps/arm/configure: Regenerated.
2070 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2072         [BZ #17715]
2073         * time/tzfile.c (__tzfile_read): Check for large values of
2074         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2075         * time/tzset.c (__tzstring_len): New function, based on the old
2076         __tzstring function.
2077         (__tzstring): Call __tzstring_len.
2078         (parse_tzname): New helper function extracted from
2079         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2080         the input string.
2081         (parse_offset): New helper function extracted from
2082         __tzset_parse_tz.  Replace switch with fallthrough with
2083         initialization before sscanf.
2084         (parse_rule): Likewise.
2085         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2086         new-style function definition.
2087         * timezone/Makefile (tests): Add tst-tzset.
2088         (tst-tzset.out): Dependencies on time zone files.
2089         (tst-tzset-ENV): Set TZDIR.
2090         (testdata/XT%): Copy crafted time zone files.
2091         * timezone/README: Mention crafted time zone files.
2092         * timezone/testdata/XT1, timezone/testdata/XT2,
2093         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2094         files.
2095         * timezone/tst-tzset.c: New test.
2097 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2099         * Makeconfig (+gccwarn): Remove -Winline.
2101 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2103         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2105 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2107         * NEWS: Mention sysconf() cache information support for s390.
2108         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2110 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2112         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2113         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2114         (__nearbyint): Likewise.
2115         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2116         (copysignl): Likewise.
2118 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2120         [BZ #18287]
2121         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2122         based on padding.  (CVE-2015-1781)
2124 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2126         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2127         libc-vdso.h.
2128         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2129         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2130         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2131         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2132         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2133         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2134         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2137         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2138         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2139         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2140         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2141         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2142         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2143         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2144         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2145         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2146         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2147         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2148         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2149         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2150         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2152 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2154         * stdlib/setenv.c (__add_to_environ):
2155         Dump core quickly if setenv (..., NULL, ...) is called.
2156         This time, do it the right way, and pacify GCC with a pragma.
2158 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2160         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2161         IMAP->l_prev cannot be null, and #if out the code for the contrary
2162         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2163         believe that NS (&_dl_ns[NSID]) could point outside the array.
2165         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2166         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2167         before using NSID as an index.
2169 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2171         [BZ #17825]
2172         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2173         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2174         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2176 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2178         Add preliminary port to Google Native Client on ARM.
2179         * abi-tags (.*-.*-nacl.*): New entry.
2180         * sysdeps/arm/nacl: New directory.
2181         * sysdeps/nacl: New directory.
2183 2015-04-16  David S. Miller  <davem@davemloft.net>
2185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2186         lowlevellock-futex.h
2188 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2190         * sysdeps/tile/configure.ac: New file.
2191         * sysdeps/tile/configure: Regenerated.
2193 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2195         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2196         conditionals for weak_alias and libc_hidden_weak.
2197         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2198         libc_hidden_weak and weak_alias.
2199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2200         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2201         and weak_alias for static one.
2203 2015-04-15  David S. Miller  <davem@davemloft.net>
2205         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2207 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2209         [BZ #18206]
2210         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2211           Use signed comparision instead of substraction to avoid
2212           overflow bug.
2213         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2214           Take the sign of ret.
2215         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2216           Do not expect precise return values. Only the sign matters.
2217         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2218         * wcsmbs/test-wcsncmp.c: New File.
2219         * string/test-strncmp.c: Add wcsncmp support.
2221 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2223         [BZ #6792]
2224         * math/w_log1p.c: New file.
2225         * math/w_log1pf.c: Likewise.
2226         * math/w_log1pl.c: Likewise.
2227         * math/Makefile (libm-calls): Add w_log1p.
2228         * math/s_log1pl.c (log1pl): Remove weak_alias.
2229         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2230         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2231         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2232         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2233         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2234         [NO_LONG_DOUBLE] (log1pl): Likewise.
2235         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2236         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2237         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2238         (log1p): Remove long_double_symbol.
2239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2240         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2241         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2242         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2243         remove weak_alias for corresponding log1p function.
2244         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2245         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2246         * sysdeps/ia64/fpu/w_log1p.c: New file.
2247         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2248         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2249         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2251 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2253         [BZ #18247]
2254         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2255         decimal exponent by 1.
2256         * stdlib/tst-strtod-round-data: Add more tests.
2257         * stdlib/tst-strtod-round.c (tests): Regenerated.
2259 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2261         * math/auto-libm-test-in: Add more tests of clog and clog10.
2262         * math/auto-libm-test-out: Regenerated.
2263         * sysdeps/i386/fpu/libm-test-ulps: Update.
2264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2266 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2268         * Makeconfig (module-cppflags): Exclude all .v.i files.
2269         (skip-module-cppflags): Variable removed.
2271         * configure.ac (libc_config_ok): Initialize before reading
2272         preconfigure scripts, not after.
2273         * configure: Regenerated.
2275         * test-skeleton.c (TIMEOUT): Move #define to top level.
2276         (main): Grok environment variable TEST_DIRECT.  If set, print
2277         test expectation details into that file and then behave as if
2278         given --direct.
2280 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2282         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2283         warning on 32-bit.
2285 2015-04-08  David S. Miller  <davem@davemloft.net>
2287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2289 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2291         * math/auto-libm-test-in: Add more tests of atanh.
2292         * math/auto-libm-test-out: Regenerated.
2293         * sysdeps/i386/fpu/libm-test-ulps: Update.
2294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2296         * math/auto-libm-test-in: Add more tests of atan.
2297         * math/auto-libm-test-out: Regenerated.
2298         * sysdeps/i386/fpu/libm-test-ulps: Update.
2299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2301 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2303         * elf/pldd.c (main): Rewrite to use struct
2304         scratch_buffer instead of extend_alloca.
2305         * elf/pldd-xx.c (find_maps): Likewise.
2306         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2307         <alloca.h>.
2308         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2309         scratch_buffer instead of extend_alloca.
2310         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2311         grp/compat-initgroups.c.
2312         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2313         Rewrite to use struct scratch_buffer instead of extend_alloca.
2314         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2315         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2317 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2319         * math/auto-libm-test-in: Add more tests of cbrt.
2320         * math/auto-libm-test-out: Regenerated.
2321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2323         * math/auto-libm-test-in: Add more tests of cabs.
2324         * math/auto-libm-test-out: Regenerated.
2325         * sysdeps/i386/fpu/libm-test-ulps: Update.
2326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2328         [BZ #18210]
2329         [BZ #18211]
2330         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2331         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2332         computations.
2333         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2334         clog10.
2335         * math/auto-libm-test-out: Regenerated.
2336         * sysdeps/i386/fpu/libm-test-ulps: Update.
2337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339         [BZ #18197]
2340         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2341         (atan): Set FE_TONEAREST mode for internal computations.
2342         * math/auto-libm-test-in: Add more tests of atan.
2343         * math/auto-libm-test-out: Regenerated.
2345 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2347         [BZ #17930]
2348         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2350 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2352         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2354 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2356         * include/scratch_buffer.h: New file.
2357         * malloc/scratch_buffer_grow.c: Likewise.
2358         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2359         * malloc/scratch_buffer_set_array_size.c: Likewise.
2360         * malloc/tst-scratch_buffer.c: Likewise.
2361         * malloc/Makefile (routines): Add scratch_buffer_grow.
2362         (tests): Add test case.
2363         * malloc/Versions (GLIBC_PRIVATE): Export
2364         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2365         __libc_scratch_buffer_set_array_size.
2367 2015-04-06  Richard Henderson  <rth@redhat.com>
2369         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2370         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2372         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2373         unsigned int before printing.
2375 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2377         [BZ #17596]
2378         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2379         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2381 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2383         * include/libc-internal.h (libc_max_align_t): Define.
2385 2015-04-02  Andreas Schwab  <schwab@suse.de>
2387         [BZ #16850]
2388         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2390 2015-04-02  Mel Gorman  <mgorman@suse.de>
2392         [BZ #17195]
2393         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2394         as well as the main arena.
2396 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2398         [BZ #18185]
2399         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2400         sharing L2 cache to 2 for Silvermont/Knights Landing.
2402 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2404         [BZ #17711]
2405         * config.make.in (have-protected-data): New.
2406         * configure.ac: Check linker support for protected data symbol.
2407         * configure: Regenerated.
2408         * elf/Makefile (modules-names): Add tst-protected1moda and
2409         tst-protected1modb if $(have-protected-data) is yes.
2410         (tests): Add tst-protected1a and tst-protected1b if
2411         $(have-protected-data) is yes.
2412         ($(objpfx)tst-protected1a): New.
2413         ($(objpfx)tst-protected1b): Likewise.
2414         (tst-protected1modb.so-no-z-defs): Likewise.
2415         * elf/tst-protected1a.c: New file.
2416         * elf/tst-protected1b.c: Likewise.
2417         * elf/tst-protected1mod.h: Likewise.
2418         * elf/tst-protected1moda.c: Likewise.
2419         * elf/tst-protected1modb.c: Likewise.
2421 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2423         [BZ #17711]
2424         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2425         indicates it is called from do_lookup_x on relocation against
2426         protected data, skip the data definion in the executable from
2427         copy reloc.
2428         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2429         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2430         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2431         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2432         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2433         otherwise to 0.
2434         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2435         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2436         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2437         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2438         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2439         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2441 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2443         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2444         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2446 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2448         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2449         THREAD_SETMEM_NC.
2450         * sysdeps/x86_64/nptl/tls.h: Ditto.
2452 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2454         * dlfcn/tststatic.c (main): Converted to ...
2455         (do_test): ... this.
2456         (TEST_FUNCTION): New macro.
2457         Include test-skeleton.c.
2459 2015-03-26  Alan Modra  <amodra@gmail.com>
2461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2462         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2463         zero for undefined weak.
2464         (elf_machine_plt_conflict): Similarly.
2466 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2468         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2469         atanh.
2470         * math/auto-libm-test-out: Regenerated.
2471         * sysdeps/i386/fpu/libm-test-ulps: Update.
2472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2474         * math/auto-libm-test-in: Add another test of asin.
2475         * math/auto-libm-test-out: Regenerated.
2476         * sysdeps/i386/fpu/libm-test-ulps: Update.
2477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2480         Remove macro.
2481         (LLL_EBX_REG): Likewise.
2482         (LLL_ENTER_KERNEL): Likewise.
2484         * math/auto-libm-test-in: Add more tests of asin.
2485         * math/auto-libm-test-out: Regenerated.
2486         * sysdeps/i386/fpu/libm-test-ulps: Update.
2487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2489         [BZ #18138]
2490         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2491         libc_do_syscall_args): New structure.
2492         (INTERNAL_SYSCALL_MAIN_0): New macro.
2493         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2494         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2495         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2496         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2497         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2498         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2499         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2500         Replace conditional definitions by conditional definitions of ....
2501         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2502         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2503         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2504         (libpthread-sysdep_routines): Add libc-do-syscall.
2505         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2507         to __NR_futex not 240.
2509 2015-03-25  Alan Modra  <amodra@gmail.com>
2511         * NEWS: Advertise TLS optimization.
2512         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2513         (DT_PPC_NUM): Increment.
2514         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2515         (CHECK_STATIC_TLS): Use here.
2516         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2517         TLS descriptors.
2518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2519         * sysdeps/powerpc/dl-tls.c: New file.
2520         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2521         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2522         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2523         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2528 2015-03-25  Alan Modra  <amodra@gmail.com>
2530         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2531         for overlapping .opd entries" to "support...".
2532         * sysdeps/powerpc/powerpc64/configure: Regenerate
2534 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2536         * math/auto-libm-test-in: Add more tests of acos.
2537         * math/auto-libm-test-out: Regenerated.
2538         * sysdeps/i386/fpu/libm-test-ulps: Update.
2539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2541         * math/auto-libm-test-in: Add more tests of expm1.
2542         * math/auto-libm-test-out: Regenerated.
2543         * sysdeps/i386/fpu/libm-test-ulps: Update.
2544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2548         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2549         * math/auto-libm-test-out: Regenerated.
2550         * sysdeps/i386/fpu/libm-test-ulps: Update.
2551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2553         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556         * math/auto-libm-test-in: Add more tests of log2.
2557         * math/auto-libm-test-out: Regenerated.
2558         * sysdeps/i386/fpu/libm-test-ulps: Update.
2559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561 2015-03-23  Roland McGrath  <roland@hack.frob.com>
2563         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2564         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
2565         _IO_IS_APPENDING bit in READ_WRITE instead.
2567 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2569         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2570         (__determine_cpumask_size): Replace extend_alloca with a
2571         variable-length array.  Do not treat res == 0 as an error.
2573 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2575         [BZ #18100]
2576         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2577         and integer overflow.
2578         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2579         (main): Add integer overflow tests.
2580         * manual/pattern.texi (Calling Wordexp): Document additional use
2581         for WRDE_SYNTAX.
2583 2015-03-23  Alan Modra  <amodra@gmail.com>
2585         * config.h.in: Remove HAVE_ASM_PPC_REL16.
2586         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2587         and false branch of conditional.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2589         Likewise.
2591 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
2593         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2594         libc-modules.h
2595         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2596         unused declaration of _hurd_intr_rpc_msg_in_trap.
2597         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2598         defined instead of whether it is non-zero.
2599         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2600         input constraint instead of both input and output constraint.  Use ecx
2601         clobber instead of %ecx.
2602         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2603         mutex_unlock): Use a statement expression instead of an expression list.
2604         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2605         type to vm_size_t instead of vm_address_t.
2606         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2607         defined instead of whether it is non-zero.
2608         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2609         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2610         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2611         comparisons with mapaddr.
2612         * nscd/nscd-client.h: Include <time.h>.
2613         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2614         9th parameter to __vm_region instead of int.
2615         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2616         * scripts/check-local-headers.sh (exclude): Add device/,
2617         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2618         cthreads.h.
2620 2015-03-19  Roland McGrath  <roland@hack.frob.com>
2622         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2623         to account for alignment padding.
2624         * sysdeps/arm/memmove.S: Likewise.
2626 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
2628         * sysdeps/unix/sysv/linux/generic/README: New file.
2630 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
2632         [BZ #18138]
2633         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2634         (futex_abstimed_wait)
2635         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2636         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2637         of lll_futex_timed_wait.
2639 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
2641         [BZ #17542]
2642         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2644 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
2646         [BZ #17090]
2647         [BZ #17620]
2648         [BZ #17621]
2649         [BZ #17628]
2650         * NEWS: Update.
2651         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2652         entries with Static TLS too.  Skip entries past the end of the
2653         allocated DTV, from Alan Modra.
2654         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
2655         Static TLS DTV entry set up from...
2656         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2657         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2658         * nptl/allocatestack.c (init_one_static_tls): ... and here...
2659         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2660         for Static TLS.
2661         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
2662         that the slot we find is associated with the given map before
2663         using its generation count.
2664         * nptl_db/db_info.c: Include ldsodefs.h.
2665         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2666         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2667         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2668         (link_map::l_tls_offset): New struct field.
2669         (dtv_t::counter): Likewise.
2670         (rtld_global): New struct.
2671         (_rtld_global): New rtld variable.
2672         (dl_tls_dtv_slotinfo_list): New rtld global field.
2673         (dtv_slotinfo_list): New struct.
2674         (dtv_slotinfo): Likewise.
2675         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2676         (td_lookup): Rename to...
2677         (td_mod_lookup): ... this.  Use new mod parameter instead of
2678         LIBPTHREAD_SO.
2679         * nptl_db/td_thr_tlsbase.c: Include link.h.
2680         (dtv_slotinfo_list, dtv_slotinfo): New functions.
2681         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
2682         addresses even if the DTV is out of date or missing them.
2683         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2684         index zero-length arrays.
2685         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2686         (td_lookup): Make it a macro implemented in terms of...
2687         (td_mod_lookup): ... this declaration.
2688         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2689         (DB_MAIN_VARIABLE): Likewise.
2691 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2693         [BZ #18134]
2694         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2696 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
2698         * stdlib/setenv.c (__add_to_environ): Revert previous change.
2700 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2702         [BZ #18128]
2703         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2704         (atomic_add, atomic_increment_and_test)
2705         (atomic_decrement_and_test): Fix 64-bit arithmetic.
2707 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
2709         * stdlib/setenv.c (__add_to_environ):
2710         Dump core quickly if setenv (..., NULL, ...) is called.
2712 2015-03-13  Roland McGrath  <roland@hack.frob.com>
2714         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2715         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2716         all the necessary asm magic in one place.
2717         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2718         using those.
2720 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
2722         [BZ #14906]
2723         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2724         traced file mtime. Use consistent log message.
2725         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2726         (register_traced_file): Call install_watches. Always set mtime.
2727         (invalidate_cache): Iterate over all trace files. Call install_watches.
2728         (inotify_check_files): Don't inline. Handle watching parent
2729         directories and configuration file movement in and out.
2730         (handle_inotify_events): New function.
2731         (main_loop_poll): Call handle_inotify_events.
2732         (main_loop_epoll): Likewise.
2733         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2734         (struct traced_file): Use array of inotify fds. Add parent directory,
2735         and basename.
2736         (struct database_dyn): Remove unused file_mtime.
2737         (init_traced_file): New inline function.
2738         (define_traced_file): New macro.
2739         * nss/nss_db/db-init.c: Use define_traced_file.
2740         (_nss_db_init): Use init_traced_file.
2741         * nss/nss_files/files-init.c: Use define_traced_file.
2742         (_nss_files_init): Use init_traced_file.
2744 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
2746         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2747         [_LIBC]: Do not include <stdlib.h>.
2748         [!_LIBC] (abort): Remove declaration.
2749         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2750         _FP_STATIC_ASSERT instead of conditionally calling abort.
2751         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2752         (_FP_EXTEND_CNAN): Likewise.
2753         (FP_TRUNC): Likewise.
2754         (__FP_CLZ): Likewise.
2755         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2757 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
2759         * manual/string.texi (XPG basename): Fix prototype.
2761 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2763         [BZ #18080]
2764         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2765         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2766         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2767         (__setcontext): Likewise.
2768         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2769         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2770         Call rt_sigprocmask syscall one time to set new signal mask
2771         and retrieve the current signal mask instead of two calls.
2772         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2773         (__swapcontext): Likewise.
2774         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2775         * stdlib/tst-setcontext2.c: New file.
2777 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2779         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2781 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2783         [BZ #18093]
2784         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2785         the wrong size.
2787 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2789         [BZ #18043]
2790         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2792 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2794         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2795         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2796         Remove define.
2797         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2798         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2799         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2800         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2801         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2802         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2803         define.
2804         * nptl_db/td_symbol_list.c (td_lookup): Remove
2805         HAVE_ASM_GLOBAL_DOT_NAME code.
2806         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2807         HAVE_ASM_GLOBAL_DOT_NAME check.
2808         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2809         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2810         (DOT_LABEL): Remove define.
2811         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2812         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2813         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2814         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2815         (__TLS_GET_ADDR): Likewise.
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2817         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2819 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2821         [BZ #18111]
2822         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2823         (_FPU_SETCW): Initialize cw from fpsr before storing.
2824         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2825         (fesetexceptflag): Rewrite using fpu_control.h.
2826         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2828 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2830         [BZ #18110]
2831         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2832         asms.
2833         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2835 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2837         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2838         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2839         abort.
2840         (_FP_FMA): Likewise.
2841         (_FP_DIV): Likewise.
2843 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2845         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2846         with 0 in that case.
2847         * Makefile (summarize-tests): New canned sequence, factored out of
2848         commands for targets tests and xtests.  Display summary lines that
2849         don't start with PASS: or XFAIL: rather than ones that do start with
2850         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2851         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2852         do start with ERROR: or FAIL:.
2853         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2854         (except for [$(build-shared) = yes]).
2855         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2856         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2857         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2858         * nptl/Makefile: Revert 2015-03-04 changes.
2859         [$(CXX) empty] (tests-unsupported): New variable.
2860         * debug/Makefile: Likewise.
2862         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2863         gnulib file.  Replace __attribute with __attribute__ throughout.
2865 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2867         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2869 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2871         [BZ #18104]
2872         * math/auto-libm-test-in: Add another test of pow.
2873         * math/auto-libm-test-out: Regenerated.
2875 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2877         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2878         $(config-cflags-nofma).
2880 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2882         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2883         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2884         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2885         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2886         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2887         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2888         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2889         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2890         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2891         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2892         Add comment on closing #endif.
2894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2896         * posix/wordexp.c (CHAR_IN_SET): New macro.
2897         (parse_param): Use it.
2899 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2901         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2903 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2905         [BZ #18043]
2906         * posix/wordexp.c (parse_param): Fix buffer overflow.
2907         * posix/wordexp-test.c (test_case): Add test case.
2909 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2911         [BZ #18042]
2912         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2913         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2915 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2917         [BZ #18043]
2918         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2919         (do_bz18043): Delete.
2920         (at_page_end): New.
2921         (testit): Refactor to have words at the edge of unreadable page.
2923 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2925         [BZ #16734]
2926         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2927         Cleanup read-only streams as well.
2928         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2930 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2932         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2933         <bits/libc-lockP.h>
2935 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2937         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2938         on [__KERNEL__].
2939         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2940         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2941         * soft-fp/op-common.h (_FP_DECL): Likewise.
2943 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2945         * elf/ifuncdep2.c (global): Replace
2946         __attribute__((visibility("protected"))) with
2947         asm (".protected global").
2948         * elf/ifuncmod1.c (global): Likewise.
2949         * elf/ifuncmod5.c (global): Likewise.
2951 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2953         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2954         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2956 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2958         * manual/install.texi (Configuring and compiling):
2959         Document test-wrapper-env-only.
2960         * INSTALL: Regenerated.
2962 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2964         [BZ #18043]
2965         * posix/wordexp.c (parse_param): Fix buffer overflow.
2966         * posix/wordexp-test.c (do_bz18043): Add test case.
2968 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2970         * time/tst-strptime2.c (do_test): Ensure failing tests are
2971         reported correctly.
2972         * time/tst-strptime3.c (do_test): Likewise.
2974 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2976         Fix aio_error thread-safety.
2977         * sysdeps/pthread/aio_error.c: New file
2978         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2979         synchronization.
2981 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2983         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2984         (group_number, vfprintf): Use it.
2985         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2986         (JUMP, REF): Use it.
2987         (WORK_BUFFER_SIZE): New enum constant.
2988         (process_arg, vfprintf): Use it.
2990 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2992         * manual/errno.texi (Error Messages): Complete example function
2993         by adding missing #define.
2994         (program_invocation_name): Add statement indicating GNU
2995         extension and reference which header file declares the variable.
2996         (program_invocation_short_name): Likewise.
2998 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3000         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3001         compatibility note.
3003 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3005         * Makeconfig (test-wrapper-env-only): New variable.
3006         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3007         then use that with $(test-wrapper-env-only) rather than using
3008         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3010 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3012         [BZ #18082]
3013         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3014         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3015         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3016         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3017         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3018         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3019         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3020         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3021         Likewise.
3022         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3023         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3024         Likewise.
3025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3026         Likewise.
3027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3028         Likewise.
3029         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3030         Likewise.
3031         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3033         Likewise.
3034         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3035         Likewise.
3036         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3037         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3039 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3041         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3042         (ETH_ALEN): New macro.
3043         (struct ether_addr): Use it for length of ether_addr_octet.
3045         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3046         (setdb): Don't call __nss_configure_lookup for "rpc".
3047         (do_test): Don't call test_rpc.
3048         (output_rpcent, test_rpc): Functions moved ...
3049         * sunrpc/test-rpcent.c: ... to this new file.
3050         * sunrpc/Makefile (tests): Add it.
3052         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3053         __xpg_sigpause.
3054         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3055         * nptl/tst-signal6.c: Likewise.
3056         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3057         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3059         * configure.ac (libc_cv_cxx_link_ok): New check.
3060         Reset CXX to empty if it fails to link.
3061         * configure: Regenerated.
3062         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3063         bug-atexit3-lib only if $(CXX) is nonempty.
3064         * nptl/Makefile (tests): Likewise for tst-cancel24.
3065         (tests, tests-static): Likewise for tst-cancel24-static.
3066         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3067         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3068         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3069         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3071 2015-03-04  Andreas Schwab  <schwab@suse.de>
3073         [BZ #17631]
3074         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3075         for non-GCC compilers.
3076         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3077         Likewise.
3079 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3081         [BZ #17776]
3082         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3083         integer before bitwise and assembly operations.
3084         (feclearexcept): Likewise.
3085         * math/test-fenvinline.c: New file.
3086         * math/Makefile: Add test-fenvinline test.
3088 2015-03-03  Alan Modra  <amodra@gmail.com>
3090         [BZ #16512]
3091         * scripts/localplt.awk: Strip off symbol version.
3092         * NEWS: Mention bug fix.
3094 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3096         * sysdeps/pthread/timer_routines.c
3097         (timer_free_list, thread_free_list, thread_active_list): Make static.
3099 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3101         [BZ #17779]
3102         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3103         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3104         Undefine.
3105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3106         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3107         Likewise.
3108         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3109         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3110         Likewise.
3112 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3114         [BZ #18036]
3115         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3116         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3118 2015-03-02  Andreas Schwab  <schwab@suse.de>
3120         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3121         variable name.
3123 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3125         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3126         Return error status.
3128 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3130         [BZ #15969]
3131         * locale/findlocale.c (_nl_find_locale): Introduce const
3132         version of loc_name and drop unsafe type casts.
3134 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3136         * dlfcn/tststatic2.c (main): Converted to ...
3137         (do_test): ... this.
3138         (TEST_FUNCTION): New macro.
3139         Include test-skeleton.c.
3141 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3143         [BZ #17711]
3144         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3145         (tests-pie): Add vismain.
3146         (CFLAGS-vismain.c): New.
3147         * elf/vismain.c: Add comments for PIE requirement.
3149 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3151         [BZ #18046]
3152         [BZ #18047]
3153         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3154         0x1p-56L as threshold for just returning the argument.
3155         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3156         0x1p-32L as threshold for just returning the argument.
3157         * math/auto-libm-test-in: Add more tests of atanh.
3158         * math/auto-libm-test-out: Regenerated.
3159         * sysdeps/i386/fpu/libm-test-ulps: Update.
3160         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3162 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3164         * string/bcopy.c (bcopy): Call memmove for performance.
3166 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3168         * string/bzero.c (__bzero): Call memset for performance.
3170 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3172         [BZ #18068]
3173         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3174         to 00100000.
3176 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3178         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3180 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3182         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3183         (__kernel_standard): Use CSTR macro when setting exc.name.
3184         * sysdeps/ieee754/Makefile [$(subdir) = math]
3185         (CFLAGS-k_standard.c): Remove variable.
3187         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3188         setting p and q from "else if" to "else".
3189         (qzero): Likewise.
3190         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3191         (qone): Likewise.
3192         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3193         (qzerof): Likewise.
3194         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3195         (qonef): Likewise.
3196         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3197         (qzero): Likewise.
3198         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3199         (qone): Likewise.
3201         [BZ #18038]
3202         [BZ #18039]
3203         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3204         return pi/2 for arguments below 0x1p-113L.
3205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3206         return pi/2 for arguments below 0x1p-106L.
3207         * math/auto-libm-test-in: Add more tests of acos.
3208         * math/auto-libm-test-out: Regenerated.
3210         [BZ #16351]
3211         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3212         (MO): New macro.
3213         (__ieee754_asin): Force underflow exception for results with small
3214         absolute value.
3215         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3216         (MO): New macro.
3217         (__ieee754_asinf): Force underflow exception for results with
3218         small absolute value.
3219         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3220         (__ieee754_asin): Force underflow exception for results with small
3221         absolute value.
3222         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3223         (__ieee754_asinf): Force underflow exception for results with
3224         small absolute value.
3225         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3226         (__ieee754_asinl): Force underflow exception for results with
3227         small absolute value.
3228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3229         (__ieee754_asinl): Force underflow exception for results with
3230         small absolute value.
3231         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3232         (__ieee754_asinl): Force underflow exception for results with
3233         small absolute value.
3234         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3235         Include <math.h>.
3236         * math/auto-libm-test-in: Do not mark underflow exceptions as
3237         possibly missing for bug 16351.
3238         * math/auto-libm-test-out: Regenerated.
3240         [BZ #18030]
3241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3242         of power of 2 down when low part has opposite sign.
3243         * math/libm-test.inc (logb_test_data): Add more tests.
3245 2015-02-26  Andreas Schwab  <schwab@suse.de>
3247         [BZ #18032]
3248         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3249         over collating symbol inside a bracket expression.  Minor cleanup.
3250         * posix/tst-fnmatch3.c (do_test): Add test case.
3252 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3254         [BZ #18029]
3255         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3256         Adjust exponent of power of 2 down when low part has opposite
3257         sign.
3258         * math/libm-test.inc (ilogb_test_data): Add more tests.
3260 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3262         [BZ #15969]
3263         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3264         the previous change.
3266         [BZ #15969]
3267         * locale/findlocale.c (_nl_find_locale): Retry archive search
3268         after alias expansion.
3270 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3272         * iconv/tst-iconv3.c (main): Converted to ...
3273         (do_test): ... this.
3274         (TEST_FUNCTION): New macro.
3275         Include test-skeleton.c.
3277         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3278         (convert): Make function static.
3279         (test_unalign): Likewise.  Add const to argument pointee types.
3280         (main): Replace with static function do_test.
3281         Print "Succeeded." only if RET is zero.
3282         (TEST_FUNCTION): New macro.
3283         Include test-skeleton.c.
3285         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3286         returns a null pointer.
3288 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3290         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3291         to __memcpy_ppc only for static builds.
3293 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3295         [BZ #18020]
3296         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3297         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3298         * math/auto-libm-test-in: Add more tests of asinh.
3299         * math/auto-libm-test-out: Regenerated.
3300         * sysdeps/i386/fpu/libm-test-ulps: Update.
3301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3303 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3305         [BZ #15850]
3306         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3307         and ip6_mtuinfo definitions here.
3308         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3309         in this define too.  Update comment.
3311 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3313         * elf/sprof.c (load_shobj): Tweak error message to match others.
3315 2015-02-24  Kevin Easton  <kevin@guarana.org>
3317         [BZ #16145] (partial fix)
3318         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3319         to reduce lock contention.
3321 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3323         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3324         (struct timex): Update time comment.
3325         (ADJ_SETOFFSET): Define.
3327 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3329         [BZ #18019]
3330         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3331         2**56 not 2**28 as threshold for log (2x) formula.
3332         * math/auto-libm-test-in: Add more tests of acosh.
3333         * math/auto-libm-test-out: Regenerated.
3334         * sysdeps/i386/fpu/libm-test-ulps: Update.
3335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3337 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3339         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3340         parenthesis around the buf assignment.
3341         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3343 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3345         [BZ #16783]
3346         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3347         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3348         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3349         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3350         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3351         * math/libm-test.inc (scalb_test_data): Add more tests.
3353 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3355         [BZ #17916]
3356         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3357         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3359 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3361         [BZ #17523]
3362         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3363         * io/bits/fcntl2.h (open): Use it.
3364         (openat): Likewise.
3365         * io/open.c (__libc_open): Likewise.
3366         * io/open64.c (__libc_open64): Likewise.
3367         * io/open64_2.c (__open64_2): Likewise.
3368         * io/open_2.c (__open_2): Likewise.
3369         * io/openat.c (__openat): Likewise.
3370         * io/openat64.c (__openat64): Likewise.
3371         * io/openat64_2.c (__openat64_2): Likewise.
3372         * io/openat_2.c (__openat_2): Likewise.
3373         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3374         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3375         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3376         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3377         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3378         (__open_nocancel): Likewise.
3379         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3380         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3381         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3383 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         [BZ #14841]
3386         * resolv/gethnamaddr.c (getanswer): Skip logging if
3387         RES_USE_DNSSEC is set.
3388         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3390 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3392         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3394 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3396         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3397         201304L, for Unicode 7.
3399 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3401         [BZ #17836]
3402         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3403         shared library.  Add gmon-start.os otherwise.
3404         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3405         $(objpfx)gmon-start.os if builing shared library.
3406         ($(objpfx)g$(static-start-installed-name)): Likewise.
3408 2015-02-23  Andreas Schwab  <schwab@suse.de>
3410         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3412 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3414         [BZ #17269]
3415         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3416         (enlarge_userbuf): Likewise.
3418 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3420         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3421         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3422         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3423         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3425 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3427         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3428         expression inside statement expression.
3430 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3432         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3433         <sysdeps/nptl/lowlevellock.h> and remove macros and
3434         functions that are now defined there.
3435         (SYS_futex): Remove.
3436         (lll_compare_and_swap): Remove.
3437         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3439 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3441         [BZ #17999]
3442         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3443         instead of scandirat.
3444         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3445         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3446         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3447         __scandirat.
3448         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3449         (__scandirat): Declare.  Use libc_hidden_proto.
3450         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3451         Remove variable.
3452         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3454 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3456         [BZ #15319]
3457         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3458         (MO): New macro.
3459         (__ieee754_atan2): For results with small absolute value, force
3460         underflow exception and remove excess range and precision from
3461         return value.
3462         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3463         (MO): New macro.
3464         (__ieee754_atan2f): For results with small absolute value, force
3465         underflow exception and remove excess range and precision from
3466         return value.
3467         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3468         (MO): New macro.
3469         (__atan): For results with small absolute value, force underflow
3470         exception and remove excess range and precision from return value.
3471         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3472         (MO): New macro.
3473         (__atanf): For results with small absolute value, force underflow
3474         exception and remove excess range and precision from return value.
3475         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3476         <math.h>.
3477         (__ieee754_atan2): Force underflow exception for results with
3478         small absolute value.
3479         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3480         <math_private.h>.
3481         (atan): Force underflow exception for results with small absolute
3482         value.
3483         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3484         (__atanf): Force underflow exception for results with small
3485         absolute value.
3486         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3487         <math.h>.
3488         (__atanl): Force underflow exception for results with small
3489         absolute value.
3490         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3491         (__atanl): Force underflow exception for results with small
3492         absolute value.
3493         * sysdeps/x86/fpu/bits/mathinline.h
3494         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3495         (__ieee754_atan2): Only define inline for long double.
3496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3497         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3498         * math/auto-libm-test-in: Do not mark underflow exceptions as
3499         possibly missing for bug 15319.  Add more tests of atan2.
3500         * math/auto-libm-test-out: Regenerated.
3501         * math/libm-test.inc (casin_test_data): Do not mark underflow
3502         exceptions as possibly missing for bug 15319.
3503         (casinh_test_data): Likewise.
3504         * sysdeps/i386/fpu/libm-test-ulps: Update.
3506 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3508         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3509         * sysdeps/mips/bits/endian.h: Fix comments.
3511 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3513         [BZ #17996]
3514         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3515         (hdestroy_r): Likewise.
3516         (hsearch_r): Likewise.
3517         (__hcreate_r): Declare and use libc_hidden_proto.
3518         (__hdestroy_r): Likewise.
3519         (__hsearch_r): Likewise.
3520         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3521         (hcreate): Call __hcreate_r instead of hcreate_r.
3522         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3523         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3524         as weak alias of __hcreate_r.
3525         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3526         __hdestroy_r.
3527         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3528         __hsearch_r.
3529         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3530         Remove variable.
3531         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3532         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3533         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3534         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3536 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3538         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3539         arena_lock into a single arena_get.
3541 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3543         * dl-reloc.c: Inlucde libc-internal.h.
3544         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3545         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3546         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3547         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3548         (grow_heap): Likewise.
3549         * malloc/malloc.c: Include libc-internal.h.
3550         (do_check_malloc): Call powerof2.
3551         (sysmalloc): Use pagesize. Call ALIGN_UP.
3552         (systrim): Use pagesize.
3553         (mremap_chunk): Use pagesize. Call ALIGN_UP.
3554         (__libc_valloc): Use pagesize.
3555         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3557 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3559         [BZ #17991]
3560         * include/sys/resource.h (__getrlimit64): Declare.  Use
3561         libc_hidden_proto.
3562         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3563         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
3564         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3565         getrlimit64.
3566         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3567         __getrlimit64.
3568         [!getrlimit64] (getrlimit64): Define as weak alias of
3569         __getrlimit64.  Use libc_hidden_weak.
3570         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3571         using __getrlimit64 not __new_getrlimit64.
3572         (__GI_getrlimit64): Likewise.
3573         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3574         Likewise.
3575         (__GI_getrlimit64): Likewise.
3576         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3578         (getrlimit): Add __getrlimit64 alias.
3579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3580         Likewise.
3581         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3582         Remove variable.
3583         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3584         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3586 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3588         * libio/fileops.c: Add missing sys/mman.h
3589         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3591 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3593         * manual/math.texi (Errors in Math Functions): Clarify goals
3594         regarding inexact and underflow exceptions.
3596 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3598         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3599         * sysdeps/mips/memset.S: Ditto.
3601 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3603         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3605 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3607         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3608         (__v1longjmp): Remove versioned symbol.
3609         (__v1siglongjmp): Remove alias and versioned symbol.
3610         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3611         (__v2siglongjmp): Likewise.
3613 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3615         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3617 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
3619         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3621 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3623         [BZ #17987]
3624         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3625         zero result does not depend on the sign resulting from
3626         subtraction.
3627         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3628         Likewise.
3629         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3630         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3631         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3632         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3633         * math/libm-test.inc (remquo_test_data): Add more tests.
3635 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
3637         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3638         Problem reported by J William Piggott.
3640 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3642         [BZ #17978]
3643         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3644         products 4 * y and 2 * y where those would overflow.
3645         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3646         Likewise.
3647         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3648         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3649         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3650         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3651         * math/libm-test.inc (remquo_test_data): Add more tests.
3653         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3655         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3656         [defined _COMPILING_NEWLIB].
3657         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3658         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3660         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3661         [!defined __mips_isa_rev || __mips_isa_rev < 6].
3663 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3665         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3666         acquired.
3668 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
3670         [BZ #17792]
3671         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3672         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3673         HOST_STACK_END_ADDR): Likewise.
3675 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
3677         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3678         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3679         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3681 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3683         * sysdeps/generic/c++-types.data: New file.
3684         * sysdeps/generic/ld.abilist: New file.
3685         * sysdeps/generic/libBrokenLocale.abilist: New file.
3686         * sysdeps/generic/libanl.abilist: New file.
3687         * sysdeps/generic/libc.abilist: New file.
3688         * sysdeps/generic/libcrypt.abilist: New file.
3689         * sysdeps/generic/libdl.abilist: New file.
3690         * sysdeps/generic/libm.abilist: New file.
3691         * sysdeps/generic/libpthread.abilist: New file.
3692         * sysdeps/generic/libresolv.abilist: New file.
3693         * sysdeps/generic/librt.abilist: New file.
3695 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3697         [BZ #17569]
3698         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3699         Compute absolute value of x as modified by fmod, not original
3700         value of x.
3701         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3702         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
3703         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
3704         RUN_TEST_ffI_f1_mod8.
3705         (remquo_test_data): Add more tests.
3707 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3709         * sysdeps/init_array/pt-crti.S: New file.
3711 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3713         [BZ #17967]
3714         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3715         __builtin_fmaf instead of relying on contraction of a * b + c.
3717 2015-02-12  J William Piggott  <elseifthen@gmx.com>
3719         [BZ #17969]
3720         * manual/time.texi: correct the zoneinfo path in the TZ Variable
3721         node.
3723 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3725         [BZ #17964]
3726         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3727         __builtin_fma instead of relying on contraction of a * b + c.
3729 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3731         * Makeconfig (ASFLAGS): Add -Werror=undef.
3732         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3733         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3734         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3736         * Makeconfig (after-link): New variable.
3737         (+link-pie, +link-pie-tests): Use it.
3738         (+link-static, +link-static-tests): Likewise.
3739         (+link, +link-tests): Likewise.
3740         * Makerules (build-module, build-module-asneeded): Likewise.
3741         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3742         Likewise.
3743         * elf/Makefile ($(objpfx)ld.so): Likewise.
3745 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3747         [BZ #17965]
3748         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3749         both struct timeval and struct timespec.
3751 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3753         [BZ #16560]
3754         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3755         and redefine.
3756         (__ieee754_exp2l): Do not multiply small fractional parts by
3757         M_LN2l.
3758         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3759         small argument.
3760         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3761         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3762         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3763         * math/auto-libm-test-in: Add more tests of exp2.
3764         * math/auto-libm-test-out: Regenerated.
3766 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3768         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3769         unaligned path.
3771 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3773         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3774         little endian.
3776 2015-02-12  Andreas Schwab  <schwab@suse.de>
3778         [BZ #15790]
3779         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3780         Filter out elision flags from value returned in kind.
3781         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3782         * nptl/tst-pthread-mutexattr.c: New file.
3784 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3786         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3787         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3788         into gnu-gnu, and update comment to refer to abi-tags.
3790 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3792         [BZ #15467]
3793         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3794         (__sincos): Set errno to EDOM for infinite argument.
3795         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3796         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3797         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3798         (__sincosl): Set errno to EDOM for infinite argument.
3799         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3800         (__sincosl): Set errno to EDOM for infinite argument.
3801         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3802         (__sincosl): Set errno to EDOM for infinite argument.
3803         * math/libm-test.inc (sincos_test_data): Test errno setting.
3805 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3807         * string/strxfrm_l.c: Remove #define STRCMP.
3808         * string/strcoll_l.c: Remove #define STRLEN.
3809         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3810         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3812 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3814         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3815         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3816         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3817         * sysdeps/mips/mips64/Makefile: ... here.
3818         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3819         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3820         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3821         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3822         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3823         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3824         * sysdeps/mips/mips64/n64/Implies: Likewise.
3826 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3828         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3829         <sys/time.h>, <string.h>, and <errno.h>.
3830         (dest_offset, dest_address, value, zero): Remove unused variables.
3831         (ldouble): Remove typedef.
3832         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3833         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3834         1).  Fix code style.
3835         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3836         (check): Function removed.
3837         (CHECK): New macro.
3838         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3839         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3840         Don't call set_sigaction_FP and remove_sigaction_FP here.
3841         (ldouble_test): Just use 'long double' as macro argument, no need for
3842         the 'ldouble' typedef.
3843         (do_test): Set up SIGFPE handler at start, using plain signal rather
3844         than sigaction.  Fix code style.
3846 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3848         [BZ #17949]
3849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3850         jump label.
3852 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3854         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3855         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3857         * sysdeps/powerpc/configure.ac: Remove file.
3858         * sysdeps/powerpc/configure: Likewise.
3860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3861         [sysdep_routines]: Remove wordcopy-power6 object.
3862         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3863         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3864         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3865         (__memmove_ppc32): Likewise.
3866         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3867         file.
3868         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3870         Remove preprocessor.
3872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3873         [sysdep_routines]: Remove wide chars objects.
3874         [wcsmbs]: New rule for wide char objects.
3876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3877         Remove wordcopy-power6 obejct.
3878         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3879         Use local call for wordcopy and memcpy symbols.
3880         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3881         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3882         implementation for loader.
3883         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3886         Remove wordcopy-power7 object.
3887         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3889         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3890         (_wordcopy_fwd_dest_aligned): Likewise.
3891         (_wordcopy_bwd_aligned): Likewise.
3892         (_wordcopy_bwd_dest_aligned): Likewise.
3894         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3895         Rewrite to call __memmove_ppc instead of include default
3896         implementation.
3898         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3899         Remove wide chars objects.
3900         [wcsmbs]: New rule for wide char objects.
3902 2015-02-09  Andreas Schwab  <schwab@suse.de>
3904         [BZ #17912]
3905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3906         in terms of __O_DIRECTORY.
3908 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3910         * time/getdate.c: Include <stdbool.h>.
3911         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3912         call PTR_MANGLE.
3913         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3914         PTR_DEMANGLE.
3916 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3918         Add ersatz _Static_assert on older C hosts
3919         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3920         pre-C11 C platform that is not known to support _Static_assert.
3922 2015-02-07  Richard Braun  <rbraun@sceen.net>
3924         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3925         sigstate.
3926         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3928 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3930         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3931         priority against unexistent AIO_PRIO_DELTA_MAX.
3932         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3933         instead of int.
3934         * misc/fchflags.c (fchflags): Likewise.
3935         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3936         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3937         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3938         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3939         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3940         Declare macros.
3941         [__USE_MISC] (chflags, fchflags): Declare functions.
3942         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3943         EINVAL when nfds is greater than FD_SETSIZE.
3944         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3945         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3946         45.
3947         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3948         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3949         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3950         MACH_RCV_TIMED_OUT.
3951         * hurd/hurd/signal.h (_hurd_self_sigstate,
3952         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3953         Explicit casts from void *.
3954         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3955         * abi-tags: Rename gnu-gnu os into gnu.
3957         [BZ #4719]
3958         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3959         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3960         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3961         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3962         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3963         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3965         [BZ #17944]
3966         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3967         duplicates ADDR->sun_path with sockaddr LEN limitation.
3968         * sysdeps/mach/hurd/connect.c: Include <string.h>
3969         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3970         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3971         * sysdeps/mach/hurd/sendto.c: Likewise.
3972         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3973         implementing it by hand.
3975 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3977         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3978         Use sfi_breg on ldr.
3979         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3980         Likewise.
3982         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3983         it's defined.
3984         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3985         Test SIGSETXID only if it's defined.
3987         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3989         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3990         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3992         * nptl/tst-align2.c: Moved ...
3993         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3994         * nptl/Makefile (tests): Remove tst-align2.
3995         * sysdeps/unix/sysv/linux/Makefile
3996         [$(subdir) = nptl] (tests): Add tst-align-clone.
3997         * nptl/tst-getpid1.c: Moved ...
3998         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3999         * nptl/tst-getpid2.c: Moved ...
4000         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4001         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4002         * sysdeps/unix/sysv/linux/Makefile
4003         [$(subdir) = nptl] (tests): ... here.
4004         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4005         * sysdeps/unix/sysv/linux/Makefile
4006         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4008         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4009         Drop trailing \n from perror argument.  Use return rather than exit.
4011         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4012         on [SA_SIGINFO].
4013         * nptl/tst-cancel21.c (do_test): Likewise.
4014         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4015         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4016         [!SA_SIGINFO]: Make it a stub test.
4018         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4019         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4021         * posix/tst-getlogin.c: Move to ...
4022         * login/tst-getlogin.c: ... here.
4023         * posix/Makefile (tests): Move tst-getlogin to ...
4024         * login/Makefile (tests): ... here.
4026         * libio/tst-atime.c (do_test): Move local variables SV and E
4027         inside [ST_NOATIME] conditional.
4029         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4031         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4033         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4034         (wait_code): New function replaces macro.
4035         Call nanosleep rather than syscall.
4037         * nptl/pt-system.c: Rewritten.  Put everything under
4038         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4039         Use IFUNC to redirect when possible.
4041         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4042         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4043         Use IFUNC to redirect when possible.
4045         * nptl/pt-fork.c: Rewritten.  Put everything under
4046         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4047         Use IFUNC to redirect when possible.
4048         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4051         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4052         unconditionally nowadays.  This included the only reference to
4053         __vdso_clock_gettime that appears outside libc proper.
4054         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4055         Remove version set (containing only __vdso_clock_gettime).
4056         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4057         Add attribute_hidden.
4058         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4059         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4060         libc_hidden_data_def.
4061         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4062         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4064         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4065         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4066         setrpcent, and getrpcport to ...
4067         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4068         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4069         getrpcbynumber_r, and getrpcent_r to ...
4070         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4071         * inet/getrpcbyname.c: Moved ...
4072         * sunrpc/getrpcbyname.c: ... here.
4073         * inet/getrpcbyname_r.c: Moved ...
4074         * sunrpc/getrpcbyname_r.c: ... here.
4075         * inet/getrpcbynumber.c: Moved ...
4076         * sunrpc/getrpcbynumber.c: ... here.
4077         * inet/getrpcbynumber_r.c: Moved ...
4078         * sunrpc/getrpcbynumber_r.c: ... here.
4079         * inet/getrpcent.c: Moved ...
4080         * sunrpc/getrpcent.c: ... here.
4081         * inet/getrpcent_r.c: Moved ...
4082         * sunrpc/getrpcent_r.c: ... here.
4083         * inet/Makefile (routines): Move those to ...
4084         * sunrpc/Makefile (routines): ... here.
4085         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4086         the $(subdirs) list.
4087         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4088         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4089         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4090         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4092         * elf/Makefile (routines): Include $(all-dl-routines), not just
4093         $(dl-routines).
4094         (rtld-routines): Likewise.  Use = rather than :=.
4095         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4096         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4097         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4098         * sysdeps/arm/Makefile: Likewise.
4099         * sysdeps/i386/Makefile: Likewise.
4100         * sysdeps/x86_64/Makefile: Likewise.
4101         * sysdeps/hppa/Makefile [$(subdir) = elf]
4102         (sysdep_routines, sysdep-rtld-routines): Don't add
4103         $(sysdep-dl-routines) to these.
4104         * sysdeps/ia64/Makefile: Likewise.
4105         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4106         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4107         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4108         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4109         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4110         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4111         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4112         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4113         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4114         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4115         these; sysdep-dl-routines alone is enough.
4117 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4119         [BZ #17932]
4120         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4121         where multiplication results in zero and third argument is finite
4122         and nonzero.
4123         * math/auto-libm-test-in: Add more tests of fma.
4124         * math/auto-libm-test-out: Regenerated.
4126         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4127         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4128         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4129         (_FP_CMP_EQ): Likewise.
4130         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4132         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4133         extra argument CHECK_NAN.  Redefine as wrapper around
4134         _FP_EXTEND_CNAN.
4136 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4138         * version.h (RELEASE): Set to "stable".
4139         (VERSION): Set to "2.21"
4140         * include/features.h (__GLIBC_MINOR__): Set to 21.
4142         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4144 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4145             Paul Eggert  <eggert@cs.ucla.edu>
4147         [BZ #16618]
4148         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4149         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4150         size in bytes. Store needed elements in wpmax. Use needed size
4151         in bytes for extend_alloca.
4153 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4155         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4156         binutls 2.25, and texinfo 5.2.
4157         * INSTALL: Regenerate.
4158         * sysdeps/nios2/configure: Regenerate.
4159         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4160         * manual/contrib.texi: Update.
4161         * po/be.po: Update.
4162         * po/bg.po: Update.
4163         * po/ca.po: Update.
4164         * po/cs.po: Update.
4165         * po/da.po: Update.
4166         * po/de.po: Update.
4167         * po/el.po: Update.
4168         * po/eo.po: Update.
4169         * po/es.po: Update.
4170         * po/fi.po: Update.
4171         * po/fr.po: Update.
4172         * po/gl.po: Update.
4173         * po/hr.po: Update.
4174         * po/hu.po: Update.
4175         * po/ia.po: Update.
4176         * po/id.po: Update.
4177         * po/it.po: Update.
4178         * po/ja.po: Update.
4179         * po/ko.po: Update.
4180         * po/lt.po: Update.
4181         * po/nb.po: Update.
4182         * po/nl.po: Update.
4183         * po/pl.po: Update.
4184         * po/pt_BR.po: Update.
4185         * po/ru.po: Update.
4186         * po/rw.po: Update.
4187         * po/sk.po: Update.
4188         * po/sl.po: Update.
4189         * po/sv.po: Update.
4190         * po/tr.po: Update.
4191         * po/uk.po: Update.
4192         * po/vi.po: Update.
4193         * po/zh_CN.po: Update.
4194         * po/zh_TW.po: Update.
4196         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4197         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4198         * sysdeps/hppa/dl-irel.h: Remove #warning.
4199         * sysdeps/hppa/entry.h: Provide prototype for
4200         __canonicalize_funcptr_for_compare and cast argument.
4201         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4202         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4203         * sysdeps/hppa/sotruss-lib.c: New file.
4204         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4205         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4206         (atomic_compare_and_exchange_bool_acq): Likewise.
4207         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4208         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4210         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4211         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4212         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4214 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4216         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4217         called function in non-PIC case.
4219 2015-01-31  David S. Miller  <davem@davemloft.net>
4221         * sysdeps/sparc/sparc32/bits/atomic.h
4222         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4223         unlock not after it.
4224         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4225         volatile register usage warnings from the compiler.
4227         * sysdeps/sparc/nptl/sem_init.c: Delete.
4228         * sysdeps/sparc/nptl/sem_post.c: Delete.
4229         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4230         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4231         * sysdeps/sparc/sparc32/sem_init.c: New file.
4232         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4233         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4234         padding explicitly initialized.
4235         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4236         padding for in-semaphore spinlock.
4237         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4238         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4239         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4240         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4241         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4242         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4243         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4244         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4245         version.
4246         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4247         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4249 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4251         [BZ #17801]
4252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4253         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4254         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4255         New.
4256         (index_AVX_Fast_Unaligned_Load): Likewise.
4257         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4258         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4259         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4260         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4261         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4262         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4263         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4264         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4265         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4267 2015-01-29  Andreas Schwab  <schwab@suse.de>
4269         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4271 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4273         [BZ #17892]
4274         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4276 2015-01-28  Martin Sebor  <msebor@redhat.com>
4278         * math/README.libm-test: Clarify. Add "How to read the test output."
4280 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4282         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4283         Define to 0.
4285 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4287         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4288         (__HAVE_64B_ATOMICS): Define to 0.
4290 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4292         [BZ #17885]
4293         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4294         value to set as new flag.
4296         [BZ #16576]
4297         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4298         and use _ARCH_PPCSQ instead.
4299         (__ieee754_sqrt): Likewise.
4300         (__ieee754_sqrtf): Likewise.
4301         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4302         _ARCH_PPCSQ is defined.
4303         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4304         fsqrt instruction.
4305         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4306         _ARCH_PPCSQ is defined.
4307         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4308         fsqrts instruction.
4309         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4311 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4313         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4314         bug (GCC BZ #64739).
4316 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4318         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4319         Mark _retval as used.
4320         (lll_futex_wake_unlock): Likewise.
4321         (lll_futex_timed_wait_requeue_pi): Likewise.
4323         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4324         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4325         register variables.
4327         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4328         libm_hidden_def.
4330         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4331         (__bswap_64): Mark as __always_inline.
4333 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4335         [BZ #15378]
4336         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4337         when none of the search directories exist.
4339 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4341         [BZ #17869]
4342         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4343         power8 in .machine directive.
4345         [BZ #17868]
4346         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4347         set dependency from opd value.
4349 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4352         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4353         architecture.
4355 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4357         [BZ #17870]
4358         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4359         with uint64_t.
4360         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4361         (uint64_t) 1.
4362         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4363         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4364         Replace 1UL with (uint64_t) 1.
4365         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4366         int with uint64_t.
4368 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4370         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4371         (if_freenameindex): Likewise.
4373         * resource/getrlimit64.c: Add missing libc_hidden_def.
4375 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4377         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4378         __label__.
4379         (_FP_FMA): Likewise.
4380         (_FP_TO_INT_ROUND): Likewise.
4381         (_FP_FROM_INT): Likewise.
4383 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4385         [BZ #16418]
4386         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4387         Make code racy and cancel safe.
4389 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4391         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4392         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4393         attribution.
4395         * pwd/tst-getpw.c: Rewrite.
4397         [BZ #17702]
4398         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4399         (modules-names): Add moddummy1 and moddummy2.
4400         ($(objpfx)tst-rec-dlopen): Define.
4401         * dlfcn/moddummy1.c: New file.
4402         * dlfcn/moddummy2.c: New file.
4403         * dlfcn/tst-rec-dlopen.c: New file.
4404         * elf/dl-cache.c (_dl_load_cache_lookup):
4405         Return char*. Copy result with alloca/strcpy/strdup.
4406         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4407         returns char*. Free cached. If not saving realname
4408         free cached.
4409         * elf/dl-open.c (dl_open_worker): Do not assert that
4410         _r_debug->r_state is RT_CONSISTENT.
4411         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4412         returns char*.
4414 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4415             Carlos O'Donell  <carlos@redhat.com>
4417         [BZ #12674]
4418         * nptl/sem_waitcommon.c: New file.
4419         * nptl/sem_wait.c: Include sem_waitcommon.c.
4420         (__sem_wait_cleanup, do_futex_wait): Remove.
4421         (__new_sem_wait): Adapt.
4422         (__new_sem_trywait): New function.
4423         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4424         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4425         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4426         (sem_timedwait): Adapt.
4427         * nptl/sem_post.c (__new_sem_post): Adapt.
4428         (futex_wake): New function.
4429         (__old_sem_post): Add release MO fence.
4430         * nptl/sem_open.c (sem_open): Adapt.
4431         * nptl/sem_init.c (__new_sem_init): Adapt.
4432         (futex_private_if_supported): New function.
4433         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4434         (__old_sem_getvalue): Add using previous code.
4435         * sysdeps/nptl/internaltypes.h: Adapt.
4436         * nptl/tst-sem13.c (do_test): Adapt.
4437         * nptl/tst-sem11.c (main): Adapt.
4438         * nptl/sem_trywait.c: Remove.
4439         * nptl/DESIGN-sem.txt: Remove.
4440         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4441         (gen-as-const-headers): Remove structsem.sym.
4442         * nptl/structsem.sym: Remove.
4443         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4444         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4445         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4446         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4447         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4448         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4449         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4450         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4451         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4452         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4453         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4454         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4455         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4456         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4457         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4458         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4459         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4460         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4461         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4462         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4463         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4464         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4466 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4468         * INSTALL: Regenerated.
4470         * po/libc.pot: Regenerated.
4472 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4473             Sandra Loosemore  <sandra@codesourcery.com>
4474             Andrew Jenner  <andrew@codesourcery.com>
4475             Joseph Myers  <joseph@codesourcery.com>
4476             Nathan Sidwell  <nathan@codesourcery.com>
4478         * NEWS: Mention new Nios II port.
4479         * sysdeps/nios2/Implies: New file.
4480         * sysdeps/nios2/Makefile: New file.
4481         * sysdeps/nios2/Subdirs: New file.
4482         * sysdeps/nios2/Versions: New file.
4483         * sysdeps/nios2/__longjmp.S: New file.
4484         * sysdeps/nios2/abort-instr.h: New file.
4485         * sysdeps/nios2/backtrace.c: New file.
4486         * sysdeps/nios2/bits/endian.h: New file.
4487         * sysdeps/nios2/bits/fenv.h: New file.
4488         * sysdeps/nios2/bits/link.h: New file.
4489         * sysdeps/nios2/bits/setjmp.h: New file.
4490         * sysdeps/nios2/bsd-_setjmp.S: New file.
4491         * sysdeps/nios2/bsd-setjmp.S: New file.
4492         * sysdeps/nios2/configure: New generated file.
4493         * sysdeps/nios2/configure.ac: New file.
4494         * sysdeps/nios2/crti.S: New file.
4495         * sysdeps/nios2/crtn.S: New file.
4496         * sysdeps/nios2/dl-init.c: New file.
4497         * sysdeps/nios2/dl-machine.h: New file.
4498         * sysdeps/nios2/dl-sysdep.h: New file.
4499         * sysdeps/nios2/dl-tls.h: New file.
4500         * sysdeps/nios2/dl-trampoline.S: New file.
4501         * sysdeps/nios2/gccframe.h: New file.
4502         * sysdeps/nios2/gmp-mparam.h: New file.
4503         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4504         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4505         * sysdeps/nios2/ldsodefs.h: New file.
4506         * sysdeps/nios2/libc-tls.c: New file.
4507         * sysdeps/nios2/libm-test-ulps: New file.
4508         * sysdeps/nios2/machine-gmon.h: New file.
4509         * sysdeps/nios2/math-tests.h: New file.
4510         * sysdeps/nios2/math_private.h: New file.
4511         * sysdeps/nios2/memusage.h: New file.
4512         * sysdeps/nios2/nptl/Makefile: New file.
4513         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4514         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4515         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4516         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4517         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4518         * sysdeps/nios2/nptl/tls.h: New file.
4519         * sysdeps/nios2/preconfigure: New file.
4520         * sysdeps/nios2/s_fma.c: New file.
4521         * sysdeps/nios2/s_fmaf.c: New file.
4522         * sysdeps/nios2/setjmp.S: New file.
4523         * sysdeps/nios2/sfp-machine.h: New file.
4524         * sysdeps/nios2/sotruss-lib.c: New file.
4525         * sysdeps/nios2/stackguard-macros.h: New file.
4526         * sysdeps/nios2/stackinfo.h: New file.
4527         * sysdeps/nios2/start.S: New file.
4528         * sysdeps/nios2/sysdep.h: New file.
4529         * sysdeps/nios2/tls-macros.h: New file.
4530         * sysdeps/nios2/tst-audit.h: New file.
4531         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4532         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4533         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4534         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4535         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4536         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4537         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4538         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4539         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4540         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4541         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4542         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4543         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4544         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4545         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4546         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4547         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4548         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4549         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4550         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4551         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4552         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4553         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4554         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4555         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4556         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4557         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4558         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4559         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4560         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4561         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4562         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4563         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4564         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4565         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4566         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4567         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4568         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4569         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4570         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4571         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4572         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4573         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4574         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4576 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4578         [BZ #17844]
4579         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4580         (getutent): Use weak_alias in non SHARED case
4581         and default_symbol_version in SHARED case.
4582         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4583         (getutent_r, pututline): Likewise.
4584         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4585         (getutid): Likewise.
4586         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4587         (getutid_r): Likewise.
4588         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4589         (getutline): Likewise.
4590         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4591         (getutline_r): Likewise.
4592         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4593         (updwtmp): Likewise.
4595 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4597         [BZ #17848]
4598         * sysdeps/s390/s390-32/memcmp.S
4599         (memcmp_g5): Rename to __memcmp_g5.
4600         * sysdeps/s390/s390-32/memcpy.S
4601         (memcpy_g5): Rename to __memcpy_g5.
4602         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4603         (memcpy_mvcle) Rename to __memcpy_mvcle.
4604         * sysdeps/s390/s390-32/memset.S
4605         (memset_g5): Rename to __memset_g5.
4606         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4607         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4608         and use prefixed functions.
4609         * sysdeps/s390/s390-32/multiarch/memcmp.S
4610         (memcmp_z196): Rename to __memcmp_z196.
4611         (memcmp_z10): Rename to __memcmp_z10.
4612         (memcmp): Set alias to __memcmp_g5.
4613         (bcmp): Set alias to __memcmp_g5.
4614         * sysdeps/s390/s390-32/multiarch/memcpy.S
4615         (memcpy_z196): Rename to __memcpy_z196.
4616         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4617         (memcpy_z10): Rename to __memcpy_z10.
4618         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4619         (memcpy): Set alias to __memcpy_g5.
4620         * sysdeps/s390/s390-32/multiarch/memset.S
4621         (memset_z196): Rename to __memset_z196.
4622         Jump to __memset_mvcle instead of memset_mvcle.
4623         (memset_z10): Rename to __memset_z10.
4624         Jump to __memset_mvcle instead of memset_mvcle.
4625         (memset_mvcle) Rename to __memset_mvcle.
4626         (memset): Set alias to __memset_g5.
4627         * sysdeps/s390/s390-64/memcmp.S
4628         (memcmp_z900): Rename to __memcmp_z900.
4629         * sysdeps/s390/s390-64/memcpy.S
4630         (memcpy_z900): Rename to __memcpy_z900.
4631         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4632         (memcpy_mvcle) Rename to __memcpy_mvcle.
4633         * sysdeps/s390/s390-64/memset.S
4634         (memset_z900): Rename to __memset_z900.
4635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4636         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4637         and use prefixed functions.
4638         * sysdeps/s390/s390-64/multiarch/memcmp.S
4639         (memcmp_z196): Rename to __memcmp_z196.
4640         (memcmp_z10): Rename to __memcmp_z10.
4641         (memcmp): Set alias to __memcmp_z900.
4642         (bcmp): Set alias to __memcmp_z900.
4643         * sysdeps/s390/s390-64/multiarch/memcpy.S
4644         (memcpy_z196): Rename to __memcpy_z196.
4645         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4646         (memcpy_z10): Rename to __memcpy_z10.
4647         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4648         (memcpy): Set alias to __memcpy_z900.
4649         * sysdeps/s390/s390-64/multiarch/memset.S
4650         (memset_z196): Rename to __memset_z196.
4651         Jump to __memset_mvcle instead of memset_mvcle.
4652         (memset_z10): Rename to __memset_z10.
4653         Jump to __memset_mvcle instead of memset_mvcle.
4654         (memset_mvcle) Rename to __memset_mvcle.
4655         (memset): Set alias to __memset_z900.
4657 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
4659         [BZ #17748]
4660         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4661         __fesetenv instead of fesetenv.
4663 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4665         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4666         macro.
4668 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4670         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4671         regression on LE.
4673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4674         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4676         strncmp-power8 object.
4677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4678         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4679         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4680         * NEWS: Update.
4682 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4685         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4686         trailing byte check.
4688 2015-01-13  David S. Miller  <davem@davemloft.net>
4690         * include/signal.h (__sigreturn): Guard with __USE_MISC.
4692 2015-01-13  Roland McGrath  <roland@hack.frob.com>
4694         * login/logout.c (logout): Use memset rather than bzero.
4695         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4696         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4697         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4698         (_gethtbyaddr): Likewise.
4699         * locale/programs/simple-hash.c (bcopy): Macro removed.
4701 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4704         Add strcmp-power8 object.
4705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4706         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4707         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4708         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4709         __strcmp_power8 implementation.
4710         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4711         * NEWS: Update.
4713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4714         Add strncpy-power8 and stpncpy-power8 objects.
4715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4716         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4717         implementations.
4718         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4719         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4720         __stpncpy_power8 implementation.
4721         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4722         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4723         __strncpy_power8 implementation.
4724         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4725         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4726         * NEWS: Update.
4728         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4729         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4730         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4733         strncat-power8 object.
4734         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4735         __strcat_power8 implementation.
4736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4737         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4738         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4739         optimized strcat for power8.
4741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4742         strcpy-power8 and stpcpy-power8 objects.
4743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4744         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4745         implementations.
4746         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4747         multiarch stpcpy implementation for POWER8.
4748         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4749         multiarch strcpy implementation for POWER8.
4750         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4751         __strcpy_power8 function.
4752         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4753         stpcpy for POWER8.
4754         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4755         strcpy for POWER8.
4756         * NEWS: Update.
4758 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
4760         [BZ #16009]
4761         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4762         weights and rules. Use do_xfrm_cached if data fits in cache,
4763         do_xfrm otherwise.  Moved former main loop to...
4764         * (do_xfrm_cached): New function.
4765         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4766         find_idx, find_position and stack_push.
4767         * (find_idx): New function.
4768         * (find_position): Likewise.
4769         * localedata/sort-test.sh: Added test run for do_xfrm.
4770         * localedata/xfrm-test.c (main): Added command line option
4771         -nocache to run the test with strings that are too large for
4772         the STRXFRM cache.
4774 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4776         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4777         variable to lll_futex_wake call, not the value itself.
4779 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4781         [BZ #17803]
4782         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4783         twom64.  Adjust value to 0x1p-64L.
4784         (__scalblnl): Only return standard underflowing result for K <=
4785         -64 not K <= -63; adjust exponent for underflowing result by 64
4786         not 63.
4787         * math/libm-test.inc (scalbn_test_data): Add more tests.
4788         (scalbln_test_data): Likewise.
4790         [BZ #17834]
4791         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4792         0x1p63L.
4793         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4794         not HX.
4795         * math/libm-test.inc (scalbn_test_data): Add more tests.
4796         (scalbln_test_data): Likewise.
4798 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4799             Stefani Seibold  <stefani@seibold.net>
4801         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4802         (sysdep_routines): Add dl-vdso here, ...
4803         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4804         (sysdep_routines): ... not here.
4805         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4806         fallback when vDSO is not presented.
4807         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4808         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4809         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4810         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4811         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4812         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4813         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4814         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4815         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4816         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4817         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4818         fallback configurable symbol when vDSO is not available.
4819         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4820         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4821         be able to redefine fallback symbol when vDSO is not available.
4822         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4823         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4825 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4827         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4828         (TLS_INIT_TP): Add tm_capable initialization.
4829         (TLS_DEFINE_INIT_TP): Likewise.
4830         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4831         TCB.
4832         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4833         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4834         calculation.
4835         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4836         transactoion is lock elision is built and TCB tm_capable is set.
4837         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4839         (INTERNAL_SYSCALL_NCS): Likewise.
4840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4841         (INTERNAL_SYSCALL_NCS): Likewise.
4842         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4844         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4845         for powerpc.
4846         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4847         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4848         and remove it for 32 bits case.
4849         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4851         initialization.
4852         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4853         Disable lock elision with rdlocks if elision is not available.
4855         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4856         (sysdep_routines): Add lock elision objects.
4857         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4858         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4859         [pthread_mutex_t] (__elision): Add field.
4860         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4861         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4862         elision definitions for powerpc.
4863         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4864         implementation of lock elision for powerpc.
4865         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4866         implementation of timed lock elision for powerpc.
4867         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4868         implementation of trylock with lock elision for powerpc.
4869         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4870         implementaion of unlock for lock elision for powerpc.
4871         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4872         automatic enable lock elision for mutexes.
4873         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4874         transaction execution definitions for powerpc.
4875         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4876         definitions.
4877         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4878         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4879         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4880         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4881         * NEWS: Update.
4883 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4885         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4886         for #include of <shm-directory.h>.
4888 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4890         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4891         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4893 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4895         [BZ #17791]
4896         * NEWS: Mention bug fix.
4897         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4898         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4899         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4901 2015-01-09  Torvald Riegel <triegel@redhat.com>
4903         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4905 2015-01-09  Torvald Riegel <triegel@redhat.com>
4907         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4909 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4911         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4912         pointer and cast to uintptr_t.
4914 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4916         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4917         removed.
4918         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4920 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4922         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4923         of 0.
4925 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4927         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4928         <nptl/pthreadP.h> instead.
4929         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4931         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4932         already defined.
4933         [__SIGRTMIN] (init): Function removed.
4934         [__SIGRTMIN] (initialized): Variable removed.
4935         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4936         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4937         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4938         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4939         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4940         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4941         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4942         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4943         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4944         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4945         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4946         * sysdeps/nptl/allocrtsig.c: New file.
4947         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4948         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4949         * sysdeps/generic/testrtsig.h: File removed.
4951         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4952         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4954         * nptl/nptl-init.c (pthread_functions): Conditionalize
4955         .ptr__nptl_setxid initialization on [SIGSETXID].
4957         * sysdeps/nptl/sys/procfs.h: New file.
4958         * nptl_db/Makefile (headers): Add it.
4959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4961         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4962         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4963         * nptl/pthread_attr_setaffinity.c: Include it.
4964         * nptl/pthread_setattr_default_np.c: Likewise.
4965         * nptl/check-cpuset.h: New file.
4967 2015-01-08  Richard Henderson  <rth@redhat.com>
4969         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4970         (CFLAGS-tst-execstack-prog.c): Likewise.
4971         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4973 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4974             Sandra Loosemore  <sandra@codesourcery.com>
4975             Andrew Jenner  <andrew@codesourcery.com>
4976             Joseph Myers  <joseph@codesourcery.com>
4977             Nathan Sidwell  <nathan@codesourcery.com>
4979         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4980         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4981         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4982         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4983         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4984         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4985         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4986         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4987         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4988         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4989         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4990         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4991         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4992         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4993         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4994         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4995         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4997 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4999         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5000         timespec struct member in syscall macro.
5001         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5002         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5003         first timeval struct member in syscall macro.
5004         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5006 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5008         [BZ #17748]
5009         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5010         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5011         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5012         __feupdateenv and define as weak alias of __feupdateenv.  Use
5013         libm_hidden_weak.
5014         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5015         libm_hidden_def.
5016         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5017         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5018         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5019         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5020         libm_hidden_def.
5021         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5022         __feupdateenv and define as weak alias of __feupdateenv.  Use
5023         libm_hidden_weak.
5024         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5025         libm_hidden_def.
5026         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5027         __feupdateenv and define as weak alias of __feupdateenv.  Use
5028         libm_hidden_weak.
5029         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5030         libm_hidden_def.
5031         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5032         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5033         (__feupdateenv): Likewise.
5034         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5035         __feupdateenv and define as weak alias of __feupdateenv.  Use
5036         libm_hidden_weak.
5037         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5038         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5039         libm_hidden_def.
5040         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5041         function.
5042         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5043         libm_hidden_def.
5044         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5045         __feupdateenv instead of feupdateenv.
5046         (default_libc_feupdateenv_test): Likewise.
5047         (libc_feresetround_ctx): Likewise.
5049 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5051         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5052         prototype.
5054 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5056         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5057         COLL_SYM in a couple of places to avoid uninitialized variable
5058         wanings on tilegx gcc 4.8.2.
5060 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5062         * sysdeps/aarch64/strcpy.S: New file.
5063         * sysdeps/aarch64/stpcpy.S: New file.
5064         * NEWS: Updated.
5066 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5068         * sysdeps/aarch64/strrchr.S: New file.
5069         * NEWS: Updated.
5071 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5073         [BZ #17658]
5074         * stdlib/setenv.c: Fix memory leak when setting large,
5075         duplicate string.
5077 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5079         [BZ #17273]
5080         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5081         and tabs from buffer before parsing fstab entry.
5082         * misc/tst-mntent.c (main): Add test for mount entry with
5083         trailing spaces and tabs.
5085 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5087         [BZ #17748]
5088         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5089         * math/fesetround.c (fesetround): Rename to __fesetround and
5090         define as weak alias of __fesetround.  Use libm_hidden_weak.
5091         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5092         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5093         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5094         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5095         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5096         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5097         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5098         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5099         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5100         __fesetround_inline.
5101         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5102         __fesetround_inline instead of __fesetround.
5103         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5104         __fesetround and define as weak alias of __fesetround.  Use
5105         libm_hidden_weak.  Call __fesetround_inline instead of
5106         __fesetround.
5107         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5108         __fesetround and define as weak alias of __fesetround.  Use
5109         libm_hidden_weak.
5110         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5111         Likewise.
5112         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5113         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5114         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5115         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5116         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5117         __fesetround and define as weak alias of __fesetround.  Use
5118         libm_hidden_weak.
5119         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5120         __fesetround instead of fesetround.
5121         (default_libc_feholdexcept_setround): Likewise.
5122         (libc_feholdsetround_ctx): Likewise.
5123         (libc_feholdsetround_noex_ctx): Likewise.
5125         [BZ #17748]
5126         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5127         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5128         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5129         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5130         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5131         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5132         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5133         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5134         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5135         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5136         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5137         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5138         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5139         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5140         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5141         libm_hidden_def.
5142         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5143         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5144         Likewise.
5145         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5146         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5147         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5148         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5149         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5150         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5151         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5152         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5153         __fesetenv instead of fesetenv.
5154         (libc_feresetround_noex_ctx): Likewise.
5155         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5156         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5157         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5158         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5159         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5160         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5161         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5162         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5163         (__feupdateenv): Likewise.
5164         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5165         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5166         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5167         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5169 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5171         [BZ #17806]
5172         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5173         addresses have been freed.
5175 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5177         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5178         and nservall.
5180 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5182         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5183         Clean up check_pf allocation pattern. addresses
5185 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5187         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5188         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5189         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5190         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5191         * nptl/pthread_join.c (pthread_join): Likewise.
5192         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5193         * sysdeps/posix/waitid.c (__waitid): Likewise.
5194         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5195         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5196         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5197         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5199         Likewise.
5200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5201         (__libc_pread64): Likewise.
5202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5203         (__libc_pwrite): Likewise.
5204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5205         (__libc_pwrite64): Likewsie.
5206         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5207         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5208         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5209         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5210         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5211         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5212         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5214         Likewise.
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5216         (__libc_pread64): Likewise.
5217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5218         Likewise.
5219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5220         (__libc_pwrite64): Likewise.
5221         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5222         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5223         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5224         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5225         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5226         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5227         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5228         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5229         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5230         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5231         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5232         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5233         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5234         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5235         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5236         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5237         Likewise.
5239 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5241         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5242         (CFLAGS-test-double.c): Likewise.
5243         (CFLAGS-test-ldouble.c): Likewise.
5244         (CPPFLAGS-test-ifloat.c): Likewise.
5245         (CPPFLAGS-test-idouble.c): Likewise.
5246         (CPPFLAGS-test-ildoubl.c): Likewise.
5247         (CFLAGS-test-test-fenv.c): Remove variable.
5248         (CFLAGS-test-misc.c): Likewise.
5250 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5252         [BZ #17797]
5253         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5254         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5255         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5256         CLOCKS_PER_SEC == 1000000.
5257         * time/clocktest.c (main): Replace %ld with %jd and cast to
5258         intmax_t.
5260 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5262         * sysdeps/generic/unwind-resume.h: New file.
5263         * sysdeps/gnu/unwind-resume.c: Include it.
5264         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5265         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5266         argument list.
5267         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5268         global rather than static.
5269         (_Unwind_Resume): Update user.
5270         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5271         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5272         rather than static.  Add __attribute__ ((cold)).
5273         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5274         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5275         * sysdeps/arm/arm-unwind-resume.S: New file.
5276         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5277         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5278         * sysdeps/arm/Makefile [$(subdir) = csu]
5279         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5280         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5281         Add rt-arm-unwind-resume.
5282         [$(subdir) = nptl]
5283         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5284         Add pt-arm-unwind-resume.
5285         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5286         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5288 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5290         [BZ #17748]
5291         * include/fenv.h (__feholdexcept): Declare.  Use
5292         libm_hidden_proto.
5293         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5294         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5295         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5296         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5297         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5298         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5299         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5300         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5301         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5302         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5303         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5304         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5305         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5306         (feholdexcept): Likewise.
5307         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5308         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5309         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5310         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5311         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5312         __feholdexcept instead of feholdexcept.
5313         (default_libc_feholdexcept_setround): Likewise.
5315 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5317         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5318         to avoid using stl/str to align destination.
5320 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5322         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5324 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5326         [BZ #17796]
5327         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5328         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5329         Define as weak alias not strong alias.
5331 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5333         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5334         bltzal with addiupc.
5335         (RTLD_START): Ditto.
5337 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5339         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5340         for __vdso_* functions in declarations.
5341         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5342         definitions.
5343         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5344         INTERNAL_VSYSCALL): Use struct return types to check for error.
5346         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5347         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5348         function with cast from llround().
5349         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5350         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5351         Define.
5353 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5355         [BZ #17793]
5356         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5357         Define as weak alias not strong alias.
5359         [BZ #17635]
5360         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5361         ...
5362         * ctype/ctype-extn.c: ... here.
5363         (__isblank_l): Move to ...
5364         * ctype/ctype-c99_l.c: ... here.  New file.
5365         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5366         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5367         Remove variable.
5368         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5369         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5370         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5371         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5372         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5374         [BZ #17777]
5375         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5376         (posix_fadvise64): Define as weak alias not strong alias.
5377         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5378         (posix_fallocate64): Likewise.
5379         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5380         Remove variable.
5381         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5382         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5383         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5384         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5385         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5387 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5389         [BZ #16191]
5390         * NEWS: Mention bug fix.
5391         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5392         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5393         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5394         (HOST_STACK_END_ADDR): Likewise.
5396 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #17748]
5399         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5400         * math/fegetround.c (fegetround): Rename to __fegetround and
5401         define as weak alias of __fegetround.  Use libm_hidden_weak.
5402         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5403         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5404         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5405         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5406         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5407         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5408         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5409         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5410         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5411         Undefine after rather than before function definition; use
5412         parentheses around function name in definition.
5413         (__fegetround): Also undefine macro after function definition.
5414         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5415         __fegetround and define as weak alias of __fegetround.  Use
5416         libm_hidden_weak.  Do not undefine as macro.
5417         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5418         Likewise.
5419         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5420         __fegetround and define as weak alias of __fegetround.  Use
5421         libm_hidden_weak.
5422         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5423         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5424         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5425         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5426         __fegetround and define as weak alias of __fegetround.  Use
5427         libm_hidden_weak.
5428         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5429         __fegetround instead of fegetround.
5431         [BZ #17782]
5432         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5433         Condition macro definition on [__USE_MISC].
5435         [BZ #17781]
5436         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5437         (struct sigaction): Change type of sa_flags field to int.
5439         [BZ #17780]
5440         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5441         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5442         __glibc_reserved0.
5444         * nptl/version.c (banner): Use single year in copyright notice.
5446         * NEWS: Update copyright dates.
5447         * catgets/gencat.c (print_version): Likewise.
5448         * csu/version.c (banner): Likewise.
5449         * debug/catchsegv.sh: Likewise.
5450         * debug/pcprofiledump.c (print_version): Likewise.
5451         * debug/xtrace.sh (do_version): Likewise.
5452         * elf/ldconfig.c (print_version): Likewise.
5453         * elf/ldd.bash.in: Likewise.
5454         * elf/pldd.c (print_version): Likewise.
5455         * elf/sotruss.sh: Likewise.
5456         * elf/sprof.c (print_version): Likewise.
5457         * iconv/iconv_prog.c (print_version): Likewise.
5458         * iconv/iconvconfig.c (print_version): Likewise.
5459         * locale/programs/locale.c (print_version): Likewise.
5460         * locale/programs/localedef.c (print_version): Likewise.
5461         * login/programs/pt_chown.c (print_version): Likewise.
5462         * malloc/memusage.sh (do_version): Likewise.
5463         * malloc/memusagestat.c (print_version): Likewise.
5464         * malloc/mtrace.pl: Likewise.
5465         * manual/libc.texinfo: Likewise.
5466         * nptl/version.c (banner): Likewise.
5467         * nscd/nscd.c (print_version): Likewise.
5468         * nss/getent.c (print_version): Likewise.
5469         * nss/makedb.c (print_version): Likewise.
5470         * posix/getconf.c (main): Likewise.
5471         * scripts/test-installation.pl: Likewise.
5472         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5474 2015-01-02  Will Newton  <will.newton@linaro.org>
5476         * sysdeps/arm/armv7/configure: Removed.
5477         * sysdeps/arm/armv7/configure.ac: Likewise.
5479 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5481         * All files with FSF copyright notices: Update copyright dates
5482         using scripts/update-copyrights.
5483         * intl/plural.c: Regenerated.
5484         * locale/programs/charmap-kw.h: Likewise.
5485         * locale/programs/locfile-kw.h: Likewise.
5487 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5489         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5491 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5493         [BZ #17748]
5494         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5495         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5496         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5497         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5498         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5499         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5500         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5501         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5502         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5503         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5504         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5505         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5506         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5507         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5508         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5509         libm_hidden_def.
5510         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5512         Likewise.
5513         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5514         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5515         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5516         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5517         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5518         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5519         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5520         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5521         __fegetenv instead of fegetenv.
5522         (libc_feholdsetround_noex_ctx): Likewise.
5524 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5526         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5527         (Elf_MIPS_ABIFlags_v0): New structure.
5528         (EF_MIPS_FP64): Define.
5529         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5530         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5531         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5532         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5533         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5534         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5535         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5536         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5537         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5538         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5539         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5540         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5541         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5542         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5543         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5544         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5545         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5546         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5547         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5548         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5549         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5550         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5551         field.
5552         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5553         EF_MIPS_FP64.
5554         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5555         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5556         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5557         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5558         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5559         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5560         * sysdeps/mips/tst-abi-interlink.c: Likewise.
5561         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5562         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5563         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5564         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5565         record the current FP ABI extension.
5566         (mips-mode-switch): Define to show if kernel headers support mode
5567         switching.
5568         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5569         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5570         supported SYSV ABI version to 3.
5571         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5572         feature.
5574 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5575             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5577         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5578         path.
5579         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5581 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5583         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5584         __fegetround and redefine to call __fegetround.  Remove condition
5585         on [!__NO_MATH_INLINES].
5586         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5587         function.
5588         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5589         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5590         Remove macro.
5591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5592         instead of <fenv_libc.h>.
5593         (__llrintl): Call fegetround instead of __fegetround.
5594         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5595         instead of <fenv_libc.h>.
5596         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5597         (__lrintl): Call fegetround instead of __fegetround.
5598         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5599         instead of <fenv_libc.h>.
5600         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5601         (__rintl): Call fegetround instead of __fegetround.
5603 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5605         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5606         arrays.
5608 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5610         [BZ #17775]
5611         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5612         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5613         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5615 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5617         * sysdeps/i386/tls-macros.h: Include <features.h>.
5618         (TLS_LE): Use non-PIC version for GCC >= 5.0.
5619         (TLS_IE): Likewise.
5620         (TLS_LD): Likewise.
5621         (TLS_GD): Likewise.
5622         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5623         define for GCC >= 5.0.
5625 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
5627         * math/test-fenv.c (test_single_exception, set_single_exc,
5628         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5629         feexcp_mask_test, feenable_test, fe_single_test): Add
5630         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5631         case where they are not used.
5632         * math/libm-test.inc: Likewise.
5633         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5634         unused in the absence of FP rounding/exception support.
5635         * stdio-common/tst-printf-round.c: Likewise.
5636         * stdlib/tst-strtod-round.c: Likewise.
5637         * stdlib/tst-strtod-underflow.c: Likewise.
5639 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
5641         [BZ #17723]
5642         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5643         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5644         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5645         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5646         libm_hidden_weak.
5647         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5648         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5649         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5650         libm_hidden_def.
5651         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5652         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5653         libm_hidden_weak.
5654         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5655         Likewise.
5656         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5657         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5658         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5659         libm_hidden_weak.
5660         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5661         libm_hidden_def.
5662         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5663         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5664         (__feraiseexcept): Likewise.
5665         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5666         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5667         libm_hidden_weak.
5668         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5669         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5670         libm_hidden_def.
5671         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5672         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5673         Use libm_hidden_def.
5674         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5675         libm_hidden_def.
5676         (feraiseexcept): Define as weak not strong alias.  Use
5677         libm_hidden_weak.
5678         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5679         New inline function.  Factored out of ...
5680         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
5681         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5682         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5683         feraiseexcept.
5684         * math/w_acos.c (__acos): Likewise.
5685         * math/w_asin.c (__asin): Likewise.
5686         * math/w_ilogb.c (__ilogb): Likewise.
5687         * math/w_j0.c (y0): Likewise.
5688         * math/w_j1.c (y1): Likewise.
5689         * math/w_jn.c (yn): Likewise.
5690         * math/w_log.c (__log): Likewise.
5691         * math/w_log10.c (__log10): Likewise.
5692         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5693         * sysdeps/aarch64/fpu/math_private.h
5694         (libc_feupdateenv_test_aarch64): Likewise.
5695         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5696         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5697         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5698         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5699         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5700         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5701         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5702         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5703         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5704         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5706 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5708         [BZ #17732]
5709         * io/test-utime.c (main): Replace %ld with %jd and cast to
5710         intmax_t.
5711         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5712         * nptl/tst-mutex5.c: Include <stdint.h>.
5713         (do_test): Replace %ld with %jd and cast to intmax_t.
5714         * posix/tst-regex.c (run_test): Likewise.
5715         (run_test_backwards): Likewise.
5716         * rt/tst-clock.c: Include <stdint.h>.
5717         (clock_test): Replace %ld with %jd and cast to intmax_t.
5718         * rt/tst-cpuclock1.c: Include <stdint.h>.
5719         (do_test): Replace %lu with %ju and cast to uintmax_t.
5720         * rt/tst-cpuclock2.c: Include <stdint.h>.
5721         (do_test): Replace %lu with %ju and cast to uintmax_t.
5722         * rt/tst-mqueue1.c: Include <stdint.h>.
5723         (check_attrs): Replace %ld with %jd and cast to intmax_t.
5724         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5725         intmax_t.
5726         * rt/tst-mqueue4.c (do_test): Likewise.
5727         * rt/tst-timer4.c: Include <stdint.h>.
5728         (check_ts): Replace %ld with %jd and cast to intmax_t.
5729         (do_test): Likewise.
5730         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5731         and cast to intmax_t.
5732         * sysdeps/pthread/tst-timer.c (main): Likewise.
5733         * time/clocktest.c (main): Likewise.
5734         * time/tst-posixtz.c (do_test): Likewise.
5735         * timezone/tst-timezone.c (main): Likewise.
5737 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5738             H.J. Lu  <hongjiu.lu@intel.com>
5740         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5741         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5742         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5743         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5744         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5745         version if bit_Fast_Unaligned_Load is set.
5746         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5747         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5748         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5749         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5750         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5751         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5753         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5754         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5755         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5756         to 4.
5757         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5758         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5759         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5760         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5762 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5764         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5765         instead of #if to avoid a Wundef warning.
5766         * stdlib/tst-limits.c (do_test): Likewise.
5768         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5769         parallel other exception macros.
5770         (fegetenv): Convert from macro to extern inline so that it applies
5771         retroactively to inline functions already seen by the compiler.
5772         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5774         * posix/Makefile (before-compile): Use $(objpfx) for
5775         posix-conf-vars-def.h.
5777 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5779         * posix/getconf.c (main): Use size_t for type of I.
5780         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5781         NSPEC.
5783         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5784         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5785         * posix/posix-envs.def: Likewise.
5786         * sysdeps/posix/sysconf.c: Likewise.
5787         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5788         (specs): Remove array.
5789         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5790         array.
5792         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5793         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5794         (__sysconf): Use CONF_IS_* macros.
5796         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5797         ($(objpfx)posix-conf-vars-def.h): New target.
5798         * posix/posix-conf-vars.list: New file.
5799         * posix/posix-conf-vars.h: New file.
5800         * posix/confstr.c: Include posix-conf-vars.h.
5801         (confstr): Use CONF_IS_* macros.
5802         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5803         CONF_IS_* macros.
5804         * scripts/gen-posix-conf-vars.awk: New file.
5806 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5808         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5809         fegetround): Add no-op macros to avoid linknamespace issues.
5811         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5812         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5814         * sysdeps/unix/sysv/linux/tile/sysdep.h
5815         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5816         assembly-specific section to avoid a redefinition warning.
5818         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5819         long before casting to pointer to avoid a cast warning.
5821 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5823         * sysdeps/tile/tilegx/Implies: New file.
5825 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5827         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5829 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5831         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5833 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5836         not define.
5837         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5838         <kernel-features.h>.
5839         (__utimes) [__NR_utimes]: Make code unconditional.
5840         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5841         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5842         (__ASSUME_UTIMES): Do not undefine.
5843         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5844         (__ASSUME_UTIMES): Likewise.
5845         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5846         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5847         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5848         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5850 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5852         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5854 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5856         [BZ #17747]
5857         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5858         alias to weak alias for j0l, y0l.
5859         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5860         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5862         [BZ #17746]
5863         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5864         conversion.
5866 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5868         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5869         to zero if not already defined.
5871 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #17724]
5874         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5875         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5876         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5877         (char *) casts added.
5878         * sysdeps/ieee754/k_standardf.c: New file.
5879         * sysdeps/ieee754/k_standardl.c: Likewise.
5880         * math/Makefile (libm-support): Remove k_standard.
5881         (libm-calls): Add k_standard.
5883 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5885         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5886         Optimize to avoid an unnecessary FPCR read.
5888 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5890         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5891         Optimize to reduce FPCR/FPSR accesses.
5893 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5895         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5896         Call libc_fetestexcept_aarch64.
5898 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5900         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5901         Call libc_fesetround_aarch64.
5903 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #17733]
5906         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5907         (__bind): Do not define as weak alias.
5908         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5909         define.
5910         (__getsockname): Do not define as weak alias.
5912 2014-12-22  Will Newton  <will.newton@linaro.org>
5914         * manual/install.texi: Document that we require bison 2.7
5915         or above.
5916         * INSTALL: Regenerate.
5917         * configure.ac: Use AC_CHECK_PROG_VER instead of
5918         AC_PATH_PROG when checking for bison and check for
5919         version 2.7 or above.
5920         * configure: Regenerate.
5922 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5924         [BZ #17745]
5925         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5926         * sysdeps/tile/ffsll.c (ffsll): To here.
5928         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5930 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5932         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5933         if not defined.
5934         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5935         definition.
5936         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5937         hidden ___tls_get_addr.
5938         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5939         hidden __tls_get_addr.
5940         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5941         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5942         Likewise.
5944 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5946         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5947         _dl_init call.
5949 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5951         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5952         from "call _dl_init@PLT".
5953         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5955 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5957         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5958         guarantees.
5960 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5962         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5964 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5966         [BZ #17744]
5967         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5968         strnlen.
5970 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5972         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5973         of multu on MIPSr6.
5974         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5975         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5976         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5977         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5978         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5980 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5982         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5983         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5984         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5985         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5986         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5987         mips32r6/mips64r6.
5988         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5990 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5992         * string/strncat.c (STRNCAT): Simplify implementation.
5994 2014-12-19  David S. Miller  <davem@davemloft.net>
5996         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5997         access the quad as both a long double and as a series of 4 words.
5999         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6000         link_map->l_info array access.
6002 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6004         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6006         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6007         * math/atest-exp2.c (TIMEOUT): Likewise.
6008         * math/atest-sincos.c (TIMEOUT): Likewise.
6010 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6012         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6013         -Wno-error with -fno-builtin-lround.
6015 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6017         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6018         Contains futex constants and functions moved over from ...
6019         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6020         <lowlevellock-futex.h>.
6021         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6022         (lll_timedwait_tid): Add comments and parentheses around macro
6023         arguments.
6025 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6027         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6028         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6029         (__lll_private_flag): Remove.
6030         (lll_futex_wait): Likewise.
6031         (lll_futex_timed_wait): Likewise.
6032         (lll_futex_wake): Likewise.
6033         (lll_futex_requeue): Likewise.
6034         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6035         (__lll_timedwait_tid): Spell out argument names.
6036         (lll_timedwait_tid): Add comments and parentheses around macro
6037         arguments.
6038         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6039         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6041 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6043         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6044         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6045         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6046         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6047         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6048         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6049         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6050         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6051         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6052         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6053         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6054         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6055         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6056         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6057         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6058         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6059         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6060         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6061         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6063 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6065         * sysdeps/x86_64/x32/Makefile: New file.
6067 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6069         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6070         1L with (mp_limb_t) 1.
6072 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6074         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6075         * nptl/libc_pthread_init.c: ... here.
6076         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6077         * nptl/register-atfork.c: ... here.
6079         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6080         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6081         Use assert_perror to check its return value.
6082         (__gai_create_helper_thread): Likewise.
6084         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6086         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6088 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6090         [BZ #17725]
6091         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6092         __profil_counter.
6093         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6094         Likewise.
6095         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6096         Likewise.
6097         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6098         Likewise.
6099         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6100         (profil_counter): Likewise.
6101         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6102         (profil_counter): Likewise.
6103         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6104         Likewise.
6105         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6106         Likewise.
6107         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6108         (profil_counter): Likewise.
6109         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6110         Likewise.
6111         [!__profil_counter] (profil_counter): Define as weak alias of
6112         __profil_counter.
6113         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6114         (profil_counter): Rename to __profil_counter.
6115         [!__profil_counter] (profil_counter): Define as weak alias of
6116         __profil_counter.
6117         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6118         (profil_counter): Rename to __profil_counter.
6119         [!__profil_counter] (profil_counter): Define as weak alias of
6120         __profil_counter.
6121         * sysdeps/posix/profil.c: Update comment referring to
6122         profil_counter.
6123         (__profil): Use __profil_counter instead of profil_counter.
6124         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6125         __profil_counter.  Use __profil_counter_ushort and
6126         __profil_counter_uint in definitions.
6127         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6128         instead of profil_counter_uint and profil_counter_ushort.
6130         [BZ #17722]
6131         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6132         define as weak alias of __inet_makeaddr.
6133         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6134         as weak alias of __inet_addr.
6135         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6136         as weak alias of __inet_pton.  Use libc_hidden_weak.
6137         * include/arpa/inet.h (__inet_pton): Declare.  Use
6138         libc_hidden_proto.
6139         (inet_makeaddr): Don't use libc_hidden_proto.
6140         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6141         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6142         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6143         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6144         Remove variable.
6145         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6146         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6148 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6150         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6152 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6154         * stdio-common/bug-vfprintf-nargs.c (do_test):
6155         Cast value to intptr_t to avoid format warning
6156         for usage with PRIdPTR printing macro.
6158 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6160         * libio/tst-widetext.c (do_test):
6161         Use format type %td instead of %Zd for ptrdiff_t
6162         in order to avoid format warning.
6164 2014-12-17  Andreas Schwab  <schwab@suse.de>
6166         * nscd/mem.c (gc): Add size_t cast to match printf format.
6168 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6170         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6171         (init): Apply PTR_MANGLE to pointers before storing them.
6172         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6173         before using them.
6175 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6177         [BZ #17719]
6178         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6179         define as weak alias of __memrchr.
6180         (__memrchr): Do not define as strong alias of memrchr.
6181         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6182         Remove variable.
6183         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6184         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6185         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6187         [BZ #17717]
6188         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6189         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6190         (if_indextoname): Rename to __if_indextoname and define as weak
6191         alias of __if_indextoname.  Use libc_hidden_weak.
6192         (if_freenameindex): Rename to __if_freenameindex and define as
6193         weak alias of __if_freenameindex.
6194         (if_nameindex): Rename to __if_nameindex and define as weak alias
6195         of __if_nameindex.
6196         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6197         __if_nametoindex and define as weak alias of __if_nametoindex.
6198         Use libc_hidden_weak.
6199         (if_freenameindex): Rename to __if_freenameindex and define as
6200         weak alias of __if_freenameindex.
6201         (if_nameindex): Rename to __if_nameindex and define as weak alias
6202         of __if_nameindex.
6203         (if_indextoname): Rename to __if_indextoname and define as weak
6204         alias of __if_indextoname.  Use libc_hidden_weak.
6205         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6206         __if_nametoindex and define as weak alias of __if_nametoindex.
6207         Use libc_hidden_weak.
6208         (if_freenameindex): Rename to __if_freenameindex and define as
6209         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6210         (if_nameindex_netlink): Use __if_freenameindex instead of
6211         if_freenameindex.
6212         (if_nameindex): Rename to __if_nameindex and define as weak alias
6213         of __if_nameindex.  Use libc_hidden_weak.
6214         (if_indextoname): Rename to __if_indextoname and define as weak
6215         alias of __if_indextoname.  Use libc_hidden_weak.
6216         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6217         libc_hidden_proto.
6218         [!_ISOMAC] (__if_freenameindex): Likewise.
6219         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6220         if_nametoindex.
6221         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6222         variable.
6223         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6224         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6225         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6226         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6227         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6228         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6229         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6231         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6232         Remove variable.
6233         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6234         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6236 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6238         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6239         subscript above bounds'
6241         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6242         bounds.
6244 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6246         * libio/tst-fopenloc.c: Use test-skeleton.c.
6248         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6249         (entry): Rename to ITEM.
6250         (do_test, comp): Adjust.
6252         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6254 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6256         * string/tester.c: Include <libc-internal.h>.
6257         (test_memset): Ignore -Wmemset-transposed-args.
6259 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6261         * misc/tst-mntent2.c (do_test): Fix warning.
6263 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6265         * elf/tst-unique4lib.cc(a): Mark as used.
6267 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6269         [BZ #17630]
6270         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6271         names.
6273 2014-12-16  Allan McRae  <allan@archlinux.org>
6275         * stdio-common/Makefile (tests): Re-add bug26.
6277 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6279         [BZ #17657]
6280         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6281         static array.
6283 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6285         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6286         (__lll_lock_wait): Likewise.
6287         (__lll_timedlock_wait): Likewise.
6288         (__lll_timedwait_tid): Likewise.
6289         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6290         (__lll_robust_timedlock_wait): Likewise.
6291         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6292         (lll_cond_trylock): Likewise.
6293         (__lll_lock): Likewise.
6294         (__lll_robust_lock): Likewise.
6295         (__lll_cond_lock): Likewise.
6296         (lll_robust_cond_lock): Likewise.
6297         (__lll_timedlock): Likewise.
6298         (__lll_robust_timedlock): Likewise.
6299         (__lll_unlock): Likewise.
6300         (__lll_robust_unlock): Likewise.
6301         (lll_wait_tid): Likewise.
6302         (lll_timedwait_tid): Likewise.
6304 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6306         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6308 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6310         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6312 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6314         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6315         * stdio-common/tst-sprintf.c: Likewise.
6317 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6319         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6321 2014-12-15  Jeff Law  <law@redhat.com>
6323         [BZ #16617]
6324         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6325         on the heap.  (CVE-2012-3406)
6326         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6327         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6328         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6330 2014-12-15  Will Newton  <will.newton@linaro.org>
6332         * manual/install.texi: Bump required version of texinfo
6333         to 4.7 from 4.5.
6334         * INSTALL: Regenerated.
6335         * configure.ac: Check for makeinfo version 4.7 and above.
6336         * configure: Regenerated.
6338 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6340         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6341         PREFIX, string constant to insert between directory and name.
6342         * sysdeps/posix/shm_open.c: Update caller.
6343         * sysdeps/posix/shm_unlink.c: Likewise.
6344         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6345         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6346         (SEM_SHM_PREFIX): New macro.
6347         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6348         [$(have-thread-library) = no].
6349         * nptl/Makefile (libpthread-routines): Add shm-directory.
6350         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6351         * sysdeps/nptl/shm-directory.h: New file.
6352         * sysdeps/posix/shm-directory.c
6353         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6354         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6355         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6356         INTERNAL_SYSCALL.
6357         (__where_is_shmfs): Function removed.
6358         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6359         Variables removed.
6360         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6361         Use SHM_GET_NAME.
6362         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6364         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6365         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6366         unconditional for use inside libpthread.
6367         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6369 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6371         * nptl/pthread_getaffinity.c: New file.
6372         * nptl/pthread_setaffinity.c: New file.
6373         * nptl/pthread_getname.c: New file.
6374         * nptl/pthread_setname.c: New file.
6376         * nptl/pthread_create.c (START_THREAD_DEFN)
6377         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6379 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6380             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6382         * resolv/res_send.c (send_vc): Disable warning resplen may
6383         be used uninitialized.
6385 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6387         * nptl/tst-mutex6.c
6388         (ATTR_NULL): New define checks ATTR against NULL.
6389         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6390         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6392 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6394         [BZ #17581]
6395         * malloc/hooks.c
6396         (mem2mem_check): Revert my previous change.
6397         (malloc_check_get_size): Revert my previous change.
6398         (mem2chunk_check): Revert my previous change.
6400 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6402         * sysdeps/posix/shm-directory.c: New file.
6403         * sysdeps/posix/shm-directory.h: New file.
6404         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6405         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6406         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6407         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6408         Transmute EPERM to EACCES.
6409         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6410         from ...
6411         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6412         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6414 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6416         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6417         pointer and cast to uintptr_t.
6418         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6419         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6420         Add cast to avoid warning.
6421         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6423 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6425         * nptl/semaphore.h: Move to ...
6426         * sysdeps/pthread/semaphore.h: ... here.
6427         * Makefile (installed-headers): Change nptl/semaphore.h to
6428         sysdeps/pthread/semaphore.h.
6430 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6432         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6433         generated error format strings.
6435         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6436         -Wformat-extra-args warnings for scanf formats.
6437         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6438         test of zero-length format (duh).
6439         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6440         corner-case scanf format test.
6441         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6442         generated fprintf format string.
6443         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6444         corner-case sprintf format tests.
6445         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6446         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6447         -Wformat-extra-args warnings throughout.
6448         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6449         (CFLAGS-scanf4.c): Likewise.
6450         (CFLAGS-scanf7.c): Likewise.
6451         (CFLAGS-tst-sprintf.c): Likewise.
6452         (CFLAGS-tst-printf.c): Likewise.
6453         (CFLAGS-tst-printfsz.c): Likewise.
6455 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6457         * include/cpio.h: New file.
6458         * include/fmtmsg.h: Likewise.
6460         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6461         corresponding format argument to size_t.
6462         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6463         arguments.
6464         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6465         corresponding format argument to size_t.
6466         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6467         arguments.
6468         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6469         corresponding format argument to size_t.
6470         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6471         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6472         (CFLAGS-tst-mbswcs2.c): Likewise.
6473         (CFLAGS-tst-mbswcs3.c): Likewise.
6474         (CFLAGS-tst-mbswcs4.c): Likewise.
6475         (CFLAGS-tst-mbswcs5.c): Likewise.
6476         (CFLAGS-tst-trans.c): Likewise
6478 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6480         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6481         rather than assuming they won't contain any '%'s.
6483 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6485         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6486         inhibit_loop_to_libcall to avoid recursive calls.
6487         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6488         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6490 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6492         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6493         prototype.
6495 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6497         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6498         integer value instead of boolean.
6500 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6502         * malloc/malloc.c: Fix powerof2 check.
6504 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6506         * locale/programs/locfile.h (maybe_swap_uint32):
6507         Remove inline and add unused attribute.
6509 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6511         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6512         Truncating assembler expression to a .long expression.
6514 2014-12-11  Andreas Schwab  <schwab@suse.de>
6516         * elf/rtld.c (struct map_args): Constify str member.
6517         (do_preload): Constify fname argument.
6519 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6521         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6522         constants definition.
6524 2014-12-11  Andreas Schwab  <schwab@suse.de>
6526         [BZ #16657]
6527         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6528         FORCE_ELISION instead of DO_ELISION.
6529         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6530         Remove.
6531         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6532         Likewise.
6534         * iconvdata/gconv-modules: Remove duplicate entry.
6536 2014-12-11  Will Newton  <will.newton@linaro.org>
6538         Merge gettext 0.19.3 into intl/.
6540         This involves a number of cosmetic changes to comments
6541         and ANSI function definitions and prototypes throughout
6542         all the files. The gettext copyright header is used but
6543         with the date ranges taken from the glibc copy.
6545         * NEWS: Add gettext merge to 2.21.
6546         * intl/bindtextdom.c: Switch to gettext copyright.
6547         Use ANSI definitions and prototypes.
6548         Use gl_* locking primitives rather than __libc_* ones.
6549         Use __builtin_expect rather than __glibc_likely/unlikely.
6550         * intl/dcgettext.c: Switch to gettext copyright.
6551         Use ANSI definitions and prototypes.
6552         * intl/dcigettext.c: Switch to gettext copyright.
6553         Use ANSI definitions and prototypes.
6554         (INTDIV0_RAISES_SIGFPE): New define.
6555         Use gl_* locking primitives rather than __libc_* ones.
6556         Include eval-plural.h instead of plural-eval.c.
6557         Use __builtin_expect rather than __glibc_likely/unlikely.
6558         * intl/dcngettext.c: Switch to gettext copyright.
6559         Use ANSI definitions and prototypes.
6560         * intl/dgettext.c: Likewise.
6561         * intl/dngettext.c: Likewise.
6562         * intl/plural-eval.c: Renamed to...
6563         * intl/eval-plural.h: ...this.
6564         * intl/explodename.c: Switch to gettext copyright.
6565         Use ANSI definitions and prototypes.
6566         (_nl_explode_name): Use strchr instead of __rawmemchr.
6567         * intl/finddomain.c: Switch to gettext copyright.
6568         Use ANSI definitions and prototypes.
6569         Use gl_* locking primitives rather than __libc_* ones.
6570         (_nl_find_domain): Use malloc rather than alloca for
6571         allocation of temporary locale name.
6572         * intl/gettext.c: Switch to gettext copyright.
6573         Use ANSI definitions and prototypes.
6574         * intl/gettextP.h: Switch to gettext copyright.
6575         Use ANSI definitions and prototypes.
6576         Use gl_* locking primitives rather than __libc_* ones.
6577         * intl/gmo.h: Switch to gettext copyright.
6578         (struct sysdep_string): Move struct segment_pair outside of
6579         struct definition.
6580         * intl/hash-string.c: Use ANSI definitions and prototypes.
6581         * intl/hash-string.h: Switch to gettext copyright.
6582         Use ANSI definitions and prototypes.
6583         * intl/l10nflist.c: Switch to gettext copyright.
6584         Use ANSI definitions and prototypes.
6585         (_nl_normalize_codeset): Avoid integer overflow.
6586         * intl/loadinfo.h: Switch to gettext copyright.
6587         Use ANSI definitions and prototypes.
6588         (LIBINTL_DLL_EXPORTED): New define.
6589         (PATH_SEPARATOR): New define.
6590         * intl/loadmsgcat.c: Switch to gettext copyright.
6591         * intl/localealias.c: Switch to gettext copyright.
6592         Use ANSI definitions and prototypes.
6593         (_nl_expand_alias): Use PATH_SEPARATOR.
6594         * intl/ngettext.c: Switch to gettext copyright.
6595         Use ANSI definitions and prototypes.
6596         * intl/plural-exp.c: Likewise.
6597         * intl/plural-exp.h: Switch to gettext copyright.
6598         Use ANSI definitions and prototypes.
6599         (struct expression): Move definition of enum operator outside
6600         of struct definition.
6601         * intl/plural.c: Regenerate.
6602         * intl/plural.y: Switch to gettext copyright.
6603         Use ANSI definitions and prototypes.
6604         Port to bison 3.0.
6605         * intl/textdomain.c: Switch to gettext copyright.
6606         Use ANSI definitions and prototypes.
6607         Use gl_* locking primitives rather than __libc_* ones.
6609 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
6611         * debug/warning-nop.c: Add used atrribute.
6613 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6615         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6617         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6618         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6619         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6621 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6622             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6624         [BZ #17634]
6625         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6626         Undefine after defining function.  Define as weak alias of
6627         __wcschr.  Use libc_hidden_weak.
6628         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
6629         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6630         (libc_hidden_def): Also define __GI___wcschr alias.
6631         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6632         __wcschr and define as weak alias of __wcschr.
6633         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6634         __wcschr.
6635         [!WCSCHR] (DEFAULT_WCSCHR): Define.
6636         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6637         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
6638         libc_hidden_weak.  Do not use libc_hidden_def.
6639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6640         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6641         __GI___wcschr alias.
6642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6643         [IS_IN (libc)] (wcschr): Define as macro expanding to
6644         __redirect_wcschr.
6645         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6646         [IS_IN (libc)] (__wcschr_power6): Likewise.
6647         [IS_IN (libc)] (__wcschr_power7): Likewise.
6648         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
6649         instead of wcschr.
6650         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6651         __libc_wcschr.
6652         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6653         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6654         __wcschr and define as weak alias of __wcschr.  Use
6655         libc_hidden_builtin_def.
6656         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6657         as weak alias of __wcschr.  Use libc_hidden_weak.
6658         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6659         wcschr.
6660         * time/era.c (_nl_init_era_entries): Likewise.
6661         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6662         variable.
6663         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6664         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6666 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6668         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6669         format for long int variable.
6671 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
6673         [BZ #10672]
6674         * manual/search.texi: (Array Sort Function): Remove claim how to make
6675         qsort stable.
6677 2014-12-10  Andreas Schwab  <schwab@suse.de>
6679         [BZ #12847]
6680         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6681         user-controlled locks.
6683 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
6685         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6686         register.
6688 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6690         * configure.ac (--disable-werror): New configure option.
6691         (enable_werror): New AC_SUBST.
6692         * configure: Regenerated.
6693         * config.make.in (enable-werror): New variable.
6694         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6695         -Wno-error=undef.
6696         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6697         * manual/install.texi (Configuring and compiling): Document
6698         --disable-werror.
6699         * INSTALL: Regenerated.
6700         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6701         (CFLAGS-tst-chk2.c): Likewise.
6702         (CFLAGS-tst-chk3.c): Likewise.
6703         (CFLAGS-tst-chk4.cc): Likewise.
6704         (CFLAGS-tst-chk5.cc): Likewise.
6705         (CFLAGS-tst-chk6.cc): Likewise.
6706         (CFLAGS-tst-lfschk1.c): Likewise.
6707         (CFLAGS-tst-lfschk2.c): Likewise.
6708         (CFLAGS-tst-lfschk3.c): Likewise.
6709         (CFLAGS-tst-lfschk4.cc): Likewise.
6710         (CFLAGS-tst-lfschk5.cc): Likewise.
6711         (CFLAGS-tst-lfschk6.cc): Likewise.
6713         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6714         (main): Disable -Wdeprecated-declarations around calls to
6715         register_printf_function.
6717         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6718         (do_test): Disable -Wdiv-by-zero around some calls to
6719         fwrite_unlocked and fread_unlocked.
6721         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6722         (DIAG_POP_NEEDS_COMMENT): Likewise.
6723         (_DIAG_STR1): Likewise.
6724         (_DIAG_STR): Likewise.
6725         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6726         * stdio-common/bug21.c: Include <libc-internal.h>.
6727         (do_test): Disable -Wformat around call to sscanf.
6728         * stdio-common/scanf14.c: Include <libc-internal.h>.
6729         (main): Disable -Wformat around some calls to scanf functions.
6731 2014-12-09  Torvald Riegel  <triegel@redhat.com>
6733         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6735 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6737         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6738         stack variable alignment.
6740 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
6742         [BZ #17682]
6743         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6744         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6745         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6746         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6747         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6748         __getrlimit instead of getrlimit.
6749         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6750         __gettimeofday instead of gettimeofday.
6751         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6752         Likewise.
6753         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6754         Likewise.
6755         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6756         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6757         Remove variable.
6758         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6759         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6761 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6763         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6764         for wide-character tests.
6766 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6768         * io/openat64.c: #include <libc-internal.h>
6769         (__openat64): Prototypify.  Use ignore_value on MODE.
6770         * io/openat.c: Likewise.
6771         * misc/reboot.c: #include <libc-internal.h>
6772         (reboot): Prototypify.  Use ignore_value on HOWTO.
6773         * misc/ptrace.c: #include <libc-internal.h>
6774         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6776 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6778         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6779         XPG4, UNIX98 and XOPEN2K.
6780         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6781         Remove variable.
6782         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6784 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6786         * libio/fileops.c: Use ISO C style for function definitions.
6787         * libio/iofopen.c: Likewise.
6788         * libio/wfileops.c: Likewise.
6790         [BZ #17653]
6791         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6792         offset on EOF.
6793         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6794         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6795         (fgets_func): Function pointer to fgets and fgetws.
6796         (do_ftell_test): Add test to verify ftell value after read
6797         EOF.
6798         (do_test): Set fgets_func.
6800         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6801         O_TRUNC flag for w and w+ modes.
6802         (do_rewind_test): Likewise.
6803         (do_ftell_test): Likewise.
6804         (do_write_test): Likewise.
6806         [BZ #17647]
6807         * libio/fileops.c (do_ftell): Seek only when there are
6808         unflushed writes.
6809         * libio/wfileops.c (do_ftell_wide): Likewise.
6810         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6811         test case.
6812         (do_one_test): Call it.
6814 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6816         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6817         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6818         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6819         Remove variable.
6820         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6821         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6822         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6824 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6826         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6827         Remove variable.
6828         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6830         [BZ #17668]
6831         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6832         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6833         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6834         __freeifaddrs.  Use libc_hidden_weak.
6835         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6836         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6837         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6838         __freeifaddrs.  Use libc_hidden_weak.
6839         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6840         __getifaddrs and define as weak alias of __getifaddrs.  Use
6841         libc_hidden_weak.
6842         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6843         __freeifaddrs.  Use libc_hidden_weak.
6844         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6845         Remove variable.
6846         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6847         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6849 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6851         [BZ #17601]
6852         * sysdeps/mips/start.S (__start): Use indirect jump to call
6853         __libc_start_main.
6855 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6857         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6859         * nptl/tst-mutex1.c: Include <stdbool.h>.
6860         [!ATTR] (ATTR_NULL): New macro.
6861         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6862         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6863         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6865         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6866         to char *.
6868         [BZ #17665]
6869         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6870         Change conditional to [__USE_MISC].
6872         [BZ #17664]
6873         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6874         fgets_unlocked.
6875         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6876         __fgets_unlocked.
6877         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6878         fgets_unlocked.
6879         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6880         Remove variable.
6881         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6882         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6883         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6884         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6885         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6886         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6887         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6888         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6889         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6891         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6893 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6895         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6896         Remove strpbrk objects.
6897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6898         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6899         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6901         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6902         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6905         Remove strcspn objects.
6906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6907         (__libc_ifunc_impl_list): Remove strcspn implementation.
6908         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6909         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6910         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6911         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6914         Remove strspn objetcs.
6915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6916         (__libc_ifunc_impl_list): Remove strspn implementation.
6917         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6918         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6919         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6920         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6922 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6924         [BZ #17581]
6925         * malloc/hooks.c
6926         (mem2mem_check): Add a terminator to the chain of checking blocks.
6927         (malloc_check_get_size): Use it here.
6928         (mem2chunk_check): Ditto.
6930 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6932         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6933         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6935 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6937         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6939         * nptl/nptl-init.c: Include libc-internal.h.
6940         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6942         * elf/ldconfig.c (search_dir): Expand comment.
6944 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6946         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6947         variable.
6948         (linknamespace-symlist-stdlibs-tests): Likewise.
6949         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6950         instead of $(objpfx)symlist-stdlibs.
6951         (linknamespace-libs-isoc): New variable.
6952         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6953         (linknamespace-libs-ISO): New variable.
6954         (linknamespace-libs-ISO99): Likewise.
6955         (linknamespace-libs-ISO11): Likewise.
6956         (linknamespace-libs-XPG3): Likewise.
6957         (linknamespace-libs-XPG4): Likewise.
6958         (linknamespace-libs-POSIX): Likewise.
6959         (linknamespace-libs-UNIX98): Likewise.
6960         (linknamespace-libs-XOPEN2K): Likewise.
6961         (linknamespace-libs-POSIX2008): Likewise.
6962         (linknamespace-libs-XOPEN2K8): Likewise.
6963         ($(objpfx)symlist-stdlibs): Replace by
6964         $(linknamespace-symlist-stdlibs-tests).  Use
6965         $(linknamespace-libs-$*) as set of libraries.
6966         ($(linknamespace-header-tests)): Update dependencies.  Use
6967         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6968         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6969         * conform/linknamespace.pl: Remove comment about considering
6970         definitions of symbols from irrelevant libraries.
6972 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6974         [BZ #13862]
6975         * elf/dl-tls.c: Include <atomic.h>.
6976         (oom): Remove #ifdef SHARED/#endif.
6977         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6978         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6979         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6980         big enough.
6981         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6982         * nptl/Makefile (tests): Add tst-stack4.
6983         (modules-names): Add tst-stack4mod.
6984         ($(objpfx)tst-stack4): New.
6985         (tst-stack4mod.sos): Likewise.
6986         ($(objpfx)tst-stack4.out): Likewise.
6987         ($(tst-stack4mod.sos)): Likewise.
6988         (clean): Likewise.
6989         * nptl/tst-stack4.c: New file.
6990         * nptl/tst-stack4mod.c: Likewise.
6992 2014-11-27  J. Brown  <jb999@gmx.de>
6994         * sysdeps/x86/bits/string.h: Add recent CPUs.
6996 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6998         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6999         sigblock.
7001         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7002         feof.
7004         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7005         variable.
7007 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7009         * nscd/connections.c: Include libc-internal.h because of macro
7010         usage ignore_value.
7012 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7014         * string/bits/string3.h (__warn_memset_zero_len): Don't
7015         declare for gcc newer than 5.0.
7016         (memset): Don't test for zero-length __LEN for gcc newer than
7017         5.0.
7019 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7021         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7022         size_t for %zu format.
7024         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7025         difference, not %ju.
7027 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7029         * include/libc-internal.h (ignore_value): New macro.
7030         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7031         with ignore_value.
7033         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7034         definition.
7036         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7037         pthread_cleanup_push to void *.
7039         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7040         Undefine.
7042         [BZ #16619]
7043         [BZ #16740]
7044         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7045         instead of 1L << 52.
7047         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7048         * libio/bug-rewind2.c (do_test): Likewise.
7050         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7051         * debug/test-strcpy_chk-ifunc.c: Likewise.
7052         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7053         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7054         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7055         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7056         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7057         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7058         * Rules [$(multi-arch) = no] (tests): Do not filter out
7059         $(tests-ifunc).
7060         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7061         * debug/Makefile (tests-ifunc): Remove variable.
7062         (tests): Do not add $(tests-ifunc).
7063         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7064         (tests): Do not add $(tests-ifunc).
7065         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7066         [TEST_IFUNC]: Remove conditionals.
7067         * string/test-string.h (TEST_IFUNC): Remove macro.
7068         [TEST_IFUNC]: Remove conditionals.
7070         * string/test-strchr.c [!WIDE] (L): New macro.
7071         [WIDE] (L): Likewise.
7072         (check1): Use CHAR instead of char.  Use L on string and character
7073         constants.
7075 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7077         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7078         tests.
7079         * sysdeps/powerpc/bits/atomic.h
7080         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7081         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7082         (atomic_exchange_and_add_acq): Likewise.
7083         (atomic_exchange_and_add_rel): Likewise.
7084         * sysdeps/powerpc/powerpc32/bits/atomic.h
7085         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7086         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7087         * sysdeps/powerpc/powerpc64/bits/atomic.h
7088         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7089         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7091 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7093         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7094         Change synchronization of __sched_fifo_min_prio and
7095         __sched_fifo_max_prio.
7096         * nptl/pthread_mutexattr_getprioceiling.c
7097         (pthread_mutexattr_getprioceiling): Likewise.
7098         * nptl/pthread_mutexattr_setprioceiling.c
7099         (pthread_mutexattr_setprioceiling): Likewise.
7100         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7101         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7102         Likewise.
7104 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7106         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7107         void.
7109 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7111         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7112         third argument const.
7114 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7116         fnmatch: work around GCC compiler warning bug with uninit var
7117         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7118         This works around a bug with x86-64 GCC 4.9.2 and earlier
7119         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7120         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7121         used uninitialized in this function [-Wmaybe-uninitialized]".
7123 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7125         * posix/bug-regex31.c (main): Return RES not 0.
7127 2014-11-25  Anton Blanchard <anton@samba.org>
7129         * sysdeps/powerpc/bits/atomic.h
7130         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7132 2014-11-24  Sterling Augustine  <saugustine@google.com>
7134         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7136 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7138         [BZ #17608]
7139         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7141 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7143         [BZ #17633]
7144         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7145         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7146         variable.
7147         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7148         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7150 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7152         * string/strncpy.c (strncpy): Improve performance by using memset.
7154 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7156         * string/strcpy.c (strcpy):
7157         Improve performance by using strlen and memcpy.
7159 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7161         * string/strcoll_l.c (get_next_seq): __always_inline.
7162         * string/strcoll_l.c (do_compare): __always_inline.
7164 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7166         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7167         defined.
7168         * include/mqueue.h: Likewise.
7169         * include/stdlib.h: Likewise.
7171         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7172         (get_null_defines): Adjust.
7173         * sunrpc/Makefile: Adjust comment.
7174         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7175         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7176         (CFLAGS-interp.c): Likewise.
7177         (CFLAGS-ldconfig.c): Likewise.
7178         (CPPFLAGS-.os): Likewise.
7179         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7180         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7181         * extra-modules.mk (extra-modules.mk): Likewise.
7182         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7183         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7184         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7185         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7186         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7187         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7188         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7189         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7190         * iconvdata/Makefile (CPPFLAGS): Likewise.
7191         (cpp-srcs-left): Add libof for all iconvdata routines.
7192         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7193         * include/assert.h: Likewise.
7194         * include/ctype.h: Likewise.
7195         * include/errno.h: Likewise.
7196         * include/libc-symbols.h: Likewise.
7197         * include/math.h: Likewise.
7198         * include/netdb.h: Likewise.
7199         * include/resolv.h: Likewise.
7200         * include/stdio.h: Likewise.
7201         * include/stdlib.h: Likewise.
7202         * include/string.h: Likewise.
7203         * include/sys/stat.h: Likewise.
7204         * include/wctype.h: Likewise.
7205         * intl/l10nflist.c: Likewise.
7206         * libidn/idn-stub.c: Likewise.
7207         * libio/libioP.h: Likewise.
7208         * nptl/libc_multiple_threads.c: Likewise.
7209         * nptl/pthreadP.h: Likewise.
7210         * posix/regex_internal.h: Likewise.
7211         * resolv/res_hconf.c: Likewise.
7212         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7213         * sysdeps/arm/memmove.S: Likewise.
7214         * sysdeps/arm/sysdep.h: Likewise.
7215         * sysdeps/generic/_itoa.h: Likewise.
7216         * sysdeps/generic/symbol-hacks.h: Likewise.
7217         * sysdeps/gnu/errlist.awk: Likewise.
7218         * sysdeps/gnu/errlist.c: Likewise.
7219         * sysdeps/i386/i586/memcpy.S: Likewise.
7220         * sysdeps/i386/i586/memset.S: Likewise.
7221         * sysdeps/i386/i686/memcpy.S: Likewise.
7222         * sysdeps/i386/i686/memmove.S: Likewise.
7223         * sysdeps/i386/i686/mempcpy.S: Likewise.
7224         * sysdeps/i386/i686/memset.S: Likewise.
7225         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7226         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7227         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7228         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7229         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7230         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7231         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7232         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7233         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7235         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7236         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7237         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7238         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7239         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7240         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7241         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7242         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7243         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7244         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7245         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7246         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7247         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7248         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7249         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7251         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7252         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7253         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7254         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7255         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7256         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7258         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7259         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7260         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7261         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7262         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7263         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7264         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7265         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7267         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7268         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7269         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7270         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7271         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7272         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7273         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7274         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7275         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7276         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7277         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7278         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7279         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7280         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7281         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7282         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7283         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7284         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7285         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7286         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7287         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7288         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7289         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7290         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7291         * sysdeps/posix/closedir.c: Likewise.
7292         * sysdeps/posix/opendir.c: Likewise.
7293         * sysdeps/posix/readdir.c: Likewise.
7294         * sysdeps/posix/rewinddir.c: Likewise.
7295         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7296         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7297         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7298         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7299         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7301         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7307         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7308         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7309         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7310         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7311         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7312         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7315         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7316         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7317         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7318         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7319         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7320         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7322         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7323         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7330         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7331         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7332         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7333         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7334         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7335         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7336         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7337         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7338         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7339         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7340         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7341         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7342         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7343         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7344         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7345         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7346         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7349         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7350         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7351         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7352         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7353         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7354         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7355         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7356         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7358         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7359         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7360         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7361         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7362         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7363         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7364         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7365         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7366         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7367         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7368         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7369         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7370         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7371         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7372         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7373         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7374         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7375         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7376         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7377         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7379         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7381         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7382         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7383         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7385         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7386         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7387         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7388         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7391         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7393         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7394         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7395         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7396         * sysdeps/unix/alpha/sysdep.S: Likewise.
7397         * sysdeps/unix/alpha/sysdep.h: Likewise.
7398         * sysdeps/unix/make-syscalls.sh: Likewise.
7399         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7401         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7402         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7403         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7404         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7405         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7406         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7407         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7408         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7410         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7411         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7412         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7413         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7414         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7415         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7416         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7418         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7419         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7420         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7421         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7422         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7423         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7424         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7425         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7428         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7429         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7433         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7437         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7439         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7440         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7441         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7442         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7443         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7444         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7446         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7449         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7450         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7451         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7452         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7455         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7457         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7458         * sysdeps/x86_64/memcpy.S: Likewise.
7459         * sysdeps/x86_64/memmove.c: Likewise.
7460         * sysdeps/x86_64/memset.S: Likewise.
7461         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7462         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7463         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7464         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7465         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7468         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7469         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7470         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7471         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7472         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7473         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7474         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7475         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7476         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7477         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7478         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7479         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7480         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7481         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7482         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7484         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7485         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7486         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7487         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7488         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7489         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7490         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7491         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7492         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7493         * sysdeps/x86_64/strcmp.S: Likewise.
7495         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7497         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7498         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7499         * elf/rtld-Rules: Likewise.
7500         * elf/setup-vdso.h: Likewise.
7501         * include/assert.h: Likewise.
7502         * include/bits/stdlib-float.h: Likewise.
7503         * include/errno.h: Likewise.
7504         * include/sys/stat.h: Likewise.
7505         * include/unistd.h: Likewise.
7506         * sysdeps/aarch64/setjmp.S: Likewise.
7507         * sysdeps/alpha/setjmp.S: Likewise.
7508         * sysdeps/arm/__longjmp.S: Likewise.
7509         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7510         * sysdeps/arm/setjmp.S: Likewise.
7511         * sysdeps/arm/sysdep.h: Likewise.
7512         * sysdeps/generic/_itoa.h: Likewise.
7513         * sysdeps/generic/dl-sysdep.h: Likewise.
7514         * sysdeps/generic/ldsodefs.h: Likewise.
7515         * sysdeps/i386/dl-tls.h: Likewise.
7516         * sysdeps/i386/setjmp.S: Likewise.
7517         * sysdeps/m68k/setjmp.c: Likewise.
7518         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7519         * sysdeps/mach/hurd/opendir.c: Likewise.
7520         * sysdeps/posix/getcwd.c: Likewise.
7521         * sysdeps/posix/opendir.c: Likewise.
7522         * sysdeps/posix/profil.c: Likewise.
7523         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7524         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7526         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7527         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7528         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7529         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7530         * sysdeps/s390/dl-tls.h: Likewise.
7531         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7532         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7533         * sysdeps/sh/sh3/setjmp.S: Likewise.
7534         * sysdeps/sh/sh4/setjmp.S: Likewise.
7535         * sysdeps/unix/alpha/sysdep.h: Likewise.
7536         * sysdeps/unix/arm/sysdep.S: Likewise.
7537         * sysdeps/unix/i386/sysdep.S: Likewise.
7538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7539         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7542         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7543         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7544         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7545         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7546         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7547         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7548         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7549         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7550         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7553         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7556         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7557         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7558         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7560         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7562         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7563         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7565         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7566         * sysdeps/x86_64/setjmp.S: Likewise.
7568         * include/math.h: Use IS_IN instead of IS_IN_libm.
7569         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7570         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7571         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7573         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7574         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7575         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7576         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7578         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7579         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7580         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7581         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7582         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7583         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7584         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7585         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7586         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7587         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7588         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7589         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7590         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7591         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7592         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7593         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7594         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7595         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7596         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7597         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7598         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7599         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7600         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7601         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7603         Likewise.
7604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7605         Likewise.
7606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7607         Likewise.
7608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7609         Likewise.
7610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7611         Likewise.
7612         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7613         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7614         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7615         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7616         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7617         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7623         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7624         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7625         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7626         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7627         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7628         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7629         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7630         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7631         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7632         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7633         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7636         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7638         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7640         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7641         * nptl/pthreadP.h: Likewise.
7642         * nptl_db/structs.def: Likewise.
7643         * sysdeps/arm/sysdep.h: Likewise.
7644         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7645         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7646         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7647         * sysdeps/unix/alpha/sysdep.h: Likewise.
7648         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7650         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7651         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7652         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7653         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7655         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7656         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7657         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7658         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7659         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7660         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7661         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7665         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7666         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7667         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7669         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7670         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7671         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7672         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7673         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7675         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7676         * nptl/pthreadP.h: Likewise.
7677         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7678         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7679         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7680         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7681         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7682         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7683         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7684         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7685         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7686         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7687         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7688         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7690         Likewise.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7692         Likewise.
7693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7695         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7698         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7699         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7700         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7702         * dlfcn/dladdr.c: Use IS_IN.
7703         * dlfcn/dladdr1.c: Likewise.
7704         * dlfcn/dlclose.c: Likewise.
7705         * dlfcn/dlerror.c: Likewise.
7706         * dlfcn/dlinfo.c: Likewise.
7707         * dlfcn/dlmopen.c: Likewise.
7708         * dlfcn/dlopen.c: Likewise.
7709         * dlfcn/dlsym.c: Likewise.
7710         * dlfcn/dlvsym.c: Likewise.
7712         * include/ifaddrs.h: Use IS_IN.
7713         * inet/check_pf.c: Likewise.
7714         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7715         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7717         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7718         IS_IN_ldconfig.
7719         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7720         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7722         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7723         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7724         IS_IN (libc).
7726         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7728         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7729         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7730         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7731         * include/libc-symbols.h (IS_IN_LIB): New macro.
7732         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7733         * include/netdb.h: Likewise.
7734         * include/stap-probe.h: Remove all uses of IN_LIB.
7736         * Makeconfig (module-cppflags-real): Define MODULE_NAME
7737         instead of IN_MODULE.
7738         * include/libc-symbols.h (IN_MODULE): Define using
7739         MODULE_NAME.
7740         (PASTE_NAME, PASTE_NAME1): New macros.
7741         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7742         of IN_LIB.
7743         (STAP_PROBE_ASM): Likewise.
7745 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7747         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7748         __mach_init in dlopened libc.
7750 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
7752         * sysdeps/arm/preconfigure.ac: Delete EABI check.
7753         * sysdeps/arm/preconfigure: Regenerate.
7755 2014-11-21  Roland McGrath  <roland@hack.frob.com>
7757         * nptl/pthread_create.c (__pthread_create_2_1): Set
7758         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7759         when copying values from IATTR into PD.
7761 2014-11-21  Will Newton  <will.newton@linaro.org>
7762             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7764         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7765         Refactor inline-asm.  Also add comment.
7767         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7768         ElfW macro instead of hardcoded Elf64 types.
7769         (la_aarch64_gnu_pltenter): Likewise.
7770         * sysdeps/aarch64/dl-machine.h
7771         (elf_machine_runtime_setup): Use ElfW(Addr).
7773         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7774         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7775         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7776         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7777         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7778         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7779         (R_AARCH64_TLS_DTPMOD): This.
7780         (R_AARCH64_TLS_DTPREL64): Rename to ...
7781         (R_AARCH64_TLS_DTPREL): This.
7782         (R_AARCH64_TLS_TPREL64): Rename to ...
7783         (R_AARCH64_TLS_TPREL): This.
7784         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7785         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7786         R_AARCH64_TLS_TPREL64.
7787         (elf_machine_rela): Likewise.
7789 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7791         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7792         by setting it to 0.  64b atomics are not supported currently.
7794 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7796         [BZ #16469]
7797         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7798         search domain names.
7800 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7802         [BZ #16469]
7803         * NEWS: Update.
7804         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7805         trailing dot.
7806         * posix/tst-getaddrinfo5.c: New.
7807         * posix/Makefile (tests): Add it.
7809 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7811         [BZ #14498]
7812         * NEWS: Fixed.
7813         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7814         after parsing line but before break_if_match.
7815         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7816         if there is a protocol mismatch.
7818 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7820         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7821         because the potential race is on the user-supplied stream.
7823 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7825         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7826         string literal if not passed a buffer.
7827         * manual/job.texi (ctermid): Update reasoning, note deviation
7828         from posix, suggest mtasurace when not passed a buffer, for
7829         future non-preliminary safety notes.
7831 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7833         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7834         of not passing it a buffer.
7835         Reported by Peng Haitao.
7837 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7839         * manual/Makefile ($(objpfx)stamp-summary): Require
7840         check-safety.sh to pass.
7841         * manual/check-safety.sh: Wish for verification that every
7842         @deftypefn and @deftypefun is followed by a @safety remark.
7844 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7846         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7848         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7849         PTHREAD_CANCEL_ASYNCHRONOUS.
7850         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7851         send SIGCANCEL.
7853         * nptl/default-sched.h: New file.
7854         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7855         * nptl/pthread_create.c: Include it.
7856         (__pthread_create_2_1): Use collect_default_sched instead of making
7857         Linux syscalls here directly.
7859 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7861         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7862         __pthread_once): Use C11 atomics.
7864 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7866         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7868 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7870         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7871         atomic_thread_fence_acquire, atomic_thread_fence_release,
7872         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7873         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7874         atomic_compare_exchange_weak_relaxed,
7875         atomic_compare_exchange_weak_acquire,
7876         atomic_compare_exchange_weak_release,
7877         atomic_exchange_acquire, atomic_exchange_release,
7878         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7879         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7880         atomic_fetch_and_acquire,
7881         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7883 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7885         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7886         USE_ATOMIC_COMPILER_BUILTINS): Define.
7887         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7889         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7891         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7893         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7895         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7897         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7899         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7901         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7903         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7904         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7905         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7907         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7909         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7911         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7912         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7913         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7915         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7917         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7919         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7921         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7922         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7923         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7925         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7928 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7930         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7931         the sched_priority value here.  It was already checked when the user
7932         called pthread_attr_setschedparam.
7934         * nptl/tst-bad-schedattr.c: New file.
7935         * nptl/Makefile (tests): Add it.
7937 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7938             Florian Weimer  <fweimer@redhat.com>
7939             Joseph Myers  <joseph@codesourcery.com>
7940             Adam Conrad  <adconrad@0c3.net>
7941             Andreas Schwab  <schwab@suse.de>
7942             Brooks  <bmoses@google.com>
7944         [BZ #17625]
7945         * wordexp-test.c (__dso_handle): Add prototype.
7946         (__register_atfork): Likewise.
7947         (__app_register_atfork): New function.
7948         (registered_forks): New global.
7949         (register_fork): New function.
7950         (test_case): Add 3 new tests for WRDE_CMDSUB.
7951         (main): Call __app_register_atfork.
7952         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7953         fork count is non-zero fail the test.
7954         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7955         is set.
7956         (parse_dollars): Remove check for WRDE_NOCMD.
7957         (parse_dquote): Likewise.
7959 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7961         * Makeconfig (built-modules): List non-library modules to be
7962         built.
7963         (module-cppflags): Include libc-modules.h for
7964         everything except shlib-versions.v.i.
7965         (CPPFLAGS): Use it.
7966         (before-compile): Add libc-modules.h.
7967         ($(common-objpfx)libc-modules.h,
7968         $(common-objpfx)libc-modules.stmp): New targets.
7969         (common-generated): Add libc-modules.h and libc-modules.stmp.
7970         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7971         * include/libc-symbols.h: Don't include libc-modules.h.
7972         * include/libc-modules.h: Remove file.
7973         * scripts/gen-libc-modules.awk: New script to generate
7974         libc-modules.h.
7975         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7976         Depend on libc-modules.stmp.
7978         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7980         * Makeconfig (in-module): Get value of libof set for the
7981         translation unit.
7982         (CPPFLAGS): Use $(in-module).
7983         * Makerules: Don't suffix routine names for nonlib.
7984         * include/libc-modules.h: New file.
7985         * include/libc-symbols.h: Include libc-modules.h
7986         (IS_IN): New macro to replace IS_IN_* macros.
7987         * elf/Makefile: Set libof-* for each routine.
7988         * elf/rtld-Rules: Likewise.
7989         * extra-modules.mk: Likewise.
7990         * iconv/Makefile: Likewise.
7991         * iconvdata/Makefile: Likewise.
7992         * locale/Makefile: Likewise.
7993         * malloc/Makefile: Likewise.
7994         * nss/Makefile: Likewise.
7995         * sysdeps/gnu/Makefile: Likewise.
7996         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7997         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7998         * sysdeps/s390/s390-64/Makefile: Likewise.
7999         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8000         CPPFLAGS for nscd instead of nonlib.
8002 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8004         * nptl/createthread.c: New file.
8006         * nptl/createthread.c: Moved ...
8007         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8009         * nptl/createthread.c: Add proper top-line comment.
8010         (do_clone): Folded into ...
8011         (create_thread): ... here.  Take new arguments STOPPED_START and
8012         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8013         increment __nptl_threads, do event-reporting logic, do
8014         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8015         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8016         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8017         just send SIGCANCEL.
8018         * nptl/pthread_create.c: Forward-declare create_thread before
8019         including createthread.c.
8020         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8021         declaration, and new macro START_THREAD_SELF to replace argument.
8022         Remove return statement.
8023         (report_thread_creation): New function.
8024         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8025         synchronization logic, and __nptl_nthreads increment here, around
8026         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8027         PD->parent_cancelhandling here, before create_thread.  When
8028         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8029         __deallocate_stack, and ENOMEM translation here.
8031 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8033         [BZ #17616]
8034         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8035         (mptwo): Rename to __mptwo.
8036         (__inv): Use __mptwo instead of mptwo.
8037         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8038         (mptwo): Rename to __mptwo.
8039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8040         of mpone and __mptwo instead of mptwo.
8041         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8042         instead of mpone.
8043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8044         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8045         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8046         of mpone and __mptwo instead of mptwo.
8047         (__mpranred): Use __mpone instead of mpone.
8048         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8049         variable.
8050         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8051         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8052         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8053         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8054         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8055         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8056         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8057         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8058         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8059         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8060         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8061         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8062         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8063         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8064         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8065         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8066         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8067         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8068         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8070 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8072         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8073         replace BSD Handler xref with BSD Signal Handling.
8075 2014-11-17  Richard Henderson  <rth@redhat.com>
8077         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8078         (_FP_PACK_RAW_2): Remove.
8079         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8080         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8081         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8082         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8083         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8084         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8085         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8086         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8087         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8088         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8089         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8090         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8091         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8092         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8093         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8094         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8096 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8098         * signal/signal.h [__USE_MISC]
8099         (struct sigvec): Remove type.
8100         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8101         (sigvec): Remove declaration.
8102         * sysdeps/posix/sigvec.c: Moved ...
8103         * signal/sigvec.c: ... here, replacing old file.
8104         (struct sigvec): New type, copied from old signal.h definition.
8105         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8106         (__sigvec): Convert definition to prototype.
8107         (sigvec): Replace weak_alias with compat_symbol.
8108         * signal/Versions (libc: GLIBC_2.21): New version set.
8109         * include/signal.h: Remove __sigvec declaration.
8110         * sysdeps/unix/bsd/sigvec.c: Remove file.
8111         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8112         * manual/signal.texi (BSD Handler): Remove subsection.
8113         Move siginterrupt up to ...
8114         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8115         (Blocking in BSD): Fold subsection into its parent.
8116         * NEWS: Mention sigvec removal.
8118 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8120         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8121         (DLA_FMS): Make definition conditional only on [__FMA4__].
8122         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8123         definition.
8125         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8126         Make definition conditional only on [PROF].
8127         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8128         definition.
8129         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8130         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8132         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8133         !__GNUC__].
8134         * include/signal.h (__sigpause): Move declaration above call to
8135         libc_hidden_proto.
8136         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8137         variable.
8138         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8139         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8141 2014-11-14  David S. Miller  <davem@davemloft.net>
8143         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8144         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8146 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8148         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8149         * configure: Regenerated.
8150         * manual/install.texi (Tools for Compilation): Document a
8151         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8152         compiler verified to work.
8153         * INSTALL: Regenerated.
8155         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8156         redeclare with asm name.
8157         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8158         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8159         including <string.h>.
8160         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8161         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8162         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8163         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8164         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8166         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8168 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8170         * stdlib/strtol.c (__strtol): Use prototype definition.
8172         [BZ #17594]
8173         * stdlib/strtol.c (SYM__): New macro.
8174         (SYM__1): Likewise.
8175         (__strtol): Likewise.
8176         (strtol): Rename to __strtol and define as weak alias of
8177         __strtol.  Use libc_hidden_weak.
8179 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8181         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8182         Use numbered labels in inline assembly.
8184 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8186         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8187         Add setjmp LIBC_PROBE.
8188         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8189         Likewise.
8190         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8191         Add longjmp, longjmp_target LIBC_PROBE.
8192         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8193         Likewise.
8195 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8197         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8198         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8199         to get rid of unused variable warning.
8201 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8203         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8204         Check for unwind_backtrace ==  NULL only in SHARED case.
8205         (__backchain_backtrace): Compile only in SHARED case.
8206         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8207         Likewise.
8208         (__backchain_backtrace): Declare as static.
8210 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8212         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8213         (__libc_multiple_threads_ptr): Variable moved ...
8214         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8216 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8218         * conform/GlibcConform.pm: New file.
8219         * conform/conformtest.pl: Use GlibcConform module.
8220         * conform/linknamespace.pl: New file.
8221         * conform/list-header-symbols.pl: Likewise.
8222         * conform/Makefile (linknamespace-symlists-base): New variable.
8223         (linknamespace-symlists-tests): Likewise.
8224         (linknamespace-header-base): Likewise.
8225         (linknamespace-header-tests): Likewise.
8226         (tests-special): Add new tests.
8227         ($(linknamespace-symlists-tests)): New rule.
8228         (linknamespace-libs): New variable.
8229         ($(objpfx)symlist-stdlibs): New rule.
8230         ($(linknamespace-header-tests)): Likewise.
8231         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8232         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8233         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8234         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8235         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8236         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8237         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8238         (test-xfail-ISO/math.h/linknamespace): Likewise.
8239         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8240         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8241         (test-xfail-ISO/time.h/linknamespace): Likewise.
8242         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8243         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8244         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8245         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8246         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8247         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8248         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8249         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8250         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8251         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8252         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8253         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8254         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8255         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8256         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8257         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8258         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8259         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8260         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8261         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8262         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8263         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8264         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8265         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8266         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8267         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8268         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8269         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8270         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8271         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8272         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8273         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8274         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8275         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8276         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8277         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8278         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8279         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8280         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8281         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8282         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8283         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8284         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8285         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8286         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8287         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8288         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8289         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8290         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8291         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8292         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8293         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8294         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8295         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8296         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8297         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8298         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8299         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8300         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8301         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8302         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8303         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8304         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8305         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8306         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8307         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8308         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8309         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8310         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8311         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8312         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8313         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8314         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8315         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8316         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8317         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8318         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8319         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8320         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8321         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8322         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8323         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8324         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8325         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8326         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8327         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8328         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8329         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8330         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8331         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8332         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8333         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8334         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8335         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8336         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8337         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8338         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8339         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8340         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8341         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8342         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8343         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8344         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8345         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8346         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8347         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8348         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8349         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8350         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8351         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8352         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8353         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8354         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8355         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8356         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8357         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8358         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8359         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8360         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8361         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8362         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8363         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8364         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8365         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8366         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8367         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8368         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8369         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8370         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8371         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8372         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8373         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8374         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8375         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8376         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8377         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8378         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8379         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8380         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8381         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8382         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8383         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8384         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8385         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8386         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8387         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8388         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8389         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8390         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8391         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8393         [BZ #17589]
8394         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8395         of fgets_unlocked.
8397         [BZ #17585]
8398         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8399         (memmem): Rename to __memmem and define as weak alias of
8400         __memmem.  Use libc_hidden_weak.
8401         (__memmem): Use libc_hidden_def.
8402         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8403         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8404         memmem.
8406         [BZ #17582]
8407         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8408         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8409         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8410         and define as weak alias of __fgets_unlocked.  Use
8411         libc_hidden_weak.
8412         (__fgets_unlocked): Use libc_hidden_def.
8413         * include/stdio.h (__fgets_unlocked): Declare.  Use
8414         libc_hidden_proto.
8415         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8416         __fgets_unlocked instead of fgets_unlocked.
8417         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8418         (GET_NPROCS_CONF_PARSER): Likewise.
8419         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8420         (GET_NPROCS_CONF_PARSER): Likewise.
8422         [BZ #17574]
8423         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8424         weak alias of __wmemset.  Use libc_hidden_weak.
8425         (__wmemset): Use libc_hidden_def.
8426         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8427         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8428         of wmemset.
8430         [BZ #17573]
8431         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8432         with asm name __mempcpy.
8433         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8435         [BZ #17572]
8436         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8437         and define as weak alias of __rawmemchr.
8438         (__rawmemchr): Do not define as strong alias of rawmemchr.
8440         [BZ #17571]
8441         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8442         alias of __qsort_r.
8443         (qsort): Call __qsort_r instead of qsort_r.
8444         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8445         (__qsort_r): Declare.  Call libc_hidden_proto.
8446         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8447         instead of qsort_r.
8448         * nscd/gai.c (__qsort_r): Define to qsort_r.
8449         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8450         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8451         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8453         [BZ #17570]
8454         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8455         define as weak alias of __malloc_info.
8457         [BZ #17584]
8458         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8459         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8460         (__rewinddir): Use libc_hidden_def.
8461         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8462         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8463         (__rewinddir): Use libc_hidden_def.
8464         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8465         weak alias of __rewinddir.  Don't use libc_hidden_def.
8466         (__rewinddir): Use libc_hidden_def.
8467         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8468         (__rewinddir): Use libc_hidden_proto.
8469         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8470         rewinddir.
8471         (__getcwd): Use __rewinddir instead of rewinddir.
8473         [BZ #17583]
8474         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8475         alias of __fileno.  Use libc_hidden_weak.
8476         (__fileno): Use libc_hidden_def.
8477         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8478         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8479         alias of __ftello.
8480         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8481         __ftello.
8482         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8483         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8484         libc_hidden_def.
8485         (fread_unlocked): Don't use libc_hidden_ver.
8486         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8487         and define as weak alias of __fread_unlocked.  Don't use
8488         libc_hidden_def.
8489         (__fread_unlocked): Use libc_hidden_def.
8490         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8491         (ftello): Don't use libc_hidden_proto.
8492         (__ftello): Declare.  Use libc_hidden_proto.
8493         (fread_unlocked): Don't use libc_hidden_proto.
8494         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8495         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8496         and __ftello instead of fileno, fread_unlocked and ftello.
8498 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8500         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8501         GOT12.
8502         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8503         Likewise.
8504         (_dl_start_user): Likewise.
8505         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8507 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8508             Siddhesh Poyarekar  <siddhesh@redhat.com>
8510         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8511         Move argv and envp down instead of moving argc up.
8512         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8514 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8516         [BZ #17506]
8517         * test-skeleton.c (main): Return successful if one of
8518         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8519         * string/tst-strcoll-overflow.c: Define expected status.
8521 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8523         [BZ #17475]
8524         * locale/iso-639.def: Define Bhili and Tulu language codes.
8526 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8528         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8530 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8532         [BZ #17555]
8533         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8535 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8537         * configure.ac: Updated check of minimal required version to
8538         2.22.
8539         * manual/install.texi (Tools for Compilation): Updated version
8540         number.
8541         * configure: Regenerated.
8542         * INSTALL: Likewise.
8544 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8546         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8547         __tls_get_addr.
8549 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8551         * include/sys/wait.h (__libc_waitpid): Remove declaration.
8552         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8553         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8554         libc_hidden_weak.
8555         (waitpid): Define as alias of __waitpid.
8556         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8557         __waitpid.
8558         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8559         libc_hidden_weak.
8560         (waitpid): Define as alias of __waitpid.
8561         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8562         __libc_waitpid alias.
8563         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8564         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8565         Likewise.
8566         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8568         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8569         alias.
8570         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8571         __waitpid.
8572         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8573         libc_hidden_weak.
8574         (waitpid): Define as alias of __waitpid.
8576 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
8578         * manual/llio.texi: Add comment that write safety has been
8579         fixed in Linux.
8581         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8582         (localplt-build-dso): Add elf/ld.so.
8583         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8584         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8585         and free for ld.so.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8587         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8589         Likewise.
8590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8591         Likewise.
8592         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8593         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8594         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8595         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8596         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8597         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8598         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8599         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8600         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8601         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8602         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8604 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
8606         [BZ #14132]
8607         * include/libc-symbols.h (INTUSE): Remove macro.
8608         (INTDEF): Likewise.
8609         (INTVARDEF): Likewise.
8610         (_INTVARDEF): Likewise.
8611         (INTDEF2): Likewise.
8612         (INTVARDEF2): Likewise.
8613         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8614         rtld_hidden_def instead of INTVARDEF.
8615         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8616         (_dl_starting_up_internal): Remove declaration.
8617         (_dl_starting_up): Use rtld_hidden_proto.
8618         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8619         declaration.
8620         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8621         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8622         _dl_starting_up.
8623         * elf/dl-writev.h (_dl_writev): Likewise.
8624         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8625         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8626         _dl_starting_up_internal.
8628 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8630         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8631         test-skeleton.c.
8633 2014-11-05  Will Newton  <will.newton@linaro.org>
8635         * benchtests/Makefile: (bench-malloc): Add malloc thread
8636         scalability benchmark.
8637         * benchtests/bench-malloc-threads.c: New file.
8639 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
8641         * sysdeps/aarch64/strchrnul.S: New file.
8643 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8645         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8646         definition.
8647         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8648         Likwise.
8649         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8650         Likewise.
8651         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8652         Likewise.
8653         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8654         Likewise.
8655         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8656         Likewise.
8658 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
8660         * catgets/test-gencat.c: Use test-skeleton.c.
8661         * catgets/tst-catgets.c: Likewise.
8662         * csu/tst-empty.c: Likewise.
8663         * elf/tst-audit2.c: Likewise.
8664         * elf/tst-global1.c: Likewise.
8665         * elf/tst-pathopt.c: Likewise.
8666         * elf/tst-piemod1.c: Likewise.
8667         * elf/tst-tls10.c: Likewise.
8668         * elf/tst-tls11.c: Likewise.
8669         * elf/tst-tls12.c: Likewise.
8670         * gnulib/tst-gcc.c: Likewise.
8671         * iconvdata/tst-e2big.c: Likewise.
8672         * iconvdata/tst-loading.c: Likewise.
8673         * iconv/tst-iconv1.c: Likewise.
8674         * iconv/tst-iconv2.c: Likewise.
8675         * inet/test-inet6_opt.c: Likewise.
8676         * inet/tst-gethnm.c: Likewise.
8677         * inet/tst-network.c: Likewise.
8678         * inet/tst-ntoa.c: Likewise.
8679         * intl/tst-codeset.c: Likewise.
8680         * intl/tst-gettext2.c: Likewise.
8681         * intl/tst-gettext3.c: Likewise.
8682         * intl/tst-ngettext.c: Likewise.
8683         * intl/tst-translit.c: Likewise.
8684         * io/test-stat.c: Likewise.
8685         * libio/test-fmemopen.c: Likewise.
8686         * libio/tst-freopen.c: Likewise.
8687         * libio/tst-sscanf.c: Likewise.
8688         * libio/tst-ungetwc1.c: Likewise.
8689         * libio/tst-ungetwc2.c: Likewise.
8690         * libio/tst-widetext.c: Likewise.
8691         * localedata/tst-ctype.c: Likewise.
8692         * localedata/tst-digits.c: Likewise.
8693         * localedata/tst-leaks.c: Likewise.
8694         * localedata/tst-mbswcs1.c: Likewise.
8695         * localedata/tst-mbswcs2.c: Likewise.
8696         * localedata/tst-mbswcs3.c: Likewise.
8697         * localedata/tst-mbswcs4.c: Likewise.
8698         * localedata/tst-mbswcs5.c: Likewise.
8699         * localedata/tst-setlocale.c: Likewise.
8700         * localedata/tst-trans.c: Likewise.
8701         * localedata/tst-wctype.c: Likewise.
8702         * localedata/tst-xlocale1.c: Likewise.
8703         * login/tst-grantpt.c: Likewise.
8704         * malloc/tst-calloc.c: Likewise.
8705         * malloc/tst-malloc.c: Likewise.
8706         * malloc/tst-mallocstate.c: Likewise.
8707         * malloc/tst-mcheck.c: Likewise.
8708         * malloc/tst-mtrace.c: Likewise.
8709         * malloc/tst-obstack.c: Likewise.
8710         * math/atest-exp2.c: Likewise.
8711         * math/atest-exp.c: Likewise.
8712         * math/atest-sincos.c: Likewise.
8713         * math/test-matherr.c: Likewise.
8714         * math/test-misc.c: Likewise.
8715         * math/test-powl.c: Likewise.
8716         * math/tst-definitions.c: Likewise.
8717         * misc/tst-dirname.c: Likewise.
8718         * misc/tst-efgcvt.c: Likewise.
8719         * misc/tst-fdset.c: Likewise.
8720         * misc/tst-hsearch.c: Likewise.
8721         * misc/tst-mntent2.c: Likewise.
8722         * nptl/tst-sem7.c: Likewise.
8723         * nptl/tst-sem8.c: Likewise.
8724         * nptl/tst-sem9.c: Likewise.
8725         * nss/test-netdb.c: Likewise.
8726         * posix/tst-fnmatch.c: Likewise.
8727         * posix/tst-getlogin.c: Likewise.
8728         * posix/tst-gnuglob.c: Likewise.
8729         * posix/tst-mmap.c: Likewise.
8730         * pwd/tst-getpw.c: Likewise.
8731         * resolv/tst-inet_ntop.c: Likewise.
8732         * rt/tst-timer.c: Likewise.
8733         * stdio-common/test-fseek.c: Likewise.
8734         * stdio-common/test-popen.c: Likewise.
8735         * stdio-common/test-vfprintf.c: Likewise.
8736         * stdio-common/tst-cookie.c: Likewise.
8737         * stdio-common/tst-fileno.c: Likewise.
8738         * stdio-common/tst-gets.c: Likewise.
8739         * stdio-common/tst-obprintf.c: Likewise.
8740         * stdio-common/tst-perror.c: Likewise.
8741         * stdio-common/tst-sprintf2.c: Likewise.
8742         * stdio-common/tst-sprintf3.c: Likewise.
8743         * stdio-common/tst-sprintf.c: Likewise.
8744         * stdio-common/tst-swprintf.c: Likewise.
8745         * stdio-common/tst-tmpnam.c: Likewise.
8746         * stdio-common/tst-unbputc.c: Likewise.
8747         * stdio-common/tst-wc-printf.c: Likewise.
8748         * stdlib/tst-environ.c: Likewise.
8749         * stdlib/tst-fmtmsg.c: Likewise.
8750         * stdlib/tst-limits.c: Likewise.
8751         * stdlib/tst-rand48-2.c: Likewise.
8752         * stdlib/tst-rand48.c: Likewise.
8753         * stdlib/tst-random2.c: Likewise.
8754         * stdlib/tst-random.c: Likewise.
8755         * stdlib/tst-strtol.c: Likewise.
8756         * stdlib/tst-strtoll.c: Likewise.
8757         * stdlib/tst-tls-atexit.c: Likewise.
8758         * stdlib/tst-xpg-basename.c: Likewise.
8759         * string/test-ffs.c: Likewise.
8760         * string/tst-bswap.c: Likewise.
8761         * string/tst-inlcall.c: Likewise.
8762         * string/tst-strtok.c: Likewise.
8763         * string/tst-strxfrm.c: Likewise.
8764         * sysdeps/x86_64/tst-audit10.c: Likewise.
8765         * sysdeps/x86_64/tst-audit3.c: Likewise.
8766         * sysdeps/x86_64/tst-audit4.c: Likewise.
8767         * sysdeps/x86_64/tst-audit5.c: Likewise.
8768         * time/tst-ftime_l.c: Likewise.
8769         * time/tst-getdate.c: Likewise.
8770         * time/tst-mktime3.c: Likewise.
8771         * time/tst-mktime.c: Likewise.
8772         * time/tst-posixtz.c: Likewise.
8773         * time/tst-strptime2.c: Likewise.
8774         * time/tst-strptime3.c: Likewise.
8775         * wcsmbs/tst-btowc.c: Likewise.
8776         * wcsmbs/tst-mbrtowc.c: Likewise.
8777         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8778         * wcsmbs/tst-wchar-h.c: Likewise.
8779         * wcsmbs/tst-wcpncpy.c: Likewise.
8780         * wcsmbs/tst-wcrtomb.c: Likewise.
8781         * wcsmbs/tst-wcsnlen.c: Likewise.
8782         * wcsmbs/tst-wcstof.c: Likewise.
8784 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8786         [BZ #14132]
8787         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8788         INTDEF.
8789         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8790         declaration.
8791         (_dl_mcount): Use rtld_hidden_proto.
8792         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8793         _dl_mcount.
8794         * elf/rtld.c (_rtld_global_ro): Likewise.
8796         [BZ #14132]
8797         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8798         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8799         of _dl_init_internal.
8800         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8801         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8802         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8803         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8804         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8805         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8806         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8807         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8808         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8809         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8810         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8811         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8812         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8813         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8814         * sysdeps/tile/dl-start.S (_start): Likewise.
8815         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8816         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8818         [BZ #14132]
8819         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8820         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8821         (rtld_progname): Make macro definition unconditional.
8822         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8823         INTDEF.
8824         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8825         (dl_main): Likewise.
8826         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8827         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8828         instead of _dl_argv_internal.
8829         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8830         __GI__dl_argv instead of INTUSE(_dl_argv).
8831         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8832         __GI__dl_argv instead of _dl_argv_internal.
8834         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8835         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8836         macro.
8837         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8838         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8839         New macro.
8840         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8841         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8842         macro.
8843         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8844         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8846 2014-11-04  Andreas Schwab  <schwab@suse.de>
8848         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8850 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8852         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8853         mtvsrd instruction in binary form.
8855 2014-11-03  Andreas Schwab  <schwab@suse.de>
8857         [BZ #17522]
8858         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8859         for less than MB_LEN_MAX use a local buffer of that size.
8860         * libio/tst-fputws.c: New file.
8861         * libio/Makefile (tests): Add tst-fputws.
8863 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8865         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8866         the size of the fpu_fr.fpu_dregs[] array.
8868 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8870         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8871         (__nanosleep): Do not define as alias.
8872         (nanosleep): Define as alias of __nanosleep.
8873         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8874         __libc_nanosleep name.
8876 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8878         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8879         install.texi in comment.
8881 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8883         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8884         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8885         ... add here and use lwsync or sync ...
8886         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8887         ... and add here using lwsync.
8889 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8891         * elf/dl-machine-reject-phdr.h: New file.
8892         * elf/dl-load.c: #include that.
8893         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8894         if that returned true.
8896 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8898         [BZ #17496]
8899         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8900         gen-as-const-headers chunk.  Add a big scare comment after the last
8901         safe place to touch before-compile.
8903 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8905         * manual/install.texi (Tools for Compilation): Update autoconf
8906         version requirements.
8907         * INSTALL: Regenerated.
8909         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8910         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8911         (__libc_pselect): Likewise.
8913         [BZ #14138]
8914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8919 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8921         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8922         correct barrier instruction.
8923         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8924         Likewise.
8925         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8926         Likewise.
8928 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8930         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8931         after defining inlines.  Instead, just use parens to defeat macro
8932         expansion of __isctype in its declaration.
8934 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8936         * include/sys/uio.h (__libc_readv): Remove declaration.
8937         (__libc_writev): Likewise.
8938         * misc/readv.c (__libc_readv): Rename to __readv.
8939         (__readv): Do not define as alias.
8940         (readv): Define as alias of __readv.
8941         * misc/writev.c (__libc_writev): Rename to __writev.
8942         (__writev): Do not define as alias.
8943         (writev): Define as alias of __writev.
8944         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8945         (__readv): Do not define as alias.
8946         (readv): Define unconditionally as alias of __readv.
8947         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8948         (__writev): Do not define as alias.
8949         (writev): Define unconditionally as alias of __writev.
8950         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8951         name.
8952         (writev): Do not define __libc_writev name.
8954 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8956         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8957         (convert_charseq): New function, broken out of ...
8958         (use_from_charmap): ... here.  Call it.
8959         (use_to_charmap): Use convert_charseq and free instead of duplicating
8960         its code with a variable-length stack struct.
8962 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8964         * include/fcntl.h (__libc_creat): Remove declaration.
8965         * io/creat.c (__libc_creat): Rename to creat.
8966         (creat): Do not define as alias.
8967         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8968         of creat instead of __libc_creat.
8969         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8970         to creat.
8971         (creat): Do not define as alias.
8972         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8973         __libc_creat.
8974         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8975         __libc_creat name.
8976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8977         Likewise.
8979 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8981         * manual/llio.texi: Add comments discussing why write() may be
8982         considered MT-unsafe on Linux.
8984 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8986         * dl-load.c (local_strdup): Remove.
8987         (expand_dynamic_string_token): Use __strdup.
8988         (decompose_rpath): Likewise.
8989         (_dl_map_object): Likewise.
8991 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8993         [BZ #14132]
8994         * sysdeps/generic/unwind-dw2-fde.c
8995         (__register_frame_info_bases_internal): Do not declare.
8996         (__register_frame_info_table_bases_internal): Likewise.
8997         (__deregister_frame_info_bases_internal): Likewise.
8998         (__register_frame_info_bases): Declare and use hidden_proto before
8999         definition.  Use hidden_def instead of INTDEF.
9000         (__register_frame_info_table_bases): Likewise.
9001         (__deregister_frame_info_bases): Likewise.
9002         (__register_frame_info): Do not use INTUSE.
9003         (__register_frame): Likewise.
9004         (__register_frame_info_table): Likewise.
9005         (__register_frame_table): Likewise.
9006         (__deregister_frame_info): Likewise.
9007         (__deregister_frame): Likewise.
9009 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9011         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9012         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9013         not undefine.
9014         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9015         Likewise.
9016         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9017         Likewise.
9019 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9021         [BZ #14138]
9022         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9023         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9024         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9025         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9026         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9027         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9028         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9029         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9030         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9031         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9032         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9033         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9034         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9035         syscall.
9036         (setfsuid): Likewise.
9037         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9038         (setfsuid): Likewise.
9039         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9040         (setfsuid): Likewise.
9041         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9042         Likewise.
9043         (setfsuid): Likewise.
9044         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9045         (setfsuid): Likewise.
9046         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9047         Likewise.
9048         (setfsuid): Likewise.
9050 2014-10-27  Andreas Schwab  <schwab@suse.de>
9052         [BZ #17501]
9053         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9054         check for Slow_SSE4_2 feature bit.
9055         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9056         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9057         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9058         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9060 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9062         * configure.ac: Validate compiler version with a empirical test of
9063         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9064         $CC -v output.
9065         * configure: Regenerated.
9067         * inet/htons.c (htons): Prototypify.
9068         * inet/htonl.c (htonl): Likewise.
9070 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9072         * string/strncat.c (strncat): Improve performance by using strlen.
9074 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9076         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9078 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9080         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9081         Call libc_fetestexcept_aarch64.
9083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9085         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9086         Call libc_feholdexcept_aarch64.
9088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9090         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9091         Call get_rounding_mode.
9093 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9095         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9096         Simplify logic.
9098 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9100         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9101         Simplify logic.
9103 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9105         [BZ #14138]
9106         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9107         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9108         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9109         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9110         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9111         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9112         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9113         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9114         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9115         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9116         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9117         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9118         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9119         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9120         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9121         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9122         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9123         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9124         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9125         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9126         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9127         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9128         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9129         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9130         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9131         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9132         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9133         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9134         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9135         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9136         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9137         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9138         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9139         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9140         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9141         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9142         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9143         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9144         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9145         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9146         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9147         syscall.
9148         (geteuid): Likewise.
9149         (getgid): Likewise.
9150         (getuid): Likewise.
9151         (getresgid): Likewise.
9152         (getresuid): Likewise.
9153         (getgroups): Likewise.
9154         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9155         (geteuid): Likewise.
9156         (getgid): Likewise.
9157         (getuid): Likewise.
9158         (getresgid): Likewise.
9159         (getresuid): Likewise.
9160         (getgroups): Likewise.
9161         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9162         (geteuid): Likewise.
9163         (getgid): Likewise.
9164         (getuid): Likewise.
9165         (getresgid): Likewise.
9166         (getresuid): Likewise.
9167         (getgroups): Likewise.
9168         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9169         Likewise.
9170         (geteuid): Likewise.
9171         (getgid): Likewise.
9172         (getuid): Likewise.
9173         (getresgid): Likewise.
9174         (getresuid): Likewise.
9175         (getgroups): Likewise.
9176         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9177         (geteuid): Likewise.
9178         (getgid): Likewise.
9179         (getuid): Likewise.
9180         (getresgid): Likewise.
9181         (getresuid): Likewise.
9182         (getgroups): Likewise.
9183         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9184         Likewise.
9185         (geteuid): Likewise.
9186         (getgid): Likewise.
9187         (getuid): Likewise.
9188         (getgroups): Likewise.
9190         [BZ #14138]
9191         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9192         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9193         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9194         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9195         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9196         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9197         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9198         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9199         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9200         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9201         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9202         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9203         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9204         __chown.
9205         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9206         (lchown): Likewise.
9207         (fchown): Likewise.
9208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9209         Likewise.
9210         (lchown): Likewise.
9211         (fchown): Likewise.
9212         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9213         (lchown): Likewise.
9214         (fchown): Likewise.
9215         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9216         Likewise.
9217         (lchown): Likewise.
9218         (fchown): Likewise.
9220 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9222         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9223         Simplify logic.
9225 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9227         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9228         Cleanup logic.
9230 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9232         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9233         Remove unused include.
9235 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9237         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9238         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9239         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9240         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9242 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9243             Helge Deller <deller@gmx.de>
9245         [BZ #17508]
9246         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9247         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9248         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9250 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9252         [BZ #14132]
9253         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9254         Remove macro definition.
9255         (__ashrdi3_v_glibc20): Likewise.
9256         (__lshrdi3_v_glibc20): Likewise.
9257         (__cmpdi2_v_glibc20): Likewise.
9258         (__ucmpdi2_v_glibc20): Likewise.
9259         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9260         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9261         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9262         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9263         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9264         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9266 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9268         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9269         old GNU extension [0] syntax.
9270         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9271         alloca rather than an array member with variable length.
9272         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9273         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9274         (parse_opt): ... here.  Likewise use alloca there.
9275         Validate the -i argument before checking for rootness.
9276         (send_shutdown): New function, broken out of ...
9277         (parse_opt): ... here.
9279 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9281         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9282         macro to get at the _rt_local_ro field.
9283         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9284         ([PIC] case) or _dl_hwcap ([!PIC] case).
9285         * sysdeps/arm/setjmp.S: Likewise.
9287         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9288         * sysdeps/arm/configure.ac: New check to define it.
9289         * sysdeps/arm/configure: Regenerated.
9290         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9291         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9292         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9293         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9294         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9295         Use move/movt pair instead of a load.
9296         (LDST_GLOBAL): Macro removed.
9297         (LDR_GLOBAL): New macro replaces it.
9298         (LDR_HIDDEN): New macro.
9299         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9300         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9302         * setjmp/tst-setjmp-static.c: New file.
9303         * setjmp/Makefile (tests): Add it.
9304         (tests-static): New variable.
9306 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9308         [BZ #17485]
9309         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9311 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9313         [BZ #14132]
9314         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9316 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9318         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9320 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9322         * io/fts.c (dirent_not_directory): New function.
9323         (fts_build): Call it.
9325 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9327         * nptl/version.c (__nptl_main): Use normal __write rather than
9328         INTERNAL_SYSCALL.
9329         (banner): Update copyright years.
9331         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9332         gettimeofday.
9333         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9334         * nptl/pthread_cond_timedwait.c: Likewise.
9335         * nptl/pthread_mutex_timedlock.c: Likewise.
9336         * nptl/sem_timedwait.c: Likewise.
9338         * sysdeps/nptl/bits/libc-lock.h
9339         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9340         (__libc_lock_init_recursive): Return void, not 0.
9341         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9342         (__libc_rwlock_init): Likewise.
9343         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9345 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9347         [BZ #15215]
9348         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9349         (__pthread_once_slow): ... here.
9350         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9351         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9353 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9355         [BZ #15215]
9356         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9357         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9358         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9359         * nptl/pthread_once.c (__pthread_once): Likewise.
9360         Update comments.
9362 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #14138]
9365         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9366         name.
9367         (writev): Use __libc_writev as strong name.
9368         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9369         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9371 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9373         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9375         * sysdeps/i386/nptl/tls.h
9376         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9377         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9378         New macros.
9379         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9380         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9381         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9382         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9383         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9384         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9386         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9387         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9388         on [__NR_futex].
9389         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9390         broken out of ...
9391         (__pthread_mutex_init): ... here.  Call it.
9392         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9393         Conditionalize PI cases on [__NR_futex].
9394         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9395         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9396         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9398         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9399         conditional on [SIGSETXID].
9400         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9401         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9402         is defined.  Likewise for SIGSETXID.
9403         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9404         Conditionalize definitions on [SIGSETXID].
9405         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9406         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9407         unblocking on [SIGCANCEL].
9409         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9410         [__NR_set_robust_list].
9412 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9414         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9415         (do_compare): Likewise.
9417 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9419         [BZ #15884]
9420         * string/strcoll_l.c: Don't include stdio.h.
9421         (coll_seq): Remove members idxarr and rulearr.
9422         (get_next_seq_cached): Remove function.
9423         (get_next_seq): Likewise.
9424         (get_next_seq_nocache): Rename to get_next_seq.
9425         (do_compare): Remove function.
9426         (do_compare_nocache): Rename to do_compare.
9427         (STRCOLL): Remove weight and rules cache.
9429 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9431         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9432         * sysdeps/arm/sfp-machine.h: ... to here.
9433         * sysdeps/arm/Implies: Remove arm/soft-fp.
9435 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9437         * conform/data/sys/utsname.h-data (*_t): Allow.
9438         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9439         [POSIX] (WEXITED): Do not expect constant.
9440         [POSIX] (WSTOPPED): Likewise.
9441         [POSIX] (WNOHANG): Likewise.
9442         [POSIX] (WNOWAIT): Likewise.
9443         [POSIX] (siginfo_t): Do not expect type or elements.
9444         [POSIX] (pid_t): Do not expect type.
9445         [POSIX] (signal.h): Do not allow header.
9446         [POSIX] (sys/resource.h): Likewise.
9447         [POSIX] (si_*): Do not allow pattern.
9448         [POSIX] (W*): Likewise.
9449         [POSIX] (P_*): Likewise.
9450         [POSIX] (BUS_*): Likewise.
9451         [POSIX] (CLD_*): Likewise.
9452         [POSIX] (FPE_*): Likewise.
9453         [POSIX] (ILL_*): Likewise.
9454         [POSIX] (POLL_*): Likewise.
9455         [POSIX] (SEGV_*): Likewise.
9456         [POSIX] (SI_*): Likewise.
9457         [POSIX] (TRAP_*): Likewise.
9458         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9459         variable.
9461 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9463         [BZ #12926]
9464         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9465         infinite loop when __recvmsg returns 0.
9467 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9469         * CANCEL-FCT-WAIVE: Remove file.
9470         * CANCEL-FILE-WAIVE: Likewise.
9472         [BZ #14132]
9473         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9474         instead of INTVARDEF.
9475         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9476         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9477         rtld_hidden_data_def instead of INTVARDEF.
9478         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9479         * elf/dl-deps.c (expand_dst): Likewise.
9480         * elf/dl-load.c (_dl_dst_count): Likewise.
9481         (_dl_dst_substitute): Likewise.
9482         (decompose_rpath): Likewise.
9483         (_dl_init_paths): Likewise.
9484         (open_path): Likewise.
9485         (_dl_map_object): Likewise.
9486         * elf/rtld.c (dl_main): Likewise.
9487         (process_dl_audit): Likewise.
9488         (process_envvars): Likewise.
9489         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9490         Remove declaration.
9491         (__libc_enable_secure): Use rtld_hidden_proto.
9493 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9495         * elf/dl-load.c
9496         (add_path): New function broken out of _dl_rtld_di_serinfo.
9497         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9499 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9501         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9502         parentheses around macro arguments.
9503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9512         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9514         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9515         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9516         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9517         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9518         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9519         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9532         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9533         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9534         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9535         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9536         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9537         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9538         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9539         Likewise.
9540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9542         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9547         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9549         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9550         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9551         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9552         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9561         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9562         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9565         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9566         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9567         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9568         (_FP_FRAC_SRS_1): Likewise.
9569         (_FP_FRAC_CLZ_1): Likewise.
9570         (_FP_MUL_MEAT_1_imm): Likewise.
9571         (_FP_MUL_MEAT_1_wide): Likewise.
9572         (_FP_MUL_MEAT_1_hard): Likewise.
9573         (_FP_SQRT_MEAT_1): Likewise.
9574         (_FP_FRAC_ASSEMBLE_1): Likewise.
9575         (_FP_FRAC_DISASSEMBLE_1): Likewise.
9576         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9577         (__FP_CLZ_2): Likewise.
9578         (_FP_MUL_MEAT_2_wide): Likewise.
9579         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9580         (_FP_MUL_MEAT_2_gmp): Likewise.
9581         (_FP_MUL_MEAT_2_120_240_double): Likewise.
9582         (_FP_SQRT_MEAT_2): Likewise.
9583         (_FP_FRAC_ASSEMBLE_2): Likewise.
9584         (_FP_FRAC_DISASSEMBLE_2): Likewise.
9585         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9586         (_FP_FRAC_CLZ_4): Likewise.
9587         (_FP_MUL_MEAT_4_wide): Likewise.
9588         (_FP_MUL_MEAT_4_gmp): Likewise.
9589         (_FP_SQRT_MEAT_4): Likewise.
9590         (_FP_FRAC_ASSEMBLE_4): Likewise.
9591         (_FP_FRAC_DISASSEMBLE_4): Likewise.
9592         * soft-fp/op-common.h (_FP_CMP): Likewise.
9593         (_FP_CMP_EQ): Likewise.
9594         (_FP_CMP_UNORD): Likewise.
9595         (_FP_TO_INT): Likewise.
9596         (_FP_FROM_INT): Likewise.
9597         [!__FP_CLZ] (__FP_CLZ): Likewise.
9598         (_FP_DIV_HELP_imm): Likewise.
9599         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9600         Likewise.
9601         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9612         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9615         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9616         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9617         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9619         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9630         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9633         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9634         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9635         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9636         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9637         (FP_UNPACK_RAW_SP): Likewise.
9638         (FP_PACK_RAW_S): Likewise.
9639         (FP_PACK_RAW_SP): Likewise.
9640         (FP_UNPACK_S): Likewise.
9641         (FP_UNPACK_SP): Likewise.
9642         (FP_UNPACK_SEMIRAW_S): Likewise.
9643         (FP_UNPACK_SEMIRAW_SP): Likewise.
9644         (FP_PACK_S): Likewise.
9645         (FP_PACK_SP): Likewise.
9646         (FP_PACK_SEMIRAW_S): Likewise.
9647         (FP_PACK_SEMIRAW_SP): Likewise.
9648         (_FP_SQRT_MEAT_S): Likewise.
9649         (FP_CMP_S): Likewise.
9650         (FP_CMP_EQ_S): Likewise.
9651         (FP_CMP_UNORD_S): Likewise.
9652         (FP_TO_INT_S): Likewise.
9653         (FP_FROM_INT_S): Likewise.
9655         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9657         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9658         (FP_EX_INVALID_IMZ): Likewise.
9659         (FP_EX_INVALID_IMZ_FMA): Likewise.
9660         (FP_EX_INVALID_ISI): Likewise.
9661         (FP_EX_INVALID_ZDZ): Likewise.
9662         (FP_EX_INVALID_IDI): Likewise.
9663         (FP_EX_INVALID_SQRT): Likewise.
9664         (FP_EX_INVALID_CVI): Likewise.
9665         (FP_EX_INVALID_VC): Likewise.
9666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9667         "invalid" exceptions.
9668         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9669         (_FP_ADD_INTERNAL): Likewise.
9670         (_FP_MUL): Likewise.
9671         (_FP_FMA): Likewise.
9672         (_FP_DIV): Likewise.
9673         (_FP_CMP_CHECK_NAN): Likewise.
9674         (_FP_SQRT): Likewise.
9675         (_FP_TO_INT): Likewise.
9676         (FP_EXTEND): Likewise.
9678 2014-10-09  Allan McRae  <allan@archlinux.org>
9680         * po/fr.po: Update French translation from translation project.
9682 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9684         [BZ #14132]
9685         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9686         of INTDEF.
9687         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9688         (__cxa_atexit): Use libc_hidden_proto.
9689         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9691         [BZ #14132]
9692         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9693         declaration.
9694         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9695         [!_ISOMAC] (__iswspace_l_internal): Likewise.
9696         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9697         [!_ISOMAC] (__iswctype_internal): Likewise.
9698         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9699         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9700         alias.
9701         (fcntl): Remove __fcntl_internal alias.
9702         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9703         __connect_internal alias.
9704         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9705         Likewise.
9707         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9708         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9709         FP_DENORM_ZERO.
9710         (_FP_CHECK_FLUSH_ZERO): New macro.
9711         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9712         (_FP_CMP): Likewise.
9713         (_FP_CMP_EQ): Likewise.
9714         (_FP_TO_INT): Do not set inexact for subnormal arguments if
9715         FP_DENORM_ZERO.
9716         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9717         (FP_TRUNC): Likewise.
9719         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9720         treated as invalid conversion, not as normal exponent.
9722         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9723         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
9724         (_FP_CMP_EQ): Likewise.
9725         (_FP_CMP_UNORD): Likewise.
9726         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9727         (FP_CMP_EQ_D): Likewise.
9728         (FP_CMP_UNORD_D): Likewise.
9729         * soft-fp/extended.h (FP_CMP_E): Likewise.
9730         (FP_CMP_EQ_E): Likewise.
9731         (FP_CMP_UNORD_E): Likewise.
9732         * soft-fp/quad.h (FP_CMP_Q): Likewise.
9733         (FP_CMP_EQ_Q): Likewise.
9734         (FP_CMP_UNORD_Q): Likewise.
9735         * soft-fp/single.h (FP_CMP_S): Likewise.
9736         (FP_CMP_EQ_S): Likewise.
9737         (FP_CMP_UNORD_S): Likewise.
9738         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9739         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9740         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9741         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9742         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9743         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9744         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9745         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9746         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9747         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9748         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9749         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9750         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9751         to FP_CMP_Q.
9752         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9753         FP_CMP_Q.
9754         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9755         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9756         FP_CMP_EQ_Q.
9757         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9758         FP_CMP_Q.
9759         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9760         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9761         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9762         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9763         FP_CMP_EQ_Q.
9764         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9765         FP_CMP_Q.
9766         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9767         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9768         FP_CMP_EQ_Q.
9769         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9770         FP_CMP_Q.
9771         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9772         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9773         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9774         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9775         FP_CMP_EQ_Q.
9777         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9778         a subnormal result, set the underflow exception if trapping on
9779         underflow is enabled.
9780         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9781         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9782         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9783         redefine to 0.
9784         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9785         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9786         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9787         * soft-fp/extendxftf2.c (__extendxftf2): Use
9788         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9790         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9791         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9792         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9793         FP_HANDLE_EXCEPTIONS.
9794         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9795         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9796         FP_HANDLE_EXCEPTIONS.
9797         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9798         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9799         FP_HANDLE_EXCEPTIONS.
9800         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9801         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9802         FP_HANDLE_EXCEPTIONS.
9804 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9806         [BZ #14132]
9807         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9808         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9809         use INTUSE.
9810         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9811         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9812         Remove alias.
9813         (__adjtimex): Define using libc_hidden_ver.
9814         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9815         Remove declaration.
9816         (ntp_gettime): Call __adjtimex directly.
9817         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9818         Remove declaration.
9819         (ntp_gettimex): Call __adjtimex directly.
9820         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9821         __adjtimex_internal alias.
9823 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9825         [BZ #17460]
9826         * nscd/nscd.c (more_help): Rewrite list of tables collection
9827         using xstrdup and asprintf.
9829         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9831 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9832             Roland McGrath  <roland@hack.frob.com>
9834         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9835         (do_lookup_unique): ... local function 'enter' here; update callers.
9837 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9839         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9840         compat_symbol calls on [SHARED].
9841         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9842         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9843         Remove.
9844         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9845         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9846         (oldsetrlimit): Remove.
9847         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9849         (lchown): New syscall entry.
9850         (oldsetrlimit): Remove.
9851         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9852         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9853         (oldsetrlimit): Remove.
9854         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9856         [BZ #14138]
9857         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9858         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9859         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9860         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9861         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9862         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9863         (fchown): Likewise.
9864         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9865         (fchown): Likewise.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9867         Likewise.
9869 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9871         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9872         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9873         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9874         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9875         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9876         Likewise.
9877         (__old_sem_post): Likewise.
9879 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9881         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9882         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9883         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9884         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9885         Use INLINE_VSYSCALL macro.
9886         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9887         __vdso_clock_gettime.
9888         * sysdeps/unix/sysv/linux/tile/init-first.c
9889         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9890         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9891         __vdso_clock_gettime.
9893         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9894         to set up frame more cleanly.
9896         * sysdeps/tile/memcmp.c: New file.
9898         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9900         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9901         * sysdeps/tile/tilegx/strcasestr.c: New file.
9902         * sysdeps/tile/tilegx/strnlen.c: New file.
9903         * sysdeps/tile/tilegx/strstr.c: New file.
9905         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9907 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9909         * nptl/tst-setuid3.c: Write errors to stdout.
9911 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9913         * elf/dl-deps.c
9914         (preload): New functions broken out of _dl_map_object_deps.
9915         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9917 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9919         [BZ #14138]
9920         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9921         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9923 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9925         * sysdeps/mips/strcmp.S: New.
9927 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #14138]
9930         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9931         (linkat): Likewise.
9932         (mkdirat): Likewise.
9933         (readlinkat): Likewise.
9934         (renameat): Likewise.
9935         (symlinkat): Likewise.
9936         (unlinkat): Likewise.
9937         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9938         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9939         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9940         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9941         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9942         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9943         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9945 2014-09-30  Will Newton  <will.newton@linaro.org>
9947         * math/math.h: Define long double math functions if
9948         _LIBC_TEST is defined.
9949         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9951         * localedata/Makefile: Move assignment to tests-special
9952         into an ifdef testing run-built-tests.
9953         * timezone/Makefile: Likewise.
9955 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9957         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9958         with $(BASH) not $(SHELL).
9960 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9961             Matthew LeGendre  <legendre1@llnl.gov>
9963         [BZ #17411]
9964         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9965         l_reloc_result.
9967 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9969         * stdio-common/printf_fp.c
9970         (hack_digit): New function, broken out of ...
9971         (__printf_fp): ... local function here.  Update call sites.
9972         hack_digit now takes an additional parameter that is a pointer
9973         to a struct of the referenced locals.  Those locals moved inside
9974         the struct and references updated.
9976 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9978         * aclocal.m4: Require autoconf 2.69.
9979         * configure: Regenerated.
9980         * sysdeps/aarch64/configure: Likewise.
9981         * sysdeps/alpha/configure: Likewise.
9982         * sysdeps/arm/armv7/configure: Likewise.
9983         * sysdeps/arm/configure: Likewise.
9984         * sysdeps/ia64/configure: Likewise.
9985         * sysdeps/mach/configure: Likewise.
9986         * sysdeps/mips/configure: Likewise.
9987         * sysdeps/s390/configure: Likewise.
9988         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9991         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9992         file.
9993         * sysdeps/ia64/configure.ac: Likewise.
9995 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9998         specify symbol version for ld.so.  Do not include entry for
9999         libpthread.
10000         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10001         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10002         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10004         [BZ #14171]
10005         * Makeconfig [$(build-shared) = yes]
10006         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10007         makefiles.
10008         [$(build-shared) = yes && $(soversions.mk-done) = t]
10009         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10010         [$(build-shared) = yes && $(soversions.mk-done) = t]
10011         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10012         to Makerules.
10013         [$(build-shared) = yes && $(soversions.mk-done) = t]
10014         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10015         here.
10016         [$(build-shared) = yes && $(soversions.mk-done) = t]
10017         (common-generated): Don't append gnu/lib-names.h and
10018         gnu/lib-names.stmp here.
10019         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10020         (lib-names-h-abi): New variable.
10021         [$(build-shared) = yes && $(soversions.mk-done) = t]
10022         (lib-names-stmp-abi): Likewise.
10023         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10024         abi-variants] (before-compile): Append
10025         $(common-objpfx)$(lib-names-h-abi).
10026         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10027         abi-variants] (common-generated): Append gnu/lib-names.h.
10028         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10029         abi-variants] (install-others-nosubdir): Depend on
10030         $(inst_includedir)/$(lib-names-h-abi).
10031         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10032         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10033         [$(build-shared) = yes && $(soversions.mk-done) = t]
10034         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10035         [$(build-shared) = yes && $(soversions.mk-done) = t]
10036         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10037         [$(build-shared) = yes && $(soversions.mk-done) = t]
10038         (common-generated): Append $(lib-names-h-abi) and
10039         $(lib-names-stmp-abi).
10040         * scripts/lib-names.awk: Do not handle multi being set.
10041         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10042         Remove variable.
10043         (abi-lp64_be-ld-soname): Likewise.
10044         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10045         Likewise.
10046         (abi-hard-ld-soname): Likewise.
10047         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10048         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10049         Remove variable.
10050         (abi-o32_hard-ld-soname): Likewise.
10051         (abi-o32_soft_2008-ld-soname): Likewise.
10052         (abi-o32_hard_2008-ld-soname): Likewise.
10053         (abi-n32_soft-ld-soname): Likewise.
10054         (abi-n32_hard-ld-soname): Likewise.
10055         (abi-n32_soft_2008-ld-soname): Likewise.
10056         (abi-n32_hard_2008-ld-soname): Likewise.
10057         (abi-n64_soft-ld-soname): Likewise.
10058         (abi-n64_hard-ld-soname): Likewise.
10059         (abi-n64_soft_2008-ld-soname): Likewise.
10060         (abi-n64_hard_2008-ld-soname): Likewise.
10061         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10062         Likewise.
10063         (abi-64-v2-ld-soname): Likewise.
10064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10065         ld.so entries.
10066         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10067         variable.
10068         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10069         entry.
10070         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10071         variable.
10072         (abi-64-ld-soname): Likewise.
10073         (abi-x32-ld-soname): Likewise.
10074         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10075         entry.
10076         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10078 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10080         [BZ #14138]
10081         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10082         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10083         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10084         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10085         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10086         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10087         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10088         syscall entry for GLIBC_2.2 symbol version.
10089         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10092         (setrlimit): Likewise.
10093         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10094         Likewise.
10096 2014-09-23  Will Newton  <will.newton@linaro.org>
10098         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10099         _LINUX_ARM_SYSDEP_H include guard too.
10100         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10101         define.
10103 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10105         * sysdeps/unix/sysv/linux/eventfd.c:
10106         Make first argument unsigned.
10107         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10108         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10110 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10112         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10113         * socket/sys/socket.h: Likewise
10114         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10116 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10118         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10120 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10122         * time/tst-ftime.c: New test.
10123         * time/Makefile (tests): Add tst-ftime.
10125 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10127         * soft-fp/extended.h: Fix comment formatting.
10128         * soft-fp/op-1.h: Likewise.
10129         * soft-fp/op-2.h: Likewise.
10130         * soft-fp/op-4.h: Likewise.
10131         * soft-fp/op-8.h: Likewise.
10132         * soft-fp/op-common.h: Likewise.
10133         * soft-fp/soft-fp.h: Likewise.
10135         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10137 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10139         [BZ #6652]
10140         * Makeconfig (soversions-default-setname): Remove variable.
10141         ($(common-objpfx)soversions.i): Don't pass default_setname to
10142         soversions.awk.
10143         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10144         oldest_abi to abi-versions.awk.
10145         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10146         * config.make.in (oldest-abi): Remove variable.
10147         * configure.ac (--enable-oldest-abi): Remove configure option.
10148         * configure: Regenerated.
10149         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10150         text.
10151         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10152         * scripts/soversions.awk: Do not handle default_setname variable.
10153         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10154         variable.
10155         * sysdeps/mach/hurd/configure: Regenerated.
10156         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10157         variable.
10158         * sysdeps/unix/sysv/linux/configure: Regenerated.
10160 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10162         * elf/Makefile (CFLAGS-interp.c): Remove.
10163         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10164         path string.
10165         * elf/interp.c: Include generated runtime-linker.h
10167         * Makerules (lib%.so): Don't include $(+interp) in
10168         prerequisites.
10169         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10170         * dlfcn/eval.c: Remove file.
10172         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10173         macros.
10175         [BZ #17266]
10176         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10177         4.2 and newer.
10179         [BZ #17370]
10180         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10182 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10183             Jakub Jelinek  <jakub@redhat.com>
10185         [BZ #17266]
10186         * libio/stdio.h: Check definition of __fortify_function
10187         instead of __extern_always_inline to include bits/stdio2.h.
10188         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10189         check if __extern_always_inline is defined.
10190         [__USE_MISC || __USE_XOPEN]: Likewise.
10191         [__USE_ISOC99] Likewise.
10192         * misc/sys/cdefs.h (__fortify_function): Define only if
10193         __extern_always_inline is defined.
10194         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10195         __extern_always_inline and __extern_inline only for g++-4.3
10196         and newer or a compatible gcc.
10198 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10200         [BZ #17371]
10201         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10202         last change to handle zero prefix length.
10204 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10206         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10207         _SC_REGEX_VERSION.
10209         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10210         _POSIX_RAW_SOCKETS.
10212 2014-09-13  Allan McRae  <allan@archlinux.org>
10214         * po/ru.po: Update Russian translation from translation project.
10216 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10218         * locale/programs/locale.c (show_locale_vars): Inline local function
10219         into its sole call site.  Clean up some style nits.
10220         (print_item): New function, broken out of ...
10221         (show_info): ... local function here.  Clean up style nits.
10223         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10224         out of ...
10225         (set_class_defaults): ... local function set_default here.
10226         Define set_default as a macro locally to pass constant parameters.
10227         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10228         rather than a shared local.
10230         * stdlib/rpmatch.c (try): New function, broken out of ...
10231         (rpmatch): ... local function here.  Also, prototypify definition.
10233 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10235         * scripts/soversions.awk: Do not handle configuration names.
10236         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10237         vendor and os variables to soversions.awk.
10238         * configure.ac: Do not modify gnu-* host_os.
10239         * configure: Regenerated
10240         * shlib-versions: Remove first column with configuration names.
10241         * nptl/shlib-versions: Likewise.
10242         * nptl_db/shlib-versions: Likewise.
10243         * sysdeps/hppa/shlib-versions: Likewise.
10244         * sysdeps/m68k/shlib-versions: Likewise.
10245         * sysdeps/mach/hurd/shlib-versions: Likewise.
10246         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10247         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10248         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10249         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10250         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10251         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10252         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10253         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10257         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10258         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10259         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10260         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10261         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10262         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10263         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10266         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10268         Regenerated.
10269         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10271         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10273         * shlib-versions: Remove OS-specific entries.  Moved to files in
10274         sysdeps.
10275         * sysdeps/mach/hurd/shlib-versions: New file.
10276         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10278         * nptl/shlib-versions: Remove architecture-specific entries.
10279         Moved to files in sysdeps.
10280         * shlib-versions: Likewise.
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10282         file.
10283         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10284         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10285         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10286         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10288         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10289         (UDP_NO_CHECK6_RX): Likewise.
10291 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10293         * sysdeps/posix/sysconf.c (__sysconf): Spell
10294         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10296 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10298         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10299         loading.
10300         * iconv/Versions (__gconv_transliterate): Export for use from
10301         gconv modules.
10302         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10303         (struct __gconv_trans_data, __gconv_trans_fct,
10304         __gconv_trans_context_fct, __gconv_trans_query_fct,
10305         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10306         definitions.
10307         (struct __gconv_step_data): Remove __trans member.
10308         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10309         longer hidden.  Remove unused trans_data argument.
10310         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10311         (__gconv_translit_find): Remove declaration.
10312         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10313         prototype.
10314         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10315         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10316         trans_data argument.  Add hidden definition.
10317         (__gconv_translit_find): Remove.
10318         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10319         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10320         * iconv/skeleton.c: Remove transliteration initialization.
10321         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10322         __gconv_step_data initialization.
10323         * libio/iofwide.c (__libio_translit_): Remove.
10324         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10325         * wcsmbs/btowc.c (__btowc): Likewise.
10326         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10327         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10328         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10329         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10330         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10331         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10332         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10333         * wcsmbs/wctob.c (wctob): Likewise.
10335 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10337         [BZ #16194]
10338         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10339         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10340         register usage.
10341         * sysdeps/x86/Makefile: Adjust.
10343 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10344             Roland McGrath  <roland@hack.frob.com>
10346         * locale/weight.h: Add include guard.
10347         (findidx): Make static rather than auto; take new parameters
10348         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10349         * locale/weightwc.h: Likewise.
10350         * posix/fnmatch_loop.c
10351         (FCT): Change type of EXTRA from int32_t to wint_t.
10352         Don't include either header inside the function.
10353         Call FINDIDX rather than findidx, and pass new arguments.
10354         #undef FINDIDX at the end of the file.
10355         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10356         FINDIDX before including fnmatch_loop.c for the non-wide version.
10357         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10358         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10359         for the wide version.
10360         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10361         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10362         Pass new arguments to findidx.
10363         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10364         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10365         Don't #include it inside the function.  Pass new arguments to findidx.
10366         * posix/regex_internal.h
10367         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10368         (re_string_elem_size_at): Don't #include it inside the function.
10369         Pass new arguments to findidx.
10370         * string/strcoll_l.c: #include WEIGHT_H at top level.
10371         (get_next_seq): Don't #include it inside the function.
10372         Pass new arguments to findidx.
10373         (get_next_seq_nocache): Likewise.
10374         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10375         (STRXFRM): Don't #include it inside the function.
10376         Pass new arguments to findidx.
10378 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10380         [BZ #17344]
10381         * malloc/malloc.c (unlink): Turn asserts into a call to
10382         malloc_printerr.
10384 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10386         [BZ #17370]
10387         * libio/wfileops (do_ftell_wide): Free OUT.
10389 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10391         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10393 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10395         [BZ #17363]
10396         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10397         group if the current group is empty.
10399 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10401         * benchtests/bench-memset.c (test_main): Add more test from size
10402         from 32 to 512 bytes.
10403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10404         Add POWER8 memset object.
10405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10406         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10407         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10408         implementation.
10409         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10410         Likewise.
10411         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10412         multiarch POWER8 memset optimization.
10413         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10414         POWER8 memset optimization.
10416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10417         Remove bzero multiarch objects.
10418         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10421         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10422         Remove define.
10423         [__bzero]: Redefine to specific name.
10424         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10425         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10426         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10427         define.
10428         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10429         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10431 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10433         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10434         warnings into errors.
10436         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10437         __cxa_thread_atexit_impl prototype.
10439 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10441         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10442         Fix capitalization of error message.
10444 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10446         * sysdeps/mips/preconfigure: Modify ABI tests.
10448 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10450         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10452 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10453             Carlos O'Donell  <carlos@systemhalted.org>
10455         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10456         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10457         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10458         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10459         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10460         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10461         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10462         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10463         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10464         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10465         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10466         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10467         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10468         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10469         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10470         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10471         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10472         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10473         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10474         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10475         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10476         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10477         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10478         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10479         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10480         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10481         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10482         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10483         Deconditionalize the code that was previously under [RESET_PID].
10484         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10485         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10486         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10487         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10488         include sysdep.h.
10490 2014-09-08  Allan McRae  <allan@archlinux.org>
10492         * version.h (RELEASE): Set to "development".
10493         (VERSION): Set to "2.20.90"
10495 2014-09-07  Allan McRae  <allan@archlinux.org
10497         * version.h (RELEASE): Set to "stable".
10498         (VERSION): Set to "2.20"
10499         * include/features.h (__GLIBC_MINOR__): Set to 20.
10501         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10502         Liebler.
10504         * po/ko.po: Update Korean translation from translation project.
10506 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10508         [BZ #17354]
10509         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10510         macro for handling signed relocations.
10512 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10514         [BZ #17325]
10515         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10516         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10517         assert.
10518         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10519         * iconvdata/ibm935.c (BODY): Likewise.
10520         * iconvdata/ibm937.c (BODY): Likewise.
10521         * iconvdata/ibm939.c (BODY): Likewise.
10522         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10523         assert.
10524         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10525         script.
10526         * iconvdata/run-iconv-test.sh: New test loop for checking for
10527         decoder crashers.
10529 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10532         libm_hidden_ver.
10534 2014-09-01  Allan McRae  <allan@archlinux.org>
10536         * po/eo.po: Update Esperanto translation from translation project.
10538         * po/ca.po: Update Catalan translation from translation project.
10540 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10542         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10543         __proc_dostop call.
10545 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10547         [BZ #17319]
10548         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10549         to call set_thread_area instead of hand written asm.
10550         (__NR_set_thread_area): Removed define.
10551         (TLS_FLAG_WRITABLE): Likewise.
10552         (__ASSUME_SET_THREAD_AREA): Remove check.
10553         (TLS_EBX_ARG): Remove define.
10554         (TLS_LOAD_EBX): Likewise.
10556 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10558         Simplify atomicity of socket creation in bind.
10560         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10561         looking up the name after linking the file.
10563 2014-08-27  Allan McRae  <allan@archlinux.org>
10565         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10567 2014-08-26  Florian Weimer  <fweimer@redhat.com>
10569         [BZ #17187]
10570         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10571         trans_compare, open_translit, __gconv_translit_find):
10572         Remove module loading code.
10574 2014-08-26  Allan McRae  <allan@archlinux.org>
10576         * po/vi.po: Update Vietnamese translation from translation project.
10578         * po/uk.po: Update Ukrainian translation from translation project.
10580         * po/fr.po: Update French translation from translation project.
10582         * po/ru.po: Update Russian translation from translation project.
10584         * po/pl.po: Update Polish translation from translation project.
10586         * po/cs.po: Update Czech translation from translation project.
10588         * po/de.po: Update German translation from translation project.
10590         * po/bg.po: Update Bulgarian translation from translation project.
10592         * po/sv.po: Update Sweedish translation from translation project.
10594         * po/nl.po: Update Dutch translation from translation project.
10596         * po/es.po: Update Spanish translation from translation project.
10598 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10600         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10602         * catgets/Makefile (CPPFLAGS-gencat): Remove.
10603         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10604         (CPPFLAGS-iconvconfig): Likewise.
10605         * timezone/Makefile (CPPFLAGS-zic): Likewise.
10607         * include/libc-symbols.h: Remove unnecessary check for
10608         NOT_IN_libc.
10609         * nptl/pthreadP.h: Likewise.
10610         * sysdeps/aarch64/setjmp.S: Likewise.
10611         * sysdeps/alpha/setjmp.S: Likewise.
10612         * sysdeps/arm/sysdep.h: Likewise.
10613         * sysdeps/i386/setjmp.S: Likewise.
10614         * sysdeps/m68k/setjmp.c: Likewise.
10615         * sysdeps/posix/getcwd.c: Likewise.
10616         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10617         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10618         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10619         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10620         * sysdeps/sh/sh3/setjmp.S: Likewise.
10621         * sysdeps/sh/sh4/setjmp.S: Likewise.
10622         * sysdeps/unix/alpha/sysdep.h: Likewise.
10623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10625         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10626         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10631         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10633         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10634         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10636         * sysdeps/x86_64/setjmp.S: Likewise.
10638 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
10640         [BZ #17263]
10641         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10642         <stdint.h>.
10643         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10644         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10646 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10648         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10650         [BZ #17262]
10651         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10652         and __x86_64__ when disabling x87 inline functions.
10654 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10656         [BZ #17259]
10657         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10658         asm statement with __cpuid_count.
10660 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
10662         * configure.ac: Change __ehdr_start code to dereference the struct.
10663         Run readelf on the output to look for relocations.
10664         * configure: Regenerated.
10666 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
10668         [BZ #17261]
10669         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10670         value to 0.
10671         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10673 2014-08-12  Roland McGrath  <roland@hack.frob.com>
10675         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10677 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
10679         [BZ #16892]
10680         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10681         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10683 2014-08-12  Sean Anderson  <seanga2@gmail.com>
10685         * malloc/malloc.c: Fix typo in comment.
10687 2014-08-09  Allan McRae  <allan@archlinux.org>
10689         * Regenerate libc.po.
10691 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
10693         * intl/tst-gettext2.sh: Check every lang file for creation.
10695 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10697         * sysdeps/aarch64/fpu/math_private.h
10698         (libc_feholdsetround_noex_aarch64_ctx): New function.
10700 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10702         * sysdeps/arm/armv6/strcpy.S (strcpy):
10703         Fix performance issue in misaligned cases.
10705 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10707         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10708         Move definition from termios.h.
10709         (struct termio): Likewise.
10710         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10711         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10712         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10713         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10714         Likewise.
10715         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10716         Move definition to ioctl-types.h
10717         (struct termio): Likewise.
10718         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10719         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10720         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10721         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10722         Likewise.
10724 2014-08-05  Richard Henderson  <rth@redhat.com>
10726         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10727         exceptions.
10728         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10729         Add fraiseexcpt.
10730         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10731         Use __feraiseexcept.
10732         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10733         Protect libm symbols with IS_IN_libm.
10735         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10737 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
10739         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10741 2014-08-04  Will Newton  <will.newton@linaro.org>
10743         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10744         file.
10746 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
10748         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10749         variants for each function.
10751 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10753         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10754         appended ...
10755         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10756         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10757         appended ...
10758         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10759         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10760         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10761         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10762         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10763         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10764         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10765         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10766         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10767         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10768         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10769         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10770         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10771         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10772         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10773         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10774         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10775         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10776         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10777         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10778         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10779         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10781         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10782         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10783         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10784         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10785         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10786         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10787         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10788         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10789         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10790         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10791         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10792         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10793         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10794         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10795         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10796         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10797         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10798         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10800         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10802         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10804         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10805         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10806         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10808         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10809         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10810         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10811         Update #include.
10812         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10813         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10815 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10817         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10818         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10819         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10820         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10821         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10822         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10824 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10826         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10827         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10828         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10829         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10831 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10833         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10834         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10835         (__libc_vfork): Define function under this name.
10836         (__vfork): Define as an alias.
10837         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10838         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10840 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10842         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10843         that was previously under [RESET_PID].
10844         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10846 2014-08-04  Andreas Schwab  <schwab@suse.de>
10848         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10850 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10852         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10853         (main): Likewise.
10855 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10857         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10859 2014-08-01  Richard Henderon  <rth@redhat.com>
10861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10862         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10863         typo in exact zero test.
10864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10868 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10870         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10871         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10872         * sysdeps/arm/sysdep.h: ... here.
10873         [!__ASSEMBLER__]: Include <stdint.h>.
10875 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10877         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10878         (HAVE_WCTYPE_H): Likewise.
10879         (HAVE_ISWCTYPE): Likewise.
10880         (ENABLE_NLS): Likewise.
10881         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10882         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10884         * posix/regex_internal.c: Check if DEBUG is defined and is
10885         set.
10887         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10888         (HAVE_MBSRTOWCS): Likewise.
10889         * posix/fnmatch.c: Include string.h unconditionally.
10891 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10893         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10894         reversal.
10896 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10898         * sysdeps/generic/safe-fatal.h: New file.
10899         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10900         * nptl/forward.c: Include it.
10901         (__pthread_unwind): Use __safe_fatal as default action, rather
10902         than a bogus use of INTERNAL_SYSCALL that could never work.
10904         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10905         * configure.ac (libc_cv_builtin_trap): New test.
10906         * configure: Regenerated.
10907         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10908         (ABORT_INSTRUCTION): Define using __builtin_trap.
10910         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10911         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10912         * sysdeps/nptl/nptl-signals.h: New file.
10913         * nptl/pthreadP.h: Include <nptl-signals.h>.
10915 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10917         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10918         (ONE_DIRECTION): Define.
10919         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10920         (ONE_DIRECTION): Define.
10921         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10922         (ONE_DIRECTION): Define.
10924 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10926         * sysdeps/s390/Makefile: Delete file.
10927         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10928         * sysdeps/s390/__longjmp.c: Delete file.
10929         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10930         Remove fields __flags and __reserved.
10931         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10932         and add versioning.
10933         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10934         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10935         * sysdeps/s390/rtld-setjmp.S: Likewise.
10936         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10937         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10938         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10939         * sysdeps/s390/s390-32/setjmp.S: ... here.
10940         Add versioning.
10941         (__sigsetjmp): Remove setting __flags field.
10942         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10943         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10944         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10945         * sysdeps/s390/s390-64/setjmp.S: ... here.
10946         Add versioning.
10947         (__sigsetjmp): Remove setting __flags field.
10948         * sysdeps/s390/setjmp.S: Delete file.
10949         * sysdeps/s390/sigjmp.c: Likewise.
10950         * sysdeps/s390/v1-longjmp.c: Likewise.
10951         * sysdeps/s390/v1-setjmp.h: Likewise.
10952         * sysdeps/s390/v1-sigjmp.c: Likewise.
10953         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10954         Remove v1-longjmp_chk.
10955         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10956         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10957         Include debug/longjmp_chk.c and add versioning.
10958         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10959         Include nptl/pt-longjmp.c and add versioning.
10960         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10961         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10962         Include __longjmp.c.
10963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10964         Move to ...
10965         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10966         (__getcontext): Remove setting __flags field.
10967         Add versioning.
10968         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10969         Don't restore upper high grps.
10970         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10971         Likewise.
10972         (__swapcontext): Remove setting uc_flags field.
10973         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10974         Delete file.
10975         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10976         Include __longjmp.c.
10977         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10978         Move to ...
10979         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10980         (__getcontext): Remove setting __flags field.
10981         Add versioning.
10982         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10983         (__swapcontext): Remove setting uc_flags field.
10984         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10985         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10986         Remove fields uc_high_gprs and __reserved.
10987         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10988         New file with reverted content.
10989         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10990         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10991         Regenerated.
10992         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10993         Regenerated.
10995 2014-07-31  Andreas Schwab  <schwab@suse.de>
10997         * config.h.in (HAVE_IFUNC): Define to 0.
10998         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10999         definedness.
11001 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11004         memmove-avx-unaligned, memcpy-avx-unaligned and
11005         mempcpy-avx-unaligned.
11006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11007         Add tests for AVX memcpy functions.
11008         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11009         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11010         memcpy_chk.
11011         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11012         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11013         memmove_chk.
11014         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11016         mempcpy_chk.
11017         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11018         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11021 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11023         [BZ #17213]
11024         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11025         powerpc64le.
11027 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11029         [BZ #16839]
11030         * manual/llio.texi: Add section about open file description locks.
11031         * manual/examples/ofdlocks.c: Example of open file description
11032         lock usage.
11033         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11034         F_OFD_SETLK, and F_OFD_SETLKW.
11036 2014-07-23  Allan McRae  <allan@archlinux.org>
11038         * po/es.po: Update Spanish translation from translation project.
11040 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11042         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11044 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11046         [BZ #17078]
11047         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11048         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11049         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11051 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11053         [BZ #17088]
11054         * math/fesetenv.c (__fesetenv)
11055         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11056         * math/feupdateenv.c (__feupdateenv)
11057         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11059         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11061         (__ASSUME_SOCKETCALL): Do not define.
11063         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11064         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11065         (__ASSUME_SOCKETCALL): Do not define.
11066         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11067         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11068         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11069         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11071         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11072         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11073         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11075         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11076         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11077         (__ASSUME_SOCKETCALL): Do not define.
11078         (__ASSUME_IPC64): Define unconditionally.
11079         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11080         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11081         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11083         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11085         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11086         Likewise.
11088         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11089         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11090         (__ASSUME_SOCKETCALL): Do not define.
11091         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11092         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11093         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11094         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11095         (__ASSUME_REQUEUE_PI): Define unconditionally.
11096         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11097         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11098         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11099         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11100         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11101         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11103         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11104         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11105         (__ASSUME_SOCKETCALL): Do not define.
11106         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11107         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11108         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11109         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11111         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11113         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11114         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11115         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11116         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11117         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11118         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11120         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11121         (__ASSUME_GETCPU_SYSCALL): Likewise.
11123         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11124         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11125         cases for individual architectures.
11126         * sysdeps/gnu/configure: Regenerated.
11127         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11128         LIBC_SLIBDIR_RTLDDIR.
11129         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11130         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11131         LIBC_SLIBDIR_RTLDDIR.
11132         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11134         LIBC_SLIBDIR_RTLDDIR.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11136         Regenerated.
11137         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11138         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11139         file.
11140         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11141         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11142         file.
11143         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11144         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11145         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11146         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11148         * sysdeps/aarch64/shlib-versions: Move to ...
11149         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11150         * sysdeps/alpha/shlib-versions: Move to ...
11151         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11152         * sysdeps/arm/shlib-versions: Move to ...
11153         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11154         * sysdeps/hppa/shlib-versions: Move all contents except for
11155         libgcc_s entry to ...
11156         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11157         entry from ...
11158         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11159         * sysdeps/ia64/shlib-versions: Move to ...
11160         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11161         entry from ...
11162         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11163         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11164         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11165         * sysdeps/microblaze/shlib-versions: Move to ...
11166         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11167         * sysdeps/mips/shlib-versions: Move to ...
11168         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11169         entry from ...
11170         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11171         * sysdeps/tile/shlib-versions: Move to ...
11172         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11173         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11174         from ...
11175         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11176         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11177         entry from ...
11178         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11180 2014-07-17  Will Newton  <will.newton@linaro.org>
11182         * sysdeps/arm/bits/atomic.h
11183         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11184         (__arch_compare_and_exchange_bool_16_int): Likewise.
11185         (__arch_compare_and_exchange_bool_64_int): Likewise.
11187         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11188         into an #else block.
11190 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11192         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11193         just Linux configurations.  Test empirically that the compiler sets
11194         __ARM_EABI__, rather than using the tuple to decide.
11195         * sysdeps/arm/preconfigure: Regenerated.
11196         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11197         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11198         contents appended ...
11199         * sysdeps/arm/configure.ac: ... here.
11200         * sysdeps/arm/configure: Regenerated.
11202 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11204         * nptl/pthread_kill.c: New file.
11205         * nptl/pthread_sigmask.c: New file.
11206         * nptl/pthread_sigqueue.c: New file.
11208         * sysdeps/nptl/lowlevellock.h: New file.
11209         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11210         * sysdeps/nptl/lowlevellock-futex.h: New file.
11212         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11213         Remove dead declarations.
11215 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11217         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11218         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11219         config-cflags-avx2.
11220         * sysdeps/x86_64/configure.ac: Likewise.
11221         * sysdeps/i386/configure: Regenerated.
11222         * sysdeps/x86_64/configure: Likewise.
11223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11224         memset-avx2 only if config-cflags-avx2 is yes.
11225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11226         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11227         defined.
11228         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11229         only if HAVE_AVX2_SUPPORT is defined.
11230         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11232 2014-07-14  Alan Modra  <amodra@gmail.com>
11234         [BZ #17153]
11235         * elf/elf.h (DT_PPC64_NUM): Correct value.
11236         * NEWS: Add to fixed bug list.
11238 2014-07-13  Jim Meyering  <meyering@fb.com>
11240         [BZ 17150]
11241         regex: don't deref NULL upon heap allocation failure
11242         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11243         failure in one more place.
11244         To trigger the segfault, configure grep -with-included-regex,
11245         build it, and run these commands:
11246         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11248 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11250         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11252 2014-07-11  Richard Henderson  <rth@redhat.com>
11254         * sysdeps/aarch64/libm-test-ulps: Update.
11256 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11258         [BZ #17135]
11259         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11260         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11261         (__nptl_setxid): Initialize error member.  Call
11262         __nptl_setxid_error.
11263         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11264         * nptl/descr.h (struct xid_command): Add error member.
11265         * nptl/tst-setuid3.c: New file.
11266         * nptl/Makefile (tests): Add it.
11268 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11271         New define.
11272         (__lll_trylock): Use __lll_base_trylock.
11273         (__lll_cond_trylock): Likewise.
11275 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11277         * nptl/pthread_create.c (start_thread): Use atomic_or and
11278         lll_futex_wake directly rather than lll_robust_dead.
11279         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11280         (lll_robust_dead): Macro removed.
11281         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11282         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11283         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11285         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11286         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11287         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11288         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11289         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11291         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11292         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11294         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11297         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11298         Use atomic_compare_and_exchange_val_acq directly rather than
11299         lll_robust_trylock.
11300         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11301         (__lll_robust_trylock, lll_robust_trylock): Removed.
11302         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11303         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11304         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11305         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11306         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11307         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11308         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11309         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11310         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11311         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11312         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11313         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11314         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11315         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11317 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11319         * manual/locale.texi (Locale Names): New section documenting
11320         locale name syntax.  Adjust menu and node chaining accordingly.
11321         (Choosing Locale): Reference Locale Names, Locale Categories.
11322         Mention setting LC_ALL=C.  Reflect that name syntax is now
11323         documented.
11324         (Locale Categories): New section title.  Reference Locale Names.
11325         LC_ALL is an environment variable, but not a category.
11326         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11327         description, now in Locale Name.  Reference that section.  Locale
11328         name syntax is now documented.
11330 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11332         [BZ #17137]
11333         * locale/findlocale.c (name_present, valid_locale_name): New
11334         functions.
11335         (_nl_find_locale): Use the loc_name variable to store name
11336         candidates.  Call name_present and valid_locale_name to check and
11337         validate locale names.  Return an error if the locale is invalid.
11339 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11341         * locale/setlocale.c (setlocale): Use strdup for allocating
11342         composite name copy.
11344 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11346         Sync up with gnulib.
11347         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11348         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11349         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11350         and _GL_ARG_NONNULL.
11351         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11352         [!_LIBC]: Include code for Windows and Cygwin.
11353         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11354         Include prototype for int strerror_r.
11355         [!_LIBC] (is_open): New function.
11356         (flush_stdout): New function.
11357         (print_errno_message): Use it.
11358         (error): Likewise.
11359         (error_at_line): Likewise.
11360         (error_tail) Add function attribute macros.  Use
11361         __builtin_expect.
11363         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11365         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11367         * io/ftw.c: Include sys/param.h unconditionally.
11369         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11371         [BZ #17125]
11372         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11373         libc_freeres_ptr.
11374         (freecache): New function to free CACHE on exit.
11376         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11377         initialization.
11379 2014-07-09  David S. Miller  <davem@davemloft.net>
11381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11383         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11384         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11385         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11386         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11387         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11388         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11389         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11390         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11391         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11392         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11393         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11394         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11395         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11397 2014-07-09  Andreas Schwab  <schwab@suse.de>
11399         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11400         output.
11401         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11402         (do_test): Likewise.
11404         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11406 2014-07-09  Will Newton  <will.newton@linaro.org>
11408         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11409         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11410         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11411         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11412         * sysdeps/hppa/start.S (_start): Likewise.
11414 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11416         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11418         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11419         defined.
11421 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11423         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11424         after checking that it is non-NULL.
11426         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11428 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11430         * sysdeps/powerpc/memmove.c: Remove file.
11431         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11432         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11433         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11434         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11435         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11436         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11437         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11438         string memmove instead of removed powerpc one.
11440         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11441         [weak_alias]: Fix compiler warning due trailing data.
11442         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11443         [weak_alias]: Likewise.
11444         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11445         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11448         (__libc_ifunc_impl_list): Add memmove functions.
11450 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11452         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11453         Remove code.
11454         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11455         Likewise
11456         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11457         Likewise
11458         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11459         Likewise
11460         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11461         Likewise
11462         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11463         Likewise
11464         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11465         Likewise
11466         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11467         Likewise
11468         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11469         Likewise
11470         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11471         Likewise
11472         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11473         Likewise
11474         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11475         Likewise
11476         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11477         Likewise
11478         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11479         Likewise
11480         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11481         Likewise
11482         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11483         Likewise
11484         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11485         Likewise
11487 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11489         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11490         to avoid alignment traps in non-cacheable memory.
11491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11494         multiarch objects.
11495         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11496         file: multiarch power7 memmove.
11497         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11498         multiarch default memmove.
11499         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11500         multiarch memove for powerpc32/power4.
11502         * string/bcopy.c: Use full path to include memmove.c.
11503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11504         multiarch objects.
11505         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11506         bcopy for powerpc64.
11507         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11508         bcopy for powerpc64.
11509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11510         and memmove implementations.
11511         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11512         optimized multiarch memmove for POWER7/powerpc64.
11513         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11514         default multiarch memmove for powerpc64.
11515         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11516         multiarch for powerpc64.
11517         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11518         for POWER7/powerpc64.
11519         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11520         memmove for POWER7/powerpc64.
11522         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11523         glibc default one.
11525         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11526         __ELF_NATIVE_CLASS equal to 64.
11528 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11530         * sysdeps/nptl/lowlevellock.h: File removed.
11532         * NEWS: NPTL is no longer an add-on!
11533         * nptl/internaltypes.h: Moved ...
11534         * sysdeps/nptl/internaltypes.h: ... here.
11535         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11536         * sysdeps/nptl/fork.c: Likewise.
11537         * sysdeps/nptl/gai_misc.h: Likewise.
11538         * sysdeps/nptl/librt-cancellation.c: Likewise.
11539         * sysdeps/nptl/jmp-unwind.c: Likewise.
11540         * sysdeps/nptl/setxid.h: Likewise.
11541         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11542         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11543         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11544         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11545         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11546         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11547         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11548         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11549         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11550         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11551         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11552         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11553         * sysdeps/unix/sysv/linux/sh/Implies: New file.
11554         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11555         * sysdeps/unix/sysv/linux/tile/Implies: New file.
11556         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11557         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11558         * nptl/Makeconfig: Moved ...
11559         * sysdeps/nptl/Makeconfig: ... here.
11560         * nptl/configure: File removed.
11561         * nptl/ANNOUNCE: File removed.
11562         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11563         * sysdeps/unix/sysv/linux/configure: Regenerated.
11565         * nptl/Makefile (routines): Add libc_pthread_init,
11566         libc_multiple_threads, register-atfork and unregister-atfork.
11567         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11568         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11569         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11570         pthread-pi-defines.sym, structsem.sym.
11571         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11572         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11573         [$(subdir) = nptl] (tests): Add tst-setgetname.
11574         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11575         * sysdeps/unix/sysv/linux/sigaction.c: Just include
11576         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11577         [!LIBC_SIGACTION]: Remove aliases.
11578         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11579         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11580         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11581         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11582         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11583         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11586         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11587         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11588         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11589         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11590         __libc_allocate_rtsig_private.
11591         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11592         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11593         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11594         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11595         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11596         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11597         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11598         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11599         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11600         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11601         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11602         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11603         * nptl/internaltypes.h: ... here.
11604         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11605         * sysdeps/nptl/jmp-unwind.c: ... here.
11606         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11607         * nptl/libc-lowlevellock.c: ... here.
11608         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11609         * nptl/libc_multiple_threads.c: ... here.
11610         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11611         * nptl/libc_pthread_init.c: ... here.
11612         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11613         * nptl/lowlevelbarrier.sym: ... here.
11614         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11615         * nptl/lowlevelcond.sym: ... here.
11616         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11617         * nptl/lowlevellock.c: ... here.
11618         * nptl/lowlevellock.h: Moved ...
11619         * sysdeps/nptl/lowlevellock.h: ... here.
11620         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11621         * nptl/lowlevelrobustlock.c: ... here.
11622         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11623         * nptl/lowlevelrobustlock.sym: ... here.
11624         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11625         * nptl/lowlevelrwlock.sym: ... here.
11626         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11627         * nptl/pt-fork.c: ... here.
11628         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11629         * nptl/pthread-pi-defines.sym: ... here.
11630         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11631         * nptl/pthread_attr_getaffinity.c: ... here.
11632         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11633         * nptl/pthread_attr_setaffinity.c: ... here.
11634         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11635         * nptl/pthread_mutex_cond_lock.c: ... here.
11636         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11637         Update #include.
11638         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11639         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11640         * nptl/pthread_once.c: ... here, replacing old file.
11641         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11642         * nptl/pthread_yield.c: ... here.
11643         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11644         * nptl/register-atfork.c: ... here.
11645         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11646         * nptl/sem_post.c: ... here.
11647         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11648         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11649         * nptl/sem_timedwait.c: ... here.
11650         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11651         * nptl/sem_trywait.c: ... here.
11652         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11653         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11654         * nptl/sem_wait.c: ... here.
11655         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11656         * nptl/structsem.sym: ... here.
11657         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11658         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11659         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11660         * nptl/unregister-atfork.c: ... here.
11661         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11662         * nptl/unwindbuf.sym: ... here.
11663         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11664         * sysdeps/nptl/fork.c: ... here.
11665         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11666         * sysdeps/nptl/fork.h: ... here.
11667         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11668         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11669         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11670         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11671         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11672         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11673         * sysdeps/unix/sysv/linux/getpid.c: ... here.
11674         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11675         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11676         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11677         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11678         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11679         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11680         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11681         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11682         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11683         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11684         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11685         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11686         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11687         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11688         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11689         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11690         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11691         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11692         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11693         * sysdeps/unix/sysv/linux/raise.c: ... here.
11694         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11695         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11696         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11697         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11698         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11699         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11700         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11701         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11702         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11703         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11704         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11705         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11706         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11707         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11708         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11710 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11712         * sysdeps/generic/memcopy.h: Add comment for
11713         MEMCPY_OK_FOR_FWD_MEMMOVE.
11715 2014-07-04  Will Newton  <will.newton@linaro.org>
11717         * string/memchr.c: Merge from gnulib.
11718         [_LIBC]: Remove conditionals.
11719         (__ptr_t): Remove define.
11720         (LONG_MAX_32_BITS): Likewise.
11721         (LONG_MAX): Likewise.
11722         (MEMCHR): Use ANSI prototype and optimize algorithm.
11724         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11726 2014-07-03  Roland McGrath  <roland@hack.frob.com>
11728         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11729         (lll_futex_timed_wait_bitset): Fix syscall argument count.
11731         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11732         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11733         in a bare environment with no <stdlib.h> installed.
11734         * sysdeps/nptl/configure: Regenerated.
11736         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11738         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11739         AC_EGREP_CPP for kernel header checks, so they only succeed if
11740         including <linux/version.h> actually works right.
11741         * sysdeps/unix/sysv/linux/configure: Regenerated.
11743         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11744         value so it's not diagnosed as unused.
11746         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11747         thing) with "ifeq ($(subdir),rt)".
11749 2014-07-03  Richard Henderson  <rth@redhat.com>
11751         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11752         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11753         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11755         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11756         (math_force_eval): New.
11758         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11759         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11761         * sysdeps/alpha/fpu/s_round.c: Remove file.
11762         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11764         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11765         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11766         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11767         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11768         (_dl_start, print_statistics): Likewise.
11769         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11770         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11772         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11773         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11774         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11775         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11776         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11777         (HP_SMALL_TIMING_AVAIL): Define.
11778         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11779         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11780         (HP_SMALL_TIMING_AVAIL): Define.
11781         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11782         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11784         * sysdeps/aarch64/hp-timing.h: New file.
11786         * sysdeps/generic/hp-timing.h: Remove dead comment.
11787         * sysdeps/generic/hp-timing-common.h: New file.
11788         * sysdeps/alpha/hp-timing.h: Include it.
11789         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11790         * sysdeps/i386/i686/hp-timing.h: Likewise.
11791         * sysdeps/ia64/hp-timing.h: Likewise.
11792         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11793         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11795         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11796         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11797         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11798         (hp_timing_t): New.
11800         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11801         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11802         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11803         * elf/rtld.c (_dl_start_final): Likewise.
11804         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11805         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11806         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11807         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11808         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11810         (HP_TIMING_DIFF_INIT): Remove.
11811         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11813         (HP_TIMING_DIFF_INIT): Remove.
11814         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11815         * sysdeps/i386/i686/hp-timing.c: Remove file.
11816         * sysdeps/x86_64/hp-timing.c: Remove file.
11817         * sysdeps/ia64/hp-timing.c: Remove file.
11818         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11819         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11820         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11821         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11823         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11824         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11825         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11826         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11828         (HP_TIMING_ACCUM): Remove.
11829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11831         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11833         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11834         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11835         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11836         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11838         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11839         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11840         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11842         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11844 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11846         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11848 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11850         Sync up with gettext.
11851         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11852         [_MSC_VER]: Include malloc.h
11853         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11854         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11855         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11856         TEMP_FAILURE_RETRY.  Cast return of alloca.
11857         [!_LIBC] Call gl_rwlock_init.
11858         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11860 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11862         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11863         before checking its value.
11865 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11867         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11869         * debug/memcpy_chk.c: Don't include pagecopy.h.
11870         * debug/mempcpy_chk.c: Likewise.
11871         * string/memcpy.c: Likewise.
11872         * string/memmove.c: Likewise.
11873         * sysdeps/powerpc/memmove.c: Likewise.
11874         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11875         definition of PAGE_COPY_FWD_MAYBE here...
11876         * sysdeps/generic/pagecopy.h: ... from here.
11877         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11879 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11880             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11882         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11884         optimizations.
11885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11886         (__libc_ifunc_impl_list): Likewise.
11887         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11888         multiarch strcat for PPC64.
11889         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11890         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11892 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11894         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11896 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11898         * intl/loadmsgcat.c: Remove declaration of
11899         get_sysdep_segment_value.
11900         (get_sysdep_segment_value): Use ISO C style.
11901         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11902         semicolon.  Fix typo and formatting in comment.
11903         (_nl_unload_domain): Use ISO C style.
11905         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11907 2014-07-02  Will Newton  <will.newton@linaro.org>
11909         * malloc/obstack.c: Merge from gnulib master.
11910         [HAVE_CONFIG_H]: Remove conditional code.
11911         [!_LIBC]: Include config.h.
11912         [!ELIDE_CODE]: Don't include inttypes.h, include
11913         stdint.h unconditionally.
11914         (print_and_abort): Mark as _Noreturn.
11915         (_obstack_allocated_p): Mark as __attribute_pure__.
11916         (obstack_free): Rename to __obstack_free.
11917         [!__attribute__]: Remove conditional code.
11918         * malloc/obstack.h: Merge from gnulib master.
11919         [__cplusplus]: Move conditional down.
11920         [!__attribute_pure__]: Define __attribute_pure__ here
11921         if it is not already defined.
11922         (_obstack_memory_used): Mark as __attribute_pure__.
11923         [!__obstack_free]: Define as obstack_free.
11924         [__GNUC__]: Remove check for ancient NeXT gcc.
11926 2014-07-02  Will Newton  <will.newton@linaro.org>
11927             Paul Eggert  <eggert@cs.ucla.edu>
11929         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11931 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11933         * resolv/gethnamaddr.c: Add comment warning that the file is
11934         not maintained.
11936 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11938         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11939         entries.
11941         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11942         entry for aio_cancel and aio_cancel64.
11943         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11944         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11945         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11946         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11947         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11948         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11949         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11950         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11951         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11952         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11953         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11954         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11955         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11957 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11959         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11960         * nptl/pthread_mutex_lock.c: Likewise.
11961         * nptl/pthread_mutex_timedlock.c: Likewise.
11962         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11964 2014-07-01  Richard henderson  <rth@redhat.com>
11966         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11967         (__isnan, __isnanl): Remove.
11968         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11970         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11972 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11974         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11976 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978         * resolv/nss_dns/dns-host.c (getanswer_r)
11979         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11981 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11984         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11985         undefine.
11986         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11987         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11989 2014-07-01  Roland McGrath <roland@hack.frob.com>
11991         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11992         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11994         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11995         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11997         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11998         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11999         ... here.
12000         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12001         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12003         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12004         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12005         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12006         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12008         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12009         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12010         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12011         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12012         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12013         Moved ...
12014         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12015         ... here.
12016         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12017         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12018         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12019         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12020         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12021         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12022         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12023         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12024         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12025         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12026         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12027         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12028         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12029         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12030         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12031         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12032         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12033         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12034         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12035         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12036         ... here.
12037         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12038         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12039         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12040         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12041         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12042         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12043         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12044         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12046 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12048         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12049         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12050         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12051         Add sysdep.
12053 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12057 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12059         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12060         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12062         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12064         * sysdeps/arm/libm-test-ulps: Regenerated.
12066 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12067             Roland McGrath <roland@hack.frob.com>
12069         * test-skeleton.c (signal_handler): Kill the whole process group
12070         before killing the child individually.
12071         (main): Report any failure on `setpgid'.
12073 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12075         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12076         from _TLS_H to _ARM_NPTL_TLS_H.
12077         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12078         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12080 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12082         [BZ #16539]
12083         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12084         (__expm1l): Return argument unchanged when small but not
12085         subnormal.
12087         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12088         include macro name.
12089         (_FP_UNPACK_RAW_1_P): Likewise.
12090         (_FP_PACK_RAW_1): Likewise.
12091         (_FP_PACK_RAW_1_P): Likewise.
12092         (_FP_MUL_MEAT_1_wide): Likewise.
12093         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12094         (_FP_MUL_MEAT_1_hard): Likewise.
12095         (_FP_DIV_MEAT_1_imm): Likewise.
12096         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12097         (_FP_DIV_MEAT_1_udiv): Likewise.
12098         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12099         (_FP_UNPACK_RAW_2): Likewise.
12100         (_FP_UNPACK_RAW_2_P): Likewise.
12101         (_FP_PACK_RAW_2): Likewise.
12102         (_FP_PACK_RAW_2_P): Likewise.
12103         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12104         (_FP_MUL_MEAT_2_wide): Likewise.
12105         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12106         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12107         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12108         (_FP_MUL_MEAT_2_gmp): Likewise.
12109         (_FP_DIV_MEAT_2_udiv): Likewise.
12110         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12111         (_FP_FRAC_SRL_4): Likewise.
12112         (_FP_FRAC_SRST_4): Likewise.
12113         (_FP_FRAC_SRS_4): Likewise.
12114         (_FP_UNPACK_RAW_4): Likewise.
12115         (_FP_UNPACK_RAW_4_P): Likewise.
12116         (_FP_PACK_RAW_4): Likewise.
12117         (_FP_PACK_RAW_4_P): Likewise.
12118         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12119         (_FP_MUL_MEAT_4_wide): Likewise.
12120         (_FP_MUL_MEAT_4_gmp): Likewise.
12121         (umul_ppppmnnn): Likewise.
12122         (_FP_DIV_MEAT_4_udiv): Likewise.
12123         (__FP_FRAC_ADD_4): Likewise.
12124         (__FP_FRAC_SUB_3): Likewise.
12125         (__FP_FRAC_SUB_4): Likewise.
12126         (__FP_FRAC_DEC_3): Likewise.
12127         (__FP_FRAC_DEC_4): Likewise.
12128         (__FP_FRAC_ADDI_4): Likewise.
12129         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12130         (_FP_FRAC_SRL_8): Likewise.
12131         (_FP_FRAC_SRS_8): Likewise.
12133         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12134         include macro name.
12135         (FP_UNPACK_RAW_EP): Likewise.
12136         (FP_PACK_RAW_E): Likewise.
12137         (FP_PACK_RAW_EP): Likewise.
12138         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12139         (_FP_ISSIGNAN): Likewise.
12140         (_FP_ADD_INTERNAL): Likewise.
12141         (_FP_FMA): Likewise.
12142         (_FP_CMP): Likewise.
12143         (_FP_SQRT): Likewise.
12144         (_FP_TO_INT): Likewise.
12145         (_FP_FROM_INT): Likewise.
12146         (FP_EXTEND): Likewise.
12147         (_FP_DIV_MEAT_N_loop): Likewise.
12149 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12151         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12152         throughout.
12154 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12156         [BZ #17097]
12157         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12158         result with correct sign in case of exponents that produce
12159         overflow except for X very close to 1.
12161 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12163         mktime: merge #if/#ifdef usage from glibc
12164         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12165         as that works with both Glibc's and Gnulib's style.
12166         See thread starting at Siddhesh Poyarekar's bug report at:
12167         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12169 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12171         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12172         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12173         * sysdeps/tile/tilegx/memmove.c: Remove file.
12175 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12177         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12178         abi-name definition.
12179         * scripts/soversions.awk: Do not handle or generate ABI lines.
12180         * shlib-versions: Remove ABI entries.
12181         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12182         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12184 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12187         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12188         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12189         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12191         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12193         Moved ...
12194         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12195         ... here.
12196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12197         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12199         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12201         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12203         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12205         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12207         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12209         Moved ...
12210         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12212         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12214         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12216         Moved ...
12217         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12219         Moved ...
12220         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12222         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12224         Moved ...
12225         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12227         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12229         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12231         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12233         Moved ...
12234         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12236         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12237         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12238         Moved ...
12239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12241         Moved ...
12242         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12244         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12246         Moved ...
12247         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12248         ... here.
12249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12250         Identical file removed.
12251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12252         Moved ...
12253         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12255         Identical file removed.
12256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12257         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12259         Moved ...
12260         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12262         Identical file removed.
12263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12264         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12266         Identical file removed.
12267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12268         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12270         Identical file removed.
12271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12272         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12273         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12274         Identical file removed.
12275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12276         Moved ...
12277         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12278         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12279         Identical file removed.
12280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12281         Moved ...
12282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12284         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12286         Identical file removed.
12287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12288         Moved ...
12289         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12290         ... here.
12291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12292         Identical file removed.
12293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12294         Moved ...
12295         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12297         Identical file removed.
12298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12299         Moved ...
12300         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12302         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12304         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12306         Moved ...
12307         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12308         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12309         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12311         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12312         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12313         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12314         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12315         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12317 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12319         [BZ #17092]
12320         * nscd/nscd.c (monitor_child): Return exit status of child
12321         instead of return value from wait syscall.
12323 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12325         * configure.ac (libc_commonpagesize): Remove variable.
12326         (libc_relro_required): Likewise.
12327         (libc_cv_z_relro): Remove configure test.
12328         * configure: Regenerated.
12329         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12330         variable.
12331         (libc_relro_required): Likewise.
12332         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12333         (libc_relro_required): Likewise.
12334         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12335         (libc_relro_required): Likewise.
12336         * sysdeps/arm/preconfigure: Regenerated.
12337         * sysdeps/ia64/preconfigure: Remove file.
12338         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12339         variable.
12340         (libc_relro_required): Likewise.
12342         [BZ #16561]
12343         [BZ #16562]
12344         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12345         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12346         recompute overflowing results in original rounding mode.
12347         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12348         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12349         recompute overflowing results in original rounding mode.
12350         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12351         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12352         recompute overflowing results in original rounding mode.
12353         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12354         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12355         recompute overflowing results in original rounding mode.
12356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12357         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12358         recompute overflowing results in original rounding mode.
12359         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12360         (libc_feholdsetround_ctx): New macro.
12361         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12362         * sysdeps/i386/fpu/libm-test-ulps: Update.
12363         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12365 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12367         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12368         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12369         corresponding .cpsetup call.
12371 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12373         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12374         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12375         * sysdeps/arm/Makefile [$(subdir) = csu]
12376         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12377         (static-only-routines): Add aeabi_read_tp here.
12378         (shared-only-routines): Add libc-aeabi_read_tp here.
12379         (CFLAGS-libc-start.c): Add -fexceptions here.
12380         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12381         (sysdep_routines, static-only-routines, shared-only-routines):
12382         Don't add to these here.
12383         (CFLAGS-libc-start.c): Likewise.
12385         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12386         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12387         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12388         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12389         * sysdeps/arm/Makefile [$(subdir) = rt]
12390         (librt-sysdep_routines, librt-shared-only-routines):
12391         Append rt-aeabi_unwind_cpp_pr1 here.
12392         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12393         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12394         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12395         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12396         Append nptl-aeabi_unwind_cpp_pr1 here.
12397         (tests): Filter out tst-cleanupx4 here.
12398         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12399         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12400         Don't do those here.
12402 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12404         * scripts/list-sources.sh: Do not handle ports specially.
12406 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12408         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12409         * sysdeps/arm/feupdateenv.c: Likewise.
12411         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12413 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12415         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12416         trailing whitespace removed.
12417         * scripts/config.guess: Update to version 2014-03-23.
12418         * scripts/config.sub: Update to version 2014-05-01
12419         * scripts/install-sh: Update to version 2013-12-25.23.
12420         * scripts/move-if-change: Update from gnulib.
12422 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12424         * debug/memmove_chk.c: Remove pagecopy.h include.
12426 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12428         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12429         identical to gnulib mktime.
12431 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12433         * configure.ac: Do not test for machine being rs6000.  Do not test
12434         for powerpc*-*soft.
12435         * configure: Regenerated.
12437         [BZ #11505]
12438         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12439         test.
12440         * configure: Regenerated.
12441         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12442         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12443         Remove configure test.
12444         * sysdeps/arm/configure: Regenerated.
12445         * sysdeps/nptl/configure.ac: Do not check
12446         libc_cv_asm_cfi_directives.
12447         * sysdeps/nptl/configure: Regenerated.
12448         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12449         * sysdeps/x86_64/nptl/configure: Remove generated file.
12450         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12451         unconditional.
12452         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12454 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12456         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12457         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12458         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12459         it is defined.
12461         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12462         instead of whether it is defined.
12463         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12464         * sysdeps/hppa/dl-machine.h: Likewise.
12465         * sysdeps/ia64/dl-machine.h: Likewise.
12466         * sysdeps/m68k/dl-machine.h: Likewise.
12467         * sysdeps/microblaze/dl-machine.h: Likewise.
12468         * sysdeps/mips/dl-machine.: Likewise.
12469         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12470         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12471         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12472         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12473         * sysdeps/sh/dl-machine.h: Likewise.
12474         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12475         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12476         * sysdeps/tile/dl-machine.h: Likewise.
12477         * sysdeps/x86_64/dl-machine.h: Likewise.
12479         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12480         code.
12481         (verify_persistent_db): Likewise.
12483 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12486         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12488         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12490         Moved ...
12491         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12492         ... here.
12493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12494         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12496         Identical file removed.
12497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12498         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12500         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12502         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12506         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12508         Moved ...
12509         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12511         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12513         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12515         Moved ...
12516         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12518         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12520         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12522         Identical file removed.
12523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12524         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12526         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12528         Moved ...
12529         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12530         ... here.
12531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12532         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12534         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12536         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12540         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12542         Moved ...
12543         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12545         Moved ...
12546         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12548         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12550         Moved ...
12551         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12553         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12555         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12556         folded into ...
12557         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12558         * sysdeps/unix/sysv/linux/s390/Versions
12559         (libpthread: GLIBC_2.19): New version set.
12560         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12561         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12562         (librt: GLIBC_2.3.3): New version set.
12563         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12564         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12565         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12566         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12567         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12568         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12569         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12570         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12571         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12572         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12573         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12574         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12575         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12576         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12577         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12578         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12579         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12580         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12581         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12582         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12583         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12584         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12585         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12586         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12587         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12588         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12589         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12591         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12593         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12594         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12599         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12600         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12601         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12603         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12605         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12607         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12609         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12610         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12611         (__libc_vfork): Define the function under this name.
12612         [!NOT_IN_libc] (__vfork): Make this an alias.
12613         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12615         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12616         (__libc_vfork): Define the function under this name.
12617         [!NOT_IN_libc] (__vfork): Make this an alias.
12618         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12619         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12620         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12622         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12623         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12625         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12626         code that was previously under [RESET_PID].
12627         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12628         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12631         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12632         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12633         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12634         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12635         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12636         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12637         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12638         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12639         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12640         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12641         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12642         Moved ...
12643         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12644         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12645         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12646         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12647         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12648         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12649         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12650         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12651         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12652         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12653         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12654         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12655         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12656         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12657         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12658         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12659         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12660         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12661         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12662         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12663         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12664         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12665         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12666         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12667         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12668         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12669         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12670         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12671         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12673 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12675         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12676         that was previously under [RESET_PID].
12677         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12679 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12681         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12682         not undefine and redefine.
12683         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12684         [O_CLOEXEC]: Make code unconditional.
12685         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12686         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12687         <kernel-features.h>.
12688         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12689         conditional variable definition.
12690         (shm_open) [O_CLOEXEC]: Make code unconditional.
12691         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12692         code.
12694         * configure.ac (USE_REGPARMS): Don't define here.
12695         * configure: Regenerated.
12696         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12697         * sysdeps/i386/configure: Regenerated.
12699         * nptl/createthread.c: Don't include kernel-features.h.
12700         * nptl/pthread_cancel.c: Likewise.
12701         * nptl/pthread_condattr_setclock.c: Likewise.
12702         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12703         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12704         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12705         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12706         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12708         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12711         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12712         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12713         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12714         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12715         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12716         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12717         * nscd/gai.c: Likewise.
12718         * nss/nss_db/db-open.c: Likewise.
12719         * sysdeps/generic/ldsodefs.h: Likewise.
12720         * sysdeps/sh/nptl/tls.h: Likewise.
12721         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12722         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12723         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12724         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12725         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12726         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12727         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12728         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12730         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12731         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12732         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12733         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12734         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12735         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12736         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12737         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12738         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12739         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12740         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12741         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12743         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12744         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12745         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12746         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12747         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12749         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12750         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12751         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12752         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12753         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12754         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12755         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12756         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12757         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12758         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12759         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12760         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12761         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12762         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12763         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12764         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12765         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12766         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12767         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12768         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12769         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12770         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12771         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12772         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12773         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12774         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12775         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12776         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12777         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12801         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12802         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12803         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12804         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12805         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12806         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12808         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12809         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12810         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12811         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12812         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12813         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12814         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12815         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12816         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12817         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12818         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12819         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12820         * sysdeps/unix/sysv/linux/system.c: Likewise.
12821         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12822         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12823         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12824         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12825         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12826         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12827         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12829         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12830         * configure: Regenerated.
12831         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12833         * configure.ac (base_machine): Do not set specially for particular
12834         machines here.
12835         * configure: Regenerated.
12836         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12837         settings from configure.ac.
12838         * sysdeps/i386/preconfigure: New file.
12839         * sysdeps/s390/preconfigure: Likewise.
12840         * sysdeps/sh/preconfigure: Likewise.
12841         * sysdeps/sparc/preconfigure: Likewise.
12843 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12845         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12846         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12847         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12848         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12849         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12850         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12851         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12852         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12853         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12854         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12855         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12856         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12857         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12858         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12859         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12862         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12863         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12865         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12866         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12867         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12868         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12869         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12870         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12871         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12872         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12873         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12874         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12875         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12876         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12877         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12878         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12879         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12880         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12881         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12882         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12883         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12884         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12886         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12887         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12888         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12890         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12892         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12893         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12895         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12896         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12898         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12900         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12902         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12905         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12907         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12909         Moved ...
12910         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12911         ... here.
12912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12913         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12915         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12917         Moved ...
12918         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12920         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12922         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12924         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12926         Moved ...
12927         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12929         Moved ...
12930         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12932         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12934         Moved ...
12935         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12937         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12939         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12941         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12943         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12945         Moved ...
12946         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12947         ... here.
12948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12949         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12951         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12953         Moved ...
12954         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12956         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12958         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12960         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12962         Moved ...
12963         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12965         Moved ...
12966         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12968         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12970         Moved ...
12971         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12973         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12975         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12977 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12979         * timezone/checktab.awk: Update from tzcode 2014e.
12980         * timezone/private.h: Likewise.
12981         * timezone/tzfile.h: Likewise.
12982         * timezone/zdump.c: Likewise.
12983         * timezone/zic.c: Likewise.
12985         * sysdeps/unix/sysv/linux/kernel-features.h
12986         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12987         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12988         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12989         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12990         Remove conditional code.
12992 2014-06-25  Will Newton  <will.newton@linaro.org>
12994         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12995         (_dl_arm_cap_flags): Add HWCAP2 values.
12996         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12997         (_DL_HWCAP_COUNT): Increase to 37.
12998         (_DL_HWCAP_LAST): New define.
12999         (_DL_HWCAP2_LAST): New define.
13000         (_dl_procinfo): Add support for printing
13001         AT_HWCAP2 entries.
13002         (_dl_string_hwcap): Use _dl_hwcap_string.
13004 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13008 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13010         * README: Do not mention ports directory.
13012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13013         Remove macro.
13014         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13015         <kernel-features.h>.
13016         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13017         conditional variable definition.
13018         (__futimes): Update comment.
13019         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13020         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13022         [BZ #16560]
13023         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13024         arguments close to 0.
13025         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13026         Likewise.
13027         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13028         Likewise.
13029         * math/auto-libm-test-in: Add more tests of exp10.
13030         * math/auto-libm-test-out: Regenerated.
13031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13033         * sysdeps/unix/sysv/linux/kernel-features.h
13034         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13035         * sysdeps/unix/sysv/linux/readv.c: Do not include
13036         <kernel-features.h>.
13037         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13038         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13039         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13040         unconditional.
13041         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13042         conditional code.
13043         * sysdeps/unix/sysv/linux/writev.c: Do not include
13044         <kernel-features.h>.
13045         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13046         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13047         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13048         unconditional.
13049         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13050         conditional code.
13052 2014-06-25  Will Newton  <will.newton@linaro.org>
13054         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13055         comment changes throughout the file.  Remove checks
13056         for HAVE_*_H definitions that are not required.
13057         (__gen_tempname): Call abort if an unknown kind value is
13058         passed.
13060 2014-06-25  Andreas Schwab  <schwab@suse.de>
13062         [BZ #17086]
13063         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13064         scalbln, scalblnf, scalblnl in libc.
13066 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13068         [BZ #17086]
13069         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13070         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13071         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13073 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13075         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13076         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13077         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13078         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13079         Update #include.
13080         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13081         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13082         Update #include.
13083         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13084         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13085         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13086         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13087         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13088         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13089         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13090         * sysdeps/x86/bits/semaphore.h: ... here.
13091         * sysdeps/x86/nptl/elide.h: Moved ...
13092         * sysdeps/x86/elide.h: ... here.
13093         * sysdeps/x86_64/nptl/Implies: File removed.
13094         * sysdeps/i386/nptl/Implies: File removed.
13096 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13098         [BZ #16539]
13099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13100         return the argument for normal arguments with exponent below -64.
13101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13102         Likewise.
13103         * math/auto-libm-test-in: Add another test of expm1.
13104         * math/auto-libm-test-out: Regenerated.
13106         [BZ #16287]
13107         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13108         calling __erfcl for arguments at least 16.
13109         * math/auto-libm-test-in: Add more tests of erf.
13110         * math/auto-libm-test-out: Regenerated.
13112         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13113         individual architectures.
13114         * sysdeps/unix/sysv/linux/configure: Regenerated.
13115         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13116         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13117         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13118         (ldd_rewrite_script): Define variable.
13119         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13121         file.
13122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13123         generated file.
13124         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13125         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13126         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13127         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13128         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13129         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13130         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13131         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13133 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13135         [BZ #17084]
13136         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13137         Rename member __data.d to __data.__elision_data.
13139 2014-06-24  Wilco  <wdijkstr@arm.com>
13141         * NEWS: Add 16918 to fixed bug list.
13143 2014-06-24  Wilco  <wdijkstr@arm.com>
13145         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13147 2014-06-24  Wilco  <wdijkstr@arm.com>
13149         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13150         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13151         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13152         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13153         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13154         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13155         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13156         Use _FPU_MASK_RM.
13158 2014-06-24  Wilco  <wdijkstr@arm.com>
13160         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13162 2014-06-24  Wilco  <wdijkstr@arm.com>
13164         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13165         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13166         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13167         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13169 2014-06-24  Wilco  <wdijkstr@arm.com>
13171         [BZ #16918]
13172         * sysdeps/arm/feupdateenv.c (feupdateenv):
13173         Rewrite to reduce FPSCR accesses and fix return value.
13175 2014-06-24  Wilco  <wdijkstr@arm.com>
13177         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13178         Optimize to avoid unnecessary FPSCR writes.
13179         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13180         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13181         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13182         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13184 2014-06-24  Wilco  <wdijkstr@arm.com>
13186         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13187         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13188         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13189         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13190         Call libc_fetestexcept_vfp.
13191         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13192         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13193         __SOFTFP__ ifdef so that they can be built for softfp.
13195 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13197         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13198         argument type signed char.
13200         * Makerules (check-abi): Dump diff of symlist if the test
13201         fails.
13203 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13205         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13206         using abort.
13208         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13209         Remove unused variable ST.
13211 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13213         [BZ #16354]
13214         [BZ #17061]
13215         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13216         small arguments before calling __expm1.
13217         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13218         small arguments before calling __expm1f.
13219         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13220         small arguments before calling __expm1l.
13221         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13222         Likewise.
13223         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13224         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13225         spurious underflow for some cosh tests.
13226         * math/auto-libm-test-out: Regenerated.
13227         * sysdeps/i386/fpu/libm-test-ulps: Update.
13229         [BZ #17050]
13230         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13231         (__ieee754_y1): Set errno if return value overflows.
13232         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13233         (__ieee754_y1f): Set errno if return value overflows.
13234         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13235         (__ieee754_y1l): Set errno if return value overflows.
13236         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13237         (__ieee754_y1l): Set errno if return value overflows.
13238         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13239         * math/auto-libm-test-out: Regenerated.
13241         * math/gen-auto-libm-tests.c: Document use of
13242         ignore-zero-inf-sign.
13243         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13244         (input_flags): Add ignore-zero-inf-sign.
13245         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13246         * math/gen-libm-test.pl (generate_testfile): Handle
13247         ignore-zero-inf-sign.
13248         * math/auto-libm-test-in: Mark some cpow tests with
13249         ignore-zero-inf-sign and some with xfail-rounding.
13250         * math/auto-libm-test-out: Regenerated.
13251         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13252         * sysdeps/i386/fpu/libm-test-ulps: Update.
13253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13255         [BZ #16315]
13256         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13257         overflowing or underflowing operations take place with sign of
13258         result.
13259         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13260         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13261         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13262         (__ieee754_pow): Recompute overflowing and underflowing results in
13263         original rounding mode.
13264         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13265         (__powl_helper): Allow negative argument X and scale negated value
13266         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13267         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13268         overflowing or underflowing operations take place with sign of
13269         result.
13270         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13271         Include <math.h>.
13272         * math/auto-libm-test-in: Add more tests of pow.
13273         * math/auto-libm-test-out: Regenerated.
13274         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13275         (pow_tonearest_test_data): Remove.
13276         (pow_test_tonearest): Likewise.
13277         (pow_towardzero_test_data): Likewise.
13278         (pow_test_towardzero): Likewise.
13279         (pow_downward_test_data): Likewise.
13280         (pow_test_downward): Likewise.
13281         (pow_upward_test_data): Likewise.
13282         (pow_test_upward): Likewise.
13283         (main): Don't call removed functions.
13284         * sysdeps/i386/fpu/libm-test-ulps: Update.
13285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13287 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13290         Moved ...
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13293         Moved ...
13294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13296         Moved ...
13297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13299         Moved ...
13300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13302         File removed.
13303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13304         File removed.
13305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13306         File removed.
13307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13308         File removed.
13309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13310         File removed.
13311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13312         File removed.
13313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13314         File removed.
13315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13316         File removed.
13317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13318         File removed.
13319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13320         File removed.
13321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13322         File removed.
13323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13324         File removed.
13325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13326         Moved ...
13327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13329         Moved ...
13330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13331         ... here.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13333         Moved ...
13334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13336         Moved ...
13337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13339         Moved ...
13340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13342         Moved ...
13343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13345         Moved ...
13346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13348         Moved ...
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13351         Moved ...
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13355         ... here.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13357         Moved ...
13358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13360         Moved ...
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13362         ... here.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13364         Moved ...
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13366         ... here.
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13368         Moved ...
13369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13370         ... here.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13372         Moved ...
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13375         Moved ...
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13380         Moved ...
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13382         ... here.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13384         Moved ...
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13386         ... here.
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13388         Moved ...
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13391         Moved ...
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13394         Moved ...
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13397         Moved ...
13398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13400         Moved ...
13401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13402         ... here.
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13404         Moved ...
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13407         Moved ...
13408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13410         Moved ...
13411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13413         Moved ...
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13418         Moved ...
13419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13421         Moved ...
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13424         Moved ...
13425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13426         ... here.
13427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13428         Moved ...
13429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13430         ... here.
13431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13432         Moved ...
13433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13434         ... here.
13435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13436         Moved ...
13437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13439         Moved ...
13440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13442         Moved ...
13443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13445         Moved ...
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13447         ... here.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13449         Moved ...
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13451         ... here.
13452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13453         Moved ...
13454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13455         ... here.
13456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13457         Moved ...
13458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13460         Moved ...
13461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13463 2014-06-23  Will Newton  <will.newton@linaro.org>
13464             Wilco  <wdijkstr@arm.com>
13466         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13467         implementation.  Include get-rounding-mode.h.
13468         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13469         [!libc_feholdsetround_noex_ctx]: Define
13470         libc_feholdsetround_noex_ctx.
13471         [!libc_feholdsetround_noexf_ctx]: Define
13472         libc_feholdsetround_noexf_ctx.
13473         [!libc_feholdsetround_noexl_ctx]: Define
13474         libc_feholdsetround_noexl_ctx.
13475         (libc_feholdsetround_ctx): New function.
13476         (libc_feresetround_ctx): New function.
13477         (libc_feholdsetround_noex_ctx): New function.
13478         (libc_feresetround_noex_ctx): New function.
13480 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13482         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13483         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13484         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13485         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13486         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13487         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13489         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13490         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13491         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13492         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13493         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13494         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13496         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13498         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13500         Moved ...
13501         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13502         ... here.
13503         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13504         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13506         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13508         Moved ...
13509         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13511         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13513         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13515         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13517         Moved ...
13518         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13520         Moved ...
13521         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13523         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13525         Moved ...
13526         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13528         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13529         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13530         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13531         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13532         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13534         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13536         Moved ...
13537         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13538         ... here.
13539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13540         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13542         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13543         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13544         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13546         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13548         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13549         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13550         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13552         Moved ...
13553         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13557         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13559         Moved ...
13560         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13562         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13563         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13564         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13566         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13567         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13568         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13571         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13572         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13573         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13574         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13577         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13579         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13580         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13581         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13582         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13583         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13584         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13585         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13586         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13587         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13588         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13589         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13590         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13591         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13592         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13593         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13595 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13598         (FALLOC_FL_COLLAPSE_RANGE): New macro.
13599         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13600         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13601         (IPV6_PMTUDISC_INTERFACE): Likewise.
13602         (IPV6_PMTUDISC_OMIT): Likewise.
13604 2014-06-23  Andreas Schwab  <schwab@suse.de>
13606         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13607         Remove unused errout label.
13609 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13611         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13612         macro: hardware supports Vector Crypto instructions.
13614 2014-06-23  Will Newton  <will.newton@linaro.org>
13616         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13617         rather than __builtin_expect.
13619         * elf/dl-lookup.c (undefined_msg): Remove variable.
13620         (_dl_lookup_symbol_x): Replace undefined_msg with string
13621         literal.
13623         * elf/dl-lookup.c (do_lookup_unique): New function.
13624         (do_lookup_x): Move STB_GNU_UNIQUE handling code
13625         to a separate function.
13627 2014-06-23  Andreas Schwab  <schwab@suse.de>
13629         [BZ #17079]
13630         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13631         before reading the next line.
13633 2014-06-23  Will Newton  <will.newton@linaro.org>
13635         * test-skeleton.c (signal_handler): Use printf and %m
13636         rather than perror.  Use printf rather than fprintf to
13637         stderr.  Use puts rather than fputs to stderr.
13638         (main): Likewise.
13640 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
13642         * nscd/nscd.c (thread_info_t): Remove typedef.
13643         (thread_info): Remove variable.
13645 2014-06-21  Allan McRae  <allan@archlinux.org>
13647         * NEWS: Mention CVE-2014-4043.
13649 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13651         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13652         * nptl/smp.h: ... here.
13654         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13656         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13657         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13658         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13659         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13661         * nptl/allocatestack.c: Include <stack-aliasing.h>.
13662         * nptl/stack-aliasing.h: New file.
13663         * sysdeps/i386/i686/stack-aliasing.h: New file.
13664         * sysdeps/i386/i686/nptl/Makefile: File removed.
13665         * sysdeps/x86_64/stack-aliasing.h: New file.
13666         * sysdeps/x86_64/nptl/Makefile
13667         (CFLAGS-pthread_create.c): Variable removed.
13669         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13670         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13671         old file.
13672         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13673         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13674         old file.
13676 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
13678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13679         (__ASSUME_SIGFRAME_V2): Remove macro.
13680         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13681         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13682         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13683         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13684         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13685         Declare as function.  Remove conditional macro definitions.
13686         (__default_rt_sa_restorer): Likewise.
13687         (__default_sa_restorer_v1): Remove declaration.
13688         (__default_sa_restorer_v2): Likewise.
13689         (__default_rt_sa_restorer_v1): Likewise.
13690         (__default_rt_sa_restorer_v2): Likewise.
13691         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13692         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13693         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13695 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13697         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13698         (libpthread-routines): Add sysdep.
13699         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13700         * sysdeps/unix/sysv/linux/sparc/Versions
13701         (libpthread: GLIBC_2.3.3): New version set.
13702         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13703         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13704         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13706         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
13707         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13708         Moved ...
13709         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13710         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13711         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13712         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13713         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13714         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13715         * sysdeps/sparc/nptl/sem_init.c: ... here.
13716         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13717         * sysdeps/sparc/nptl/sem_post.c: ... here.
13718         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13719         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13720         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13721         * sysdeps/sparc/nptl/sem_wait.c: ... here.
13722         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13723         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13724         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13725         (libpthread-routines): Add cpu_relax.
13726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13727         File removed.
13728         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13729         (librt: GLIBC_2.3.3): New version set.
13730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13731         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13732         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13733         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13736         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13738         Moved ...
13739         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13741         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13743         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13745         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13747         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13749         Moved ...
13750         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13751         Update #include.
13752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13753         Moved ...
13754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13755         Update #include.
13756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13757         Moved ...
13758         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13759         Update #include.
13760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13761         Moved ...
13762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13763         Update #include.
13764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13765         Moved ...
13766         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13767         Update #include.
13768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13769         Moved ...
13770         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13771         Update #include.
13772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13773         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13777         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13779         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13781         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13783         Moved ...
13784         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13786         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13788         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13790 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13792         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13793         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13794         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13795         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13796         * nscd/nscd.c: Likewise.
13797         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13798         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13799         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13800         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13802         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13803         <kernel-features.h>.
13804         (init_mq_netlink): Remove conditional have_sock_cloexec
13805         definitions.  Remove code conditional on have_sock_cloexec < 0.
13806         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13807         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13808         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13809         <kernel-features.h>.
13810         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13811         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13813 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13816         Add tests for memset_chk and memset.
13818         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13819         with AVX2_Usable.
13821 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13823         [BZ #16046]
13824         * elf/tst-dl-iter-static.c: New file.
13825         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13827         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13828         error.
13830 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13832         * sysdeps/unix/sysv/linux/kernel-features.h
13833         (__ASSUME_F_GETOWN_EX): Remove macro.
13834         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13835         <kernel-features.h>.
13836         (miss_F_GETOWN_EX): Remove variable or macro.
13837         (do_fcntl): Do not check miss_F_GETOWN_EX.
13838         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13840         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13841         Remove macro.
13842         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13843         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13844         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13846         * sysdeps/unix/sysv/linux/kernel-features.h
13847         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13848         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13849         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13850         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13852 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13854         [BZ #17075]
13855         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13856         Fix calculation of the symbol's value.
13857         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13858         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13859         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13860         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13861         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13862         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13863         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13864         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13865         (modules-names): Add `tst-armtlsdescmod',
13866         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13867         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13868         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13869         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13870         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13871         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13872         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13873         ($(objpfx)tst-armtlsdescloc): New dependency.
13874         ($(objpfx)tst-armtlsdescextnow): Likewise.
13875         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13876         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13877         TLS scheme support.
13878         * sysdeps/arm/configure: Regenerate.
13880 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13882         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13883         (__atfct_seterrno_2): Likewise.
13884         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13885         <kernel-features.h>.
13886         (__ASSUME_ATFCTS): Do not undefine and redefine.
13887         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13888         (__have_atfcts): Remove conditional definition.
13889         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13890         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13891         unreachable if [__ASSUME_ATFCTS].
13892         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13893         not undefine and redefine.
13894         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13895         <kernel-features.h>.
13896         (faccessat) [__NR_faccessat]: Make code unconditional.
13897         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13898         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13899         <kernel-features.h>.
13900         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13901         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13902         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13903         <kernel-features.h>.
13904         (fchownat) [__NR_fchownat]: Make code unconditional.
13905         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13906         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13907         <kernel-features.h>.
13908         (futimesat) [__NR_futimesat]: Make code unconditional.
13909         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13910         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13911         <kernel-features.h>.
13912         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13913         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13914         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13915         <kernel-features.h>.
13916         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13917         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13918         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13919         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13920         <kernel-features.h>.
13921         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13922         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13923         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13924         <kernel-features.h>.
13925         (linkat) [__NR_linkat]: Make code unconditional.
13926         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13927         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13928         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13929         <kernel-features.h>.
13930         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13931         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13932         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13933         <kernel-features.h>.
13934         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13935         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13936         * sysdeps/unix/sysv/linux/openat.c: Do not include
13937         <kernel-features.h>.
13938         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13939         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13940         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13941         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13942         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13943         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13944         <kernel-features.h>.
13945         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13946         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13947         result of INLINE_SYSCALL directly, not via int variable.
13948         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13949         <kernel-features.h>.
13950         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13951         (renameat) [__NR_renameat]: Make code unconditional.
13952         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13953         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13954         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13955         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13956         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13957         (__ASSUME_ATFCTS): Do not undefine and redefine.
13958         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13959         <kernel-features.h>.
13960         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13961         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13962         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13963         <kernel-features.h>.
13964         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13965         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13966         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13967         (__ASSUME_ATFCTS): Do not undefine and redefine.
13968         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13969         <kernel-features.h>.
13970         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13971         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13972         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13973         <kernel-features.h>.
13974         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13975         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13977 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13979         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13981 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13983         [BZ #17069]
13984         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13985         constructed tree before returning error.
13986         * posix/bug-regexp36.c: Expand test case.
13988 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13990         [BZ #6803]
13991         * math/libm-test.inc (scalbln_test_date):
13992         Add errno expectations.
13993         * math/w_scalblnf.c: New File.
13994         Add wrapper which checks for setting errno to ERANGE.
13995         Add weak_alias for corresponding scalbln function.
13996         * math/w_scalbln.c: Likewise.
13997         * math/w_scalblnl.c: Likewise.
13998         * math/Makefile (libm-calls): Add w_scalbln.
13999         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14000         Remove weak_alias for corresponding scalbln function.
14001         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14002         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14004         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14005         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14006         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14007         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14008         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14009         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14010         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14011         Remove long_double_symbol for scalblnl function in libm, libc.
14012         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14013         Add wrapper which checks for setting errno to ERANGE.
14014         Add long_double_symbol for scalblnl function in libm, libc.
14015         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14016         Remove long_double_symbol for scalblnl in libm.
14017         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14018         Add wrapper which checks for setting errno to ERANGE.
14019         Add long_double_symbol for scalblnl function in libm.
14020         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14021         Do not use wrapper because of own implementation.
14023 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14025         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14026         3 bytes for __pad1 for x32.
14027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14029 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14030             H.J. Lu  <hongjiu.lu@intel.com>
14032         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14033         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14036         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14038 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14040         [BZ #17069]
14041         * posix/regcomp.c (parse_expression): Deallocate partially
14042         constructed tree before returning error.
14043         * posix/Makefile.c (tests): Add bug-regex36.
14044         (generated): Add bug-regex36.mtrace.
14045         (tests-special): Add $(objpfx)bug-regex36-mem.out
14046         (bug-regex36-ENV): New variable.
14047         ($(objpfx)bug-regex36-mem.out): New rule.
14048         * posix/bug-regex36.c: New file.
14050 2014-06-19  Will Newton  <will.newton@linaro.org>
14052         * malloc/malloc.c (systrim): If extra is zero then return
14053         early.
14055 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14057         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14059 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14061         * sysdeps/aarch64/strchr.S: New file.
14063 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14065         [BZ #17022]
14066         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14067         from arguments -2 or below.
14068         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14069         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14071 2014-06-18  Andreas Schwab  <schwab@suse.de>
14073         [BZ #17062]
14074         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14075         of a bracket expr not to run off the end of the string.
14076         * posix/Makefile (tests): Add tst-fnmatch3.
14077         * posix/tst-fnmatch3.c: New file.
14079 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14081         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14082         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14083         [$(cross-compiling) = no]: Likewise.
14084         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14085         [$(cross-compiling) = no]: Likewise.
14087 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14089         [BZ #17031]
14090         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14091         double, adjusted for any remainder from the high double.
14092         * math/libm-test.inc (nearbyint): Add tests.
14093         (rint): Likewise.
14095 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14097         * nptl/sysdeps/powerpc/Makefile: Moved ...
14098         * sysdeps/powerpc/nptl/Makefile: ... here.
14099         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14100         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14101         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14102         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14103         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14104         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14105         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14106         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14107         * nptl/sysdeps/powerpc/tls.h: Moved ...
14108         * sysdeps/powerpc/nptl/tls.h: ... here.
14110 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14112         [BZ #16681]
14113         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14114         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14115         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14116         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14117         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14118         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14119         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14120         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14121         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14123 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14125         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14127 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14129         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14130         defined operator.
14132         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14133         $TIMEOUTFACTOR.
14135 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14137         [BZ #17058]
14138         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14139         non-executed part of the test.
14141 2014-06-16  Andreas Schwab  <schwab@suse.de>
14143         * string/bits/string2.h (strdup, strndup): Update feature guard.
14145 2014-06-14  David S. Miller  <davem@davemloft.net>
14147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14149 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14151         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14152         that was previously under [RESET_PID].
14153         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14155         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14156         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14157         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14158         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14159         (__libc_vfork): New strong alias.
14160         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14162 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14164         * sysdeps/generic/elide.h: New file.
14166 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14168         * Makefile (installed-headers): Adjust path of pthread.h header.
14170 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14172         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14173         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14174         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14175         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14177         * nptl/sysdeps/s390/Makefile: Moved ...
14178         * sysdeps/s390/nptl/Makefile: ... here.
14179         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14180         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14181         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14182         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14183         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14184         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14185         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14186         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14187         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14188         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14189         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14190         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14191         * nptl/sysdeps/s390/tls.h: Moved ...
14192         * sysdeps/s390/nptl/tls.h: ... here.
14194         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14195         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14197 2014-06-13  David S. Miller  <davem@davemloft.net>
14199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14202         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14206         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14207         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14208         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14209         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14210         Remove RESET_PID cpp guards.
14211         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14212         Remove RESET_PID cpp guards.
14213         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14215 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14217         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14218         __sp to uintptr_t.
14220 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14222         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14224         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14225         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14227         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14228         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14232         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14233         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14237         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14239         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14241         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14243         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14244         (pthread_rwlock_rdlock): Add elision.
14245         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14246         (pthread_rwlock_wrlock): Add elision.
14247         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14248         (pthread_rwlock_trywrlock): Add elision.
14249         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14250         (pthread_rwlock_tryrdlock): Add elision.
14251         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14252         (pthread_rwlock_tryrdlock): Add elision unlock.
14253         * nptl/sysdeps/pthread/pthread.h:
14254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14255         (PTHREAD_RWLOCK_INITIALIZER,
14256         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14257         Handle new elision field.
14258         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14259         * sysdeps/arm/nptl/bits/pthreadtypes.h
14260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14261         * sysdeps/sh/nptl/bits/pthreadtypes.h
14262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14263         * sysdeps/tile/nptl/bits/pthreadtypes.h
14264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14265         * sysdeps/a/nptl/bits/pthreadtypes.h
14266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14267         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14269         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14271         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14273         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14275         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14276         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14277         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14279         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14281         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14283         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14284         (elision_init): Set try_xbegin to zero when no RTM.
14285         * sysdeps/x86/nptl/bits/pthreadtypes.h
14286         (pthread_rwlock_t): Change __pad1 to __rwelision.
14287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14289 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14291         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14292         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14293         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14294         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14296 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14298         [BZ #16996]
14299         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14300         that the cached result has been set before returning it.
14302 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14304         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14305         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14306         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14307         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14308         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14309         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14311         * nptl/sysdeps/sparc/Makefile: Moved ...
14312         * sysdeps/sparc/nptl/Makefile: ... here.
14313         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14314         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14315         * nptl/sysdeps/sparc/tls.h: Moved ...
14316         * sysdeps/sparc/nptl/tls.h: ... here.
14317         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14318         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14319         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14320         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14321         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14322         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14323         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14324         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14325         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14326         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14327         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14328         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14329         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14330         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14331         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14332         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14333         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14335         Update #include.
14336         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14337         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14338         Update #include.
14339         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14341         Update #include.
14342         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14344         Update #include.
14346         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14348         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14349         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14351         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14352         (struct list_links): Type removed.
14353         (struct thread_node, struct timer_node): Replace struct list_links
14354         with struct list_head.
14355         (list_unlink_ip): Likewise.
14356         * sysdeps/pthread/timer_routines.c
14357         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14358         (list_append, list_insbefore): Likewise.
14359         (list_init): Function removed.
14360         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14361         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14362         * sysdeps/pthread/Makefile: ... here, new file.
14364         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14365         * sysdeps/nptl/Implies: ... here.
14366         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14367         * nptl/sysdeps/pthread/list.h: Moved ...
14368         * include/list.h: ... here.
14369         * nptl/sysdeps/pthread/createthread.c: Moved ...
14370         * nptl/createthread.c: ... here.
14371         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14372         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14373         * nptl/pt-longjmp.c: ... here.
14374         * nptl/sysdeps/pthread/Makefile: Moved ...
14375         * sysdeps/nptl/Makefile: ... here.
14376         * nptl/sysdeps/pthread/Subdirs: Moved ...
14377         * sysdeps/nptl/Subdirs: ... here.
14378         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14379         * sysdeps/nptl/aio_misc.h: ... here.
14380         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14381         * sysdeps/nptl/bits/libc-lock.h: ... here.
14382         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14383         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14384         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14385         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14386         * nptl/sysdeps/pthread/configure: Moved ...
14387         * sysdeps/nptl/configure: ... here.
14388         * nptl/sysdeps/pthread/configure.ac: Moved ...
14389         * sysdeps/nptl/configure.ac: ... here.
14390         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14391         * sysdeps/nptl/gai_misc.h: ... here.
14392         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14393         * sysdeps/nptl/librt-cancellation.c: ... here.
14394         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14395         * sysdeps/nptl/malloc-machine.h: ... here.
14396         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14397         * sysdeps/nptl/pthread-functions.h: ... here.
14398         * nptl/sysdeps/pthread/pthread.h: Moved ...
14399         * sysdeps/nptl/pthread.h: ... here.
14400         * nptl/sysdeps/pthread/setxid.h: Moved ...
14401         * sysdeps/nptl/setxid.h: ... here.
14402         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14403         * sysdeps/nptl/sigfillset.c: ... here.
14404         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14405         * sysdeps/nptl/tcb-offsets.h: ... here.
14406         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14407         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14408         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14409         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14410         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14411         * sysdeps/pthread/allocalim.h: ... here.
14412         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14413         * sysdeps/pthread/bits/sigthread.h: ... here.
14414         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14415         * sysdeps/pthread/flockfile.c: ... here.
14416         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14417         * sysdeps/pthread/ftrylockfile.c: ... here.
14418         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14419         * sysdeps/pthread/funlockfile.c: ... here.
14420         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14421         * sysdeps/pthread/posix-timer.h: ... here.
14422         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14423         * sysdeps/pthread/timer_create.c: ... here.
14424         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14425         * sysdeps/pthread/timer_delete.c: ... here.
14426         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14427         * sysdeps/pthread/timer_getoverr.c: ... here.
14428         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14429         * sysdeps/pthread/timer_gettime.c: ... here.
14430         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14431         * sysdeps/pthread/timer_routines.c: ... here.
14432         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14433         * sysdeps/pthread/timer_settime.c: ... here.
14434         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14435         * sysdeps/pthread/tst-timer.c: ... here.
14436         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14437         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14439         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14440         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14442         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14443         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14444         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14445         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14446         Update #include target.
14447         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14448         * sysdeps/i386/i686/nptl/Makefile: ... here.
14449         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14450         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14451         Update #include target.
14452         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14453         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14454         * nptl/sysdeps/i386/Makefile: Moved ...
14455         * sysdeps/i386/nptl/Makefile: ... here.
14456         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14457         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14458         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14459         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14460         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14461         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14462         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14463         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14464         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14465         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14466         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14467         * nptl/sysdeps/i386/tls.h: Moved ...
14468         * sysdeps/i386/nptl/tls.h: ... here.
14470         * sysdeps/sh/Makefile [$(subdir) = csu]
14471         (gen-as-const-headers): Add tcb-offsets.sym.
14472         * nptl/sysdeps/sh/Makefile: File removed.
14473         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14474         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14475         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14476         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14477         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14478         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14479         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14480         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14481         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14482         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14483         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14484         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14485         * nptl/sysdeps/sh/tls.h: Moved ...
14486         * sysdeps/sh/nptl/tls.h: ... here.
14487         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14488         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14489         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14490         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14491         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14492         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14493         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14494         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14495         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14496         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14498         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14500         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14501         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14502         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14504         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14506         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14507         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14508         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14512         Moved ...
14513         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14515         Moved ...
14516         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14518         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14520         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14521         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14522         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14523         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14524         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14525         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14526         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14527         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14528         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14529         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14530         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14531         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14532         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14533         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14534         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14536 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14538         * posix/spawn_faction_addopen.c: Include string.h.
14540 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14542         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14543         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14544         * nptl/sysdeps/x86_64/Makefile: Moved ...
14545         * sysdeps/x86_64/nptl/Makefile: ... here.
14546         * nptl/sysdeps/x86_64/configure: Moved ...
14547         * sysdeps/x86_64/nptl/configure: ... here.
14548         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14549         * sysdeps/x86_64/nptl/configure.ac: ... here.
14550         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14551         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14552         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14553         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14554         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14555         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14556         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14557         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14558         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14559         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14560         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14561         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14562         * nptl/sysdeps/x86_64/tls.h: Moved ...
14563         * sysdeps/x86_64/nptl/tls.h: ... here.
14564         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14565         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14566         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14567         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14569         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14571 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14575 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
14577         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14578         type.
14579         [POSIX] (off_t): Likewise.
14580         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14581         [POSIX] (S_ISBLK): Require macro.
14582         [POSIX] (S_ISCHR): Likewise.
14583         [POSIX] (S_ISDIR): Likewise.
14584         [POSIX] (S_ISFIFO): Likewise.
14585         [POSIX] (S_ISREG): Likewise.
14586         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14587         optional-macro.
14588         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14589         type.
14590         [POSIX] (time_t): Likewise.
14591         [POSIX] (timer_t): Likewise.
14593 2014-06-11  Florian Weimer  <fweimer@redhat.com>
14595         [BZ #17048]
14596         * posix/spawn_int.h (struct __spawn_action): Make the path string
14597         non-const to support deallocation.
14598         * posix/spawn_faction_addopen.c
14599         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14600         * posix/spawn_faction_destroy.c
14601         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
14602         path in all spawn_do_open actions.
14603         * posix/tst-spawn.c (do_test): Exercise the copy operation in
14604         posix_spawn_file_actions_addopen.
14606 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
14608         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14609         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14610         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14611         conditional code always true.
14612         (__libc_vfork): New alias.
14614 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14616         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14617         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14619         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14621         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14622         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14624         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14625         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14627         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14628         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14630 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14632         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14633         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14634         multiarch strcmp for PPC64.
14635         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14636         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14638         multiarch optimizations.
14639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14640         (__libc_ifunc_impl_list): Likewise.
14642 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14644         * benchtests/scripts/validate_benchout.py: New script.
14645         * benchtests/Makefile (bench-func): Call it.
14646         * benchtests/scripts/benchout.schema.json: New file.
14648 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
14650         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14651         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14652         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14653         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14654         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14655         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14656         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14657         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14658         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14659         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14660         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14661         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14662         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14663         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14664         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14665         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14667         Moved ...
14668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14669         ... here.
14670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14671         Moved ...
14672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14674         Moved ...
14675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14676         ... here.
14677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14678         Moved ...
14679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14680         ... here.
14681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14682         Moved ...
14683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14685         Moved ...
14686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14687         ... here.
14688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14689         Moved ...
14690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14691         ... here.
14692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14693         Moved ...
14694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14696         Moved ...
14697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14698         ... here.
14699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14700         Moved ...
14701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14702         ... here.
14703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14704         Moved ...
14705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14706         ... here.
14707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14708         Moved ...
14709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14711         Moved ...
14712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14713         ... here.
14714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14715         Moved ...
14716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14717         ... here.
14718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14719         Moved ...
14720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14721         ... here.
14722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14723         Moved ...
14724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14726         Moved ...
14727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14728         ... here.
14729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14730         Moved ...
14731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14732         ... here.
14733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14734         Moved ...
14735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14737         Moved ...
14738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14739         ... here.
14740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14741         Moved ...
14742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14744         Moved ...
14745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14747         Moved ...
14748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14749         ... here.
14750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14751         Moved ...
14752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14753         ... here.
14754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14755         Moved ...
14756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14757         ... here.
14758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14759         Moved ...
14760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14762         Moved ...
14763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14764         ... here.
14765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14766         Moved ...
14767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14768         ... here.
14769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14770         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14772         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14774         Moved ...
14775         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14776         ... here.
14777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14778         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14782         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14784         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14785         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14786         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14788         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14790         Moved ...
14791         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14793         Moved ...
14794         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14796         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14798         Moved ...
14799         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14801         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14802         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14803         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14804         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14805         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14807 2014-06-10  Wilco  <wdijkstr@arm.com>
14809         * math/test-fenv-return.c: New file.
14810         * math/Makefile: Add new test test-fenv-return.
14812 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14814         [BZ #17042]
14815         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14816         when x - 1 is zero.
14817         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14818         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14819         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14820         0.0L for an argument of 1.0L.
14821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14822         Likewise.
14823         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14824         value when x - 1 is zero.
14825         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14826         * sysdeps/i386/fpu/libm-test-ulps: Update.
14827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14829 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14831         [BZ #15119]
14832         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14834 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14836         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14837         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14839 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14841         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14842         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14844         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14845         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14847         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14848         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14850         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14851         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14853         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14854         if not already defined.
14855         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14856         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14857         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14858         (TLS_INIT_TP): Use it.
14859         (TLS_DEFINE_INIT_TP): New macro.
14860         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14862 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14864         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14865         constant.
14866         [POSIX] (IXANY): Likewise.
14867         [POSIX] (OLCUC): Likewise.
14868         [POSIX || POSIX2008] (CBAUD): Do not allow.
14869         [POSIX || POSIX2008] (DEFECHO): Likewise.
14870         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14871         [POSIX || POSIX2008] (ECHOKE): Likewise.
14872         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14873         [POSIX || POSIX2008] (EXTA): Likewise.
14874         [POSIX || POSIX2008] (EXTB): Likewise.
14875         [POSIX || POSIX2008] (FLUSHO): Likewise.
14876         [POSIX || POSIX2008] (LOBLK): Likewise.
14877         [POSIX || POSIX2008] (PENDIN): Likewise.
14878         [POSIX || POSIX2008] (SWTCH): Likewise.
14879         [POSIX || POSIX2008] (VDISCARD): Likewise.
14880         [POSIX || POSIX2008] (VDSUSP): Likewise.
14881         [POSIX || POSIX2008] (VLNEXT): Likewise.
14882         [POSIX || POSIX2008] (VREPRINT): Likewise.
14883         [POSIX || POSIX2008] (VSTATUS): Likewise.
14884         [POSIX || POSIX2008] (VWERASE): Likewise.
14885         (B*): Change to B[0123456789]*.
14886         * conform/data/time.h-data [POSIX || UNIX98]
14887         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14888         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14889         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14890         [POSIX] (tm_*): Do not allow.
14892 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14894         * Makefile (install): Don't set LANGUAGE.
14895         * Makefile.in (install): Likewise.
14896         * assert/Makefile (test-assert-ENV): Remove variable.
14897         (test-assert-perr-ENV): Likewise.
14898         * elf/Makefile (neededtest4-ENV): Likewise.
14899         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14900         [$(cross-compiling) = no]: Don't set LANGUAGE.
14901         * io/ftwtest-sh (LANG): Remove variable.
14902         * libio/Makefile (tst-widetext-ENV): Likewise.
14903         * manual/install.texi (Running make install): Don't refer to
14904         environment settings for make install.
14905         * INSTALL: Regenerated.
14906         * nptl/tst-tls6.sh: Don't set LANG.
14907         * posix/globtest.sh (LANG): Remove variable.
14908         * string/Makefile (tester-ENV): Likewise.
14909         (inl-tester-ENV): Likewise.
14910         (noinl-tester-ENV): Likewise.
14911         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14912         [$(cross-compiling) = no]: Don't set LANGUAGE.
14913         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14914         without explicit environment settings.
14916 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14918         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14919         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14920         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14921         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14923 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14925         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14926         other files in the crypt directory.
14927         * crypt/crypt.c: Remove duplicate includes.
14928         * crypt/crypt-entry.c: Likewise.
14929         * crypt/crypt_util.c: Likewise.
14931 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14933         * Makeconfig (run-program-env): New variable.
14934         (run-program-prefix-before-env): Likewise.
14935         (run-program-prefix-after-env): Likewise.
14936         (run-program-prefix): Define in terms of new variables.
14937         (built-program-cmd-before-env): New variable.
14938         (built-program-cmd-after-env): Likewise.
14939         (built-program-cmd): Define in terms of new variables.
14940         (test-program-prefix-before-env): New variable.
14941         (test-program-prefix-after-env): Likewise.
14942         (test-program-prefix): Define in terms of new variables.
14943         (test-program-cmd-before-env): New variable.
14944         (test-program-cmd-after-env): Likewise.
14945         (test-program-cmd): Define in terms of new variables.
14946         * Rules (make-test-out): Use $(run-program-env).
14947         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14948         (help): Do not mention environment variables.  Mention
14949         --timeoutfactor option.
14950         (timeoutfactor): New variable.
14951         (blacklist_exports): Remove function.
14952         (exports): Remove variable.
14953         (command): Do not include ${exports}.
14954         * manual/install.texi (Configuring and compiling): Do not mention
14955         test wrappers preserving environment variables.  Mention that last
14956         assignment to a variable must take precedence.
14957         * INSTALL: Regenerated.
14958         * benchtests/Makefile (run-bench): Use $(run-program-env).
14959         * catgets/Makefile ($(objpfx)test1.cat): Use
14960         $(built-program-cmd-before-env), $(run-program-env) and
14961         $(built-program-cmd-after-env).
14962         ($(objpfx)test2.cat): Do not specify environment variables
14963         explicitly.
14964         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14965         $(run-program-env) and $(built-program-cmd-after-env).
14966         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14967         $(run-program-env) and $(test-program-cmd-after-env).
14968         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14969         explicitly.
14970         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14971         run_program_env and test_program_cmd_after_env arguments.
14972         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14973         * elf/tst-pathopt.sh: Use run_program_env argument.
14974         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14975         $(test-wrapper-env) and $(run-program-env).
14976         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14977         run_program_env arguments.
14978         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14979         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14980         $(test-program-prefix-before-env), $(run-program-env) and
14981         $(test-program-prefix-after-env).
14982         ($(objpfx)tst-gettext2.out): Likewise.
14983         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14984         run_program_env and test_program_prefix_after_env arguments.
14985         * intl/tst-gettext2.sh: Likewise.
14986         * intl/tst-gettext4.sh: Do not set environment variables
14987         explicitly.
14988         * intl/tst-gettext6.sh: Likewise.
14989         * intl/tst-translit.sh: Likewise.
14990         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14991         $(test-program-prefix-before-env), $(run-program-env) and
14992         $(test-program-prefix-after-env).
14993         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14994         run_program_env and test_program_prefix_after_env arguments.
14995         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14996         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14997         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14998         explicitly with each use of ${test_wrapper_env}.
14999         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15000         $(test-program-prefix-before-env), $(run-program-env) and
15001         $(test-program-prefix-after-env).
15002         * posix/tst-getconf.sh: Do not set environment variables
15003         explicitly.
15004         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15005         run_program_env and test_program_prefix_after_env arguments.
15006         * stdio-common/tst-printf.sh: Do not set environment variables
15007         explicitly.
15008         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15009         $(test-program-prefix-before-env), $(run-program-env) and
15010         $(test-program-prefix-after-env).
15011         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15012         run_program_env and test_program_prefix_after_env arguments.
15013         Split $test calls into $test_pre and $test.
15014         * timezone/Makefile (build-testdata): Use
15015         $(built-program-cmd-before-env), $(run-program-env) and
15016         $(built-program-cmd-after-env).
15018 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15020         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15021         strlen for non SHARED builds.
15023 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15025         * nptl/allocatestack.c (check_list): Inlined function...
15026         (__reclaim_stacks): ... here.
15028 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15030         [BZ #15698]
15031         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15032         memory overrun.
15034 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15036         * Rules (make-test-out): Include
15037         LOCPATH=$(common-objpfx)localedata in default environment.
15038         * debug/Makefile (tst-chk1-ENV): Remove variable.
15039         (tst-chk2-ENV): Likewise.
15040         (tst-chk3-ENV): Likewise.
15041         (tst-chk4-ENV): Likewise.
15042         (tst-chk5-ENV): Likewise.
15043         (tst-chk6-ENV): Likewise.
15044         (tst-lfschk1-ENV): Likewise.
15045         (tst-lfschk2-ENV): Likewise.
15046         (tst-lfschk3-ENV): Likewise.
15047         (tst-lfschk4-ENV): Likewise.
15048         (tst-lfschk5-ENV): Likewise.
15049         (tst-lfschk6-ENV): Likewise.
15050         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15051         (tst-iconv7-ENV): Likewise.
15052         * intl/Makefile (LOCPATH-ENV): Likewise.
15053         (tst-codeset-ENV): Likewise.
15054         (tst-gettext3-ENV): Likewise.
15055         (tst-gettext5-ENV): Likewise.
15056         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15057         (tst-fopenloc-ENV): Likewise.
15058         (tst-fgetws-ENV): Remove variable.
15059         (tst-ungetwc1-ENV): Likewise.
15060         (tst-ungetwc2-ENV): Likewise.
15061         (bug-ungetwc2-ENV): Likewise.
15062         (tst-swscanf-ENV): Likewise.
15063         (bug-ftell-ENV): Likewise.
15064         (tst-fgetwc-ENV): Likewise.
15065         (tst-fseek-ENV): Likewise.
15066         (tst-ftell-partial-wide-ENV): Likewise.
15067         (tst-ftell-active-handler-ENV): Likewise.
15068         (tst-ftell-append-ENV): Likewise.
15069         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15070         (tst-regexloc-ENV): Likewise.
15071         (bug-regex1-ENV): Likewise.
15072         (tst-regex-ENV): Likewise.
15073         (tst-regex2-ENV): Likewise.
15074         (bug-regex5-ENV): Likewise.
15075         (bug-regex6-ENV): Likewise.
15076         (bug-regex17-ENV): Likewise.
15077         (bug-regex18-ENV): Likewise.
15078         (bug-regex19-ENV): Likewise.
15079         (bug-regex20-ENV): Likewise.
15080         (bug-regex22-ENV): Likewise.
15081         (bug-regex23-ENV): Likewise.
15082         (bug-regex25-ENV): Likewise.
15083         (bug-regex26-ENV): Likewise.
15084         (bug-regex30-ENV): Likewise.
15085         (bug-regex32-ENV): Likewise.
15086         (bug-regex33-ENV): Likewise.
15087         (bug-regex34-ENV): Likewise.
15088         (bug-regex35-ENV): Likewise.
15089         (tst-rxspencer-ENV): Likewise.
15090         (tst-rxspencer-no-utf8-ENV): Likewise.
15091         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15092         (tst-sscanf-ENV): Likewise.
15093         (tst-swprintf-ENV): Likewise.
15094         (tst-swscanf-ENV): Likewise.
15095         (test-vfprintf-ENV): Likewise.
15096         (scanf13-ENV): Likewise.
15097         (bug14-ENV): Likewise.
15098         (tst-grouping-ENV): Likewise.
15099         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15100         (tst-strtod3-ENV): Likewise.
15101         (tst-strtod4-ENV): Likewise.
15102         (tst-strtod5-ENV): Likewise.
15103         (testmb2-ENV): Likewise./
15104         * string/Makefile (tst-strxfrm-ENV): Likewise.
15105         (tst-strxfrm2-ENV): Likewise.
15106         (bug-strcoll1-ENV): Likewise.
15107         (test-strcasecmp-ENV): Likewise.
15108         (test-strncasecmp-ENV): Likewise.
15109         * time/Makefile (tst-strptime-ENV): Likewise.
15110         (tst-ftime_l-ENV): Likewise.
15111         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15112         (tst-mbrtowc-ENV): Likewise.
15113         (tst-wcrtomb-ENV): Likewise.
15114         (tst-mbrtowc2-ENV): Likewise.
15115         (tst-c16c32-1-ENV): Likewise.
15116         (tst-mbsnrtowcs-ENV): Likewise.
15118 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15120         * manual/resource.texi (How to get information about the memory
15121         subsystem?): Fix typo.
15122         Reported by Peon de la Parra Ivan <peon@keba.com>
15124 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15126         [BZ #16882]
15127         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15128         (pthread_spin_lock): Branch out of spin loop to proper location.
15129         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15130         (pthread_spin_lock): Likewise.
15132         * nptl/tst-spin4.c: New test.
15133         * nptl/Makefile (tests): Add tst-spin4.
15135 2014-06-03  Andreas Schwab  <schwab@suse.de>
15137         [BZ #15946]
15138         * resolv/res_send.c (send_dg): Reload file descriptor after
15139         calling reopen.
15141 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15143         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15145 2014-06-03  Richard Henderson  <rth@redhat.com>
15147         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15148         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15149         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15150         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15151         in the SAVE_PID block.
15152         (__libc_vfork): New alias.
15153         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15155         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15156         child in registers, not on the stack.  Remove RESET_PID conditionals.
15157         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15159 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15161         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15163 2014-06-03  Wilco  <wdijkstr@arm.com>
15165         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15166         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15167         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15168         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15169         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15170         Likewise.
15172 2014-06-03  Wilco  <wdijkstr@arm.com>
15174         * sysdeps/aarch64/fpu/math_private.h
15175         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15176         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15177         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15178         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15179         Fix declarations.
15181 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15183         * crypt/crypt-private.h: Include ufc-crypt.h.
15184         (__b64_from_24bit): Declare extern.
15185         * crypt/crypt_util.c(__b64_from_24bit): New function.
15186         (b64t): New static const variable.
15187         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15188         (b64t): Remove variable.
15189         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15190         * crypt/sha256-crypt.c: Include crypt-private.h.
15191         (b64t): Remove variable.
15192         (__sha256_crypt_r): Remove b64_from_24bit and replace
15193         with __b64_from_24bit.
15194         * crypt/sha512-crypt.c: Likewise.
15196 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15198         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15199         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15200         Label the code __libc_vfork rather than __vfork.
15201         [!NOT_IN_libc] (vfork): Define as weak alias.
15202         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15203         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15204         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15206 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15208         * malloc/malloc.c (malloc_info): Fix format specifier for
15209         n_mmaps.
15211 2014-06-02  Wilco  <wdijkstr@arm.com>
15213         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15214         FPCR write.
15216 2014-06-02  Wilco  <wdijkstr@arm.com>
15218         [BZ #17009]
15219         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15220         Rewrite to reduce FPCR/FPSR accesses.
15222 2014-06-01  David S. Miller  <davem@davemloft.net>
15224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15226 2014-05-31  David S. Miller  <davem@davemloft.net>
15228         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15229         to occur in round to nearest mode when |x| >= 2.0
15231 2014-05-30  Richard Henderson  <rth@twiddle.net>
15233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15234         (PSEUDO_RET_NOERRNO): Remove.
15235         (ret): Don't redefine.
15236         (ret_NOERRNO): Define in terms of ret.
15237         (ret_ERRVAL): Likewise.
15239         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15240         use of PSEUDO_RET; perform the error check directly.
15242 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15244         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15245         with __int128_t.
15247 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15249         * malloc/malloc (malloc_info): Fix formatting.
15251 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15252             Roland McGrath  <roland@hack.frob.com>
15254         * malloc/malloc (malloc_info): Also print mmapped statistics.
15256 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15258         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15259         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15261 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15263         * malloc/malloc.c (malloc_info): Inline mi_arena.
15265 2014-05-29  Richard Henderson  <rth@twiddle.net>
15267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15268         Remove comma before expanding ASM_ARGS_##nr.
15269         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15270         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15271         of ASM_ARGS_##nr.
15272         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15273         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15274         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15275         (ASM_ARGS_1): Add leading comma.
15277         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15278         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15279         to __errno_location.
15280         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15281         Remove the expected plt for __errno_location.
15283         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15284         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15285         call to __read_tp.
15287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15288         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15289         it and break it down.
15290         (DOCARGS_0, DOCARGS_1): Do nothing.
15291         (DOCARGS_2): Update to store into the new stack frame.
15292         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15293         (UNDOCARGS_1): Update to restore from the new stack frame.
15294         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15295         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15298         (SINGLE_THREAD_P): New parameter for result regno.
15299         (PSEUDO): Update to match; use cbz instead of beq.
15301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15302         Use ENTRY to define the _nocancel entry point.  Share the syscall
15303         and syscall error check paths with the cancel path.
15304         (PSEUDO_END): New.
15306         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15307         whitespace; tabs before and after asm mnemonics.
15309 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15311         [BZ #15132]
15312         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15313         Call fstat64 or stat64 internally, depending on arguments passed.
15314         Replace stat buffer argument with file descriptor argument.
15315         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15316         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15317         Pass fd to __internal_statvfs instead of calling fstat64.
15318         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15319         Pass fd to __internal_statvfs64 instead of calling fstat64.
15320         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15321         Pass -1 to __internal_statvfs instead of calling stat64.
15322         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15323         Pass -1 to __internal_statvfs64 instead of calling stat64.
15325 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15327         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15328         that was previously under [RESET_PID].
15329         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15331         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15332         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15334 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15336         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15338         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15339         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15341 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15343         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15345 2014-05-27  Andreas Schwab  <schwab@suse.de>
15347         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15348         TLS_INIT_TP macro.
15349         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15350         * elf/rtld.c (init_tls, dl_main): Likewise.
15351         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15352         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15353         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15354         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15355         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15356         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15357         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15358         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15359         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15360         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15361         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15362         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15363         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15364         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15365         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15366         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15367         * sysdeps/generic/tls.h: Update description.
15369 2014-05-27  Will Newton  <will.newton@linaro.org>
15371         [BZ #16990]
15372         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15373         and restore r2 rather than just restoring.
15375 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15377         [BZ #16724]
15378         * libio/tst-ftell-append.c: New test case.
15379         * libio/Makefile (tests): Add test case.
15380         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15381         append mode.
15382         * libio/wfileops.c (do_ftell_wide): Likewise.
15384 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15388         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15389         ...
15390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15392         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15393         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15394         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15395         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15396         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15399         Moved ...
15400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15402         Moved ...
15403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15404         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15405         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15406         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15407         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15408         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15409         ...
15410         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15411         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15412         Moved ...
15413         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15414         here.
15415         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15416         ...
15417         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15418         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15419         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15421         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15422         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15423         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15424         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15427         merge into ...
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15430         ...
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15433         ...
15434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15436         Moved ...
15437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15438         here.
15439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15440         Moved ...
15441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15443         Moved ...
15444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15447         conditional [RESET_PID].
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15450         removed.
15451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15452         removed.
15454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15455         <tcb-offsets.h>.
15456         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15457         (__libc_vfork): New strong alias.
15458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15459         removed.
15460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15461         Removed.
15463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15464         <tcb-offsets.h>.
15465         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15466         (__libc_vfork): New strong alias.
15467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15468         removed.
15469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15470         removed.
15472 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15474         * malloc/malloc.c (mi_arena): New function.
15475         (malloc_info): Remove nested function mi_arena. Call non-nosted
15476         function mi_arena.
15478 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15480         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15481         by insrwi.
15482         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15483         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15484         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15485         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15486         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15487         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15488         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15490 2014-05-26  Andreas Schwab  <schwab@suse.de>
15492         [BZ #16984]
15493         * locale/programs/repertoire.c (repertoire_read): Add slash
15494         between I18NPATH element and file name.
15495         * locale/programs/locfile.c (locfile_read): Likewise.
15497 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15499         * nptl/pthread_mutexattr_settype.c
15500         (__pthread_mutexattr_settype):
15501         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15503 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15505         * nptl/tst-mutex5 (do_test):
15506         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15508 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15510         * benchtests/README: Document 'init' directive.
15511         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15512         BENCH_INIT.
15513         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15514         (parse_file): Recognize 'init' directive.
15516 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15518         [BZ #16796]
15519         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15520         alignment of struct pthread.
15522 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15524         [BZ #16878]
15525         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15526         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15527         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15528         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15530 2014-05-25  Richard Henderson  <rth@twiddle.net>
15532         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15533         (SINGLE_THREAD_P_PIC): Remove.
15534         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15535         (SINGLE_THREAD_P_PIC): Remove.
15537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15538         branch to syscall error ...
15539         (PSEUDO): ... here.
15540         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15541         from __local_syscall_error to .Lsyscall_error.
15542         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15543         (SYSCALL_ERROR): Update label name.
15545         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15546         Do not use DOARGS/UNDOARGS.
15547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15548         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15549         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15550         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15551         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15553         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15554         block comment.
15556         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15557         define if !NOT_IN_libc.
15558         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15559         define with non-default symbol versions.
15561 2014-05-23  Richard Henderson  <rth@twiddle.net>
15563         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15564         (vfork, __vfork): Define via compat_symbol.
15566         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15567         [!HAVE_IFUNC] (vfork_compat): Remove.
15568         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15570 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15572         [BZ #16978]
15573         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15574         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15575         variable.
15577 2014-05-23  Richard Henderson  <rth@twiddle.net>
15579         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15580         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15581         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15582         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15584         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15585         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15586         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15587         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15588         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15589         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15591         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15592         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15593         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15594         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15595         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15596         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15597         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15598         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15599         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15600         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15601         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15602         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15603         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15604         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15605         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15606         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15607         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15608         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15609         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15610         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15611         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15612         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15613         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15614         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15615         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15616         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15617         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15618         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15619         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15620         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15621         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15622         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15623         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15624         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15625         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15626         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15627         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15628         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15629         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15630         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15631         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15632         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15633         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15634         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15635         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15636         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15637         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15638         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15639         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15641         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15642         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15643         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
15644         before exiting on error.
15645         (__libc_vfork): New strong alias.
15646         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15647         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15649         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15650         that was previously under [RESET_PID].
15651         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15653         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15655 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15657         [BZ #16977]
15658         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15659         value when x - 1 is zero.
15660         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15661         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15662         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15663         0.0L for an argument of 1.0L.
15664         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15665         Likewise.
15666         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15667         value when x - 1 is zero.
15668         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15669         * sysdeps/i386/fpu/libm-test-ulps: Update.
15670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15672 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15674         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15675         alphasort and versionsort.
15677 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15679         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15680         macro.
15681         [copysignf]: Likewise.
15683 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15685         * crypt/md5-crypt.c: Fix formatting.
15687 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15689         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15690         (b64_from_24bit): New function.
15692 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15694         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15695         libc_hidden_builtin_def to ifunc.
15696         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15697         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15699 2014-05-21  Roland McGrath  <roland@hack.frob.com>
15701         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15702         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15704 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
15706         * nscd/Depend (linuxthreads): Remove.
15707         (nptl): Add.
15708         * resolv/Depend (linuxthreads): Remove.
15709         * rt/Depend (linuxthreads): Remove.
15711         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15712         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15713         $(common-objpfx)elf/.
15714         (link-libc-before-gnulib): Likewise.
15715         (elfobjdir): Remove variable.
15716         * Makefile (install): Use $(elf-objpfx) instead of
15717         $(common-objpfx)elf/.
15718         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15719         $(elfobjdir)/.
15720         (link-libc-deps): Likewise.
15721         ($(common-objpfx)libc.so): Likewise.
15722         ($(common-objpfx)linkobj/libc.so): Likewise.
15723         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15724         instead of $(common-objpfx)elf/.
15725         (symbolic-link-list): Likewise.
15726         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15727         [$(cross-compiling) = no]: Likewise.
15728         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15729         $(elfobjdir)/.
15730         (static-gnulib-arch): Likewise.
15731         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15732         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15733         $(common-objpfx)elf/.
15735 2014-05-21  Richard Henderson  <rth@redhat.com>
15737         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15738         (SINGLE_THREAD_P): Use the correct width load.  Fold
15739         into the ldr offset.
15741         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15742         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15744 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
15746         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15747         (libgcc_s_resume): Use __attribute_used__.
15748         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15749         Likewise.
15751 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15753         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15754         optimization when used with float constants.
15756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15758 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
15760         [BZ #16915]
15761         * locale/nl_langinfo_l.c: Make direct reference to every
15762         _nl_current_CATEGORY symbol.
15763         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15764         (tests-static): Add tst-langinfo-static.
15765         (tests-special): Add tst-langinfo-static.out.
15766         ($(objpfx)tst-langinfo.out): Redirect output.
15767         ($(objpfx)tst-langinfo-static.out): New.
15768         * localedata/tst-langinfo.sh: Send output to stdout.
15769         * localedata/tst-langinfo-static.c: New file.
15771         [BZ #16965]
15772         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15773         when the shift amount is modulo the limb size.
15775 2014-05-20  Richard Henderson  <rth@redhat.com>
15777         [BZ #16967]
15778         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15779         Change type of sa_flags from unsigned int to int.
15781         [BZ #16966]
15782         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15784         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15786 2014-05-20  Will Newton  <will.newton@linaro.org>
15788         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15789         Test the return value of the system call in the nocancel case.
15791 2014-05-20  Will Newton  <will.newton@linaro.org>
15792             Yvan Roux  <yvan.roux@linaro.org>
15794         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15795         #include of asm/ptrace.h.
15796         (PTRACE_GET_THREAD_AREA): Remove #undef.
15797         (PTRACE_GETHBPREGS): Likewise.
15798         (PTRACE_SETHBPREGS): Likewise.
15799         (struct user_regs_struct): New structure.
15800         (struct user_fpsimd_struct): New structure.
15801         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15802         #include of asm/ptrace.h and second #include of sys/user.h.
15803         (PTRACE_GET_THREAD_AREA): Remove #undef.
15804         (PTRACE_GETHBPREGS): Likewise.
15805         (PTRACE_SETHBPREGS): Likewise.
15806         (ELF_NGREG): Use new struct user_regs_struct.
15807         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15809 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15814 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15816         [BZ #16958]
15817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15818         membar to avoid block loads/stores to overlap previous stores.
15820 2014-05-17  Richard Henderson  <rth@redhat.com>
15822         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15823         Create the __##syscall_name##_nocancel entry point.
15824         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15825         Remove; let the sysdep-cancel.h code create it.
15827 2014-05-17  David S. Miller  <davem@davemloft.net>
15829         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15830         Protect with __USE_GNU.
15831         (TIOCSET_TEMPT): Likewise.
15832         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15833         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15834         these are already provided in bits/ioctl-types.h
15836 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15838         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15839         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15841         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15842         Use wait4 regardless of [__NR_waitpid].
15844 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15846         PR libgcc/60166
15847         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15848         (_FP_NANSIGN_Q): Set the quiet bit.
15850 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15852         * benchtests/Makefile
15853         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15854         not $(common-objpfx)math/libm.so.
15855         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15856         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15857         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15858         $(common-objpfx)dlfcn/libdl.so.
15859         ($(objpfx)tst-audit8): Depend on $(libm), not
15860         $(common-objpfx)math/libm.so.
15861         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15862         not $(common-objpfx)dlfcn/libdl.so.
15863         * math/Makefile
15864         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15865         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15866         [$(build-shared) = yes].
15867         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15868         $(common-objpfx)nptl/libpthread.so.
15869         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15870         $(common-objpfx)math/libm.so$(libm.so-version) or
15871         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15872         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15873         $(common-objpfx)dlfcn/libdl.so.
15874         * setjmp/Makefile (link-libm): Remove variable.
15875         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15876         * stdio-common/Makefile (link-libm): Remove variable.
15877         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15878         * stdlib/Makefile (link-libm): Remove variable.
15879         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15880         ($(objpfx)tst-strtod-round): Likewise.
15881         ($(objpfx)tst-tininess): Likewise.
15882         ($(objpfx)tst-strtod-underflow): Likewise.
15883         ($(objpfx)tst-strtod6): Likewise.
15884         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15885         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15886         $(common-objpfx)dlfcn/libdl.so.
15888 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15890         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15891         BSD terminal modes definitions.
15893 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15895         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15896         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15898         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15899         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15900         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15901         Don't do #include_next.
15902         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15903         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15904         Don't do #include_next.
15905         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15906         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15907         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15908         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15910 2014-05-16  Allan McRae  <allan@archlinux.org>
15912         * po/sv.po: Update Swedish translation from translation project.
15914         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15915         in sed expression.
15917 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15919         [BZ #16917]
15920         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15921         errno if the TIOCGPTN ioctl fails with an error different than
15922         EINVAL.
15923         * login/tst-ptsname.c: New file.
15924         * login/Makefile (tests): Add tst-ptsname.
15926         [BZ #16943]
15927         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15928         and prlimit64.
15930 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15932         [BZ #16849]
15933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15934         herrno to return EAI_AGAIN.
15936 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15938         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15939         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15940         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15941         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15942         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15943         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15944         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15945         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15946         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15947         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15948         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15949         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15950         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15951         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15952         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15953         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15954         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15955         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15956         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15957         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15958         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15959         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15960         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15961         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15962         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15963         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15964         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15965         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15966         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15967         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15969         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15973         Moved ...
15974         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15976         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15978         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15980         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15982         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15984         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15986         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15988         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15990         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15992         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15994         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15998         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16000         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16002         Moved ...
16003         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16005         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16007         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16009         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16013         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16026         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16028         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16029         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16030         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16031         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16032         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16033         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16034         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16035         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16036         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16037         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16038         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16039         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16040         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16041         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16042         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16043         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16044         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16045         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16046         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16047         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16048         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16049         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16050         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16051         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16052         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16053         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16054         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16055         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16056         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16057         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16058         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16060         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16061         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16063         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16064         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16065         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16066         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16067         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16069         Moved ...
16070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16071         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16072         Moved ...
16073         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16078         Moved ...
16079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16080         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16081         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16083         Moved ...
16084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16085         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16086         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16087         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16089         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16090         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16091         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16092         Moved ...
16093         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16094         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16095         Moved ...
16096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16097         ... here.
16098         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16099         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16100         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16101         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16103         Moved ...
16104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16105         ... here.
16106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16107         Moved ...
16108         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16109         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16110         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16111         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16112         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16114         Moved ...
16115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16116         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16117         Moved ...
16118         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16120         Moved ...
16121         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16123         Moved ...
16124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16125         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16126         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16128         Moved ...
16129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16130         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16131         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16132         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16133         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16134         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16135         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16136         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16137         Moved ...
16138         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16139         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16140         Moved ...
16141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16142         ... here.
16143         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16144         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16145         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16146         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16148         Moved ...
16149         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16150         ... here.
16151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16152         Moved ...
16153         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16154         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16155         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16156         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16157         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16158         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16159         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16160         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16161         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16162         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16163         Moved ...
16164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16165         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16166         Moved ...
16167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16169         Moved ...
16170         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16171         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16172         Moved ...
16173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16174         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16175         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16176         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16177         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16179         Moved ...
16180         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16181         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16182         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16184         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16185         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16186         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16187         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16188         Moved ...
16189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16191         Moved ...
16192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16193         ... here.
16194         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16195         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16196         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16197         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16199         Moved ...
16200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16201         ... here.
16202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16203         Moved ...
16204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16205         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16206         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16207         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16208         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16209         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16210         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16211         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16212         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16213         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16214         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16216         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16217         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16219         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16220         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16222         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16223         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16224         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16225         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16226         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16227         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16228         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16229         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16230         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16231         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16232         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16233         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16235         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16236         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16237         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16238         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16240         Moved ...
16241         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16243         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16245         Moved ...
16246         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16247         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16248         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16250         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16254         Moved ...
16255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16257         Moved ...
16258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16260         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16264         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16265         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16266         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16267         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16268         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16269         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16270         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16271         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16272         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16273         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16274         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16276         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16277         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16278         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16279         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16280         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16282         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16283         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16284         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16285         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16286         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16287         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16288         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16289         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16290         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16291         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16296         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16297         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16298         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16299         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16300         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16301         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16302         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16303         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16304         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16305         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16306         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16307         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16308         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16309         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16311         Update #include.
16312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16313         Likewise.
16314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16315         Likewise.
16316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16317         Likewise.
16318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16319         Likewise.
16320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16321         Likewise.
16322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16323         Likewise.
16324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16325         Likewise.
16326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16327         Likewise.
16328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16329         Likewise.
16330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16335         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16336         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16338         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16339         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16340         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16341         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16342         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16343         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16344         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16347         that was previously under [RESET_PID].
16348         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16349         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16350         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16352         * sysdeps/i386/nptl/Implies: New file.
16353         * sysdeps/x86_64/nptl/Implies: New file.
16354         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16355         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16356         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16357         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16359         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16360         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16361         (__libc_vfork): New strong alias.
16362         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16363         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16365         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16366         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16367         (__libc_vfork): New strong alias.
16368         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16369         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16371         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16372         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16373         (__libc_vfork): New strong alias.
16374         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16375         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16376         * nptl/pt-vfork.c: New file.
16377         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16378         (libpthread: GLIBC_2.20): New version set (empty).
16380 2014-05-14  Will Newton  <will.newton@linaro.org>
16382         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16383         rather than #if.
16385 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16387         [BZ #16564]
16388         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16389         arguments with exponent 65 or above.
16390         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16391         arguments 0x1p113L or above.
16392         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16393         to arguments 0x1p107L or above.
16394         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16395         positive arguments with exponent 65 or above.
16396         * math/auto-libm-test-in: Add more tests of log1p.
16397         * math/auto-libm-test-out: Regenerated.
16399         [BZ #16928]
16400         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16401         non-finite arguments is +0.
16402         * math/s_cacosf.c (__cacosf): Likewise.
16403         * math/s_cacosl.c (__cacosl): Likewise.
16404         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16405         * sysdeps/i386/fpu/libm-test-ulps: Update.
16406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408         [BZ #16927]
16409         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16410         value.
16411         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16412         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16413         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16414         for explicit high bit of mantissa when testing for argument equal
16415         to 1.
16416         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16417         * sysdeps/i386/fpu/libm-test-ulps: Update.
16418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16420         [BZ #16516]
16421         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16422         (__erf): Scale by 16 instead of 8 in potentially underflowing
16423         case.  Ensure exception if result actually underflows.
16424         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16425         (__erff): Scale by 16 instead of 8 in potentially underflowing
16426         case.  Ensure exception if result actually underflows.
16427         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16428         (efx8): Remove variable.
16429         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16430         case.  Ensure exception if result actually underflows.
16431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16432         (efx8): Remove variable.
16433         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16434         case.  Ensure exception if result actually underflows.
16435         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16436         (efx8): Remove variable.
16437         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16438         case.  Ensure exception if result actually underflows.
16439         * math/auto-libm-test-in: Add more tests of erf.
16440         * math/auto-libm-test-out: Regenerated.
16442 2014-05-14  Andreas Schwab  <schwab@suse.de>
16444         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16445         Remove code conditionalized on USE___THREAD.
16447         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16448         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16449         not definedness.
16451 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16453         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16454         Define unconditionally.
16455         (__ASSUME_O_CLOEXEC): Likewise.
16456         (__ASSUME_SOCK_CLOEXEC): Likewise.
16457         (__ASSUME_IN_NONBLOCK): Likewise.
16458         (__ASSUME_PIPE2): Likewise.
16459         (__ASSUME_EVENTFD2): Likewise.
16460         (__ASSUME_SIGNALFD4): Likewise.
16461         (__ASSUME_DUP3): Likewise.
16462         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16463         (__ASSUME_DUP3): Do not define.
16464         (__ASSUME_EVENTFD2): Likewise.
16465         (__ASSUME_IN_NONBLOCK): Likewise.
16466         (__ASSUME_O_CLOEXEC): Likewise.
16467         (__ASSUME_PIPE2): Likewise.
16468         (__ASSUME_SIGNALFD4): Likewise.
16469         (__ASSUME_SOCK_CLOEXEC): Likewise.
16470         (__ASSUME_UTIMES): Undefine.
16471         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16472         (__ASSUME_UTIMES): Do not define.
16473         (__ASSUME_O_CLOEXEC): Likewise.
16474         (__ASSUME_SOCK_CLOEXEC): Likewise.
16475         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16476         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16477         0x020621].
16478         (__ASSUME_PIPE2): Likewise.
16479         (__ASSUME_EVENTFD2): Likewise.
16480         (__ASSUME_SIGNALFD4): Likewise.
16481         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16482         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16483         Do not define.
16484         (__ASSUME_EVENTFD2): Likewise.
16485         (__ASSUME_SIGNALFD4): Likewise.
16486         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16487         (__ASSUME_32BITUIDS): Likewise.
16488         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16489         (__ASSUME_IPC64): Likewise.
16490         (__ASSUME_ST_INO_64_BIT): Likewise.
16491         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16492         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16494         (__ASSUME_UTIMES): Do not define.
16495         (__ASSUME_PSELECT): Likewise.
16496         (__ASSUME_PPOLL): Likewise.
16497         (__ASSUME_O_CLOEXEC): Likewise.
16498         (__ASSUME_SOCK_CLOEXEC): Likewise.
16499         (__ASSUME_IN_NONBLOCK): Likewise.
16500         (__ASSUME_PIPE2): Likewise.
16501         (__ASSUME_EVENTFD2): Likewise.
16502         (__ASSUME_SIGNALFD4): Likewise.
16503         (__ASSUME_DUP3): Likewise.
16504         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16505         (__ASSUME_UTIMES): Likewise.
16506         (__ASSUME_O_CLOEXEC): Likewise.
16507         (__ASSUME_SOCK_CLOEXEC): Likewise.
16508         (__ASSUME_IN_NONBLOCK): Likewise.
16509         (__ASSUME_PIPE2): Likewise.
16510         (__ASSUME_EVENTFD2): Likewise.
16511         (__ASSUME_SIGNALFD4): Likewise.
16512         (__ASSUME_DUP3): Likewise.
16513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16514         (__ASSUME_UTIMES): Likewise.
16515         (__ASSUME_O_CLOEXEC): Likewise.
16516         (__ASSUME_SOCK_CLOEXEC): Likewise.
16517         (__ASSUME_IN_NONBLOCK): Likewise.
16518         (__ASSUME_PIPE2): Likewise.
16519         (__ASSUME_EVENTFD2): Likewise.
16520         (__ASSUME_SIGNALFD4): Likewise.
16521         (__ASSUME_DUP3): Likewise.
16522         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16523         Likewise.
16524         (__ASSUME_UTIMES): Likewise.
16525         (__ASSUME_EVENTFD2): Likewise.
16526         (__ASSUME_SIGNALFD4): Likewise.
16527         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16528         (__ASSUME_O_CLOEXEC): Likewise.
16529         (__ASSUME_SOCK_CLOEXEC): Likewise.
16530         (__ASSUME_IN_NONBLOCK): Likewise.
16531         (__ASSUME_PIPE2): Likewise.
16532         (__ASSUME_EVENTFD2): Likewise.
16533         (__ASSUME_SIGNALFD4): Likewise.
16534         (__ASSUME_DUP3): Likewise.
16535         (__ASSUME_UTIMES): Undefine.
16537         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16538         feclearexcept.  Remove symbol versioning code.
16539         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16540         symbol versioning code.
16541         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16542         symbol versioning code.
16543         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16544         feupdateenv.  Remove symbol versioning code.
16545         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16546         fegetexceptflag.  Remove symbol versioning code.
16547         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16548         fesetexceptflag.  Remove symbol versioning code.
16549         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16550         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16551         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16552         (__posix_fadvise64_l32): Remove prototype.
16553         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16554         code.
16556 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16558         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16559         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16560         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16561         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16563 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
16565         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16566         current working directory
16568 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16570         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16571         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16572         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16573         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16574         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16575         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16576         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16577         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16578         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16579         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16581         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16582         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16583         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16584         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16585         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16586         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16587         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16589         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16590         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16591         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16592         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16593         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16594         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16595         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16596         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16597         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16598         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16599         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16600         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16601         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16602         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16603         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16604         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16605         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16606         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16607         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16608         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16609         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16610         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16611         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16613         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16614         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16616         * sysdeps/unix/sysv/linux/arm/Makefile
16617         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16618         Add rt-aeabi_unwind_cpp_pr1.
16619         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16620         Add nptl-aeabi_unwind_cpp_pr1.
16621         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16622         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16623         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16624         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16625         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16626         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16628         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16629         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16630         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16631         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16633         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16634         Deconditionalize the code that was previously under [RESET_PID].
16635         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16637         * sysdeps/generic/exit-thread.h: New file.
16638         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16639         * include/unistd.h (__exit_thread): Remove declaration.
16640         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16641         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16642         * csu/libc-start.c: Include <exit-thread.h>.
16643         (LIBC_START_MAIN): Pass no argument to __exit_thread.
16644         * nptl/pthread_create.c: Include <exit-thread.h>.
16645         (start_thread): Call __exit_thread in place of __exit_thread_inline.
16646         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16647         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16648         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16649         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16650         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16651         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16652         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16653         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16654         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16655         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16656         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16657         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16658         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16659         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16660         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16661         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16663 2014-05-13  Andreas Schwab  <schwab@suse.de>
16665         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16667 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
16669         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16670         (__ASSUME_UTIMES): Do not condition on kernel version.
16671         (__ASSUME_PSELECT): Define unconditionally.
16672         (__ASSUME_PPOLL): Likewise.
16673         (__ASSUME_ATFCTS): Likewise.
16674         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16675         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16676         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16677         (__ASSUME_UTIMENSAT): Define unconditionally.
16678         (__ASSUME_PRIVATE_FUTEX): Likewise.
16679         (__ASSUME_FALLOCATE): Likewise.
16680         (__ASSUME_O_CLOEXEC): Likewise.
16681         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16682         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16683         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16684         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16685         (__ASSUME_IN_NONBLOCK): Likewise.
16686         (__ASSUME_PIPE2): Likewise.
16687         (__ASSUME_EVENTFD2): Likewise.
16688         (__ASSUME_SIGNALFD4): Likewise.
16689         (__ASSUME_DUP3): Likewise.
16690         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16691         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16692         (__ASSUME_AT_RANDOM): Likewise.
16693         (__ASSUME_PREADV): Likewise.
16694         (__ASSUME_PWRITEV): Likewise.
16695         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16696         (__ASSUME_F_GETOWN_EX): Define unconditionally.
16697         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16698         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16699         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16701         (__ASSUME_O_CLOEXEC): Define unconditionally.
16702         (__ASSUME_PSELECT): Do not undefine conditionally.
16703         (__ASSUME_PPOLL): Likewise.
16704         (__ASSUME_ATFCTS): Likewise.
16705         (__ASSUME_SET_ROBUST_LIST): Likewise.
16706         (__ASSUME_UTIMENSAT): Likewise.
16707         (__ASSUME_FDATASYNC): Define unconditionally.
16708         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16709         (__ASSUME_SIGFRAME_V2): Likewise.
16710         )__ASSUME_EVENTFD2): Likewise.
16711         (__ASSUME_SIGNALFD4): Likewise.
16712         (__ASSUME_PSELECT): Do not undefine conditionally.
16713         (__ASSUME_PPOLL): Likewise.
16714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16715         (__ASSUME_PSELECT): Define unconditionally.
16716         (__ASSUME_PPOLL): Likewise.
16717         (__ASSUME_O_CLOEXEC): Likewise.
16718         (__ASSUME_SOCK_CLOEXEC): Likewise.
16719         (__ASSUME_IN_NONBLOCK): Likewise.
16720         (__ASSUME_PIPE2): Likewise.
16721         (__ASSUME_EVENTFD2): Likewise.
16722         (__ASSUME_SIGNALFD4): Likewise.
16723         (__ASSUME_DUP3): Likewise.
16724         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16725         (__ASSUME_O_CLOEXEC): Likewise.
16726         (__ASSUME_SOCK_CLOEXEC): Likewise.
16727         (__ASSUME_IN_NONBLOCK): Likewise.
16728         (__ASSUME_PIPE2): Likewise.
16729         (__ASSUME_EVENTFD2): Likewise.
16730         (__ASSUME_SIGNALFD4): Likewise.
16731         (__ASSUME_DUP3): Likewise.
16732         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16733         (__ASSUME_EVENTFD2): Likewise.
16734         (__ASSUME_SIGNALFD4): Likewise.
16735         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16737 2014-05-12  Andreas Schwab  <schwab@suse.de>
16739         [BZ #16932]
16740         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16741         (_nss_nis_gethostbyname4_r): Return error if item length is larger
16742         than maximum RPC packet size.
16743         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16744         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16745         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16746         (_nss_nis_getservbyport_r): Likewise.
16748 2014-05-12  Will Newton  <will.newton@linaro.org>
16750         * malloc/Makefile (tests): Add tst-mallopt.
16751         * malloc/tst-mallopt.c: New file.
16753 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16755         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16756         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16758 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16760         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16761         (tst-tlsmod6.so): Likewise.
16763 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16765         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16767 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16769         [BZ #16064]
16770         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16771         and <dl-procinfo.h>.
16772         (__fegetenv): Save SSE state in envp->__eip if supported.
16773         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16774         envp->__eip if supported.
16775         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16776         and <dl-procinfo.h>.
16777         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16778         __data_offset and __data_selector in environment to 0.  Set SSE
16779         state if supported.
16780         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16781         test-fenv-sse.
16782         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16783         -mfpmath=sse.
16784         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16786 2014-05-09  Will Newton  <will.newton@linaro.org>
16788         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16789         and libc_relro_required for ARM.
16790         * sysdeps/arm/preconfigure: Regenerate.
16792 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16793             Stefan Liebler  <stli@linux.vnet.ibm.com>
16795         * config.make.in (enable-lock-elision): New Makefile variable.
16796         * configure.ac: Likewise.
16797         * configure: Regenerate.
16798         * sysdeps/s390/configure.ac:
16799         Add check for gcc transactions support.
16800         * sysdeps/s390/configure: Regenerate.
16801         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16802         Build elision files if enabled.
16803         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16804         Add lock elision support for s390.
16805         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16806         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16807         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16808         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16809         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16810         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16812         Likewise.
16813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16814         Likewise.
16815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16816         Likewise.
16817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16818         Likewise.
16819         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16820         (__lll_timedlock_elision, __lll_lock_elision)
16821         (__lll_unlock_elision, __lll_trylock_elision)
16822         (lll_timedlock_elision, lll_lock_elision)
16823         (lll_unlock_elision, lll_trylock_elision): Add.
16824         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16825         (pthread_mutex_t): Add lock elision support for s390.
16827 2014-05-14  Wilco  <wdijkstr@arm.com>
16829         * sysdeps/arm/fclrexcpt.c: Cleanup.
16830         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16831         * sysdeps/arm/feenablxcpt.c: Cleanup.
16832         * sysdeps/arm/fegetenv.c: Cleanup.
16833         * sysdeps/arm/fegetexcept.c: Cleanup.
16834         * sysdeps/arm/fegetround.c: Cleanup.
16835         * sysdeps/arm/feholdexcpt.c: Cleanup.
16836         * sysdeps/arm/fesetenv.c: Cleanup.
16837         * sysdeps/arm/fesetround.c: Cleanup.
16838         * sysdeps/arm/feupdateenv.c: Cleanup.
16839         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16840         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16841         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16842         * sysdeps/arm/ftestexcept.c: Cleanup.
16843         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16844         * sysdeps/arm/setfpucw.c: Cleanup.
16846 2014-05-09  Will Newton  <will.newton@linaro.org>
16848         * sysdeps/arm/armv7/strcmp.S: New file.
16849         * NEWS: Mention addition of ARMv7 optimized strcmp.
16851 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16853         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16854         look for %.ac rather than %.in.
16856         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16857         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16858         * sysdeps/mach/hurd/configure: Regenerated.
16859         * sysdeps/unix/sysv/linux/configure: Regenerated.
16861         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16863 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16865         [BZ# 16922]
16866         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16867         (LONG_SUB): Ditto.
16868         (PTR_SUB): Ditto.
16870 2014-05-07  Andreas Schwab  <schwab@suse.de>
16872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16873         when skipping over non-matching result from nscd.
16875 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16877         [BZ #16876]
16878         * nptl/sockperf.c (client): Check socket return value.
16880         [BZ #16877]
16881         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16882         nscd security class.
16884 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16886         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16887         * sysdeps/arm/unwind.h: ... here.
16889 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16891         [BZ# 16916]
16892         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16893         Define.
16895 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16897         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16898         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16899         multiarch strncpy for PPC64.
16900         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16901         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16903         multiarch optimizations.
16904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16905         (__libc_ifunc_impl_list): Likewise.
16906         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16907         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16908         multiarch stpncpy for PPC64.
16909         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16910         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16912 2014-05-06  Andreas Schwab  <schwab@suse.de>
16914         [BZ #16912]
16915         * gmon/mcount.c (_MCOUNT_DECL): Use
16916         atomic_compare_and_exchange_bool_acq instead of
16917         catomic_compare_and_exchange_bool_acq.
16919 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16921         * elf/Makefile (others, install-bin): Remove pldd.
16922         (pldd-modules): Variable removed.
16923         ($(objpfx)pldd): Target removed.
16924         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16925         (others, install-bin): Append pldd here.
16926         ($(objpfx)pldd): New target.
16928         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16929         to 0, so the first #if test emitted later doesn't see it undefined.
16930         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16931         * sysdeps/gnu/errlist.c: Regenerated.
16933 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16935         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16936         [libc_hidden_builtin_def]: Define to empty value.
16937         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16938         [libc_hidden_builtin_def]: Likewise.
16939         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16940         [libc_hidden_builtin_def]: Likewise.
16941         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16942         [libc_hidden_builtin_def]: Likewise.
16943         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16944         __redirect_memcpy and define ifunc as default hidden symbol.
16945         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16946         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16948 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16950         * locale/iso-4217.def: Reintroduce XDR currency.
16952 2014-05-04  Allan McRae  <allan@archlinux.org>
16954         * po/eo.po: Update Esperanto translation from translation project.
16956 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16958         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16959         and FEATURE_INDEX_MAX to 1.
16960         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16962 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16964         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16965         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16966         * iconvdata/big5.c (ONE_DIRECTION): Define.
16967         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16968         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16969         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16970         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16971         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16972         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16973         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16974         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16975         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16976         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16977         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16978         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16979         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16980         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16981         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16982         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16983         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16984         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16985         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16986         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16987         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16988         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16989         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16990         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16991         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16992         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16993         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16994         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16995         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16996         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16997         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16998         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16999         * iconvdata/johab.c (ONE_DIRECTION): Define.
17000         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17001         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17002         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17003         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17004         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17005         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17006         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17007         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17008         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17009         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17011 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17013         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17014         (_IO_JUMPS_OFFSET): Define to 0.
17016         * nptl/sysdeps/pthread/bits/libc-lock.h
17017         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17018         (__libc_lock_define_initialized_recursive): Always define using
17019         initializer.  Modern compilers treat uninitialized (implicit zero) and
17020         explicit zero initializers the same (i.e. put the datum in bss).
17022 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17024         * nscd/nscd-client.h: Include <string.h>.
17026 2014-05-01  David S. Miller  <davem@davemloft.net>
17028         [BZ #16885]
17029         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17030         multiple zero bytes exist at the end of a string.
17031         Reported by Aurelien Jarno <aurelien@aurel32.net>
17033         * string/test-strcmp.c (check): Add explicit test for situations where
17034         there are multiple zero bytes after the first.
17036 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17038         [BZ #16890]
17039         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17040         when compiling wprintf.
17041         * stdio-common/tstdiomisc.c (t3): New function.
17042         (main): Call it.
17044 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17046         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17047         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17048         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17049         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17051 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17053         * stdlib/longlong.h: Updated from GCC.
17055 2014-05-01  Will Newton  <will.newton@linaro.org>
17056             Bernard Ogden  <bernie.ogden@linaro.org>
17058         * NEWS: Update fixed bug list.
17060         [BZ #15119]
17061         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17063 2014-04-30  David S. Miller  <davem@davemloft.net>
17065         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17066         (libc_feholdexcept_setround_sparc_ctx): New function.
17067         (libc_fesetenv_sparc_ctx): Likewise.
17068         (libc_feupdateenv_sparc_ctx): Likewise.
17069         (libc_feholdsetround_sparc_ctx): Likewise.
17070         (libc_feholdexcept_setround_ctx): Define.
17071         (libc_feholdexcept_setroundf_ctx): Likewise.
17072         (libc_feholdexcept_setroundl_ctx): Likewise.
17073         (libc_fesetenv_ctx): Likewise.
17074         (libc_fesetenvf_ctx): Likewise.
17075         (libc_fesetenvl_ctx): Likewise.
17076         (libc_feupdateenv_ctx): Likewise.
17077         (libc_feupdateenvf_ctx): Likewise.
17078         (libc_feupdateenvl_ctx): Likewise.
17079         (libc_feresetround_ctx): Likewise.
17080         (libc_feresetroundf_ctx): Likewise.
17081         (libc_feresetroundl_ctx): Likewise.
17082         (libc_feholdsetround_ctx): Likewise.
17083         (libc_feholdsetroundf_ctx): Likewise.
17084         (libc_feholdsetroundl_ctx): Likewise.
17086         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17087         with __USE_GNU instead of XOPEN cpp guards.
17089         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17090         0.
17092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17093         with XOPEN cpp guards.
17095 2014-04-30  Julian Brown  <julian@codesourcery.com>
17097         [BZ #16888]
17098         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17099         handling.
17101 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17103         [BZ #9894]
17104         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17105         Change to 2.6.32.
17106         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17107         * sysdeps/unix/sysv/linux/configure: Regenerated.
17108         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17109         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17110         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17111         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17112         * README: Update reference to required Linux kernel version.
17113         * manual/install.texi (Linux): Update reference to required Linux
17114         kernel headers version.
17115         * INSTALL: Regenerated.
17117         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17118         header inclusion.
17119         [POSIX] (limits.h): Likewise.
17120         [POSIX] (math.h): Likewise.
17121         [POSIX] (sys/wait.h): Likewise.
17122         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17123         function.
17124         [POSIX] (stddef.h): Do not allow header inclusion.
17126 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17128         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17130 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17132         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17133         Return immediately after lll_futex_wake.
17135 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17137         [BZ #16791]
17138         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17139         structure.
17140         (datahead_init_pos): Call datahead_init_common early.
17141         (datahead_init_neg): Likewise.
17143         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17144         datahead_init_neg): New functions.
17145         * nscd/aicache.c (addhstaiX): Use them.
17146         * nscd/grpcache.c (cache_addgr): Likewise.
17147         * nscd/hstcache.c (cache_addhst): Likewise.
17148         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17149         * nscd/netgroupcache.c (do_notfound): Likewise.
17150         (addgetnetgrentX): Likewise.
17151         (addinnetgrX): Likewise.
17152         * nscd/pwdcache.c (cache_addpw): Likewise.
17153         * nscd/servicescache.c (cache_addserv): Likewise.
17155 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17156             Atsushi Onoe  <atsushi@onoe.org>
17158         [BZ #14308]
17159         [BZ #12994]
17160         [BZ #13651]
17161         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17162         one response is valid.
17163         * resolv/res_send.c (send_dg): Check for validity of other
17164         response if the current response is a referral.
17166 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17168         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17170 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17172         [BZ #16823]
17173         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17174         Always divide by positive zero when computing -Inf result.
17175         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17176         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17178 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17180         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17181         FPSCR if value do not change.
17182         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17183         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17184         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17185         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17186         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17187         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17188         function.
17190 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17192         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17193         * sysdeps/unix/sysv/linux/hppa: Move directory from
17194         ports/systeps/unix/sysv/linux/hppa.
17195         * README: Update listing for hppa-*-linux-gnu.
17197 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17199         [BZ #16754]
17200         * manual/stdio.texi (Hook functions): Fix types of stream hook
17201         functions.
17202         [BZ #16854]
17203         * socket/sys/socket.h: Fix typo in comment.
17205 2014-04-28  Wilco  <wdijkstr@arm.com>
17207         * sysdeps/arm/fenv_private.h: New file.
17208         * sysdeps/arm/math_private.h: New file.
17209         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17211 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17213         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17214         with __int128_t.
17215         (La_x86_64_retval): Likewise.
17217 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17219         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17220         fpsr if value didn't change.
17221         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17222         to fpcr if value didn't change.
17223         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17224         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17225         fpsr or fpcr if value didn't change.
17226         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17227         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17228         fpcr if value didn't change.
17229         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17230         to fpsr if value didn't change.
17232 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17234         * nptl/tst-sem3.c: Use test-skeleton.c
17235         (main): Rename to do_test.  Use return instead of
17236         exit.
17237         * nptl/tst-sem4.c: Use test-skeleton.c
17238         (main): Rename to do_test.
17240 2014-04-22  David S. Miller  <davem@davemloft.net>
17242         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17243         (struct sigaction): New struct member __glibc_reserved0, change
17244         type of sa_flags to int.
17246 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17248         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17249         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17251 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17253         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17254         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17256 2014-04-22  Will Newton  <will.newton@linaro.org>
17257             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17259         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17260         (__longjmp): Add longjmp and longjmp_target SystemTap
17261         probes.
17262         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17263         (__sigsetjmp): Add setjmp SystemTap probe.
17265 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17267         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17268         match manual order.
17270 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17272         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17274         * sysdeps/powerpc/fpu/fenv_private.h
17275         (libc_feholdexcept_setroundl_ctx): Define to
17276         libc_feholdexcept_setround_ppc_ctx.
17277         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17278         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17279         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17280         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17282 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17284         * sysdeps/aarch64/math-tests.h: New file.
17286 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17288         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17289         New.
17290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17291         Check and set bit_AVX2_Usable.
17292         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17293         macro.
17294         (bit_AVX2): Likewise.
17295         (index_AVX2_Usable): Likewise.
17296         (CPUID_AVX2): Likewise.
17297         (HAS_AVX2): Likewise.
17299 2014-04-17  Will Newton  <will.newton@linaro.org>
17301         * manual/setjmp.texi (System V contexts): Add note that
17302         calling setcontext on a context created by a call to a
17303         signal handler is undefined.  Update text to note that
17304         setcontext from a signal handler is possible but not
17305         recommended.
17307         [BZ #16629]
17308         * stdlib/tst-setcontext.c: Include signal.h.
17309         (main): Check that the signal stack before and
17310         after swapcontext is the same.
17312         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17313         Re-implement to restore registers in user code and avoid
17314         rt_sigreturn system call.
17316 2014-04-17  Wilco  <wdijkstr@arm.com>
17318         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17319         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17320         * math/test-fenv.c: Skip exception trap tests on targets which only
17321         support non-stop mode.
17323 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17324             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17326         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17327         (libc_feholdsetround_aarch64_ctx)
17328         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17329         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17330         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17331         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17332         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17333         (libc_feresetround_noexl_ctx): Define.
17335 2014-04-16  Richard Henderson  <rth@redhat.com>
17337         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17339         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17340         unwind tables.
17342         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17343         const from the non-libc, non-ldso copy.
17345         * sysdeps/alpha/libm-test-ulps: Regenerate.
17347 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17348             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17350         * sysdeps/aarch64/fpu/math_private.h: New file.
17352 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17354         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17356 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17358         [BZ #16275]
17359         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17360         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17361         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17362         Intel MPX bound registers before _dl_profile_fixup.
17363         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17364         registers after _dl_profile_fixup.  Save and restore bound
17365         registers bnd0/bnd1 when calling _dl_call_pltexit.
17366         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17367         (LR_BND_OFFSET): Likewise.
17368         (LRV_BND0_OFFSET): Likewise.
17369         (LRV_BND1_OFFSET): Likewise.
17371 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17373         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17374         to...
17375         * sysdeps/mach/hurd/i386/tls.h: ... here.
17376         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17377         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17378         fields.
17380 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17382         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17384 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17386         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17388 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17390         [BZ #14770]
17391         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17392         * sysdeps/s390/configure: Regenerate.
17394         [BZ #16824]
17395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17396         Set round-to-nearest internally to reduce error accumulation.
17398 2014-04-16  Alan Modra  <amodra@gmail.com>
17400         [BZ #16740]
17401         [BZ #16619]
17402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17403         * math/libm-test.inc (frexp_test_data): Add tests.
17404         * NEWS: Update fixed bug list.
17406 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17408         * benchtests/Makefile: Depend on libraries in build directory.
17409         (bench-math): Separate out math tests.
17410         (bench-pthread): Separate out pthread tests.
17411         (bench): Include math and pthread tests.
17413 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17415         [BZ #16831]
17416         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17417         _dl_debug_initialize.
17419         * configure.ac: Remove SELinux header check.
17420         * configure: Regenerate.
17421         * nscd/selinux.c (perms): Array of const char* to permission names.
17422         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17423         default policy. Call string_to_security_class and string_to_av_perm to
17424         translate strings. Enforce default policy and call avs_has_perm with
17425         results of translated strings.
17427 2014-04-13  David S. Miller  <davem@davemloft.net>
17429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17431 2014-04-12  Allan McRae  <allan@archlinux.org>
17433         [BZ #16838]
17434         * manual/string.texi (Collation Functions): Fix qsort argument
17435         order in example.
17436         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17438 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17440         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17441         Make the test a no-op if there are no exceptions defined.
17443 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17445         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17446         enable-hardcoded-path-in-tests
17448 2014-04-11  Will Newton  <will.newton@linaro.org>
17450         * benchtests/Makefile (extra-objs): Add json-lib.o.
17451         (bench-func): Tidy up JSON output.
17452         * benchtests/bench-skeleton.c: Include json-lib.h.
17453         (main): Use JSON library functions to do output of
17454         benchmark results.
17455         * benchtests/bench-timing-type.c (main): Output the
17456         timing type simply, leaving formatting to the user.
17457         * benchtests/json-lib.c: New file.
17458         * benchtests/json-lib.h: Likewise.
17460 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17462         [BZ #15215]
17463         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17464         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17465         memory barriers.  Add comments.
17466         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17467         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17468         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17469         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17470         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17471         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17473 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17475         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17476         * sysdeps/s390/s390-64/configure.ac: ... this ...
17477         * sysdeps/s390/configure.ac: ... to here.
17478         * sysdeps/s390/s390-32/configure: Delete file.
17479         * sysdeps/s390/s390-64/configure: Delete file.
17480         * sysdeps/s390/configure: Regenerate.
17482 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17484         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17486 2014-04-11  Will Newton  <will.newton@linaro.org>
17488         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17489         to zero if it is not defined elsewhere.  (mtrim): Test
17490         the value of MALLOC_DEBUG with #if rather than #ifdef.
17492 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17494         * benchtests/pthread_once-inputs: New file.
17495         * benchtests/pthread_once-source.c: New file.
17496         * benchtests/README: Update documentation.
17498 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17499             H.J. Lu  <hongjiu.lu@intel.com>
17501         [BZ #16275]
17502         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17503         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17504         * sysdeps/x86_64/configure: Regenerated.
17505         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17506         macro.
17507         (REGISTER_SAVE_RAX): Likewise.
17508         (REGISTER_SAVE_RCX): Likewise.
17509         (REGISTER_SAVE_RDX): Likewise.
17510         (REGISTER_SAVE_RSI): Likewise.
17511         (REGISTER_SAVE_RDI): Likewise.
17512         (REGISTER_SAVE_R8): Likewise.
17513         (REGISTER_SAVE_R9): Likewise.
17514         (REGISTER_SAVE_BND0): Likewise.
17515         (REGISTER_SAVE_BND1): Likewise.
17516         (REGISTER_SAVE_BND2): Likewise.
17517         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17518         bound registers when calling _dl_fixup.
17520 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17522         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17523         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17524         of its definition.
17525         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17526         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17527         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17528         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17529         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17530         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17531         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17533 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17535         [BZ #15514]
17536         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17537         pathconf(_PC_NAME_MAX).
17539 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17541         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17542         Remove macro usage.
17543         (__PTHREAD_SPINS): Move definition to ...
17544         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17545         (__PTHREAD_SPINS): ... here.
17546         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17547         (__PTHREAD_SPIN): Likewise.
17548         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17549         (__PTHREAD_SPIN): Likewise.
17550         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17551         (__PTHREAD_SPIN): Likewise.
17552         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17553         (__PTHREAD_SPIN): Likewise.
17554         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17555         (__PTHREAD_SPIN): Likewise.
17556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17557         (__PTHREAD_SPIN): Likewise.
17558         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17559         (__PTHREAD_SPIN): Likewise.
17560         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17561         (__PTHREAD_SPIN): Likewise.
17562         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17563         (__PTHREAD_SPIN): Likewise.
17564         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17565         (__PTHREAD_SPIN): Likewise.
17566         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17567         (__PTHREAD_SPIN): Likewise.
17568         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17569         (__PTHREAD_SPIN): Likewise.
17571         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17572         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17573         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17574         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17575         imply folder.
17576         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17577         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17578         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17579         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17580         correct imply path.
17581         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17582         strlen symbol for non multi-arch builds.
17583         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17584         missing hidden_def and weak_alias.
17586 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
17588         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17590 2014-04-07  Will Newton  <will.newton@linaro.org>
17592         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17593         and contents.  [!_LIBC] Remove #ifndef and contents.
17594         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
17595         * string/memccpy.c (__memccpy): Use ANSI prototype.
17596         * string/memfrob.c (memfrob): Likewise.
17597         * string/strcoll.c (STRCOLL): Likewise.
17598         * string/strlen.c (strlen): Likewise.
17599         * string/strtok.c (STRTOK): Likewise.
17600         * string/strcat.c: Remove unused #include of memcopy.h.
17601         (strcat): Use ANSI prototype.
17602         * string/strchr.c: Remove unused #include of memcopy.h.
17603         (strchr): Use ANSI prototype.
17604         * string/strcmp.c: Remove unused #include of memcopy.h.
17605         (strcmp): Use ANSI prototype.
17606         * string/strcpy.c: Remove unused #include of memcopy.h.
17607         (strcpy): Use ANSI prototype.
17609 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17611         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17612         * config.make.in (config-extra-cppflags): Set it from
17613         libc_extra_cppflags.
17614         * configure.ac (libc_extra_cflags): Make it accumulate over
17615         configure fragments.
17616         (libc_extra_cppflags): New flag.
17617         * configure. Regenerate.
17618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17619         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17620         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17623         [BZ #16815]
17624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17625         result for FE_DOWNWARD rounding mode.
17626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17627         Likewise.
17628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17630 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
17632         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17633         in function argument name.
17635 2014-04-03  David Svoboda  <svoboda@cert.org>
17637         [BZ #5666]
17638         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17639         explicitly.
17641 2014-04-03  Roland McGrath  <roland@hack.frob.com>
17643         * elf/dl-unmap-segments.h: New file.
17644         * sysdeps/generic/ldsodefs.h
17645         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17646         * elf/dl-close.c: Include <dl-unmap-segments.h>.
17647         * elf/dl-fptr.c: Likewise.
17648         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17649         * sysdeps/aarch64/tlsdesc.c: Likewise.
17650         * sysdeps/arm/tlsdesc.c: Likewise.
17651         * sysdeps/i386/tlsdesc.c: Likewise.
17652         * sysdeps/tile/dl-runtime.c: Likewise.
17653         * sysdeps/x86_64/tlsdesc.c: Likewise.
17654         * elf/dl-load.h: New file.
17655         * elf/dl-load.c: Include it.
17656         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17657         Macros moved to dl-load.h.
17658         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17659         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17660         Use _dl_unmap_segments in place of __munmap.
17661         Break out segment-mapping loop into ...
17662         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17664 2014-04-03  Will Newton  <will.newton@linaro.org>
17666         * elf/dl-lookup.c (do_lookup_x): Remove comment
17667         referring to nested function and move variable
17668         declarations down to before first use.
17670 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
17672         [BZ #16799]
17673         [BZ #16800]
17674         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17675         with 0 numerator.
17676         * math/s_catanf.c (__catanf): Likewise.
17677         * math/s_catanh.c (__catanh): Likewise.
17678         * math/s_catanhf.c (__catanhf): Likewise.
17679         * math/s_catanhl.c (__catanhl): Likewise.
17680         * math/s_catanl.c (__catanl): Likewise.
17681         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17682         by positive zero when computing -Inf result.
17683         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17684         (catanh_test): Likewise.
17685         * sysdeps/i386/fpu/libm-test-ulps: Update.
17686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17688         [BZ #16789]
17689         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17690         instead of using underflowing value in computing result.
17691         * math/s_clog10.c (__clog10): Likewise.
17692         * math/s_clog10f.c (__clog10f): Likewise.
17693         * math/s_clog10l.c (__clog10l): Likewise.
17694         * math/s_clogf.c (__clogf): Likewise.
17695         * math/s_clogl.c (__clogl): Likewise.
17696         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17697         (clog10_test): Likewise.
17698         * sysdeps/i386/fpu/libm-test-ulps: Update.
17699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17701 2014-04-02  Alan Modra  <amodra@gmail.com>
17703         [BZ #16739]
17704         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17705         output when value is near a power of two.  Use int64_t for lx and
17706         remove casts.  Use decimal rather than hex exponent constants.
17707         Don't use long double multiplication when double will suffice.
17708         * math/libm-test.inc (nextafter_test_data): Add tests.
17709         * NEWS: Add 16739 and 16786 to bug list.
17711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17713         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17715 2014-04-01  Will Newton  <will.newton@linaro.org>
17717         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17718         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
17720 2014-04-01  Florian Weimer  <fweimer@redhat.com>
17722         [BZ #13347]
17723         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17724         * nptl/tst-setuid2.c: New file.
17725         * nptl/Makefile (xtests): Add tst-setuid2.
17727 2014-04-01  Alan Modra  <amodra@gmail.com>
17729         [BZ #16786]
17730         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17732 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17734         [BZ #6803]
17735         [BZ #6804]
17736         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17737         set errno as appropriate.
17738         * math/w_scalbf.c (__scalbf): Likewise.
17739         * math/w_scalbl.c (__scalbl): Likewise.
17740         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17741         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17742         * math/libm-test.inc (scalb_test_data): Add errno expectations.
17743         Add more NaN tests.
17745         [BZ #16349]
17746         * math/w_atan2.c: Include <errno.h>.
17747         (__atan2): Set errno for result underflowing to zero.
17748         * math/w_atan2f.c: Include <errno.h>.
17749         (__atan2f): Set errno for result underflowing to zero.
17750         * math/w_atan2l.c: Include <errno.h>.
17751         (__atan2l): Set errno for result underflowing to zero.
17752         * math/auto-libm-test-in: Don't allow missing errno for some atan2
17753         tests.
17754         * math/auto-libm-test-out: Regenerated.
17756 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17758         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17759         Encode instruction correctly in little endian.
17760         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17761         Likewise.
17762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17763         Likewise.
17764         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17765         Likewise.
17766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17767         Likewise.
17769 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17771         [BZ #9894]
17772         * sysdeps/unix/sysv/linux/kernel-features.h
17773         [__sparc__ && !__arch64__ && !__sparc_v9__]
17774         (__ASSUME_SET_ROBUST_LIST): Do not define.
17775         [__sparc__ && !__arch64__ && !__sparc_v9__]
17776         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17777         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17778         Likewise.
17779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17780         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17781         (__ASSUME_REQUEUE_PI): Likewise.
17782         (__ASSUME_SET_ROBUST_LIST): Likewise.
17783         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17784         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17785         Undefine.
17786         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17787         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17788         Likewise.
17789         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17790         Likewise.
17791         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17794         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17795         Undefine.
17796         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17797         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17798         Likewise.
17800         [BZ #16648]
17801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17803         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17805 2014-03-31  Will Newton  <will.newton@linaro.org>
17807         * benchtests/Makefile (bench): Add ffs and ffsll to list
17808         of tests.
17809         * benchtests/ffs-inputs: New file.
17810         * benchtests/ffsll-inputs: Likewise.
17812 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17814         [BZ #16770]
17815         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17816         too large before casting to int.
17817         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17818         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17819         * math/libm-test.inc (scalb_test_data): Add more tests.
17821 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17823         * benchtests/Makefile (DETAILED_OPT): New make option.
17824         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17825         set.
17826         * benchtests/bench-skeleton.c: Include stdbool.h.
17827         (main): Store and print timings per input.
17828         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17829         member to each argument value.
17830         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17831         (_print_arg_data): Initialize per-input timing to 0.
17833         * benchtests/Makefile (timing-type): New binary.
17834         (bench-clean): Also remove bench-timing-type.
17835         (bench): New target for timing-type.
17836         (bench-func): Print output in JSON format.
17837         * benchtests/bench-skeleton.c (main): Print output in JSON
17838         format.
17839         * benchtests/bench-timing-type.c: New file.
17840         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17841         (TIMING_PRINT_STATS): Remove.
17842         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17843         name separately.
17845         * benchtests/bench-modf.c: Remove.
17846         * benchtests/modf-inputs: New inputs file.
17848 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17850         [BZ #16362]
17851         * math/s_clog10.c (M_PI_LOG10E): New macro.
17852         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17853         imaginary parts are 0.
17854         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17855         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17856         imaginary parts are 0.
17857         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17858         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17859         imaginary parts are 0.
17860         * math/libm-test.inc (clog10_test_data): Update expected results
17861         for when real and imaginary parts are 0.
17863 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17865         * elf/dl-load.c: Finish conversion of __builtin_expect into
17866         __glibc_{un}likely.
17868 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17870         [BZ #16348]
17871         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17872         1+x for argument with exponent below -67.
17873         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17874         Likewise.
17875         * math/auto-libm-test-in: Add more tests of exp.
17876         * math/auto-libm-test-out: Regenerated.
17878 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17880         [BZ #16759]
17881         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17882         (nscd_getnetgrent): Use it.
17884         [BZ #16760]
17885         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17886         of stpcpy.
17888 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17890         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17891         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17892         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17893         (lll_robust_unlock): Remove out of line section. Use cfi
17894         intrinsics.
17895         (LLL_STUB_UNWIND_INFO*): Remove.
17896         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17897         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17898         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17899         (lll_robust_unlock): Remove out of line section. Use cfi
17900         intrinsics.
17901         (LLL_STUB_UNWIND_INFO*): Remove.
17903 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17905         [BZ #16758]
17906         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17907         blank values.
17909 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17911         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17913 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17915         [BZ #16198]
17916         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17917         fnstenv.
17918         * math/test-fenv-preserve.c: New file.
17919         * math/Makefile (tests): Add test-fenv-preserve.
17921 2014-03-26  Will Newton <will.newton@linaro.org>
17923         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17925 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17927         * scripts/versionlist.awk: Partition the version sets and emit all
17928         GLIBC_* (sorted) before all others (sorted).
17930 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17932         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17933         GLIBC_2.2.5 version.
17935 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17937         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17938         calls.
17940         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17941         previous change.
17943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17945 2014-03-25  Andreas Schwab  <schwab@suse.de>
17947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17948         label to be used after in6ailist is initialized.
17950 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17952         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17953         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17955 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17957         [BZ #16357]
17958         [BZ #16599]
17959         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17960         min_plus_half.
17961         (fp_formats): Update initializers.
17962         (init_fp_formats): Initialize new field.
17963         (output_for_one_input_case): Allow underflow for results up to
17964         min_plus_half.
17965         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17966         * math/auto-libm-test-in: Don't mark some underflows from asin and
17967         atanh as spurious.
17968         * math/auto-libm-test-out: Regenerated.
17969         * sysdeps/i386/fpu/libm-test-ulps: Update.
17970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972 2014-03-25  Andreas Schwab  <schwab@suse.de>
17974         * libio/Makefile (tst-ftell-partial-wide-ENV)
17975         (tst-ftell-active-handler-ENV): Define.
17977 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17979         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17981 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17983         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17985 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17987         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17988         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17989         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17991 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17993         [BZ #16634]
17994         * elf/dl-load.c (open_verify): Add mode parameter.
17995         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17996         (open_path): Change from boolean 'secure' to complete flag 'mode'
17997         (_dl_map_object): Adjust.
17998         * elf/Makefile (tests): Add tst-dlopen-aout.
17999         * elf/tst-dlopen-aout.c: New test.
18001 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18003         [BZ #16714]
18004         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18005         (struct stat): Rename member pad0 to __glibc_reserved0.
18007         [BZ #16712]
18008         * sysdeps/s390/s390-32/bits/wordsize.h
18009         (__WORDSIZE32_SIZE_ULONG): New define.
18010         * sysdeps/s390/s390-64/bits/wordsize.h
18011         (__WORDSIZE32_SIZE_ULONG): Likewise.
18012         * sysdeps/generic/stdint.h (SIZE_MAX):
18013         Define as UL if __WORDSIZE32_SIZE_ULONG.
18015         [BZ #16713]
18016         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18017         (__glibc_reserved0): New variable.
18018         (sa_flags): Change type to int.
18020         * posix/Makefile (before-compile): Use += before-compile instead
18021         of a :=.
18023         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18024         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18026 2014-03-20  Andreas Schwab  <schwab@suse.de>
18028         [BZ #16743]
18029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18030         non-matching result from nscd.
18032 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18034         * scripts/bench.py: Moved to ...
18035         * benchtests/scripts/bench.py: ... here.
18036         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18038 2014-03-24  Andreas Schwab  <schwab@suse.de>
18040         [BZ #16002]
18041         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18042         alloca_account and account alloca use for struct in6ailist.
18044 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #16284]
18047         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18048         rounding mode to recompute results that overflow to infinity or
18049         underflow to zero.
18050         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18051         bug 16284.
18052         * math/auto-libm-test-out: Regenerated.
18053         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18054         (ccosh_test): Likewise.
18055         (csin_test_data): Use plus_oflow.
18056         (csin_test): Use ALL_RM_TEST.
18057         (csinh_test_data): Use plus_oflow.
18058         (csinh_test): Use ALL_RM_TEST.
18059         * sysdeps/i386/fpu/libm-test-ulps: Update.
18060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18062 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18064         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18065         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18066         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18068         [BZ #16731]
18069         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18070         when x - 1 is zero.
18071         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18072         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18073         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18075         argument is 1.
18076         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18077         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18078         zero.
18079         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18080         * sysdeps/i386/fpu/libm-test-ulps: Update.
18081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18083 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18085         * scripts/bench.pl: Remove file.
18086         * scripts/bench.py: New benchmark script.
18087         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18088         * benchtests/README: Mention python dependency.
18089         * scripts/pylintrc: New file.
18090         * scripts/pylint: New file.
18092         * bits/mathdef.h: Use #ifdef instead of #if.
18093         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18094         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18095         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18096         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18097         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18098         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18100 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18101             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18103         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18105         and strpbrk-ppc64 objects.
18106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18107         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18108         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18109         multiarch strpbrk for POWER7.
18110         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18111         multiarch strpbrk for PPC64.
18112         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18113         ifunc selector.
18114         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18115         strpbrk for POWER7.
18117 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18119         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18120         (atan_test): Likewise.
18121         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18122         (atanh_test): Use ALL_RM_TEST.
18123         (atan2_test_data): Likewise.
18124         (cabs_test): Likewise.
18125         (cacosh_test): Likewise.
18126         (carg_test): Likewise.
18127         (casin_test): Likewise.
18128         (casinh_test): Likewise.
18129         (cbrt_test): Likewise.
18130         (csqrt_test): Likewise.
18131         (erf_test): Likewise.
18132         (erfc_test): Likewise.
18133         (pow10_test): Likewise.
18134         (exp2_test): Likewise.
18135         (hypot_test): Likewise.
18136         (j0_test): Likewise.
18137         (j1_test): Likewise.
18138         (lgamma_test): Likewise.
18139         (gamma_test): Likewise.
18140         (sincos_test): Likewise.
18141         (tanh_test): Likewise.
18142         (y0_test): Likewise.
18143         (y1_test): Likewise.
18144         * sysdeps/i386/fpu/libm-test-ulps: Update.
18145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18147 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18149         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18151         and strcspn-ppc64 objects.
18152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18153         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18154         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18155         multiarch strcspn for POWER7.
18156         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18157         multiarch strcspn for PPC64.
18158         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18159         ifunc selector.
18160         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18161         strcspn for POWER7.
18163 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18165         * math/gen-libm-test.pl (generate_testfile): Expect only function
18166         name as argument to AUTO_TESTS_* and pass results for all rounding
18167         modes to parse_args.
18168         (parse_auto_input): Separate inputs of automatic tests from
18169         outputs before storing in %auto_tests.
18170         * math/libm-test.inc (acos_test_data): Update call to
18171         AUTO_TESTS_f_f.
18172         (acos_test): Use ALL_RM_TEST.
18173         (acos_tonearest_test_data): Remove.
18174         (acos_test_tonearest): Likewise.
18175         (acos_towardzero_test_data): Likewise.
18176         (acos_test_towardzero): Likewise.
18177         (acos_downward_test_data): Likewise.
18178         (acos_test_downward): Likewise.
18179         (acos_upward_test_data): Likewise.
18180         (acos_test_upward): Likewise.
18181         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18182         (asin_test_data): Likewise.
18183         (asin_test): Use ALL_RM_TEST.
18184         (asin_tonearest_test_data): Remove.
18185         (asin_test_tonearest): Likewise.
18186         (asin_towardzero_test_data): Likewise.
18187         (asin_test_towardzero): Likewise.
18188         (asin_downward_test_data): Likewise.
18189         (asin_test_downward): Likewise.
18190         (asin_upward_test_data): Likewise.
18191         (asin_test_upward): Likewise.
18192         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18193         (atan_test_data): Likewise.
18194         (atanh_test_data): Likewise.
18195         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18196         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18197         (carg_test_data): Likewise.
18198         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18199         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18200         (ccosh_test_data): Likewise.
18201         (cexp_test_data): Likewise.
18202         (clog_test_data): Likewise.
18203         (clog10_test_data): Likewise.
18204         (cos_test_data): Update call to AUTO_TESTS_f_f.
18205         (cos_test): Use ALL_RM_TEST.
18206         (cos_tonearest_test_data): Remove.
18207         (cos_test_tonearest): Likewise.
18208         (cos_towardzero_test_data): Likewise.
18209         (cos_test_towardzero): Likewise.
18210         (cos_downward_test_data): Likewise.
18211         (cos_test_downward): Likewise.
18212         (cos_upward_test_data): Likewise.
18213         (cos_test_upward): Likewise.
18214         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18215         (cosh_test): Use ALL_RM_TEST.
18216         (cosh_tonearest_test_data): Remove.
18217         (cosh_test_tonearest): Likewise.
18218         (cosh_towardzero_test_data): Likewise.
18219         (cosh_test_towardzero): Likewise.
18220         (cosh_downward_test_data): Likewise.
18221         (cosh_test_downward): Likewise.
18222         (cosh_upward_test_data): Likewise.
18223         (cosh_test_upward): Likewise.
18224         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18225         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18226         (ctan_test_data): Likewise.
18227         (ctan_test): Use ALL_RM_TEST.
18228         (ctan_tonearest_test_data): Remove.
18229         (ctan_test_tonearest): Likewise.
18230         (ctan_towardzero_test_data): Likewise.
18231         (ctan_test_towardzero): Likewise.
18232         (ctan_downward_test_data): Likewise.
18233         (ctan_test_downward): Likewise.
18234         (ctan_upward_test_data): Likewise.
18235         (ctan_test_upward): Likewise.
18236         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18237         (ctanh_test): Use ALL_RM_TEST.
18238         (ctanh_tonearest_test_data): Remove.
18239         (ctanh_test_tonearest): Likewise.
18240         (ctanh_towardzero_test_data): Likewise.
18241         (ctanh_test_towardzero): Likewise.
18242         (ctanh_downward_test_data): Likewise.
18243         (ctanh_test_downward): Likewise.
18244         (ctanh_upward_test_data): Likewise.
18245         (ctanh_test_upward): Likewise.
18246         (erf_test_data): Update call to AUTO_TESTS_f_f.
18247         (erfc_test_data): Likewise.
18248         (exp_test_data): Likewise.
18249         (exp_test): Use ALL_RM_TEST.
18250         (exp_tonearest_test_data): Remove.
18251         (exp_test_tonearest): Likewise.
18252         (exp_towardzero_test_data): Likewise.
18253         (exp_test_towardzero): Likewise.
18254         (exp_downward_test_data): Likewise.
18255         (exp_test_downward): Likewise.
18256         (exp_upward_test_data): Likewise.
18257         (exp_test_upward): Likewise.
18258         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18259         (exp10_test): Use ALL_RM_TEST.
18260         (exp10_tonearest_test_data): Remove.
18261         (exp10_test_tonearest): Likewise.
18262         (exp10_towardzero_test_data): Likewise.
18263         (exp10_test_towardzero): Likewise.
18264         (exp10_downward_test_data): Likewise.
18265         (exp10_test_downward): Likewise.
18266         (exp10_upward_test_data): Likewise.
18267         (exp10_test_upward): Likewise.
18268         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18269         (expm1_test_data): Likewise.
18270         (expm1_test): Use ALL_RM_TEST.
18271         (expm1_tonearest_test_data): Remove.
18272         (expm1_test_tonearest): Likewise.
18273         (expm1_towardzero_test_data): Likewise.
18274         (expm1_test_towardzero): Likewise.
18275         (expm1_downward_test_data): Likewise.
18276         (expm1_test_downward): Likewise.
18277         (expm1_upward_test_data): Likewise.
18278         (expm1_test_upward): Likewise.
18279         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18280         (fma_test): Use ALL_RM_TEST.
18281         (fma_towardzero_test_data): Remove.
18282         (fma_test_towardzero): Likewise.
18283         (fma_downward_test_data): Likewise.
18284         (fma_test_downward): Likewise.
18285         (fma_upward_test_data): Likewise.
18286         (fma_test_upward): Likewise.
18287         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18288         (j0_test_data): Update call to AUTO_TESTS_f_f.
18289         (j1_test_data): Likewise.
18290         (jn_test_data): Update call to AUTO_TESTS_if_f.
18291         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18292         (log_test_data): Update call to AUTO_TESTS_f_f.
18293         (log10_test_data): Likewise.
18294         (log1p_test_data): Likewise.
18295         (log2_test_data): Likewise.
18296         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18297         (pow_tonearest_test_data): Likewise.
18298         (sin_test_data): Update call to AUTO_TESTS_f_f.
18299         (sin_test): Use ALL_RM_TEST.
18300         (sin_tonearest_test_data): Remove.
18301         (sin_test_tonearest): Likewise.
18302         (sin_towardzero_test_data): Likewise.
18303         (sin_test_towardzero): Likewise.
18304         (sin_downward_test_data): Likewise.
18305         (sin_test_downward): Likewise.
18306         (sin_upward_test_data): Likewise.
18307         (sin_test_upward): Likewise.
18308         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18309         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18310         (sinh_test): Use ALL_RM_TEST.
18311         (sinh_tonearest_test_data): Remove.
18312         (sinh_test_tonearest): Likewise.
18313         (sinh_towardzero_test_data): Likewise.
18314         (sinh_test_towardzero): Likewise.
18315         (sinh_downward_test_data): Likewise.
18316         (sinh_test_downward): Likewise.
18317         (sinh_upward_test_data): Likewise.
18318         (sinh_test_upward): Likewise.
18319         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18320         (sqrt_test): Use ALL_RM_TEST.
18321         (sqrt_tonearest_test_data): Remove.
18322         (sqrt_test_tonearest): Likewise.
18323         (sqrt_towardzero_test_data): Likewise.
18324         (sqrt_test_towardzero): Likewise.
18325         (sqrt_downward_test_data): Likewise.
18326         (sqrt_test_downward): Likewise.
18327         (sqrt_upward_test_data): Likewise.
18328         (sqrt_test_upward): Likewise.
18329         (tan_test_data): Update call to AUTO_TESTS_f_f.
18330         (tan_test): Use ALL_RM_TEST.
18331         (tan_tonearest_test_data): Remove.
18332         (tan_test_tonearest): Likewise.
18333         (tan_towardzero_test_data): Likewise.
18334         (tan_test_towardzero): Likewise.
18335         (tan_downward_test_data): Likewise.
18336         (tan_test_downward): Likewise.
18337         (tan_upward_test_data): Likewise.
18338         (tan_test_upward): Likewise.
18339         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18340         (tgamma_test_data): Likewise.
18341         (y0_test_data): Likewise.
18342         (y1_test_data): Likewise.
18343         (yn_test_data): Update call to AUTO_TESTS_if_f.
18344         (main): Do not call removed functions.
18346 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18348         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18349         (ldexp_test_data): Remove.
18350         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18351         scalbn_test_data.
18352         (scalb_test): Use ALL_RM_TEST.
18354 2014-03-19  Andreas Schwab  <schwab@suse.de>
18356         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18358 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18360         [BZ #16649]
18361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18362         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18363         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18365         (__ASSUME_PREADV): Undefine.
18366         (__ASSUME_PWRITEV): Likewise.
18368 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18370         * bits/mman-linux.h: Add comment about non-Linux use.
18371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18372         bits/mman-linux.h resting place.
18374         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18375         * bits/mman-linux.h: ... here.
18377 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18379         * conform/conformtest.pl: Add standard definition when calling C
18380         preprocessor on data files.
18381         (checknamespace): Remove unused variable.
18383 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18385         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18386         minus_oflow, plus_uflow and minus_uflow in expected results.
18387         * math/libm-test.inc (scalbn_test_data): Add more tests of
18388         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18389         minus_uflow.
18390         (scalbn_test): Use ALL_RM_TEST.
18391         (scalbln_test_data): Add more tests of negative arguments.  Use
18392         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18393         (scalbln_test): Use ALL_RM_TEST.
18395 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18397         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18399 2014-03-18  Will Newton  <will.newton@linaro.org>
18401         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18402         inaccurate comment.
18404 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18406         * Makerules [!subdir] (check-abi): Exit with error status if a
18407         test failed.
18409 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18411         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18412         for rint.  Include results for all rounding modes.
18413         (nearbyint_test): Use ALL_RM_TEST.
18414         (rint_test_data): Include all tests used for nearbyint.
18416 2014-03-17  Will Newton  <will.newton@linaro.org>
18418         * nptl/sysdeps/pthread/pthread.h: Revert previous
18419         change.
18421         * sysdeps/generic/ldsodefs.h: Revert previous
18422         change.
18424         * libio/genops.c: Revert previous change.
18425         * libio/libioP.h: Likewise.
18426         * stdio-common/vfprintf.c: Likewise.
18428         * sysdeps/generic/math_private.h: Revert previous
18429         change.
18431         * sysdeps/generic/math_private.h: Check whether
18432         HAVE_RM_CTX is defined with #ifdef rather
18433         than #if.
18435         * argp/argp-fmtstream.h: Check whether
18436         __STRICT_ANSI__ is defined with #ifdef rather
18437         than #if.
18438         * argp/argp.h: Likewise.
18440         * libio/genops.c: Check whether
18441         _IO_JUMPS_OFFSET is defined with #ifdef rather
18442         than #if.
18443         * libio/libioP.h: Likewise.
18444         * stdio-common/vfprintf.c: Likewise.
18446         * sysdeps/generic/ldsodefs.h: Check whether
18447         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18448         than #if.
18450         * nptl/sysdeps/pthread/pthread.h: Check
18451         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18452         its value.
18454 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18456         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18457         setting O_APPEND.
18458         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18459         test case.
18461         [BZ #16680]
18462         * libio/fileops.c (_IO_file_open): Seek to end of file but
18463         don't cache the offset.
18464         (get_file_offset): Remove function.
18465         (do_ftell): Use cached offset when available.
18466         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18467         don't cache the offset.
18468         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18469         case.
18470         (do_one_test): Call it.
18471         (do_ftell_test): Fix up expected old offset for a+ mode.
18472         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18473         available.
18475         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18476         up test status with function return status.
18477         (do_write_test): Likewise.
18478         (do_append_test): Likewise.
18480         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18481         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18482         Remove.
18484 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18486         * math/gen-libm-test.pl (parse_args): Handle results specified for
18487         each rounding mode separately.
18488         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18489         tests and results from lrint_tonearest_test_data,
18490         lrint_towardzero_test_data, lrint_downward_test_data and
18491         lrint_upward_test_data.
18492         (lrint_test): Use ALL_RM_TEST.
18493         (lrint_tonearest_test_data): Remove.
18494         (lrint_test_tonearest): Likewise.
18495         (lrint_towardzero_test_data): Likewise.
18496         (lrint_test_towardzero): Likewise.
18497         (lrint_downward_test_data): Likewise.
18498         (lrint_test_downward): Likewise.
18499         (lrint_upward_test_data): Likewise.
18500         (lrint_test_upward): Likewise.
18501         (llrint_test_data): Merge in per-rounding-mode tests and results
18502         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18503         llrint_downward_test_data and llrint_upward_test_data.
18504         (llrint_test): Use ALL_RM_TEST.
18505         (llrint_tonearest_test_data): Remove.
18506         (llrint_test_tonearest): Likewise.
18507         (llrint_towardzero_test_data): Likewise.
18508         (llrint_test_towardzero): Likewise.
18509         (llrint_downward_test_data): Likewise.
18510         (llrint_test_downward): Likewise.
18511         (llrint_upward_test_data): Likewise.
18512         (llrint_test_upward): Likewise.
18513         (rint_test_data): Merge in per-rounding-mode tests and results
18514         from rint_tonearest_test_data, rint_towardzero_test_data,
18515         rint_downward_test_data and rint_upward_test_data.  Add
18516         per-rounding-mode results for tests not in those arrays.
18517         (rint_test): Use ALL_RM_TEST.
18518         (rint_tonearest_test_data): Remove.
18519         (rint_test_tonearest): Likewise.
18520         (rint_towardzero_test_data): Likewise.
18521         (rint_test_towardzero): Likewise.
18522         (rint_downward_test_data): Likewise.
18523         (rint_test_downward): Likewise.
18524         (rint_upward_test_data): Likewise.
18525         (rint_test_upward): Likewise.
18526         (main): Don't call removed functions.
18528 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18530         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18531         "Compiled on ..." crapola.  It is anti-useful.
18533 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18535         * scripts/evaluate-test.sh: Handle fourth argument to determine
18536         whether test run should stop on failure.
18537         * Makeconfig (stop-on-test-failure): New variable.
18538         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18539         $(stop-on-test-failure).
18540         * Makefile (tests): Give a summary of results from testing and
18541         exit with failure status if they include an ERROR or FAIL.
18542         (xtests): Likewise.
18543         * manual/install.texi (Configuring and compiling): Mention
18544         stop-on-test-failure=y.
18545         * INSTALL: Regenerated.
18547 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18549         * scripts/versionlist.awk: New file.
18550         * Makerules [$(build-shared) = yes]
18551         (postclean-generated): Add Versions.def, not Versions.def.v and
18552         Versions.def.v.i.
18553         ($(common-objpfx)Versions.def.v.i): Target removed.
18554         ($(common-objpfx)Versions.def): New target.
18555         ($(common-objpfx)Versions.all): Depend on that rather that
18556         $(common-objpfx)Versions.def.v.
18557         * Versions.def: File removed.
18559         * Makeconfig (+gccwarn): Add -Wundef.
18560         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18561         a dl-sysdep.h breaking its contract.
18562         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18563         * include/stackinfo.h: New file.
18564         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18565         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18566         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18567         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18568         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18569         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18570         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18571         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18572         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18573         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18574         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18575         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18576         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18577         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18578         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18580 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18582         [BZ #16707]
18583         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18584         implementation.
18585         * math/libm-test.inc (round_test_data): Add more tests.
18587         [BZ #16706]
18588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18589         implementation.
18590         * math/libm-test.inc (nearbyint_test_data): Add more tests.
18592         [BZ #16701]
18593         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18594         implementation.
18595         * math/libm-test.inc (ceil_test_data): Add more tests.
18597         * math/libm-test.inc (trunc_test_data): Add more tests related to
18598         BZ#16414.
18600 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18602         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18603         with #if rather than #ifdef.
18604         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18606 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
18608         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18609         first.  Disable AVX-512 GCC support if assembler doesn't support
18610         it.
18611         * sysdeps/x86_64/configure: Regenerated.
18613 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
18615         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18616         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18617         (__old_pthread_attr_setstack): Likewise.
18618         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18619         [!_STACK_GROWS_DOWN]: Likewise.
18621 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18623         * config.make.in (have-bash2): Delete.
18624         * configure.ac (libc_cv_have_bash2): Delete.
18625         * configure: Regenerate.
18626         * elf/Makefile (common-ldd-rewrite): Rename to ...
18627         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
18628         (sh-ldd-rewrite): Delete.
18629         (bash-ldd-rewrite): Delete.
18630         (have-bash2): Delete checks.
18631         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18632         ldd-rewrite.
18634         * config.make.in (have-ksh): Delete.
18635         (KSH): Delete.
18636         * configure.ac (libc_cv_have_ksh): Delete.
18637         * configure: Regenerate.
18639         * elf/Makefile: Delete $(have-ksh) check.
18640         ($(objpfx)sotruss): Change KSH to BASH.
18641         * elf/sotruss.ksh: Rename to ...
18642         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
18643         function style to match POSIX.  Drop ksh vim mode setting.
18645         * manual/time.texi (Specifying the Time Zone with TZ): Change
18646         Tuesday to Thursday.
18648         * debug/tst-longjmp_chk2.c: Update header comment.
18649         (stackoverflow_handler): Add comment.  Call assert on pass value.
18651 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
18653         [BZ #16194]
18654         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18655         (HAVE_AVX512_ASM_SUPPORT): Likewise.
18656         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18657         (La_x86_64_vector): Add zmm.
18658         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18659         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18660         ($(objpfx)tst-audit10): New target.
18661         ($(objpfx)tst-audit10.out): Likewise.
18662         (tst-audit10-ENV): New.
18663         (AVX512-CFLAGS): Likewise.
18664         (CFLAGS-tst-audit10.c): Likewise.
18665         (CFLAGS-tst-auditmod10a.c): Likewise.
18666         (CFLAGS-tst-auditmod10b.c): Likewise.
18667         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18668         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18669         * sysdeps/x86_64/configure: Regenerated.
18670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18671         AVX-512 zmm register support.
18672         (_dl_x86_64_save_sse): Likewise.
18673         (_dl_x86_64_restore_sse): Likewise.
18674         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18675         size vector registers.
18676         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18677         (ZMM_SIZE): Likewise.
18678         * sysdeps/x86_64/tst-audit10.c: New file.
18679         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18680         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18682 2014-03-13  Roland McGrath  <roland@hack.frob.com>
18684         * configure.ac (HAVE_EHDR_START): New check.
18685         * configure: Regenerated.
18686         * config.h.in (HAVE_EHDR_START): New #undef.
18687         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18688         assuming the lowest-addressed segment maps the start of the file.
18690 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
18692         * INSTALL: Regenerated.
18694 2014-03-13  Will Newton  <will.newton@linaro.org>
18696         * manual/setjmp.texi (System V contexts): Improve
18697         clarity and grammar of documentation.
18699 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18701         [BZ #16381]
18702         * elf/Makefile (tests): Add tst-pie2.
18703         (tests-pie): Add tst-pie2.
18704         * elf/tst-pie2.c: New file.
18705         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18706         for ET_EXEC.
18707         * elf/rtld.c (map_doit): Load executable as lt_executable.
18708         (dl_main): Likewise.
18710 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
18712         [BZ #16642]
18713         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18714         (__ASSUME_PSELECT): Undefine.
18716 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18718         [BZ #16689]
18719         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18720         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18721         static build.
18722         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18723         selector for static builds.
18725 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18727         [BZ #16695]
18728         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18729         key in the buffer.
18731 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18733         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18734         IFUNC selector for static builds.
18736 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
18738         * sysdeps/mips/math_private.h [__mips_hard_float]
18739         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18740         libc_feresetround_mips_ctx.
18741         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18742         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18743         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18745         [BZ #16677]
18746         * math/s_nextafter.c (__nextafter): Do not return value from
18747         overflowing computation.
18748         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18749         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18751         Likewise.
18752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18753         Likewise.
18754         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18755         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18757 2014-03-11  Roland McGrath  <roland@hack.frob.com>
18759         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18760         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18761         Move sfi_sp use from the load-multiple (that no longer sets sp) to
18762         the new mov targetting sp.
18764 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18766         [BZ #16683]
18767         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18768         Define it for static builds as well.
18769         (NO_BZERO_IMPL): Likewise.
18771 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18773         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18774         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18775         multiarch strspn for PPC64.
18776         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18777         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18779         (__libc_ifunc_impl_list): Likewise.
18780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18781         multiarch optimizations
18782         * string/strspn.c (strspn): Using macro to redefine symbol name.
18784 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18785             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18787         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18788         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18789         multiarch strncat for PPC64.
18790         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18791         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18793         (__libc_ifunc_impl_list): Likewise.
18794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18795         multiarch optimizations
18797 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18799         [BZ #16639]
18800         * nscd/nscd.service: Make service type forking.
18802 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18804         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18805         sign in non default rounding modes.
18806         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18808 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18810         * math/libm-test.inc (ALL_RM_TEST): New macro.
18811         (ceil_test): Use ALL_RM_TEST.
18812         (cimag_test): Likewise.
18813         (conj_test): Likewise.
18814         (copysign_test): Likewise.
18815         (cproj_test): Likewise.
18816         (creal_test): Likewise.
18817         (fabs_test): Likewise.
18818         (floor_test): Likewise.
18819         (fmax_test): Likewise.
18820         (fmin_test): Likewise.
18821         (fmod_test): Likewise.
18822         (fpclassify_test): Likewise.
18823         (frexp_test): Likewise.
18824         (ilogb_test): Likewise.
18825         (isfinite_test): Likewise.
18826         (finite_test): Likewise.
18827         (isgreater_test): Likewise.
18828         (isgreaterequal_test): Likewise.
18829         (isinf_test): Likewise.
18830         (isless_test): Likewise.
18831         (islessequal_test): Likewise.
18832         (islessgreater_test): Likewise.
18833         (isnan_test): Likewise.
18834         (isnormal_test): Likewise.
18835         (issignaling_test): Likewise.
18836         (isunordered_test): Likewise.
18837         (logb_test): Likewise.
18838         (logb_downward_test_data): Remove.
18839         (logb_test_downward): Likewise.
18840         (lround_test): Use ALL_RM_TEST.
18841         (llround_test): Likewise.
18842         (modf_test): Likewise.
18843         (nexttoward_test): Likewise.
18844         (remainder_test): Likewise.
18845         (drem_test): Likewise.
18846         (remainder_tonearest_test_data): Likewise.
18847         (remainder_test_tonearest): Likewise.
18848         (drem_test_tonearest): Likewise.
18849         (remainder_towardzero_test_data): Likewise.
18850         (remainder_test_towardzero): Likewise.
18851         (drem_test_towardzero): Likewise.
18852         (remainder_downward_test_data): Likewise.
18853         (remainder_test_downward): Likewise.
18854         (drem_test_downward): Likewise.
18855         (remainder_upward_test_data): Likewise.
18856         (remainder_test_upward): Likewise.
18857         (drem_test_upward): Likewise.
18858         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18859         (round_test): Use ALL_RM_TEST.
18860         (signbit_test): Likewise.
18861         (trunc_test): Likewise.
18862         (significand_test): Likewise.
18863         (main): Don't call removed functions.
18865 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18867         [BZ #16674]
18868         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18869         || __USE_XOPEN2K8].
18870         (ILL_ILLOPN): Likewise.
18871         (ILL_ILLADR): Likewise.
18872         (ILL_ILLTRP): Likewise.
18873         (ILL_PRVOPC): Likewise.
18874         (ILL_PRVREG): Likewise.
18875         (ILL_COPROC): Likewise.
18876         (ILL_BADSTK): Likewise.
18877         (FPE_INTDIV): Likewise.
18878         (FPE_INTOVF): Likewise.
18879         (FPE_FLTDIV): Likewise.
18880         (FPE_FLTOVF): Likewise.
18881         (FPE_FLTUND): Likewise.
18882         (FPE_FLTRES): Likewise.
18883         (FPE_FLTINV): Likewise.
18884         (FPE_FLTSUB): Likewise.
18885         (SEGV_MAPERR): Likewise.
18886         (SEGV_ACCERR): Likewise.
18887         (BUS_ADRALN): Likewise.
18888         (BUS_ADRERR): Likewise.
18889         (BUS_OBJERR): Likewise.
18890         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18891         (TRAP_TRACE): Likewise.
18892         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18893         __USE_XOPEN2K8].
18894         (CLD_KILLED): Likewise.
18895         (CLD_DUMPED): Likewise.
18896         (CLD_TRAPPED): Likewise.
18897         (CLD_STOPPED): Likewise.
18898         (CLD_CONTINUED): Likewise.
18899         (POLL_IN): Likewise.
18900         (POLL_OUT): Likewise.
18901         (POLL_MSG): Likewise.
18902         (POLL_ERR): Likewise.
18903         (POLL_PRI): Likewise.
18904         (POLL_HUP): Likewise.
18905         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18906         Likewise.
18907         (ILL_ILLOPN): Likewise.
18908         (ILL_ILLADR): Likewise.
18909         (ILL_ILLTRP): Likewise.
18910         (ILL_PRVOPC): Likewise.
18911         (ILL_PRVREG): Likewise.
18912         (ILL_COPROC): Likewise.
18913         (ILL_BADSTK): Likewise.
18914         (FPE_INTDIV): Likewise.
18915         (FPE_INTOVF): Likewise.
18916         (FPE_FLTDIV): Likewise.
18917         (FPE_FLTOVF): Likewise.
18918         (FPE_FLTUND): Likewise.
18919         (FPE_FLTRES): Likewise.
18920         (FPE_FLTINV): Likewise.
18921         (FPE_FLTSUB): Likewise.
18922         (SEGV_MAPERR): Likewise.
18923         (SEGV_ACCERR): Likewise.
18924         (BUS_ADRALN): Likewise.
18925         (BUS_ADRERR): Likewise.
18926         (BUS_OBJERR): Likewise.
18927         (BUS_MCEERR_AR): Likewise.
18928         (BUS_MCEERR_AO): Likewise.
18929         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18930         (TRAP_TRACE): Likewise.
18931         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18932         __USE_XOPEN2K8].
18933         (CLD_KILLED): Likewise.
18934         (CLD_DUMPED): Likewise.
18935         (CLD_TRAPPED): Likewise.
18936         (CLD_STOPPED): Likewise.
18937         (CLD_CONTINUED): Likewise.
18938         (POLL_IN): Likewise.
18939         (POLL_OUT): Likewise.
18940         (POLL_MSG): Likewise.
18941         (POLL_ERR): Likewise.
18942         (POLL_PRI): Likewise.
18943         (POLL_HUP): Likewise.
18944         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18945         (ILL_ILLOPN): Likewise.
18946         (ILL_ILLADR): Likewise.
18947         (ILL_ILLTRP): Likewise.
18948         (ILL_PRVOPC): Likewise.
18949         (ILL_PRVREG): Likewise.
18950         (ILL_COPROC): Likewise.
18951         (ILL_BADSTK): Likewise.
18952         (FPE_INTDIV): Likewise.
18953         (FPE_INTOVF): Likewise.
18954         (FPE_FLTDIV): Likewise.
18955         (FPE_FLTOVF): Likewise.
18956         (FPE_FLTUND): Likewise.
18957         (FPE_FLTRES): Likewise.
18958         (FPE_FLTINV): Likewise.
18959         (FPE_FLTSUB): Likewise.
18960         (SEGV_MAPERR): Likewise.
18961         (SEGV_ACCERR): Likewise.
18962         (BUS_ADRALN): Likewise.
18963         (BUS_ADRERR): Likewise.
18964         (BUS_OBJERR): Likewise.
18965         (BUS_MCEERR_AR): Likewise.
18966         (BUS_MCEERR_AO): Likewise.
18967         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18968         (TRAP_TRACE): Likewise.
18969         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18970         __USE_XOPEN2K8].
18971         (CLD_KILLED): Likewise.
18972         (CLD_DUMPED): Likewise.
18973         (CLD_TRAPPED): Likewise.
18974         (CLD_STOPPED): Likewise.
18975         (CLD_CONTINUED): Likewise.
18976         (POLL_IN): Likewise.
18977         (POLL_OUT): Likewise.
18978         (POLL_MSG): Likewise.
18979         (POLL_ERR): Likewise.
18980         (POLL_PRI): Likewise.
18981         (POLL_HUP): Likewise.
18982         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18983         Likewise.
18984         (ILL_ILLOPN): Likewise.
18985         (ILL_ILLADR): Likewise.
18986         (ILL_ILLTRP): Likewise.
18987         (ILL_PRVOPC): Likewise.
18988         (ILL_PRVREG): Likewise.
18989         (ILL_COPROC): Likewise.
18990         (ILL_BADSTK): Likewise.
18991         (ILL_BADIADDR): Likewise.
18992         (ILL_BREAK): Likewise.
18993         (FPE_INTDIV): Likewise.
18994         (FPE_INTOVF): Likewise.
18995         (FPE_FLTDIV): Likewise.
18996         (FPE_FLTOVF): Likewise.
18997         (FPE_FLTUND): Likewise.
18998         (FPE_FLTRES): Likewise.
18999         (FPE_FLTINV): Likewise.
19000         (FPE_FLTSUB): Likewise.
19001         (FPE_DECOVF): Likewise.
19002         (FPE_DECDIV): Likewise.
19003         (FPE_DECERR): Likewise.
19004         (FPE_INVASC): Likewise.
19005         (FPE_INVDEC): Likewise.
19006         (SEGV_MAPERR): Likewise.
19007         (SEGV_ACCERR): Likewise.
19008         (SEGV_PSTKOVF): Likewise.
19009         (BUS_ADRALN): Likewise.
19010         (BUS_ADRERR): Likewise.
19011         (BUS_OBJERR): Likewise.
19012         (BUS_MCEERR_AR): Likewise.
19013         (BUS_MCEERR_AO): Likewise.
19014         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19015         (TRAP_TRACE): Likewise.
19016         (TRAP_BRANCH): Likewise.
19017         (TRAP_HWBKPT): Likewise.
19018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19019         __USE_XOPEN2K8].
19020         (CLD_KILLED): Likewise.
19021         (CLD_DUMPED): Likewise.
19022         (CLD_TRAPPED): Likewise.
19023         (CLD_STOPPED): Likewise.
19024         (CLD_CONTINUED): Likewise.
19025         (POLL_IN): Likewise.
19026         (POLL_OUT): Likewise.
19027         (POLL_MSG): Likewise.
19028         (POLL_ERR): Likewise.
19029         (POLL_PRI): Likewise.
19030         (POLL_HUP): Likewise.
19031         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19032         (ILL_ILLOPN): Likewise.
19033         (ILL_ILLADR): Likewise.
19034         (ILL_ILLTRP): Likewise.
19035         (ILL_PRVOPC): Likewise.
19036         (ILL_PRVREG): Likewise.
19037         (ILL_COPROC): Likewise.
19038         (ILL_BADSTK): Likewise.
19039         (FPE_INTDIV): Likewise.
19040         (FPE_INTOVF): Likewise.
19041         (FPE_FLTDIV): Likewise.
19042         (FPE_FLTOVF): Likewise.
19043         (FPE_FLTUND): Likewise.
19044         (FPE_FLTRES): Likewise.
19045         (FPE_FLTINV): Likewise.
19046         (FPE_FLTSUB): Likewise.
19047         (SEGV_MAPERR): Likewise.
19048         (SEGV_ACCERR): Likewise.
19049         (BUS_ADRALN): Likewise.
19050         (BUS_ADRERR): Likewise.
19051         (BUS_OBJERR): Likewise.
19052         (BUS_MCEERR_AR): Likewise.
19053         (BUS_MCEERR_AO): Likewise.
19054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19055         (TRAP_TRACE): Likewise.
19056         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19057         __USE_XOPEN2K8].
19058         (CLD_KILLED): Likewise.
19059         (CLD_DUMPED): Likewise.
19060         (CLD_TRAPPED): Likewise.
19061         (CLD_STOPPED): Likewise.
19062         (CLD_CONTINUED): Likewise.
19063         (POLL_IN): Likewise.
19064         (POLL_OUT): Likewise.
19065         (POLL_MSG): Likewise.
19066         (POLL_ERR): Likewise.
19067         (POLL_PRI): Likewise.
19068         (POLL_HUP): Likewise.
19069         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19070         (ILL_ILLOPN): Likewise.
19071         (ILL_ILLADR): Likewise.
19072         (ILL_ILLTRP): Likewise.
19073         (ILL_PRVOPC): Likewise.
19074         (ILL_PRVREG): Likewise.
19075         (ILL_COPROC): Likewise.
19076         (ILL_BADSTK): Likewise.
19077         (FPE_INTDIV): Likewise.
19078         (FPE_INTOVF): Likewise.
19079         (FPE_FLTDIV): Likewise.
19080         (FPE_FLTOVF): Likewise.
19081         (FPE_FLTUND): Likewise.
19082         (FPE_FLTRES): Likewise.
19083         (FPE_FLTINV): Likewise.
19084         (FPE_FLTSUB): Likewise.
19085         (SEGV_MAPERR): Likewise.
19086         (SEGV_ACCERR): Likewise.
19087         (BUS_ADRALN): Likewise.
19088         (BUS_ADRERR): Likewise.
19089         (BUS_OBJERR): Likewise.
19090         (BUS_MCEERR_AR): Likewise.
19091         (BUS_MCEERR_AO): Likewise.
19092         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19093         (TRAP_TRACE): Likewise.
19094         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19095         __USE_XOPEN2K8].
19096         (CLD_KILLED): Likewise.
19097         (CLD_DUMPED): Likewise.
19098         (CLD_TRAPPED): Likewise.
19099         (CLD_STOPPED): Likewise.
19100         (CLD_CONTINUED): Likewise.
19101         (POLL_IN): Likewise.
19102         (POLL_OUT): Likewise.
19103         (POLL_MSG): Likewise.
19104         (POLL_ERR): Likewise.
19105         (POLL_PRI): Likewise.
19106         (POLL_HUP): Likewise.
19107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19108         (ILL_ILLOPN): Likewise.
19109         (ILL_ILLADR): Likewise.
19110         (ILL_ILLTRP): Likewise.
19111         (ILL_PRVOPC): Likewise.
19112         (ILL_PRVREG): Likewise.
19113         (ILL_COPROC): Likewise.
19114         (ILL_BADSTK): Likewise.
19115         (FPE_INTDIV): Likewise.
19116         (FPE_INTOVF): Likewise.
19117         (FPE_FLTDIV): Likewise.
19118         (FPE_FLTOVF): Likewise.
19119         (FPE_FLTUND): Likewise.
19120         (FPE_FLTRES): Likewise.
19121         (FPE_FLTINV): Likewise.
19122         (FPE_FLTSUB): Likewise.
19123         (SEGV_MAPERR): Likewise.
19124         (SEGV_ACCERR): Likewise.
19125         (BUS_ADRALN): Likewise.
19126         (BUS_ADRERR): Likewise.
19127         (BUS_OBJERR): Likewise.
19128         (BUS_MCEERR_AR): Likewise.
19129         (BUS_MCEERR_AO): Likewise.
19130         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19131         (TRAP_TRACE): Likewise.
19132         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19133         __USE_XOPEN2K8].
19134         (CLD_KILLED): Likewise.
19135         (CLD_DUMPED): Likewise.
19136         (CLD_TRAPPED): Likewise.
19137         (CLD_STOPPED): Likewise.
19138         (CLD_CONTINUED): Likewise.
19139         (POLL_IN): Likewise.
19140         (POLL_OUT): Likewise.
19141         (POLL_MSG): Likewise.
19142         (POLL_ERR): Likewise.
19143         (POLL_PRI): Likewise.
19144         (POLL_HUP): Likewise.
19145         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19146         (ILL_ILLOPN): Likewise.
19147         (ILL_ILLADR): Likewise.
19148         (ILL_ILLTRP): Likewise.
19149         (ILL_PRVOPC): Likewise.
19150         (ILL_PRVREG): Likewise.
19151         (ILL_COPROC): Likewise.
19152         (ILL_BADSTK): Likewise.
19153         (ILL_DBLFLT): Likewise.
19154         (ILL_HARDWALL): Likewise.
19155         (FPE_INTDIV): Likewise.
19156         (FPE_INTOVF): Likewise.
19157         (FPE_FLTDIV): Likewise.
19158         (FPE_FLTOVF): Likewise.
19159         (FPE_FLTUND): Likewise.
19160         (FPE_FLTRES): Likewise.
19161         (FPE_FLTINV): Likewise.
19162         (FPE_FLTSUB): Likewise.
19163         (SEGV_MAPERR): Likewise.
19164         (SEGV_ACCERR): Likewise.
19165         (BUS_ADRALN): Likewise.
19166         (BUS_ADRERR): Likewise.
19167         (BUS_OBJERR): Likewise.
19168         (BUS_MCEERR_AR): Likewise.
19169         (BUS_MCEERR_AO): Likewise.
19170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19171         (TRAP_TRACE): Likewise.
19172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19173         __USE_XOPEN2K8].
19174         (CLD_KILLED): Likewise.
19175         (CLD_DUMPED): Likewise.
19176         (CLD_TRAPPED): Likewise.
19177         (CLD_STOPPED): Likewise.
19178         (CLD_CONTINUED): Likewise.
19179         (POLL_IN): Likewise.
19180         (POLL_OUT): Likewise.
19181         (POLL_MSG): Likewise.
19182         (POLL_ERR): Likewise.
19183         (POLL_PRI): Likewise.
19184         (POLL_HUP): Likewise.
19185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19186         (ILL_ILLOPN): Likewise.
19187         (ILL_ILLADR): Likewise.
19188         (ILL_ILLTRP): Likewise.
19189         (ILL_PRVOPC): Likewise.
19190         (ILL_PRVREG): Likewise.
19191         (ILL_COPROC): Likewise.
19192         (ILL_BADSTK): Likewise.
19193         (FPE_INTDIV): Likewise.
19194         (FPE_INTOVF): Likewise.
19195         (FPE_FLTDIV): Likewise.
19196         (FPE_FLTOVF): Likewise.
19197         (FPE_FLTUND): Likewise.
19198         (FPE_FLTRES): Likewise.
19199         (FPE_FLTINV): Likewise.
19200         (FPE_FLTSUB): Likewise.
19201         (SEGV_MAPERR): Likewise.
19202         (SEGV_ACCERR): Likewise.
19203         (BUS_ADRALN): Likewise.
19204         (BUS_ADRERR): Likewise.
19205         (BUS_OBJERR): Likewise.
19206         (BUS_MCEERR_AR): Likewise.
19207         (BUS_MCEERR_AO): Likewise.
19208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19209         (TRAP_TRACE): Likewise.
19210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19211         __USE_XOPEN2K8].
19212         (CLD_KILLED): Likewise.
19213         (CLD_DUMPED): Likewise.
19214         (CLD_TRAPPED): Likewise.
19215         (CLD_STOPPED): Likewise.
19216         (CLD_CONTINUED): Likewise.
19217         (POLL_IN): Likewise.
19218         (POLL_OUT): Likewise.
19219         (POLL_MSG): Likewise.
19220         (POLL_ERR): Likewise.
19221         (POLL_PRI): Likewise.
19222         (POLL_HUP): Likewise.
19223         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19224         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19226         [BZ #16670]
19227         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19228         before #include of <time.h>.
19229         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19230         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19231         (test-xfail-UNIX98/sched.h/conform): Likewise.
19233 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19235         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19236         error absence of trapping exception support.
19237         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19239 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19241         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19242         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19243         * timezone/Makefile (testdata): Move definition above include of
19244         Rules.
19245         (test-zones): New variable.
19246         (tests-special): Add zone files.
19247         (build-testdata): Use $(evaluate-test).
19249         * elf/Makefile (tests-special): Rename tests to end with .out.
19250         ($(objpfx)noload-mem): Likewise.
19251         ($(objpfx)tst-leaks1-mem): Likewise.
19252         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19253         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19254         $(objpfx)test-iconvconfig.out.
19255         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19256         set -e inside subshell and redirect output to file.
19257         * iconvdata/Makefile (generated): Rename tests to end with .out.
19258         Correct type.
19259         (tests-special): Rename tests to end with .out.
19260         ($(objpfx)mtrace-tst-loading): Likewise.
19261         * intl/Makefile (generated): Likewise.
19262         (tests-special): Likewise.
19263         ($(objpfx)mtrace-tst-gettext): Likewise.
19264         * misc/Makefile (generated): Likewise.
19265         (tests-special): Likewise.
19266         ($(objpfx)tst-error1-mem): Likewise.
19267         * nptl/Makefile (tests-special): Likewise.
19268         ($(objpfx)tst-stack3-mem): Likewise.
19269         (generated): Likewise.
19270         * posix/Makefile (generated): Likewise.
19271         (tests-special): Likewise.
19272         (xtests-special): Likewise.
19273         ($(objpfx)tst-fnmatch-mem): Likewise.
19274         ($(objpfx)bug-regex2-mem): Likewise.
19275         ($(objpfx)bug-regex14-mem): Likewise.
19276         ($(objpfx)bug-regex21-mem): Likewise.
19277         ($(objpfx)bug-regex31-mem): Likewise.
19278         ($(objpfx)tst-vfork3-mem): Likewise.
19279         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19280         ($(objpfx)tst-pcre-mem): Likewise.
19281         ($(objpfx)tst-boost-mem): Likewise.
19282         ($(objpfx)bug-ga2-mem): Likewise.
19283         ($(objpfx)bug-glob2-mem): Likewise.
19284         * resolv/Makefile (generate): Likewise.
19285         (tests-special): Likewise.
19286         (xtests-special): Likewise.
19287         (generated): Likewise.
19288         ($(objpfx)mtrace-tst-leaks): Likewise.
19289         ($(objpfx)mtrace-tst-leaks2): Likewise.
19291         * scripts/merge-test-results.sh: New file.
19292         * Makefile (tests-special-notdir): New variable.
19293         (tests): Run merge-test-results.sh.
19294         (xtests): Likewise.
19295         * Rules (tests-special-notdir): New variable.
19296         (xtests-special-notdir): Likewise.
19297         (tests): Run merge-test-results.sh
19298         (xtests): Likewise.
19300         * Makeconfig (test-xfail-name): New variable.
19301         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19302         compute variable name for expected failures.
19303         * conform/Makefile (conformtest-headers-data): New variable.
19304         (conformtest-standards): Likewise.
19305         (conformtest-headers-ISO): Likewise.
19306         (conformtest-headers-ISO99): Likewise.
19307         (conformtest-headers-ISO11): Likewise.
19308         (conformtest-headers-POSIX): Likewise.
19309         (conformtest-headers-XPG3): Likewise.
19310         (conformtest-headers-XPG4): Likewise.
19311         (conformtest-headers-UNIX98): Likewise.
19312         (conformtest-headers-XOPEN2K): Likewise.
19313         (conformtest-headers-POSIX2008): Likewise.
19314         (conformtest-headers-XOPEN2K8): Likewise.
19315         (conformtest-header-list-base): Likewise.
19316         (conformtest-header-list-tests): Likewise.
19317         (conformtest-header-base): Likewise.
19318         (conformtest-header-tests): Likewise.
19319         (tests-special): Add $(conformtest-header-list-tests).  If
19320         [$(fast-check) && !$(cross-compiling)], add
19321         $(conformtest-header-tests) instead of
19322         $(objpfx)run-conformtest.out.
19323         (generated): Add $(conformtest-header-list-base).  If
19324         [$(fast-check) && !$(cross-compiling)], add
19325         $(conformtest-header-base).  Remove previous setting.
19326         ($(conformtest-header-list-tests)): New target.
19327         (test-xfail-run-conformtest): Remove variable.
19328         ($(objpfx)run-conformtest.out): Remove target.
19329         (test-xfail-ISO11/complex.h/conform): New variable.
19330         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19331         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19332         (test-xfail-XPG3/varargs.h/conform): Likewise.
19333         (test-xfail-XPG4/varargs.h/conform): Likewise.
19334         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19335         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19336         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19337         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19338         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19339         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19340         (test-xfail-XPG3/ftw.h/conform): Likewise.
19341         (test-xfail-XPG3/grp.h/conform): Likewise.
19342         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19343         (test-xfail-XPG3/limits.h/conform): Likewise.
19344         (test-xfail-XPG3/pwd.h/conform): Likewise.
19345         (test-xfail-XPG3/search.h/conform): Likewise.
19346         (test-xfail-XPG3/signal.h/conform): Likewise.
19347         (test-xfail-XPG3/stdio.h/conform): Likewise.
19348         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19349         (test-xfail-XPG3/string.h/conform): Likewise.
19350         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19351         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19352         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19353         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19354         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19355         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19356         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19357         (test-xfail-XPG3/termios.h/conform): Likewise.
19358         (test-xfail-XPG3/time.h/conform): Likewise.
19359         (test-xfail-XPG3/unistd.h/conform): Likewise.
19360         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19361         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19362         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19363         (test-xfail-XPG4/netdb.h/conform): Likewise.
19364         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19365         (test-xfail-XPG4/signal.h/conform): Likewise.
19366         (test-xfail-XPG4/stdio.h/conform): Likewise.
19367         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19368         (test-xfail-XPG4/stropts.h/conform): Likewise.
19369         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19370         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19371         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19372         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19373         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19374         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19375         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19376         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19377         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19378         (test-xfail-XPG4/termios.h/conform): Likewise.
19379         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19380         (test-xfail-XPG4/unistd.h/conform): Likewise.
19381         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19382         (test-xfail-POSIX/sched.h/conform): Likewise.
19383         (test-xfail-POSIX/signal.h/conform): Likewise.
19384         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19385         (test-xfail-POSIX/tar.h/conform): Likewise.
19386         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19387         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19388         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19389         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19390         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19391         (test-xfail-UNIX98/sched.h/conform): Likewise.
19392         (test-xfail-UNIX98/signal.h/conform): Likewise.
19393         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19394         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19395         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19396         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19397         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19398         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19399         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19400         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19401         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19402         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19403         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19404         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19405         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19406         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19407         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19408         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19409         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19410         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19411         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19412         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19413         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19414         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19415         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19416         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19417         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19418         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19419         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19420         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19421         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19422         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19423         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19424         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19425         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19426         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19427         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19428         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19429         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19430         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19431         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19432         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19433         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19434         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19435         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19436         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19437         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19438         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19439         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19440         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19441         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19442         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19443         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19444         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19445         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19446         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19447         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19448         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19449         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19450         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19451         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19452         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19453         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19454         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19455         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19456         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19457         (conformtest-cc-flags): Likewise.
19458         ($(conformtest-header-tests): New target.
19459         * conform/check-header-lists.sh: New file.
19460         * conform/run-conformtest.sh: Remove.
19462         * conform/conformtest.pl: Allow ' and \ in values given for
19463         constants.
19464         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19465         inclusion.
19466         [POSIX] (sys/types.h): Likewise.
19467         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19468         inclusion.
19469         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19470         inclusion.
19471         * conform/data/signal.h-data (SIGIO): Remove expectation.
19472         [XPG3] (SIGBUS): Do not expect.
19473         [POSIX || XPG3] (SIGPOLL): Likewise.
19474         [POSIX || XPG3] (SIGPROF): Likewise.
19475         [POSIX || XPG3] (SIGSYS): Likewise.
19476         [XPG3] (SIGTRAP): Likewise.
19477         [POSIX || XPG3] (SIGURG): Likewise.
19478         [POSIX || XPG3] (SIGVTALRM): Likewise.
19479         [POSIX || XPG3] (SIGXCPU): Likewise.
19480         [POSIX || XPG3] (SIGXFSZ): Likewise.
19481         [POSIX] (SA_SIGINFO): Expect.
19482         [XPG3] (siginfo_t): Do not expect type or contents.
19483         [POSIX] (si_pid): Do not expect element.
19484         [POSIX] (si_uid): Likewise.
19485         [POSIX] (si_addr): Likewise.
19486         [POSIX] (si_status): Likewise.
19487         [POSIX] (si_band): Likewise.
19488         [XPG4] (si_value): Likewise.
19489         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19490         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19491         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19492         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19493         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19494         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19495         [POSIX || XPG3] (ILL_COPROC): Likewise.
19496         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19497         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19498         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19499         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19500         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19501         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19502         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19503         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19504         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19505         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19506         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19507         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19508         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19509         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19510         [POSIX || XPG3] (CLD_EXITED): Likewise.
19511         [POSIX || XPG3] (CLD_KILLED): Likewise.
19512         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19513         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19514         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19515         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19516         [POSIX || XPG3] (POLL_IN): Likewise.
19517         [POSIX || XPG3] (POLL_OUT): Likewise.
19518         [POSIX || XPG3] (POLL_MSG): Likewise.
19519         [POSIX || XPG3] (POLL_ERR): Likewise.
19520         [POSIX || XPG3] (POLL_PRI): Likewise.
19521         [POSIX || XPG3] (POLL_HUP): Likewise.
19522         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19523         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19524         (SIG*): Do not allow.
19525         [XPG3] (si_*): Likewise.
19526         [XPG3] (SI_*): Likewise.
19527         [XPG3 || XPG4] (sigev_*): Likewise.
19528         [XPG3 || XPG4] (SIGEV_*): Likewise.
19529         [XPG3 || XPG4] (sival_*): Likewise.
19530         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19531         [POSIX || XPG3] (BUS_*): Likewise.
19532         [POSIX || XPG3] (CLD_*): Likewise.
19533         [POSIX || XPG3] (FPE_*): Likewise.
19534         [POSIX || XPG3] (ILL_*): Likewise.
19535         [POSIX || XPG3] (POLL_*): Likewise.
19536         [POSIX || XPG3] (SEGV_*): Likewise.
19537         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19538         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19539         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19540         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19541         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19542         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19543         Specify type and value.
19544         (TVERSLEN): Likewise.
19545         (REGTYPE): Likewise.
19546         (AREGTYPE): Likewise.
19547         (LNKTYPE): Likewise.
19548         (SYMTYPE): Likewise.
19549         (CHRTYPE): Likewise.
19550         (BLKTYPE): Likewise.
19551         (DIRTYPE): Likewise.
19552         (FIFOTYPE): Likewise.
19553         (CONTTYPE): Likewise.
19554         (TSUID): Likewise.
19555         (TSGID): Likewise.
19556         (TSVTX): Likewise.
19557         (TUREAD): Likewise.
19558         (TUWRITE): Likewise.
19559         (TUEXEC): Likewise.
19560         (TGREAD): Likewise.
19561         (TGWRITE): Likewise.
19562         (TGEXEC): Likewise.
19563         (TOREAD): Likewise.
19564         (TOWRITE): Likewise.
19565         (TOEXEC): Likewise.
19566         [POSIX] (TSVTX): Expect constant.
19568 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
19570         * Makefile (tests): Change dependencies to ....
19571         (tests-special): ... additions to this variable.
19572         (tests): Depend on $(tests-special).
19573         * Makerules (check-abi-list): New variable.
19574         (check-abi): Depend on $(check-abi-list).
19575         [$(subdir) = elf] (tests-special): Add
19576         $(objpfx)check-abi-libc.out.
19577         [$(build-shared) = yes && subdir] (tests-special): Add
19578         $(check-abi-list).
19579         [$(build-shared) = yes && subdir] (tests): Do not depend on
19580         check-abi.
19581         * Rules (tests): Depend on $(tests-special).
19582         (xtests): Depend on $(xtests-special).
19583         * catgets/Makefile (tests): Change dependencies to ....
19584         (tests-special): ... additions to this variable.
19585         * conform/Makefile (tests): Change dependencies to ....
19586         (tests-special): ... additions to this variable.
19587         * elf/Makefile (tests): Change dependencies to ....
19588         (tests-special): ... additions to this variable.
19589         * grp/Makefile (tests): Change dependencies to ....
19590         (tests-special): ... additions to this variable.
19591         * iconv/Makefile (xtests): Change dependencies to ....
19592         (xtests-special): ... additions to this variable.
19593         * iconvdata/Makefile (tests): Change dependencies to ....
19594         (tests-special): ... additions to this variable.
19595         * intl/Makefile (tests): Change dependencies to ....
19596         (tests-special): ... additions to this variable.  Also add
19597         $(objpfx)tst-gettext.out.
19598         * io/Makefile (tests): Change dependencies to ....
19599         (tests-special): ... additions to this variable.
19600         * libio/Makefile (tests): Change dependencies to ....
19601         (tests-special): ... additions to this variable.
19602         * malloc/Makefile (tests): Change dependencies to ....
19603         (tests-special): ... additions to this variable.
19604         * misc/Makefile (tests): Change dependencies to ....
19605         (tests-special): ... additions to this variable.
19606         * nptl/Makefile (tests): Change dependencies to ....
19607         (tests-special): ... additions to this variable.
19608         * nptl_db/Makefile (tests): Change dependencies to ....
19609         (tests-special): ... additions to this variable.
19610         * posix/Makefile (tests): Change dependencies to ....
19611         (tests-special): ... additions to this variable.
19612         (xtests): Change dependencies to ....
19613         (xtests-special): ... additions to this variable.
19614         * resolv/Makefile (tests): Change dependencies to ....
19615         (tests-special): ... additions to this variable.
19616         (xtests): Change dependencies to ....
19617         (xtests-special): ... additions to this variable.
19618         * stdio-common/Makefile (tests): Change dependencies to ....
19619         (tests-special): ... additions to this variable.
19620         (do-tst-unbputc): Remove target.
19621         (do-tst-printf): Likewise.
19622         * stdlib/Makefile (tests): Change dependencies to ....
19623         (tests-special): ... additions to this variable.
19624         * string/Makefile (tests): Change dependencies to ....
19625         (tests-special): ... additions to this variable.
19626         * sysdeps/x86/Makefile (tests): Change dependencies to ....
19627         (tests-special): ... additions to this variable.
19629         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19630         whole file.
19631         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19632         whole file.
19633         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19634         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19636         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19637         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19638         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19639         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19640         * conform/data/libgen.h-data [XPG3]: Likewise.
19641         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19642         * conform/data/ndbm.h-data [XPG3]: Likewise.
19643         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19644         * conform/data/netdb.h-data [XPG3]: Likewise.
19645         * conform/data/netinet/in.h-data [XPG3]: Likewise.
19646         * conform/data/poll.h-data [XPG3]: Likewise.
19647         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19648         * conform/data/strings.h-data [XPG3]: Likewise.
19649         * conform/data/stropts.h-data [XPG3]: Likewise.
19650         * conform/data/sys/mman.h-data [XPG3]: Likewise.
19651         * conform/data/sys/resource.h-data [XPG3]: Likewise.
19652         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19653         Likewise.
19654         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19655         * conform/data/sys/time.h-data [XPG3]: Likewise.
19656         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19657         * conform/data/sys/uio.h-data [XPG3]: Likewise.
19658         * conform/data/sys/un.h-data [XPG3]: Likewise.
19659         * conform/data/syslog.h-data [XPG3]: Likewise.
19660         * conform/data/ucontext.h-data [XPG3]: Likewise.
19661         * conform/data/utmpx.h-data [XPG3]: Likewise.
19662         * conform/data/varargs.h-data [UNIX98]: Enable file.
19664         * manual/Makefile (INSTALL_INFO): Remove variable setting.
19666         * math/libm-test.inc (struct test_f_f_data): Move expected results
19667         into structure for each rounding mode.
19668         (struct test_ff_f_data): Likewise.
19669         (struct test_ff_f_data_nexttoward): Likewise.
19670         (struct test_fi_f_data): Likewise.
19671         (struct test_fl_f_data): Likewise.
19672         (struct test_if_f_data): Likewise.
19673         (struct test_fff_f_data): Likewise.
19674         (struct test_c_f_data): Likewise.
19675         (struct test_f_f1_data): Likewise.
19676         (struct test_fF_f1_data): Likewise.
19677         (struct test_ffI_f1_data): Likewise.
19678         (struct test_c_c_data): Likewise.
19679         (struct test_cc_c_data): Likewise.
19680         (struct test_f_i_data): Likewise.
19681         (struct test_ff_i_data): Likewise.
19682         (struct test_f_l_data): Likewise.
19683         (struct test_f_L_data): Likewise.
19684         (struct test_fFF_11_data): Likewise.
19685         (RM_): New macro.
19686         (RM_FE_DOWNWARD): Likewise.
19687         (RM_FE_TONEAREST): Likewise.
19688         (RM_FE_TOWARDZERO): Likewise.
19689         (RM_FE_UPWARD): Likewise.
19690         (RUN_TEST_LOOP_f_f): Update references to expected results.
19691         (RUN_TEST_LOOP_2_f): Likewise.
19692         (RUN_TEST_LOOP_fff_f): Likewise.
19693         (RUN_TEST_LOOP_c_f): Likewise.
19694         (RUN_TEST_LOOP_f_f1): Likewise.
19695         (RUN_TEST_LOOP_fF_f1): Likewise.
19696         (RUN_TEST_LOOP_fI_f1): Likewise.
19697         (RUN_TEST_LOOP_ffI_f1): Likewise.
19698         (RUN_TEST_LOOP_c_c): Likewise.
19699         (RUN_TEST_LOOP_cc_c): Likewise.
19700         (RUN_TEST_LOOP_f_i): Likewise.
19701         (RUN_TEST_LOOP_f_i_tg): Likewise.
19702         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19703         (RUN_TEST_LOOP_f_b): Likewise.
19704         (RUN_TEST_LOOP_f_b_tg): Likewise.
19705         (RUN_TEST_LOOP_f_l): Likewise.
19706         (RUN_TEST_LOOP_f_L): Likewise.
19707         (RUN_TEST_LOOP_fFF_11): Likewise.
19708         * math/gen-libm-test.pl (parse_args): Output four copies of
19709         expected results for each test.
19711         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19712         (__ASSUME_UTIMES): Remove.
19713         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19714         (__ASSUME_UTIMES): Likewise.
19716         * math/gen-auto-libm-tests.c: Update comment on output format.
19717         (output_for_one_input_case): Generate before-rounding and
19718         after-rounding information as conditions on output flags not
19719         floating-point format.
19720         * math/auto-libm-test-out: Regenerated.
19721         * math/gen-libm-test.pl (cond_value): New function.
19722         (or_cond_value): Use cond_value.
19723         (generate_testfile): Handle conditional exceptions.
19725 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
19727         * math/libm-test.inc (max_valid_error): New variable.
19728         (init_max_error): Take new argument specifying whether function
19729         results are exactly determined.  Set max_valid_error and bound
19730         other variables for errors based on this argument.
19731         (set_max_error): Do not record results above max_valid_error.
19732         (check_float_internal): Only accept errors of up to 0.5ulps if
19733         also at most max_valid_error.
19734         (START): Take new argument EXACT and pass it to init_max_error.
19735         (acos_test): Update call to START.
19736         (acos_test_tonearest): Likewise.
19737         (acos_test_towardzero): Likewise.
19738         (acos_test_downward): Likewise.
19739         (acos_test_upward): Likewise.
19740         (acosh_test): Likewise.
19741         (asin_test): Likewise.
19742         (asin_test_tonearest): Likewise.
19743         (asin_test_towardzero): Likewise.
19744         (asin_test_downward): Likewise.
19745         (asin_test_upward): Likewise.
19746         (asinh_test): Likewise.
19747         (atan_test): Likewise.
19748         (atanh_test): Likewise.
19749         (atan2_test): Likewise.
19750         (cabs_test): Likewise.
19751         (cacos_test): Likewise.
19752         (cacosh_test): Likewise.
19753         (carg_test): Likewise.
19754         (casin_test): Likewise.
19755         (casinh_test): Likewise.
19756         (catan_test): Likewise.
19757         (catanh_test): Likewise.
19758         (cbrt_test): Likewise.
19759         (ccos_test): Likewise.
19760         (ccosh_test): Likewise.
19761         (ceil_test): Likewise.
19762         (cexp_test): Likewise.
19763         (cimag_test): Likewise.
19764         (clog_test): Likewise.
19765         (clog10_test): Likewise.
19766         (conj_test): Likewise.
19767         (copysign_test): Likewise.
19768         (cos_test): Likewise.
19769         (cos_test_tonearest): Likewise.
19770         (cos_test_towardzero): Likewise.
19771         (cos_test_downward): Likewise.
19772         (cos_test_upward): Likewise.
19773         (cosh_test): Likewise.
19774         (cosh_test_tonearest): Likewise.
19775         (cosh_test_towardzero): Likewise.
19776         (cosh_test_downward): Likewise.
19777         (cosh_test_upward): Likewise.
19778         (cpow_test): Likewise.
19779         (cproj_test): Likewise.
19780         (creal_test): Likewise.
19781         (csin_test): Likewise.
19782         (csinh_test): Likewise.
19783         (csqrt_test): Likewise.
19784         (ctan_test): Likewise.
19785         (ctan_test_tonearest): Likewise.
19786         (ctan_test_towardzero): Likewise.
19787         (ctan_test_downward): Likewise.
19788         (ctan_test_upward): Likewise.
19789         (ctanh_test): Likewise.
19790         (ctanh_test_tonearest): Likewise.
19791         (ctanh_test_towardzero): Likewise.
19792         (ctanh_test_downward): Likewise.
19793         (ctanh_test_upward): Likewise.
19794         (erf_test): Likewise.
19795         (erfc_test): Likewise.
19796         (exp_test): Likewise.
19797         (exp_test_tonearest): Likewise.
19798         (exp_test_towardzero): Likewise.
19799         (exp_test_downward): Likewise.
19800         (exp_test_upward): Likewise.
19801         (exp10_test): Likewise.
19802         (exp10_test_tonearest): Likewise.
19803         (exp10_test_towardzero): Likewise.
19804         (exp10_test_downward): Likewise.
19805         (exp10_test_upward): Likewise.
19806         (pow10_test): Likewise.
19807         (exp2_test): Likewise.
19808         (expm1_test): Likewise.
19809         (expm1_test_tonearest): Likewise.
19810         (expm1_test_towardzero): Likewise.
19811         (expm1_test_downward): Likewise.
19812         (expm1_test_upward): Likewise.
19813         (fabs_test): Likewise.
19814         (fdim_test): Likewise.
19815         (floor_test): Likewise.
19816         (fma_test): Likewise.
19817         (fma_test_towardzero): Likewise.
19818         (fma_test_downward): Likewise.
19819         (fma_test_upward): Likewise.
19820         (fmax_test): Likewise.
19821         (fmin_test): Likewise.
19822         (fmod_test): Likewise.
19823         (fpclassify_test): Likewise.
19824         (frexp_test): Likewise.
19825         (hypot_test): Likewise.
19826         (ilogb_test): Likewise.
19827         (isfinite_test): Likewise.
19828         (finite_test): Likewise.
19829         (isgreater_test): Likewise.
19830         (isgreaterequal_test): Likewise.
19831         (isinf_test): Likewise.
19832         (isless_test): Likewise.
19833         (islessequal_test): Likewise.
19834         (islessgreater_test): Likewise.
19835         (isnan_test): Likewise.
19836         (isnormal_test): Likewise.
19837         (issignaling_test): Likewise.
19838         (isunordered_test): Likewise.
19839         (j0_test): Likewise.
19840         (j1_test): Likewise.
19841         (jn_test): Likewise.
19842         (ldexp_test): Likewise.
19843         (lgamma_test): Likewise.
19844         (gamma_test): Likewise.
19845         (lrint_test): Likewise.
19846         (lrint_test_tonearest): Likewise.
19847         (lrint_test_towardzero): Likewise.
19848         (lrint_test_downward): Likewise.
19849         (lrint_test_upward): Likewise.
19850         (llrint_test): Likewise.
19851         (llrint_test_tonearest): Likewise.
19852         (llrint_test_towardzero): Likewise.
19853         (llrint_test_downward): Likewise.
19854         (llrint_test_upward): Likewise.
19855         (log_test): Likewise.
19856         (log10_test): Likewise.
19857         (log1p_test): Likewise.
19858         (log2_test): Likewise.
19859         (logb_test): Likewise.
19860         (logb_test_downward): Likewise.
19861         (lround_test): Likewise.
19862         (llround_test): Likewise.
19863         (modf_test): Likewise.
19864         (nearbyint_test): Likewise.
19865         (nextafter_test): Likewise.
19866         (nexttoward_test): Likewise.
19867         (pow_test): Likewise.
19868         (pow_test_tonearest): Likewise.
19869         (pow_test_towardzero): Likewise.
19870         (pow_test_downward): Likewise.
19871         (pow_test_upward): Likewise.
19872         (remainder_test): Likewise.
19873         (drem_test): Likewise.
19874         (remainder_test_tonearest): Likewise.
19875         (drem_test_tonearest): Likewise.
19876         (remainder_test_towardzero): Likewise.
19877         (drem_test_towardzero): Likewise.
19878         (remainder_test_downward): Likewise.
19879         (drem_test_downward): Likewise.
19880         (remainder_test_upward): Likewise.
19881         (drem_test_upward): Likewise.
19882         (remquo_test): Likewise.
19883         (rint_test): Likewise.
19884         (rint_test_tonearest): Likewise.
19885         (rint_test_towardzero): Likewise.
19886         (rint_test_downward): Likewise.
19887         (rint_test_upward): Likewise.
19888         (round_test): Likewise.
19889         (scalb_test): Likewise.
19890         (scalbn_test): Likewise.
19891         (scalbln_test): Likewise.
19892         (signbit_test): Likewise.
19893         (sin_test): Likewise.
19894         (sin_test_tonearest): Likewise.
19895         (sin_test_towardzero): Likewise.
19896         (sin_test_downward): Likewise.
19897         (sin_test_upward): Likewise.
19898         (sincos_test): Likewise.
19899         (sinh_test): Likewise.
19900         (sinh_test_tonearest): Likewise.
19901         (sinh_test_towardzero): Likewise.
19902         (sinh_test_downward): Likewise.
19903         (sinh_test_upward): Likewise.
19904         (sqrt_test): Likewise.
19905         (sqrt_test_tonearest): Likewise.
19906         (sqrt_test_towardzero): Likewise.
19907         (sqrt_test_downward): Likewise.
19908         (sqrt_test_upward): Likewise.
19909         (tan_test): Likewise.
19910         (tan_test_tonearest): Likewise.
19911         (tan_test_towardzero): Likewise.
19912         (tan_test_downward): Likewise.
19913         (tan_test_upward): Likewise.
19914         (tanh_test): Likewise.
19915         (tgamma_test): Likewise.
19916         (trunc_test): Likewise.
19917         (y0_test): Likewise.
19918         (y1_test): Likewise.
19919         (yn_test): Likewise.
19920         (significand_test): Likewise.
19922         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19923         individual tests in comment.
19924         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19925         (prev_max_error): New variable.
19926         (prev_real_max_error): Likewise.
19927         (prev_imag_max_error): Likewise.
19928         (compare_ulp_data): Don't refer to test names in comment.
19929         (find_test_ulps): Remove function.
19930         (find_function_ulps): Likewise.
19931         (find_complex_function_ulps): Likewise.
19932         (init_max_error): Take function name as argument.  Look up ulps
19933         for that function.
19934         (print_ulps): Remove function.
19935         (print_max_error): Use prev_max_error instead of calling
19936         find_function_ulps.
19937         (print_complex_max_error): Use prev_real_max_error and
19938         prev_imag_max_error instead of calling find_complex_function_ulps.
19939         (check_float_internal): Take max_ulp parameter instead of calling
19940         find_test_ulps.  Don't call print_ulps.
19941         (check_float): Update call to check_float_internal.
19942         (check_complex): Update calls to check_float_internal.
19943         (START): Pass argument to init_max_error.
19944         * math/gen-libm-test.pl (%results): Don't include "kind"
19945         information.
19946         (parse_ulps): Don't handle ulps of individual tests.
19947         (print_ulps_file): Likewise.
19948         (output_ulps): Likewise.
19949         * math/README.libm-test: Update.
19950         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19951         individual tests.
19952         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19953         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19954         * sysdeps/arm/libm-test-ulps: Likewise.
19955         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19956         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19957         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19958         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19959         * sysdeps/microblaze/libm-test-ulps: Likewise.
19960         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19961         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19963         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19964         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19965         * sysdeps/sh/libm-test-ulps: Likewise.
19966         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19967         * sysdeps/tile/libm-test-ulps: Likewise.
19968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19970 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19972         * math/libm-test.inc (print_complex_max_error): Check separately
19973         whether real and imaginary errors are within allowed range and
19974         pass 0 to print_complex_function_ulps instead of value within
19975         allowed range.
19977 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19979         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19980         formatting.
19981         (get_handles_fopen): Likewise.
19982         (do_write_test): Likewise.
19984         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19986         * libio/fileops.c (do_ftell): Use cached offset when
19987         available.
19988         * libio/iofwide.c (do_ftell_wide): Likewise.
19989         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19990         _IO_file_attach.
19991         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19993         [BZ #16532]
19994         * libio/libioP.h (get_file_offset): New function.
19995         * libio/fileops.c (get_file_offset): Likewise.
19996         (do_ftell): Likewise.
19997         (_IO_new_file_seekoff): Split out ftell logic.
19998         * libio/wfileops.c (do_ftell_wide): Likewise.
19999         (_IO_wfile_seekoff): Split out ftell logic.
20000         * libio/tst-ftell-active-handler.c: New test case.
20001         * libio/Makefile (tests): Add it.
20003 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20005         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20006         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20008 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20010         [BZ #16639]
20011         * nscd/connections.c (nscd_init): Call do_exit.
20012         (start_threads): Call do_exit and notify_parent.
20013         (begin_drop_privileges): Call do_exit.
20014         (finish_drop_privileges): Likewise.
20015         * nscd/selinux.c (preserve_capabilities): Likewise.
20016         (install_real_capabilities): Likewise.
20017         (nscd_selinux_enabled): Likewise.
20018         (avc_create_thread): Likewise.
20019         (avc_alloc_lock): Likewise.
20020         (nscd_avc_init): Likewise.
20021         * nscd/nscd.c (parent_fd): New static variable.
20022         (main): Create a pipe between parent and child processes.
20023         Skip closing parent_fd.
20024         (monitor_child): New function.
20025         (do_exit): Likewise.
20026         (notify_parent): Likewise.
20027         * nscd/nscd.h (notify_parent): Likewise.
20028         (do_exit): Likewise.
20030 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20032         * malloc/malloc.c (__libc_calloc): Revert last change.
20034 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20038 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20040         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20042         implementation.
20043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20044         (__libc_ifunc_impl_list): Likewise.
20045         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20046         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20047         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20048         * string/strrchr.c: Define STRRCHR.
20050 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20052         * benchtest/bench-strtok.c (simple_strtok): Delete.
20053         (strtok_string): Use as benchmark.
20054         * string/strtok (STRTOK): New macro.
20056 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20058         * manual/threads.texi: Add header and standard comments to all
20059         functions.
20061         * elf/dl-lookup.c (check_match): New function.
20062         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20063         (do_lookup_x): Remove nested function check_match. Use non-nested
20064         function check_match.
20066 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20068         * csu/Makefile (generated, before-compile): Use += rather than =.
20069         * catgets/Makefile (generated, generated-dirs): Likewise.
20070         * debug/Makefile (generated): Likewise.
20071         * dlfcn/Makefile (generated): Likewise.
20072         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20073         * iconvdata/Makefile (before-compile, generated): Likewise.
20074         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20075         * libio/Makefile (generated): Likewise.
20076         * malloc/Makefile (generated): Likewise.
20077         * manual/Makefile (generated, generated-dirs): Likewise.
20078         * misc/Makefile (generated): Likewise.
20079         * posix/Makefile (generated): Likewise.
20080         * resolv/Makefile (generated): Likewise.
20081         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20082         * timezone/Makefile (generated, generated-dirs): Likewise.
20084         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20086 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20089         power8 implementation.
20090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20091         file: POWER8 llround ifunc implementation.
20092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20093         (__lllround): Add POWER8 implementation.
20094         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20095         POWER8 llround implementation.
20097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20098         power8 implementation.
20099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20100         file: POWER8 llrint ifunc implementation.
20101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20102         Add POWER8 implementation.
20103         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20104         POWER8 llrint implementation.
20106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20107         power8 implementation.
20108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20109         file: POWER8 finite ifunc implementation.
20110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20111         Add POWER8 implementation.
20112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20113         Likewise.
20114         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20115         POWER8 finite implementation.
20116         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20119         power8 implementation.
20120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20121         file: POWER8 isinf ifunc implementation.
20122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20123         POWER8 implementation.
20124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20125         Likewise.
20126         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20127         isinf implementation.
20128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20130         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20131         (INIT_ARCH): Add hwcap2 initialization.
20132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20133         power8 implementation.
20134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20135         file: POWER8 isnan ifunc implementation.
20136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20137         POWER8 implementation.
20138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20139         Likewise.
20140         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20141         isnan implementation.
20142         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20144 2014-02-27  Joey Ye  <joey.ye@arm.com>
20146         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20147         (_FP_NANFRAC_Q): Set to zero.
20149 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20151         [BZ #16623]
20152         * math/auto-libm-test-in: New test inputs.
20153         * math/auto-libm-test-out: Regenerate.
20154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20155         and DA.
20156         (__cos): Likewise.
20157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20159 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20161         * scripts/evaluate-test.sh: Take new argument indicating whether
20162         failure is expected.
20163         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20164         indicating whether failure is expected.
20165         * conform/Makefile (test-xfail-run-conformtest): New variable.
20166         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20167         level.
20168         * posix/Makefile (test-xfail-annexc): New variable.
20169         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20171 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20173         * argp/Makefile: Include Makeconfig immediately after defining
20174         subdir.
20175         * assert/Makefile: Likewise.
20176         * benchtests/Makefile: Likewise.
20177         * catgets/Makefile: Likewise.
20178         * conform/Makefile: Likewise.
20179         * crypt/Makefile: Likewise.
20180         * csu/Makefile: Likewise.
20181         (all): Remove target.
20182         * ctype/Makefile: Include Makeconfig immediately after defining
20183         subdir.
20184         * debug/Makefile: Likewise.
20185         * dirent/Makefile: Likewise.
20186         * dlfcn/Makefile: Likewise.
20187         * gmon/Makefile: Likewise.
20188         * gnulib/Makefile: Likewise.
20189         * grp/Makefile: Likewise.
20190         * gshadow/Makefile: Likewise.
20191         * hesiod/Makefile: Likewise.
20192         * hurd/Makefile: Likewise.
20193         (all): Remove target.
20194         * iconvdata/Makefile: Include Makeconfig immediately after
20195         defining subdir.
20196         * inet/Makefile: Likewise.
20197         * intl/Makefile: Likewise.
20198         * io/Makefile: Likewise.
20199         * libio/Makefile: Likewise.
20200         (all): Remove target.
20201         * locale/Makefile: Include Makeconfig immediately after defining
20202         subdir.
20203         * login/Makefile: Likewise.
20204         * mach/Makefile: Likewise.
20205         (all): Remove target.
20206         * malloc/Makefile: Include Makeconfig immediately after defining
20207         subdir.
20208         (all): Remove target.
20209         * manual/Makefile: Include Makeconfig immediately after defining
20210         subdir.
20211         * math/Makefile: Likewise.
20212         * misc/Makefile: Likewise.
20213         * nis/Makefile: Likewise.
20214         * nss/Makefile: Likewise.
20215         * po/Makefile: Likewise.
20216         (all): Remove target.
20217         * posix/Makefile: Include Makeconfig immediately after defining
20218         subdir.
20219         * pwd/Makefile: Likewise.
20220         * resolv/Makefile: Likewise.
20221         * resource/Makefile: Likewise.
20222         * rt/Makefile: Likewise.
20223         * setjmp/Makefile: Likewise.
20224         * shadow/Makefile: Likewise.
20225         * signal/Makefile: Likewise.
20226         * socket/Makefile: Likewise.
20227         * soft-fp/Makefile: Likewise.
20228         * stdio-common/Makefile: Likewise.
20229         * stdlib/Makefile: Likewise.
20230         * streams/Makefile: Likewise.
20231         * string/Makefile: Likewise.
20232         * sunrpc/Makefile: Likewise.
20233         (all): Remove target.
20234         * sysvipc/Makefile: Include Makeconfig immediately after defining
20235         subdir.
20236         * termios/Makefile: Likewise.
20237         * time/Makefile: Likewise.
20238         * timezone/Makefile: Likewise.
20239         (all): Remove target.
20240         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20241         subdir.
20242         * wctype/Makefile: Likewise.
20244 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20246         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20247         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20248         (libc_feholdexcept_setround_mips): Ditto.
20249         (libc_feholdsetround): New.
20250         (libc_feholdsetroundf): New.
20251         (libc_feholdsetroundl): New.
20252         (libc_feupdateenv_test_mips): New.
20253         (libc_feupdateenv_test): New.
20254         (libc_feupdateenv_testf): New.
20255         (libc_feupdateenv_testl): New.
20256         (libc_feresetround): New.
20257         (libc_feresetroundf): New.
20258         (libc_feresetroundl): New.
20259         (libc_fetestexcept_mips): New.
20260         (libc_fetestexcept): New.
20261         (libc_fetestexceptf): New.
20262         (libc_fetestexceptl): New.
20263         (HAVE_RM_CTX): New.
20264         (libc_feholdexcept_setround_mips_ctx): New.
20265         (libc_feholdexcept_setround_ctx): New.
20266         (libc_feholdexcept_setroundf_ctx): New.
20267         (libc_feholdexcept_setroundl_ctx): New.
20268         (libc_fesetenv_mips_ctx): New.
20269         (libc_fesetenv_ctx): New.
20270         (libc_fesetenv_ctxf): New.
20271         (libc_fesetenv_ctxl): New.
20272         (libc_feupdateenv_mips_ctx): New.
20273         (libc_feupdateenv_ctx): New.
20274         (libc_feupdateenvf_ctx): New.
20275         (libc_feupdateenvl_ctx): New.
20276         (libc_feholdsetround_mips_ctx): New.
20277         (libc_feholdsetround_ctx): New.
20278         (libc_feholdsetroundf_ctx): New.
20279         (libc_feholdsetroundl_ctx): New.
20280         (libc_feresetround_mips_ctx): New.
20281         (libc_feresetround_ctx): New.
20282         (libc_feresetroundf_ctx): New.
20283         (libc_feresetroundl_ctx): New.
20285 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20287         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20289         * manual/ipc.texi: New file.
20290         * manual/Makefile (chapters): Add ipc.
20291         * manual/job.texi: Add "Inter-Process Communication" to next.
20292         * manual/process.texi: Add "Inter-Process Communication" to prev.
20294 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20298 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20300         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20302         * manual/arith.texi: Fix spaces after sentences.
20303         * manual/charset.texi: Likewise.
20304         * manual/errno.texi: Likewise.
20305         * manual/install.texi: Likewise.
20306         * manual/llio.texi: Likewise.
20307         * manual/locale.texi: Likewise.
20308         * manual/maint.texi: Likewise.
20309         * manual/math.texi: Likewise.
20310         * manual/memory.texi: Likewise.
20311         * manual/message.texi: Likewise.
20312         * manual/probes.texi: Likewise.
20313         * manual/resource.texi: Likewise.
20314         * manual/signal.texi: Likewise.
20315         * manual/socket.texi: Likewise.
20316         * manual/stdio.texi: Likewise.
20317         * manual/string.texi: Likewise.
20318         * manual/time.texi: Likewise.
20319         * manual/users.texi: Likewise.
20321 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20323         [BZ #16632]
20324         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20325         _DEFAULT_SOURCE is defined.
20327 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20328             Carlos O'Donell  <carlos@redhat.com>
20330         [BZ #16613]
20331         * elf/dl-tls.c (_dl_count_modids): New function.
20332         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20333         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20334         audit library and increment generation counter.
20335         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20336         * elf/tst-audit9.c: New file.
20337         * elf/tst-auditmod9a.c: New file.
20338         * elf/tst-auditmod9b.c: New file.
20339         * elf/Makefile: Add rules to build and run tst-audit9.
20341 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20343         [BZ #15347]
20344         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20346 2014-02-25  Will Newton  <will.newton@linaro.org>
20348         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20349         (__longjmp): Restore sp and lr before restoring callee
20350         saved registers.  Add longjmp and longjmp_target
20351         SystemTap probe point.
20352         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20353         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20354         Define to zero to match jmpbuf layout.
20355         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20356         (__sigsetjmp): Save sp and lr before saving callee
20357         saved registers.  Add setjmp SystemTap probe point.
20359 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20361         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20363 2014-02-24  Andreas Schwab  <schwab@suse.de>
20365         [BZ #15804]
20366         * elf/pldd.c (wait_for_ptrace_stop): New function.
20367         (main): Call it after attaching.
20369 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20371         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20372         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20373         Versions files is now verboten.
20374         * hurd/Versions (libc: GLIBC_2.0):
20375         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20376         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20377         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20378         * mach/Versions: Likewise.
20380         * csu/Versions: Remove unused %include.
20381         * resolv/Versions: Likewise.
20383 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20385         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20386         ($(objpfx)check-local-headers.out): Likewise.
20387         ($(objpfx)begin-end-check.out): Likewise.
20388         * Makerules (check-abi-%.out): Likewise.
20389         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20390         ($(objpfx)test2.cat): Likewise.
20391         ($(objpfx)de/libc.cat): Likewise.
20392         ($(objpfx)test-gencat.out): Likewise.
20393         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20394         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20395         ($(objpfx)noload-mem): Likewise.
20396         ($(objpfx)tst-pathopt.out): Likewise.
20397         ($(objpfx)tst-rtld-load-self.out): Likewise.
20398         ($(objpfx)tst-array1-cmp.out): Likewise.
20399         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20400         ($(objpfx)tst-array2-cmp.out): Likewise.
20401         ($(objpfx)tst-array3-cmp.out): Likewise.
20402         ($(objpfx)tst-array4-cmp.out): Likewise.
20403         ($(objpfx)tst-array5-cmp.out): Likewise.
20404         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20405         ($(objpfx)check-textrel.out): Likewise.
20406         ($(objpfx)check-execstack.out): Likewise.
20407         ($(objpfx)check-localplt.out): Likewise.
20408         ($(objpfx)order2-cmp.out): Likewise.
20409         ($(objpfx)tst-leaks1-mem): Likewise.
20410         ($(objpfx)tst-leaks1-static-mem): Likewise.
20411         ($(objpfx)tst-initorder-cmp.out): Likewise.
20412         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20413         ($(objpfx)tst-unused-dep.out): Likewise.
20414         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20415         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20416         * iconv/Makefile (test-iconvconfig): Likewise.
20417         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20418         ($(objpfx)iconv-test.out): Likewise.
20419         ($(objpfx)tst-tables.out): Likewise.
20420         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20421         ($(objpfx)tst-gettext.out): Likewise.
20422         ($(objpfx)tst-translit.out): Likewise.
20423         ($(objpfx)tst-gettext2.out): Likewise.
20424         ($(objpfx)tst-gettext4.out): Likewise.
20425         ($(objpfx)tst-gettext6.out): Likewise.
20426         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20427         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20428         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20429         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20430         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20431         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20432         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20433         ($(objpfx)wordexp-tst.out): Likewise.
20434         ($(objpfx)annexc.out): Likewise.
20435         ($(objpfx)tst-fnmatch-mem): Likewise.
20436         ($(objpfx)bug-regex2-mem): Likewise.
20437         ($(objpfx)bug-regex14-mem): Likewise.
20438         ($(objpfx)bug-regex21-mem): Likewise.
20439         ($(objpfx)bug-regex31-mem): Likewise.
20440         ($(objpfx)tst-vfork3-mem): Likewise.
20441         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20442         ($(objpfx)tst-pcre-mem): Likewise.
20443         ($(objpfx)tst-boost-mem): Likewise.
20444         ($(objpfx)tst-getconf.out): Likewise.
20445         ($(objpfx)bug-ga2-mem): Likewise.
20446         ($(objpfx)bug-glob2-mem): Likewise.
20447         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20448         ($(objpfx)mtrace-tst-leaks2): Likewise.
20449         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20450         ($(objpfx)tst-printf.out): Likewise.
20451         ($(objpfx)tst-setvbuf1.out): Likewise.
20452         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20453         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20454         ($(objpfx)tst-fmtmsg.out): Likewise.
20455         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20456         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20458         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20459         * bits/sigaction.h [__USE_MISC]: Likewise.
20460         * bits/waitstatus.h: Update #endif comments.
20461         * ctype/ctype.h: Likewise.
20462         * dirent/dirent.h: Likewise.
20463         [__USE_MISC]: Remove redundant conditionals.
20464         * grp/grp.h: Update #endif comments.
20465         [__USE_GNU]: Remove redundant conditionals.
20466         [__USE_MISC]: Likewise.
20467         * inet/netinet/in.h [__USE_GNU]: Likewise.
20468         * io/sys/stat.h [__USE_MISC]: Likewise.
20469         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20470         * libio/bits/stdio.h: Update #endif comments.
20471         [__USE_MISC]: Remove redundant conditionals.
20472         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20473         * libio/stdio.h: Update #endif comments.
20474         [__USE_MISC]: Remove redundant conditionals.
20475         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20476         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20477         * math/math.h: Update #else and #endif comments.
20478         [__USE_MISC]: Remove redundant conditionals.
20479         * misc/sys/uio.h: Update #endif comments.
20480         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20481         * posix/glob.h [__USE_MISC]: Likewise.
20482         * posix/sys/types.h: Update #endif comments.
20483         [__USE_MISC]: Remove redundant conditionals.
20484         * posix/sys/wait.h: Update #endif comments.
20485         [__USE_MISC]: Remove redundant conditionals.
20486         * posix/unistd.h: Update #endif comments.
20487         [__USE_MISC]: Remove redundant conditionals.
20488         * pwd/pwd.h [__USE_GNU]: Likewise.
20489         [__USE_MISC]: Likewise.
20490         * resolv/netdb.h [__USE_GNU]: Likewise.
20491         * signal/signal.h: Update #endif comments.
20492         [__USE_MISC]: Remove redundant conditionals.
20493         * stdlib/stdlib.h: Update #else and #endif comments.
20494         [__USE_MISC]: Remove redundant conditionals.
20495         [__USE_GNU]: Likewise.
20496         * string/bits/string2.h [__USE_MISC]: Likewise.
20497         * string/string.h: Update #endif comments.
20498         [__USE_MISC]: Remove redundant conditionals.
20499         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20500         Likewise.
20501         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20502         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20503         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20504         Likewise.
20505         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20506         Likewise.
20507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20508         comments.
20509         [__USE_MISC]: Remove redundant conditionals.
20510         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20511         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20512         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20513         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20514         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20515         Likewise.
20516         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20517         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20518         Likewise.
20519         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20520         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20521         Likewise.
20522         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20523         Likewise.
20524         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20525         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20526         Likewise.
20527         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20528         Likewise.
20529         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20530         * sysdeps/x86/bits/string.h: Update #endif comments.
20531         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20532         conditionals.
20533         * time/sys/time.h: Update #endif comments.
20534         * time/time.h: Likewise.
20535         [__USE_MISC]: Remove redundant conditionals.
20537 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20539         [BZ #16600]
20540         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20542 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20544         * Versions.def (librt): Add GLIBC_2.17.
20546 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20548         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20549         synonym for _SYS_AUXV_H to allow direct inclusion.
20550         * sysdeps/sparc/bits/hwcap.h: Likewise.
20551         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20552         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20553         * sysdeps/sparc/sysdep.h: Likewise.
20555 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20557         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20559 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20561         * benchtests/bench-strrchr.c: Print length instead of position.
20563 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
20565         [BZ #16611]
20566         * sysdeps/unix/sysv/linux/kernel-features.h
20567         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20568         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20569         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20570         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20571         Likewise.
20572         [__i386__ || __powerpc__ || __sh__ || __sparc__]
20573         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20574         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20575         (__ASSUME_SENDMMSG): Define instead of using previous
20576         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20578         (__ASSUME_SENDMMSG_SYSCALL): Define.
20579         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20580         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20581         Likewise.
20582         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20583         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20584         Likewise.
20585         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20586         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20587         Likewise.
20588         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20589         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20590         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20591         [__ASSUME_SENDMMSG]: Change conditionals to
20592         [__ASSUME_SENDMMSG_SOCKETCALL].
20593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20594         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20595         Define.
20596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20597         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20598         Likewise.
20599         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20600         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20601         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20602         [!__ASSUME_SENDMMSG]: Change conditional to
20603         [!__ASSUME_SENDMMSG_SOCKETCALL].
20604         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20605         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20606         Define.
20608         [BZ #16610]
20609         * sysdeps/unix/sysv/linux/kernel-features.h
20610         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20611         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20612         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20613         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20614         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20615         [__i386__ || __sparc__]
20616         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20617         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20618         (__ASSUME_RECVMMSG): Define instead of using previous
20619         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20620         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20621         (__ASSUME_RECVMMSG_SYSCALL): Define.
20622         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20623         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20624         Likewise.
20625         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20626         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20627         Likewise.
20628         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20630         Likewise.
20631         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20632         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20633         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20634         [__ASSUME_RECVMMSG]: Change condition to
20635         [__ASSUME_RECVMMSG_SOCKETCALL].
20636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20637         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20638         Define.
20639         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20640         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20642         Likewise.
20643         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20644         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20645         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20646         [!__ASSUME_RECVMMSG]: Change condition to
20647         [!__ASSUME_RECVMMSG_SOCKETCALL].
20648         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20649         (__ASSUME_RECVMMSG_SYSCALL): Define.
20651         [BZ #16609]
20652         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20653         __powerpc__ || __s390__ || __sh__ || __sparc__]
20654         (__ASSUME_SOCKETCALL): Define.
20655         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20656         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20657         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20658         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20659         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20660         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20661         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20662         (__ASSUME_ACCEPT4): Define instead of using previous
20663         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20664         __powerpc__ || __sparc__ || __s390__)] condition.
20665         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20666         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20667         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20668         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20669         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20670         [!__ASSUME_ACCEPT4]: Change condition to
20671         [!__ASSUME_ACCEPT4_SOCKETCALL].
20672         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20673         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
20674         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20675         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20676         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20677         __ASSUME_ACCEPT4_SYSCALL.
20678         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20679         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20680         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20681         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20682         __ASSUME_ACCEPT4_SYSCALL.
20683         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20684         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20685         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20686         [__ASSUME_ACCEPT4]: Change condition to
20687         [__ASSUME_ACCEPT4_SOCKETCALL].
20688         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20689         (__ASSUME_SOCKETCALL): Define.
20690         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20691         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20692         (__ASSUME_SOCKETCALL): Define.
20693         (__ASSUME_ACCEPT4): Remove.
20694         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20695         Define.
20696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20697         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20698         Likewise.
20699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20700         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20702         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20703         macro.
20704         (HWCAP_ARM_LPAE): Likewise.
20705         (HWCAP_ARM_EVTSTRM): Likewise.
20706         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20707         Add vpfd32, lpae and evtstrm.
20708         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20709         Increase to 22.
20711 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
20713         * math/auto-libm-test-in: Add tests of clog10.
20714         * math/auto-libm-test-out: Regenerated.
20715         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20716         * sysdeps/i386/fpu/libm-test-ulps: Update.
20717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20719 2014-02-18  Andreas Schwab  <schwab@suse.de>
20721         [BZ #16574]
20722         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20723         Store non-zero if the second buffer was newly allocated.
20724         (send_dg): Likewise.
20725         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20726         to send_vc and send_dg.
20727         (res_nsend): Pass NULL for ansp2_malloced.
20728         * resolv/res_query.c (__libc_res_nquery): Add parameter
20729         answerp2_malloced and pass it down to __libc_res_nsend.
20730         (res_nquery): Pass additional NULL to __libc_res_nquery.
20731         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20732         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
20733         second answer buffer if answerp2_malloced was set.
20734         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20735         (__libc_res_nquerydomain): Add parameter
20736         answerp2_malloced and pass it down to __libc_res_nquery.
20737         (res_nquerydomain): Pass additional NULL to
20738         __libc_res_nquerydomain.
20739         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20740         additional NULL to __libc_res_nsend and __libc_res_nquery.
20741         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20742         additional NULL to __libc_res_nsearch.
20743         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
20744         parameter of __libc_res_nsearch to check for separately allocated
20745         second buffer.
20746         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20747         __libc_res_nquery.
20748         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20749         additional NULL to __libc_res_nquery.
20750         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20751         __libc_res_nsearch.
20752         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20753         * include/resolv.h: Update prototypes of __libc_res_nquery,
20754         __libc_res_nsearch, __libc_res_nsend.
20756 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
20758         * math/auto-libm-test-in: Add tests of fma.
20759         * math/auto-libm-test-out: Regenerated.
20760         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20761         (fma_towardzero_test_data): Likewise.
20762         (fma_downward_test_data): Likewise.
20763         (fma_upward_test_data): Likewise.
20764         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20765         mpc_mode.
20766         (rounding_modes): Add values for new field.
20767         (func_calc_method): Add value mpfr_fff_f.
20768         (func_calc_desc): Add mpfr_fff_f union field.
20769         (test_function): Add field exact_args.
20770         (FUNC): Add macro argument EXACT_ARGS.
20771         (FUNC_mpfr_f_f): Update call to FUNC.
20772         (FUNC_mpfr_f_f): Likewise.
20773         (FUNC_mpfr_ff_f): Likewise.
20774         (FUNC_mpfr_if_f): Likewise.
20775         (FUNC_mpc_c_f): Likewise.
20776         (FUNC_mpc_c_c): Likewise.
20777         (test_functions): Add fma.  Update calls to FUNC.
20778         (handle_input_arg): Add argument exact_args.
20779         (add_test): Update call to handle_input_arg.
20780         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20781         (output_for_one_input_case): Update call to calc_generic_results.
20782         Recalculate exact zero results in each rounding mode.
20784         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20785         non-negative before setting low bit.
20786         * math/auto-libm-test-in: Mark one asin test possibly having
20787         spurious underflow.
20788         * math/auto-libm-test-out: Regenerated.
20789         * sysdeps/i386/fpu/libm-test-ulps: Update.
20790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20794         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20795         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20796         ports/sysdeps/unix/sysv/linux/microblaze.
20797         * README: Add missing listing for microblaze*-*-linux-gnu.
20799 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20802         duplicate code
20804 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20806         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20807         * sysdeps/unix/sysv/linux/ia64: Move directory from
20808         ports/sysdeps/unix/sysv/linux/ia64.
20809         * README: Update listing for ia64-*-linux-gnu.
20811 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20812             Joseph Myers  <joseph@codesourcery.com>
20814         * Makeconfig (test-name): New variable.
20815         (evaluate-test): Likewise.
20816         * Makerules (do-test-clean): Remove .test-result files.
20817         (common-mostlyclean): Likewise.
20818         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20819         * scripts/evaluate-test.sh: New file.
20821 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20823         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20824         separate $(objpfx)tst-fopenloc-cmp.out and
20825         $(objpfx)tst-fopenloc-mem.out targets.
20826         (tests): Update dependencies.
20827         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20828         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20829         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20830         (tst-rxspencer-no-utf8-ARGS): New variable.
20831         (tst-rxspencer-no-utf8-ENV): Likewise.
20832         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20833         instead of $(objpfx)tst-rxspencer-mem.
20834         ($(objpfx)tst-rxspencer-mem): Change target to
20835         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20836         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20837         * posix/tst-rxspencer-no-utf8.c: New file.
20839         * elf/Makefile ($(objpfx)order.out): Remove rule.
20840         [$(run-built-tests) = yes] (tests): Depend on
20841         $(objpfx)order-cmp.out.
20842         ($(objpfx)order-cmp.out): New rule.
20843         [$(run-built-tests) = yes] (tests): Depend on
20844         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20845         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20846         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20847         $(objpfx)tst-array5-static-cmp.out.
20848         ($(objpfx)tst-array1.out): Remove rule.
20849         ($(objpfx)tst-array1-cmp.out): New rule.
20850         ($(objpfx)tst-array1-static.out): Remove rule.
20851         ($(objpfx)tst-array1-static-cmp.out): New rule.
20852         ($(objpfx)tst-array2.out): Remove rule.
20853         ($(objpfx)tst-array2-cmp.out): New rule.
20854         ($(objpfx)tst-array3.out): Remove rule.
20855         ($(objpfx)tst-array3-cmp.out): New rule.
20856         ($(objpfx)tst-array4.out): Remove rule.
20857         ($(objpfx)tst-array4-cmp.out): New rule.
20858         ($(objpfx)tst-array5.out): Remove rule.
20859         ($(objpfx)tst-array5-cmp.out): New rule.
20860         ($(objpfx)tst-array5-static.out): Remove rule.
20861         ($(objpfx)tst-array5-static-cmp.out): New rule.
20862         [$(run-built-tests) = yes] (tests): Depend on
20863         $(objpfx)order2-cmp.out.
20864         ($(objpfx)order2.out): Remove rule.
20865         ($(objpfx)order2-cmp.out): New rule.
20866         ($(objpfx)tst-initorder.out): Remove rule.
20867         [$(run-built-tests) = yes] (tests): Depend on
20868         $(objpfx)tst-initorder-cmp.out.
20869         ($(objpfx)tst-initorder-cmp.out): New rule.
20870         ($(objpfx)tst-initorder2.out): Remove rule.
20871         [$(run-built-tests) = yes] (tests): Depend on
20872         $(objpfx)tst-initorder2-cmp.out.
20873         ($(objpfx)tst-initorder2-cmp.out): New rule.
20874         [$(run-built-tests) = yes] (tests): Depend on
20875         $(objpfx)tst-unused-dep-cmp.out.
20876         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20877         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20878         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20879         on $(objpfx)tst-setvbuf1-cmp.out.
20880         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20881         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20882         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20883         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20884         ($(objpfx)tst-svc.out): Remove rule.
20885         ($(objpfx)tst-svc-cmp.out): New rule.
20887 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20889         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20890         * ctype/ctype.h [__USE_MISC]: Likewise.
20891         * dirent/dirent.h [__USE_MISC]: Likewise.
20892         * grp/grp.h [__USE_MISC]: Likewise.
20893         * io/fcntl.h [__USE_MISC]: Likewise.
20894         * io/sys/stat.h [__USE_MISC]: Likewise.
20895         * libio/stdio.h [__USE_MISC]: Likewise.
20896         * posix/unistd.h [__USE_MISC]: Likewise.
20897         * pwd/pwd.h [__USE_MISC]: Likewise.
20898         * stdlib.h [__USE_MISC]: Likewise.
20899         * string/bits/string2.h [__USE_MISC]: Likewise.
20900         * string/string.h [__USE_MISC]: Likewise.
20901         * time/time.h [__USE_MISC]: Likewise.
20903 2014-02-13  Andreas Schwab  <schwab@suse.de>
20905         [BZ #16574]
20906         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20907         second answer buffer if it was separately allocated.
20909 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20911         * sysdeps/mips/math-tests.h: Include <features.h>.
20912         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20913         (ROUNDING_TESTS_long_double): Do not define.
20914         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20915         (EXCEPTION_TESTS_long_double): Likewise.
20916         * sysdeps/mips/mips64/libm-test-ulps: Update.
20918         * include/features.h (__USE_BSD): Remove macro definitions.
20919         (__USE_SVID): Likewise.
20920         (_BSD_SOURCE): Likewise.
20921         (_SVID_SOURCE): Likewise.
20922         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20923         from definition of _DEFAULT_SOURCE.
20924         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20925         [_DEFAULT_SOURCE].
20926         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20927         * bits/mman.h [__USE_BSD]: Likewise.
20928         * bits/termios.h [__USE_BSD]: Likewise.
20929         * bits/waitstatus.h [__USE_BSD]: Likewise.
20930         * ctype/ctype.h [__USE_SVID]: Likewise.
20931         * dirent/dirent.h [__USE_BSD]: Likewise.
20932         * grp/grp.h [__USE_SVID]: Likewise.
20933         [__USE_BSD]: Likewise.
20934         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20935         * io/fcntl.h [__USE_BSD]: Likewise.
20936         * io/ftw.h [__USE_BSD]: Likewise.
20937         * io/sys/stat.h [__USE_BSD]: Likewise.
20938         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20939         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20940         * libio/stdio.h [__USE_SVID]: Likewise.
20941         [__USE_BSD]: Likewise.
20942         * math/math.h [__USE_SVID]: Likewise.
20943         [__USE_BSD]: Likewise.
20944         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20945         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20946         * misc/search.h [__USE_SVID]: Likewise.
20947         * misc/sys/mman.h [__USE_BSD]: Likewise.
20948         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20949         * misc/sys/uio.h [__USE_BSD]: Likewise.
20950         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20951         * posix/glob.h [__USE_BSD]: Likewise.
20952         * posix/regex.h [__USE_BSD]: Likewise.
20953         * posix/sys/types.h [__USE_BSD]: Likewise.
20954         [__USE_SVID]: Likewise.
20955         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20956         * posix/sys/wait.h [__USE_BSD]: Likewise.
20957         [__USE_SVID]: Likewise.
20958         * posix/unistd.h [__USE_BSD]: Likewise.
20959         [__USE_SVID]: Likewise.
20960         * pwd/pwd.h [__USE_SVID]: Likewise.
20961         * resolv/netdb.h [__USE_BSD]: Likewise.
20962         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20963         * signal/signal.h [__USE_BSD]: Likewise.
20964         [__USE_SVID]: Likewise.
20965         * socket/sys/socket.h [__USE_BSD]: Likewise.
20966         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20967         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20968         [__USE_SVID]: Likewise.
20969         * string/bits/string2.h [__USE_BSD]: Likewise.
20970         [__USE_SVID]: Likewise.
20971         * string/bits/string3.h [__USE_BSD]: Likewise.
20972         * string/endian.h [__USE_BSD]: Likewise.
20973         * string/string.h [__USE_SVID]: Likewise.
20974         [__USE_BSD]: Likewise.
20975         * string/strings.h [__USE_BSD]: Likewise.
20976         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20977         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20978         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20979         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20980         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20981         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20982         Likewise.
20983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20984         Likewise.
20985         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20986         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20987         Likewise.
20988         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20989         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20990         Likewise.
20991         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20992         Likewise.
20993         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20994         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20995         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20996         Likewise.
20997         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20998         Likewise.
20999         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21000         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21001         * termios/termios.h [__USE_BSD]: Likewise.
21002         * time/sys/time.h [__USE_BSD]: Likewise.
21003         * time/time.h [__USE_BSD]: Likewise.
21004         [__USE_SVID]: Likewise.
21006         * Makefile (subdir_targets): Remove subdir_lint.out.
21008         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21009         (do-tst-printf): Likewise.
21010         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21011         $(objpfx)tst-printf.out.
21013         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21015         * Makerules (check-abi-%): Change target to
21016         $(objpfx)check-abi-%.out.
21017         (check-abi target): Update dependencies.
21018         (check-abi-pattern variable): Redirect output of diff to $@.
21019         (check-abi variable): Likewise.
21020         * elf/Makefile (check-abi): Update dependencies.
21022         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21023         unused.
21024         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21025         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21026         subnormal range.
21027         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21028         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21029         value has largest subnormal exponent.
21030         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21031         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21032         * sysdeps/aarch64/soft-fp/sfp-machine.h
21033         (_FP_TININESS_AFTER_ROUNDING): New macro.
21034         * sysdeps/alpha/soft-fp/sfp-machine.h
21035         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21036         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21037         Likewise.
21038         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21039         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21040         * sysdeps/mips/soft-fp/sfp-machine.h
21041         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21042         * sysdeps/powerpc/soft-fp/sfp-machine.h
21043         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21044         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21045         Likewise.
21046         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21047         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21048         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21049         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21050         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21051         Likewise.
21053 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21055         [BZ #16545]
21056         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21057         model 1.
21059 2014-02-12  Richard Henderson  <rth@redhat.com>
21061         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21062         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21063         * sysdeps/unix/sysv/linux/alpha: Move directory from
21064         ports/sysdeps/unix/sysv/linux/alpha.
21065         * README: Update listing for alpha-*-linux-gnu.
21067 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21069         * include/features.h: Update comment documenting feature test
21070         macros.
21071         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21072         _DEFAULT_SOURCE.
21073         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21074         (_SVID_SOURCE): Likewise.
21075         (_DEFAULT_SOURCE): Update description of default features.
21076         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21077         with _GNU_SOURCE.
21078         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21079         (S_ISVTX): Likewise.
21080         * manual/math.texi (Mathematical Constants): Likewise.
21081         * manual/signal.texi (Interrupted Primitives): Likewise.
21082         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21083         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21084         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21085         Don't refer to _SVID_SOURCE in warning text.
21087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21089         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21090         already defined.
21091         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21092         * sysdeps/mips/dl-lookup.c: Remove.
21093         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21095 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21097         [BZ #16447]
21098         * math/auto-libm-test-in: Add testcase for expl.
21099         * math/auto-libm-test-out: Regenerate.
21100         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21101         calculation of unsafe.
21102         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21104 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21106         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21107         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21108         ports/sysdeps/unix/sysv/linux/aarch64.
21109         * README: Update listing for aarch64*-*-linux-gnu.
21111 2014-02-11  Will Newton  <will.newton@linaro.org>
21113         * manual/probes.texi (Mathematical Function Probes): Use
21114         "triggered" instead of "hit".
21116         * manual/probes.texi (Internal Probes): Add documentation
21117         of setjmp, longjmp and longjmp_target probes.
21119         * include/stap-probe.h: Add comment about probe argument
21120         format.
21122         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21123         definition.  (tr_where, tr_freehook, tr_mallochook,
21124         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21126 2014-02-11  David S. Miller  <davem@davemloft.net>
21128         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21129         processing int_tests.
21131 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21133         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21134         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21135         * sysdeps/unix/sysv/linux/mips: Move directory from
21136         ports/sysdeps/unix/sysv/linux/mips.
21137         * README: Update listing for mips-*-linux-gnu and
21138         mips64-*-linux-gnu.
21140 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21142         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21143         * sysdeps/unix/sysv/linux/m68k: Move directory from
21144         ports/sysdeps/unix/sysv/linux/m68k.
21145         * README: Update listing for m68k-*-linux-gnu.
21147 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21149         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21150         * sysdeps/unix/sysv/linux/generic: Move directory from
21151         ports/sysdeps/unix/sysv/linux/generic.
21152         * sysdeps/unix/sysv/linux/tile: Move directory from
21153         ports/sysdeps/unix/sysv/linux/tile.
21154         * README: Update listing for tile*-*-linux-gnu.
21156 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21158         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21159         __builtin_expect.
21160         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21161         * catgets/open_catalog.c (__open_catalog): Likewise.
21162         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21163         * debug/confstr_chk.c: Likewise.
21164         * debug/fread_chk.c (__fread_chk): Likewise.
21165         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21166         * debug/getgroups_chk.c: Likewise.
21167         * debug/mbsnrtowcs_chk.c: Likewise.
21168         * debug/mbsrtowcs_chk.c: Likewise.
21169         * debug/mbstowcs_chk.c: Likewise.
21170         * debug/memcpy_chk.c: Likewise.
21171         * debug/memmove_chk.c: Likewise.
21172         * debug/mempcpy_chk.c: Likewise.
21173         * debug/memset_chk.c: Likewise.
21174         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21175         * debug/strcat_chk.c (__strcat_chk): Likewise.
21176         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21177         * debug/strncat_chk.c (__strncat_chk): Likewise.
21178         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21179         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21180         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21181         * debug/wcpncpy_chk.c: Likewise.
21182         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21183         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21184         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21185         * debug/wcsncpy_chk.c: Likewise.
21186         * debug/wcsnrtombs_chk.c: Likewise.
21187         * debug/wcsrtombs_chk.c: Likewise.
21188         * debug/wcstombs_chk.c: Likewise.
21189         * debug/wmemcpy_chk.c: Likewise.
21190         * debug/wmemmove_chk.c: Likewise.
21191         * debug/wmempcpy_chk.c: Likewise.
21192         * debug/wmemset_chk.c: Likewise.
21193         * dirent/scandirat.c (SCANDIRAT): Likewise.
21194         * dlfcn/dladdr1.c (dladdr1): Likewise.
21195         * dlfcn/dladdr.c (dladdr): Likewise.
21196         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21197         * dlfcn/dlerror.c (__dlerror): Likewise.
21198         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21199         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21200         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21201         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21202         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21203         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21204         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21205         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21206         Likewise.
21207         * elf/dl-conflict.c: Likewise.
21208         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21209         * elf/dl-dst.h: Likewise.
21210         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21211         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21212         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21213         * elf/dl-init.c (call_init, _dl_init): Likewise.
21214         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21215         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21216         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21217         Likewise.
21218         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21219         Likewise.
21220         * elf/dl-minimal.c (__libc_memalign): Likewise.
21221         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21222         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21223         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21224         * elf/dl-sym.c (do_sym): Likewise.
21225         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21226         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21227         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21228         * elf/dl-writev.h (_dl_writev): Likewise.
21229         * elf/ldconfig.c (search_dir): Likewise.
21230         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21231         (dl_main): Likewise.
21232         * elf/setup-vdso.h (setup_vdso): Likewise.
21233         * grp/compat-initgroups.c (compat_call): Likewise.
21234         * grp/fgetgrent.c (fgetgrent): Likewise.
21235         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21236         * grp/putgrent.c (putgrent): Likewise.
21237         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21238         Likewise.
21239         * hurd/hurdinit.c: Likewise.
21240         * iconvdata/8bit-gap.c (struct): Likewise.
21241         * iconvdata/ansi_x3.110.c : Likewise.
21242         * iconvdata/big5.c : Likewise.
21243         * iconvdata/big5hkscs.c : Likewise.
21244         * iconvdata/cp1255.c: Likewise.
21245         * iconvdata/cp1258.c : Likewise.
21246         * iconvdata/cp932.c : Likewise.
21247         * iconvdata/euc-cn.c: Likewise.
21248         * iconvdata/euc-jisx0213.c : Likewise.
21249         * iconvdata/euc-jp.c: Likewise.
21250         * iconvdata/euc-jp-ms.c : Likewise.
21251         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21252         * iconvdata/gb18030.c : Likewise.
21253         * iconvdata/gbbig5.c (const): Likewise.
21254         * iconvdata/gbgbk.c: Likewise.
21255         * iconvdata/gbk.c : Likewise.
21256         * iconvdata/ibm1364.c : Likewise.
21257         * iconvdata/ibm930.c : Likewise.
21258         * iconvdata/ibm932.c: Likewise.
21259         * iconvdata/ibm933.c : Likewise.
21260         * iconvdata/ibm935.c : Likewise.
21261         * iconvdata/ibm937.c : Likewise.
21262         * iconvdata/ibm939.c : Likewise.
21263         * iconvdata/ibm943.c: Likewise.
21264         * iconvdata/iso_11548-1.c: Likewise.
21265         * iconvdata/iso-2022-cn.c : Likewise.
21266         * iconvdata/iso-2022-cn-ext.c : Likewise.
21267         * iconvdata/iso-2022-jp-3.c: Likewise.
21268         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21269         * iconvdata/iso-2022-kr.c : Likewise.
21270         * iconvdata/iso646.c (gconv_end): Likewise.
21271         * iconvdata/iso_6937-2.c : Likewise.
21272         * iconvdata/iso_6937.c : Likewise.
21273         * iconvdata/iso8859-1.c: Likewise.
21274         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21275         * iconvdata/shift_jisx0213.c : Likewise.
21276         * iconvdata/sjis.c : Likewise.
21277         * iconvdata/t.61.c : Likewise.
21278         * iconvdata/tcvn5712-1.c : Likewise.
21279         * iconvdata/tscii.c: Likewise.
21280         * iconvdata/uhc.c : Likewise.
21281         * iconvdata/unicode.c (gconv_end): Likewise.
21282         * iconvdata/utf-16.c (gconv_end): Likewise.
21283         * iconvdata/utf-32.c (gconv_end): Likewise.
21284         * iconvdata/utf-7.c (base64): Likewise.
21285         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21286         * iconv/gconv_close.c (__gconv_close): Likewise.
21287         * iconv/gconv_open.c (__gconv_open): Likewise.
21288         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21289         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21290         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21291         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21292         (ucs4le_internal_loop_single): Likewise.
21293         * iconv/iconv.c (iconv): Likewise.
21294         * iconv/iconv_close.c: Likewise.
21295         * iconv/loop.c (SINGLE): Likewise.
21296         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21297         * include/atomic.h: Likewise.
21298         * inet/inet6_option.c (option_alloc): Likewise.
21299         * intl/bindtextdom.c (set_binding_values): Likewise.
21300         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21301         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21302         * intl/localealias.c (read_alias_file): Likewise.
21303         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21304         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21305         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21306         * libio/fmemopen.c (fmemopen): Likewise.
21307         * libio/iofgets.c (_IO_fgets): Likewise.
21308         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21309         * libio/iofgetws.c (fgetws): Likewise.
21310         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21311         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21312         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21313         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21314         * locale/findlocale.c (_nl_find_locale): Likewise.
21315         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21316         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21317         Likewise.
21318         * locale/setlocale.c (setlocale): Likewise.
21319         * login/programs/pt_chown.c (main): Likewise.
21320         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21321         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21322         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21323         (mmap, mmap64, mremap, munmap): Likewise.
21324         * math/e_exp2l.c: Likewise.
21325         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21326         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21327         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21328         * math/s_catan.c (__catan): Likewise.
21329         * math/s_catanf.c (__catanf): Likewise.
21330         * math/s_catanh.c (__catanh): Likewise.
21331         * math/s_catanhf.c (__catanhf): Likewise.
21332         * math/s_catanhl.c (__catanhl): Likewise.
21333         * math/s_catanl.c (__catanl): Likewise.
21334         * math/s_ccosh.c (__ccosh): Likewise.
21335         * math/s_ccoshf.c (__ccoshf): Likewise.
21336         * math/s_ccoshl.c (__ccoshl): Likewise.
21337         * math/s_cexp.c (__cexp): Likewise.
21338         * math/s_cexpf.c (__cexpf): Likewise.
21339         * math/s_cexpl.c (__cexpl): Likewise.
21340         * math/s_clog10.c (__clog10): Likewise.
21341         * math/s_clog10f.c (__clog10f): Likewise.
21342         * math/s_clog10l.c (__clog10l): Likewise.
21343         * math/s_clog.c (__clog): Likewise.
21344         * math/s_clogf.c (__clogf): Likewise.
21345         * math/s_clogl.c (__clogl): Likewise.
21346         * math/s_csin.c (__csin): Likewise.
21347         * math/s_csinf.c (__csinf): Likewise.
21348         * math/s_csinh.c (__csinh): Likewise.
21349         * math/s_csinhf.c (__csinhf): Likewise.
21350         * math/s_csinhl.c (__csinhl): Likewise.
21351         * math/s_csinl.c (__csinl): Likewise.
21352         * math/s_csqrt.c (__csqrt): Likewise.
21353         * math/s_csqrtf.c (__csqrtf): Likewise.
21354         * math/s_csqrtl.c (__csqrtl): Likewise.
21355         * math/s_ctan.c (__ctan): Likewise.
21356         * math/s_ctanf.c (__ctanf): Likewise.
21357         * math/s_ctanh.c (__ctanh): Likewise.
21358         * math/s_ctanhf.c (__ctanhf): Likewise.
21359         * math/s_ctanhl.c (__ctanhl): Likewise.
21360         * math/s_ctanl.c (__ctanl): Likewise.
21361         * math/w_pow.c: Likewise.
21362         * math/w_powf.c: Likewise.
21363         * math/w_powl.c: Likewise.
21364         * math/w_scalb.c (sysv_scalb): Likewise.
21365         * math/w_scalbf.c (sysv_scalbf): Likewise.
21366         * math/w_scalbl.c (sysv_scalbl): Likewise.
21367         * misc/error.c (error_tail): Likewise.
21368         * misc/pselect.c (__pselect): Likewise.
21369         * nis/nis_callback.c (__nis_create_callback): Likewise.
21370         * nis/nis_call.c (__nisfind_server): Likewise.
21371         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21372         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21373         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21374         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21375         * nis/nis_lookup.c (nis_lookup): Likewise.
21376         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21377         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21378         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21379         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21380         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21381         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21382         * nis/nss_compat/compat-initgroups.c (add_group)
21383         (internal_getgrent_r): Likewise.
21384         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21385         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21386         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21387         (internal_getspnam_r): Likewise.
21388         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21389         (_nss_nis_getaliasbyname_r): Likewise.
21390         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21391         (_nss_nis_getntohost_r): Likewise.
21392         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21393         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21394         (_nss_nis_getgrgid_r): Likewise.
21395         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21396         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21397         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21398         (_nss_nis_gethostbyname4_r): Likewise.
21399         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21400         (initgroups_netid): Likewise.
21401         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21402         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21403         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21404         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21405         (_nss_nis_getprotobynumber_r): Likewise.
21406         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21407         (_nss_nis_getsecretkey): Likewise.
21408         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21409         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21410         (_nss_nis_getpwuid_r): Likewise.
21411         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21412         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21413         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21414         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21415         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21416         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21417         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21418         Likewise.
21419         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21420         (_nss_nisplus_getntohost_r): Likewise.
21421         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21422         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21423         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21424         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21425         Likewise.
21426         * nis/nss_nisplus/nisplus-initgroups.c
21427         (_nss_nisplus_initgroups_dyn): Likewise.
21428         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21429         (_nss_nisplus_getnetbyaddr_r): Likewise.
21430         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21431         (_nss_nisplus_getprotobynumber_r): Likewise.
21432         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21433         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21434         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21435         Likewise.
21436         * nis/nss_nisplus/nisplus-service.c
21437         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21438         (_nss_nisplus_getservbyport_r): Likewise.
21439         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21440         (_nss_nisplus_getspnam_r): Likewise.
21441         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21442         Likewise.
21443         * nscd/aicache.c (addhstaiX): Likewise.
21444         * nscd/cache.c (cache_search, prune_cache): Likewise.
21445         * nscd/connections.c (register_traced_file, send_ro_fd)
21446         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21447         (main_loop_epoll): Likewise.
21448         * nscd/grpcache.c (addgrbyX): Likewise.
21449         * nscd/hstcache.c (addhstbyX): Likewise.
21450         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21451         * nscd/mem.c (gc, mempool_alloc): Likewise.
21452         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21453         (addinnetgrX): Likewise.
21454         * nscd/nscd-client.h (__nscd_acquire_maplock)
21455         (__nscd_drop_map_ref): Likewise.
21456         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21457         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21458         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21459         Likewise.
21460         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21461         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21462         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21463         (__nscd_get_map_ref): Likewise.
21464         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21465         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21466         Likewise.
21467         * nscd/pwdcache.c (addpwbyX): Likewise.
21468         * nscd/selinux.c (preserve_capabilities): Likewise.
21469         * nscd/servicescache.c (addservbyX): Likewise.
21470         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21471         * posix/fnmatch.c (fnmatch): Likewise.
21472         * posix/getopt.c (_getopt_internal_r): Likewise.
21473         * posix/glob.c (glob, glob_in_dir): Likewise.
21474         * posix/wordexp.c (exec_comm_child): Likewise.
21475         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21476         (getanswer_r, gaih_getanswer_slice): Likewise.
21477         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21478         * resolv/res_init.c: Likewise.
21479         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21480         * resolv/res_query.c (__libc_res_nquery): Likewise.
21481         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21482         Likewise.
21483         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21484         * stdio-common/perror.c (perror): Likewise.
21485         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21486         * stdio-common/tmpnam.c (tmpnam): Likewise.
21487         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21488         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21489         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21490         Likewise.
21491         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21492         * stdlib/putenv.c (putenv): Likewise.
21493         * stdlib/setenv.c (__add_to_environ): Likewise.
21494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21495         * stdlib/strtol_l.c (INTERNAL): Likewise.
21496         * string/memmem.c (memmem): Likewise.
21497         * string/strerror.c (strerror): Likewise.
21498         * string/strnlen.c (__strnlen): Likewise.
21499         * string/test-memmem.c (simple_memmem): Likewise.
21500         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21501         * sunrpc/pm_getport.c (__get_socket): Likewise.
21502         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21503         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21504         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21505         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21506         Likewise.
21507         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21508         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21509         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21510         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21511         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21512         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21513         Likewise.
21514         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21515         Likewise.
21516         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21517         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21518         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21519         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21520         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21522         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21523         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21524         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21525         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21526         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21527         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21528         Likewise.
21529         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21530         Likewise.
21531         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21532         Likewise.
21533         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21535         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21536         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21537         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21538         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21539         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21548         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21549         Likewise.
21550         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21551         Likewise.
21552         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21553         Likewise.
21554         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21555         Likewise.
21556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21558         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21559         Likewise.
21560         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21561         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21562         * sysdeps/posix/opendir.c (__opendirat): Likewise.
21563         * sysdeps/posix/sleep.c: Likewise.
21564         * sysdeps/posix/tempname.c: Likewise.
21565         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21566         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21567         Likewise.
21568         * sysdeps/powerpc/powerpc32/dl-machine.h
21569         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21570         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21572         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21573         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21574         Likewise.
21575         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21576         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21577         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21578         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21579         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21580         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21581         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21582         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21583         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21584         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21585         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21586         (elf_machine_lazy_rel): Likewise.
21587         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21589         (elf_machine_lazy_rel): Likewise.
21590         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21591         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21592         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21593         * sysdeps/unix/grantpt.c (grantpt): Likewise.
21594         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21595         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21596         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21598         Likewise.
21599         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21600         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21601         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21602         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21603         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21604         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21605         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21606         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21607         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21608         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21609         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21610         Likewise.
21611         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21612         (__posix_fallocate64_l64): Likewise.
21613         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21614         (posix_fallocate): Likewise.
21615         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21616         Likewise.
21617         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21618         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21619         (getifaddrs_internal): Likewise.
21620         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21621         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21622         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21623         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21624         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21625         (__posix_fallocate64_l64): Likewise.
21626         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21627         Likewise.
21628         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21629         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21630         (__get_clockfreq): Likewise.
21631         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21632         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21633         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21636         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21637         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21638         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21639         Likewise.
21640         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21641         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21642         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21643         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21644         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21645         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21646         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21647         Likewise.
21648         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21649         (posix_fallocate): Likewise.
21650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21651         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21652         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21653         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21654         (elf_machine_rela, elf_machine_rela_relative)
21655         (elf_machine_lazy_rel): Likewise.
21656         * time/asctime.c (asctime_internal): Likewise.
21657         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21658         * time/tzset.c (__tzset_parse_tz): Likewise.
21659         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21660         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21661         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21662         * wcsmbs/wcsmbsload.h: Likewise.
21664         [BZ #15894]
21665         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21667         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21668         (arena_get2): Remove THREAD_STATS conditionals.
21669         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21670         (__malloc_stats, int): Likewise.
21672 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
21674         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21675         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
21677         * manual/setjmp.texi: Fix typos/grammar errors.
21679         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21680         Only return early when n is <= 0.  Delete unused return statement.
21682         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21683         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21684         * debug/tst-longjmp_chk3.c: New file.
21686         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21687         (test_main): Replace code with set_fortify_handler call.
21688         * debug/test-strcpy_chk.c: Likewise.
21689         * debug/tst-chk1.c: Likewise.
21690         * debug/tst-longjmp_chk.c: Likewise.
21691         * test-skeleton.c: Include fcntl.h & paths.h
21692         (set_fortify_handler): Define.
21694         * debug/tst-longjmp_chk.c: Add header comment and include
21695         ../test-skeleton.c.
21696         (do_test): Mark static.
21697         (TEST_FUNCTION): Define.
21699         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21700         (IP_PMTUDISC_INTERFACE): Likewise.
21701         (IP_MULTICAST_IF): Likewise.
21702         (IP_MULTICAST_TTL): Likewise.
21703         (IP_MULTICAST_LOOP): Likewise.
21704         (IP_ADD_MEMBERSHIP): Likewise.
21705         (IP_DROP_MEMBERSHIP): Likewise.
21706         (IP_UNBLOCK_SOURCE): Likewise.
21707         (IP_BLOCK_SOURCE): Likewise.
21708         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21709         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21710         (IP_MSFILTER): Likewise.
21711         (MCAST_JOIN_GROUP): Likewise.
21712         (MCAST_BLOCK_SOURCE): Likewise.
21713         (MCAST_UNBLOCK_SOURCE): Likewise.
21714         (MCAST_LEAVE_GROUP): Likewise.
21715         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21716         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21717         (MCAST_MSFILTER): Likewise.
21718         (IP_MULTICAST_ALL): Likewise.
21719         (IP_UNICAST_IF): Likewise.
21721         * timezone/Makefile: Delete $(have-ksh) check.
21722         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21723         * timezone/tzselect.ksh: Add +x mode bits.
21725         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21726         (ANON_INODE_FS_MAGIC): Likewise.
21727         (BDEVFS_MAGIC): Likewise.
21728         (BINFMTFS_MAGIC): Likewise.
21729         (BTRFS_TEST_MAGIC): Likewise.
21730         (CRAMFS_MAGIC_WEND): Likewise.
21731         (DEBUGFS_MAGIC): Likewise.
21732         (ECRYPTFS_SUPER_MAGIC): Likewise.
21733         (EXT3_SUPER_MAGIC): Likewise.
21734         (EXT4_SUPER_MAGIC): Likewise.
21735         (FUTEXFS_SUPER_MAGIC): Likewise.
21736         (HOSTFS_SUPER_MAGIC): Likewise.
21737         (HUGETLBFS_MAGIC): Likewise.
21738         (MINIX3_SUPER_MAGIC): Likewise.
21739         (MTD_INODE_FS_MAGIC): Likewise.
21740         (NILFS_SUPER_MAGIC): Likewise.
21741         (OPENPROM_SUPER_MAGIC): Likewise.
21742         (PIPEFS_MAGIC): Likewise.
21743         (PSTOREFS_MAGIC): Likewise.
21744         (QNX6_SUPER_MAGIC): Likewise.
21745         (RAMFS_MAGIC): Likewise.
21746         (REISERFS_SUPER_MAGIC_STRING): Likewise.
21747         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21748         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21749         (SECURITYFS_MAGIC): Likewise.
21750         (SELINUX_MAGIC): Likewise.
21751         (SMACK_MAGIC): Likewise.
21752         (SOCKFS_MAGIC): Likewise.
21753         (SQUASHFS_MAGIC): Likewise.
21754         (STACK_END_MAGIC): Likewise.
21755         (TMPFS_MAGIC): Likewise.
21756         (USBDEVICE_SUPER_MAGIC): Likewise.
21757         (V9FS_MAGIC): Likewise.
21758         (XENFS_SUPER_MAGIC): Likewise.
21759         (CRAMFS_MAGIC): Fix typo in comment.
21760         (EXT2_SUPER_MAGIC): Update comment.
21761         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21763 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21765         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21766         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21767         * sysdeps/unix/sysv/linux/arm: Move directory from
21768         ports/sysdeps/unix/sysv/linux/arm.
21769         * README: Update listing for arm-*-linux-gnueabi.
21771         * README: Remove mention of am33.
21773 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21775         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21776         than the comma operator, to avoid "rhs of comma has no effect"
21777         compiler warnings.
21778         (__sigfillset, __sigandset, __sigorset): Likewise.
21779         * include/signal.h (__sigemptyset): Likewise.
21780         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21782 2014-02-07  Allan McRae  <allan@archlinux.org>
21784         * version.h (RELEASE): Set to "development".
21785         (VERSION): Set to "2.19.90"
21786         * NEWS: Add 2.20 section.
21788 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21790         [BZ #16529]
21791         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21793 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21795         * manual/contrib.texi: Update entry for Carlos O'Donell,
21796         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21798 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21800         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21802         * sysdeps/unix/sysv/linux/kernel-features.h
21803         [__LINUX_KERNEL_VERSION >= 0x020621]
21804         (__ASSUME_PROC_PID_TASK_COMM): Define.
21806 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21808         [BZ #16398]
21809         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21810         conversion when destination buffer does not have enough space.
21811         * libio/tst-ftell-partial-wide.c: New test case.
21812         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21814         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21815         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21816         Leonard and Allan McRae.
21818 2014-02-04  David S. Miller  <davem@davemloft.net>
21820         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21821         32-bit.
21823 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21826         New file
21827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21828         New file
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21830         New file.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21832         New file.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21834         New file.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21836         New file.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21838         New file.
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21840         New file.
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21842         New file.
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21844         New file.
21845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21846         New file.
21847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21848         New file.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21850         New file.
21852 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21854         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21855         * shlib-versions: Likewise.
21857 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21858             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21860         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21861         (abilist-pattern): New variable, set to %-le.abilist.
21863         * Makerules (abilist-pattern): New variable.
21864         (vpath): Use $(abilist-pattern) in place of %.abilist.
21865         (check-abi-% pattern rule): Likewise.
21866         (check-abi, update-abi): Likewise.
21868 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21872 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21874         * manual/startup.texi: Add next, previous, and top entries for
21875         the `Program Arguments' and `Environment Variables' nodes.
21877 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21879         * manual/macros.texi: Add comments before MTASC-safety macros.
21881         * manual/users.texi: Document MTASC-safety properties.
21883         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21884         (pthread_getspecific, pthread_setspecific): Format with
21885         @deftypefun, and add @safety note.
21886         * manual/signal.texi: Move comments that analyze the above
21887         functions to their home place.
21889 2014-02-03  Allan McRae  <allan@archlinux.org>
21891         * po/sl.po: Update Slovenian translation from translation project.
21893 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21895         * manual/time.texi (timegm): Add missing blank after @c.
21896         Reported by Joseph Myers <joseph@codesourcery.com>.
21898 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21900         * manual/check-safety.sh: New.
21901         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21903         * manual/terminal.texi: Document MTASC-safety properties.
21905         * manual/filesys.texi: Document MTASC-safety properties.
21907         * manual/errno.texi: Document MTASC-safety properties.
21909         * manual/intro.texi: Document safety identifiers and
21910         conditionals.
21912         * manual/string.texi (wcstok): Fix prototype.
21913         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21915         * manual/time.texi: Document MTASC-safety properties.
21917         * manual/string.texi: Document MTASC-safety properties.
21919         * manual/threads.texi: Document MTASC-safety properties.
21921         * manual/stdio.texi: Document MTASC-safety properties.
21923         * manual/syslog.texi: Document MTASC-safety properties.
21925         * manual/sysinfo.texi: Document MTASC-safety properties.
21927         * manual/startup.texi: Document MTASC-safety properties.
21929         * manual/socket.texi: Document MTASC-safety properties.
21931         * manual/signal.texi: Document MTASC-safety properties.
21933 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21935         * manual/setjmp.texi: Document MTASC-safety properties.
21937         * manual/search.texi: Document MTASC-safety properties.
21939         * manual/resource.texi: Document MTASC-safety properties.
21941         * manual/process.texi: Document MTASC-safety properties.
21943         * manual/platform.texi: Document MTASC-safety properties.
21945         * manual/pipe.texi: Document MTASC-safety properties.
21947         * manual/pattern.texi: Document MTASC-safety properties.
21949         * manual/message.texi: Document MTASC-safety properties.
21951         [BZ #12751]
21952         * manual/memory.texi: Document MTASC-safety properties.
21954         * manual/math.texi: Document MTASC-safety properties.
21956         * manual/locale.texi: Document MTASC-safety properties.
21958         * manual/llio.texi: Document MTASC-safety properties.
21960         * manual/libdl.texi: New.
21962         * manual/lang.texi: Document MTASC-safety properties.
21964         * manual/job.texi: Document MTASC-safety properties.
21966         * manual/getopt.texi: Document MTASC-safety properties.
21968         * manual/ctype.texi: Document MTASC-safety properties.
21970 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21972         [BZ #16046]
21973         * csu/libc-tls.c (static_map): Remove variable.
21974         (__libc_setup_tls): Use main executable's link map for TLS data.
21975         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21976         casing for LM_ID_BASE and GL(dl_nns).
21977         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21978         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21979         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21980         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21981         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21982         member.
21983         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21984         l_phnum members.
21986 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21988         * manual/debug.texi: Document MTASC-safety properties.
21990 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21992         [BZ #16510]
21993         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21994         of __x86_64__ when disabling x87 inline functions.
21996 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21998         * manual/charset.texi: Document MTASC-safety properties.
22000         * manual/crypt.texi: Document MTASC-safety properties.
22002         * manual/conf.texi: Document MTASC-safety properties.
22004         * manual/arith.texi: Document MTASC-safety properties.
22006         * manual/argp.texi: Document MTASC-safety properties.
22008         * manual/macros.texi: Introduce macros to document multi
22009         thread, asynchronous signal and asynchronous cancellation
22010         safety properties.
22011         * manual/intro.texi: Introduce the properties themselves.
22013 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22015         * sysdeps/sh/sh4/Makefile: New file.
22017 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22019         * math/gen-libm-test.pl ($srcdir): New variable.
22020         ($auto_input): Use it.
22022 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22024         [BZ #16506]
22025         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22026         access beyond array bounds when parsing netgroups file.
22028         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22029         the old buffer before realloc.
22031 2014-01-27  Allan McRae  <allan@archlinux.org>
22033         * po/fr.po: Update French translation from translation project.
22035 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22037         * sysdeps/sh/libm-test-ulps: Regenerate.
22039 2014-01-24  David S. Miller  <davem@davemloft.net>
22041         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22043 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22045         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22046         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22048 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22050         [BZ #16474]
22051         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22052         string pointers after reallocation.
22054 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22056         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22057         __SH4A__ instead of __SH_FPU_ANY__.
22059 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22061         * sysdeps/sh/fpu_control.h: New file.
22062         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22063         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22064         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22065         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22066         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22067         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22068         * sysdeps/sh/sys/ucontext.h: Remove.
22069         * sysdeps/sh/sys: Remove directory.
22071 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22073         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22074         s390/sys/ucontext.h.
22075         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22076         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22078 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22080         [BZ #15605]
22081         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22083 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22085         [BZ#16431]
22086         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22087         Adjust the vDSO correctly for internal calls.
22088         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22090 2014-01-20  Allan McRae  <allan@archlinux.org>
22092         * po/ca.po: Update Catalan translation from translation project.
22094 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22096         * sysdeps/s390/sotruss-lib.c: New file.
22098 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22100         [BZ#16430]
22101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22102         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22103         local calls issues by not having a PLT stub required for IFUNC calls.
22104         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22106 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22108         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22109         * math/test-fpucw-static.c: Likewise.
22111 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22113         [BZ #16453]
22114         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22116 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22118         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22119         implementation for powerpc.
22121 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22123         [BZ #14782]
22124         * sysdeps/posix/system.c (__libc_system): Do not enable
22125         asynchronous cancellation.
22127 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22129         [BZ #16427]
22130         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22131         handling only for numbers special also in the IEEE case.
22133 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22135         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22137 2014-01-11  Allan McRae  <allan@archlinux.org>
22139         * po/bg.po: Update Bulgarian translation from translation project.
22141         * po/de.po: Update German translation from translation project.
22143 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22145         * sysdeps/generic/gcc-compat.h: New file.
22147 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22149         * benchtests/asin-inputs: Correct slow inputs.
22150         * benchtests/acos-inputs: Likewise.
22152 2014-01-10  Allan McRae  <allan@archlinux.org>
22154         * po:sv.po: Update Swedish translation from translation project.
22156         * po/vi.po: Update Vietnamese translation from translation project.
22158         * po/eo.po: Update Esperanto translation from translation project.
22160         * po/cs.po: Update Czech translation from translation project.
22162         * po/nl.po: Update Dutch translation from translation project.
22164         * po/pl.po: Update Polish translation from translation project.
22166         * po/ru.po: Update Russian translation from translation project.
22168         * po/uk.po: Update Ukrainian translation from translation project.
22170 2014-01-08  Brooks Moses  <bmoses@google.com>
22172         * elf/dl-load.c: Fix comment typo.
22174 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22176         * po/header.pot: Rename to...
22177         * po/pot.header: ... this.
22178         * po/Makefile: Use pot.header.
22180 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22181             Maxim Kuvyrkov  <maxim@kugelworks.com>
22183         [BZ #16394]
22184         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22185         SRC and DEST against LEN.
22187 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22189         [BZ #16414]
22190         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22191         implementation.
22192         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22194 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22198 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22200         [BZ #16408]
22201         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22202         for large positive arguments.
22204 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22206         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22208         * math/auto-libm-test-in: Mark various tests with
22209         xfail-rounding:ldbl-128ibm.
22210         * math/auto-libm-test-out: Regenerated.
22212         [BZ #16407]
22213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22214         Increase overflow threshold.
22216 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22218         [BZ #14286]
22219         * stdio-common/vfprintf.c: Check for integer overflow.
22221 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22223         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22224         the first argument and return value of __tls_get_addr_internal.
22226 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22228         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22229         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22231 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22233         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22234         * sysdeps/s390/rtld-global-offsets.sym: New file.
22235         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22236         GLIBC_2.19 symbol.
22237         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22238         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22239         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22240         ... this.
22241         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22242         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22243         ... this.
22244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22245         Regenerate.
22246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22247         Regenerate.
22248         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22249         halfs of GPRs for high_gprs contexts.
22250         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22251         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22252         field.
22253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22254         uc_flags field.
22255         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22256         64 bit versions:
22257         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22258         for high GPRs (uc_high_gprs) and for future extensions
22259         (__reserved).
22260         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22261         for future extensions (__reserved).
22262         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22263         64 bit versions:
22264         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22265         SC_HIGHGPRS offset definition.
22266         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22267         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22269         * Versions.def: Add GLIBC_2.19 for libpthread.
22270         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22271         siglongjmp for libpthread with GLIBC_2.19 symver.
22272         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22273         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22274         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22275         * sysdeps/s390/__longjmp.c: New file.
22276         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22277         * sysdeps/s390/longjmp.c: New file.
22278         * sysdeps/s390/setjmp.S: New file.
22279         * sysdeps/s390/sigjmp.S: New file.
22280         * sysdeps/s390/v1-longjmp.c: New file.
22281         * sysdeps/s390/v1-setjmp.h: New file.
22282         * sysdeps/s390/v1-sigjmp.c: New file.
22283         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22284         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22285         GLIBC_2.19 version.
22286         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22287         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22288         versioned symbols for ____longjmp_chk.
22289         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22290         Likewise.
22291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22292         Regenerate.
22293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22294         Regenerate.
22295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22296         Regenerate.
22297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22298         Regenerate.
22299         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22300         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22301         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22302         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22303         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22304         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22305         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22306         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22307         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22308         * sysdeps/s390/rtld-__longjmp.c: New file.
22309         * sysdeps/s390/rtld-setjmp.S: New file.
22311 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22313         [BZ #16400]
22314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22315         Return -__logl (x) for small positive arguments without evaluating
22316         a polynomial.
22318 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22320         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22321         Rename to ...
22322         (__ptrace_peeksiginfo_args): ... this.
22323         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22324         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22327 2014-01-06  Allan McRae  <allan@archlinux.org>
22329         * inet/netinet/in.h: Fix typo in comment.
22331 2014-01-05  Andreas Jaeger  <aj@suse.de>
22333         * sysdeps/i386/fpu/libm-test-ulps: Update.
22335 2014-01-05  Allan McRae  <allan@archlinux.org>
22337         * po/libc.pot: Regenerated.
22339         * malloc/memusagestat.c: Fix gettext call formatting.
22341 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22343         * nscd/nscd.c: Improve usage() output.
22345 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22347         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22348         * sysdeps/unix/sysv/linux/configure: Regenerated.
22349         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22350         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22352 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22354         [BZ #16390]
22355         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22356         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22358 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22360         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22361         extra tokens at end of #undef directive.
22362         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22363         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22364         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22366 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22368         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22370         * math/auto-libm-test-in: Mark various tests with
22371         xfail-rounding:ldbl-128ibm.
22372         * math/auto-libm-test-out: Regenerated.
22374 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22376         [BZ #16386]
22377         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22378         numbers with subnormal high part when calculating exponent.
22380         [BZ #16385]
22381         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22382         fabs.
22384         [BZ #16384]
22385         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22386         M_LN2l.
22387         (__ieee754_acoshl): Use __log1pl not __log1p.
22389 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22391         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22392         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22393         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22394         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22395         (reused_arena, arena_get2): Convert to GNU style.
22396         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22397         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22398         (memalign_check, __malloc_set_state): Likewise.
22399         * malloc/mallocbug.c (main): Likewise.
22400         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22401         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22402         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22403         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22404         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22405         (__posix_memalign, malloc_info): Likewise.
22406         * malloc/malloc.h: Likewise.
22407         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22408         (mallochook, memalignhook, reallochook, mabort): Likewise.
22409         * malloc/mcheck.h: Likewise.
22410         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22411         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22412         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22413         * malloc/morecore.c (__default_morecore): Likewise.
22414         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22415         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22416         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22417         (print_and_abort): Likewise.
22418         * malloc/obstack.h: Likewise.
22419         * malloc/set-freeres.c (__libc_freeres): Likewise.
22420         * malloc/tst-mallocstate.c (main): Likewise.
22421         * malloc/tst-mtrace.c (main): Likewise.
22422         * malloc/tst-realloc.c (do_test): Likewise.
22424 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22426         [BZ #16366]
22427         * nscd/netgroupcache.c (do_notfound): New function.
22428         (addgetnetgrentX): Use it.
22430         [BZ # 16365]
22431         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22432         NSS_STATUS_NOTFOUND.
22434 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22436         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22439 2014-01-01  Allan McRae  <allan@archlinux.org>
22441         * scripts/update-copyrights: Update configure input file suffix.
22443         * NEWS: Update copyright year.
22444         * catgets/gencat.c: Likewise.
22445         * csu/version.c: Likewise.
22446         * debug/catchsegv.sh: Likewise.
22447         * debug/pcprofiledump.c: Likewise.
22448         * debug/xtrace.sh: Likewise.
22449         * elf/ldconfig.c: Likewise.
22450         * elf/ldd.bash.in: Likewise.
22451         * elf/pldd.c: Likewise.
22452         * elf/sotruss.ksh: Likewise.
22453         * elf/sprof.c: Likewise.
22454         * iconv/iconv_prog.c: Likewise.
22455         * iconv/iconvconfig.c: Likewise.
22456         * locale/programs/locale.c: Likewise.
22457         * locale/programs/localedef.c: Likewise.
22458         * login/programs/pt_chown.c: Likewise.
22459         * malloc/memusage.sh: Likewise.
22460         * malloc/memusagestat.c: Likewise.
22461         * malloc/mtrace.pl: Likewise.
22462         * manual/libc.texinfo: Likewise.
22463         * nscd/nscd.c: Likewise.
22464         * nss/getent.c: Likewise.
22465         * nss/makedb.c: Likewise.
22466         * posix/getconf.c: Likewise.
22467         * scripts/test-installation.pl: Likewise.
22469         * All files with FSF copyright notices: Update copyright dates
22470         using scripts/update-copyrights.
22471         * intl/plural.c: Regenerated.
22472         * locale/programs/charmap-kw.h: Likewise.
22473         * locale/programs/locfile-kw.h: Likewise.
22475 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22477         * sysdeps/unix/sysv/linux/configure: Regenerated.
22478         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22479         the linux/fanotify.h header.
22480         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22481         HAVE_LINUX_FANOTIFY_H is defined.
22483 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22485         * benchtests/cos-inputs: New inputs.
22486         * benchtests/sin-inputs: Likewise.
22488         * benchtests/atan-inputs: New inputs. Fix name of multiple
22489         precision fallback inputs.
22491         * benchtests/atanh-inputs: New inputs.
22492         * benchtests/tanh-inputs: Likewise.
22494         * benchtests/acosh-inputs: New inputs.
22495         * benchtests/asinh-inputs: Likewise.
22497         * benchtests/cosh-inputs: New inputs.
22498         * benchtests/sinh-inputs: Likewise.
22500         * benchtests/acos-inputs: Add more inputs.
22501         * benchtests/asin-inputs: Likewise.
22503 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22505         [BZ #16375]
22506         * manual/arith.texi: Fix spelling.
22507         * manual/charset.texi: Likewise.
22508         * manual/errno.texi: Likewise.
22509         * manual/filesys.texi: Likewise.
22510         * manual/lang.texi: Likewise.
22511         * manual/llio.texi: Likewise.
22512         * manual/locale.texi: Likewise.
22513         * manual/message.texi: Likewise.
22514         * manual/resource.texi: Likewise.
22515         * manual/search.texi: Likewise.
22516         * manual/setjmp.texi: Likewise.
22517         * manual/stdio.texi: Likewise.
22518         * manual/string.texi: Likewise.
22519         * manual/sysinfo.texi: Likewise.
22520         * manual/time.texi: Likewise.
22522 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22524         * po/sl.po: New file.
22526 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22528         * .gitignore: Add core/.gdbinit/.gdb_history.
22530 2013-12-27  Allan McRae  <allan@archlinux.org>
22532         [BZ #16369]
22533         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22534         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22536 2013-12-24  Brooks Moses  <bmoses@google.com>
22538         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22539         all compilers that claim C++98 compliance, not just GCC.
22540         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22541         Likewise.
22543 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22545         * NEWS: Restore accidentally deleted bug-fix entries.
22547 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22548             Ondřej Bílka  <neleai@seznam.cz>
22550         [BZ #15073]
22551         * malloc/malloc.c (_int_free): Perform sanity check only if we
22552         have_lock.
22554 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
22556         [BZ #12986]
22557         * manual/stdio.texi (String Input Conversions): Clarify that character
22558         classes are not supported.
22560 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22564 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
22566         [BZ #16337]
22567         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22568         Calculate results for small negative arguments directly rather
22569         than using reflection formula with special underflow handling.
22571         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22572         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22573         sysdeps/unix/bsd/bsd4.4/syscalls.list.
22574         (fchflags): Likewise.
22575         (revoke): Likewise.
22576         (setlogin): Likewise.
22577         (sigaltstack): Likewise.
22578         (wait4): Likewise.
22579         (sigblock): Remove.
22580         (sigsetmask): Likewise.
22581         (wait3): Likewise.
22582         (waitpid): Likewise.
22583         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22584         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22585         file.
22586         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22587         * sysdeps/unix/bsd/Makefile: ... here.
22588         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22589         * sysdeps/unix/bsd/Versions: ... here.
22590         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22591         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22592         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22593         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22594         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22595         * sysdeps/unix/bsd/sigblock.c: ... here.
22596         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22597         * sysdeps/unix/bsd/sigsetmask.c: ... here.
22598         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22599         * sysdeps/unix/bsd/sigvec.c: ... here.
22600         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22601         * sysdeps/unix/bsd/tcdrain.c: ... here.
22602         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22603         * sysdeps/unix/bsd/tcgetattr.c: ... here.
22604         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22605         * sysdeps/unix/bsd/tcsetattr.c: ... here.
22606         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22607         * sysdeps/unix/bsd/wait.c: ... here.
22608         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22609         * sysdeps/unix/bsd/wait3.c: ... here.
22610         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22611         * sysdeps/unix/bsd/waitpid.c: ... here.
22613 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
22615         [BZ #16356]
22616         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22617         round-to-nearest for [!USE_AS_EXPM1L].
22618         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22619         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
22620         more tests of exp and exp10.  Expect some exp10 tests to miss
22621         exceptions or fail in directed rounding modes.
22622         * math/auto-libm-test-out: Regenerated.
22623         * math/libm-test.inc (exp10_tonearest_test_data): New array.
22624         (exp10_test_tonearest): New function.
22625         (exp10_towardzero_test_data): New array.
22626         (exp10_test_towardzero): New function.
22627         (exp10_downward_test_data): New array.
22628         (exp10_test_downward): New function.
22629         (exp10_upward_test_data): New array.
22630         (exp10_test_upward): New function.
22631         (main): Call the new functions.
22632         * sysdeps/i386/fpu/libm-test-ulps: Update.
22633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22635 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
22637         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22638         asinh, atan, atan2, atanh, cbrt, cos and cosh.
22639         * math/auto-libm-test-out: Regenerated.
22640         * math/libm-test.inc (acosh_test_data): Add more tests.
22641         (atanh_test_data): Likewise.
22642         (ceil_test_data): Likewise.
22643         (copysign_test_data): Likewise.
22644         * sysdeps/i386/fpu/libm-test-ulps: Update.
22645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647         * timezone/checktab.awk: Update from tzcode 2013i.
22648         * timezone/private.h: Likewise.
22649         * timezone/scheck.c: Likewise.
22650         * timezone/tzfile.h: Likewise.
22651         * timezone/tzselect.ksh: Likewise.
22652         * timezone/zdump.c: Likewise.
22653         * timezone/zic.c: Likewise.
22655         * math/auto-libm-test-in: Add tests of cpow.
22656         * math/auto-libm-test-out: Regenerated.
22657         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22659         mpc_cc_c.
22660         (func_calc_desc): Add mpc_cc_c union field.
22661         (test_functions): Add cpow.
22662         (special_fill_2pi): New function.
22663         (special_real_inputs): Add 2pi.
22664         (calc_generic_results): Handle mpc_cc_c.
22665         * sysdeps/i386/fpu/libm-test-ulps: Update.
22666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22669         csqrt, ctan and ctanh.
22670         * math/auto-libm-test-out: Regenerated.
22671         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22672         (TEST_COND_x86): Likewise.
22673         (ccos_test_data): Use AUTO_TESTS_c_c.
22674         (ccosh_test_data): Likewise.
22675         (cexp_test_data): Likewise.
22676         (clog_test_data): Likewise.
22677         (csqrt_test_data): Likewise.
22678         (ctan_test_data): Likewise.
22679         (ctan_tonearest_test_data): Likewise.
22680         (ctan_towardzero_test_data): Likewise.
22681         (ctan_downward_test_data): Likewise.
22682         (ctan_upward_test_data): Likewise.
22683         (ctanh_test_data): Likewise.
22684         (ctanh_tonearest_test_data): Likewise.
22685         (ctanh_towardzero_test_data): Likewise.
22686         (ctanh_downward_test_data): Likewise.
22687         (ctanh_upward_test_data): Likewise.
22688         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22689         mpc_c_c.
22690         (func_calc_desc): Add mpc_c_c union field.
22691         (FUNC_mpc_c_c): New macro.
22692         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22693         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22694         ctanh.
22695         (special_fill_min_subnorm_p120): New function.
22696         (special_real_inputs): Add min_subnorm_p120.
22697         (calc_generic_results): Handle mpc_c_c.
22698         * sysdeps/i386/fpu/libm-test-ulps: Update.
22699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22701 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22703         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22704         (do_sin_slow): New functions.
22705         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22706         (cslow2, csloww1, csloww2): Use the new functions.
22708         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22709         Use M to change sign of result instead of X.  Assume X is
22710         positive.
22711         (csloww1): Likewise.
22712         (__sin): Adjust.
22713         (__cos): Adjust.
22715         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22716         arguments A and DA.
22717         (__sin): Adjust.
22718         (__cos): Likewise.
22720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22721         (__cos): Likewise.
22722         (sloww1): Don't adjust sign of DX.
22723         (csloww1): Likewise.
22724         (sloww2): Use X directly and don't adjust sign of DX.
22725         (csloww2): Likewise.
22727 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22729         * math/auto-libm-test-in: Add tests of cabs and carg.
22730         * math/auto-libm-test-out: Regenerated.
22731         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22732         (carg_test_data): Likewise.
22733         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22734         mpc_c_f.
22735         (func_calc_desc): Add mpc_c_f union field.
22736         (test_functions): Add cabs and carg.
22737         (calc_generic_results): Handle mpc_c_f.
22739         * sysdeps/powerpc/powerpc32/libgcc-compat.S
22740         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22741         as a macro and a compat symbol.
22742         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22743         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22744         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22745         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22746         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22747         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22748         not use .hidden.
22749         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22750         Likewise.
22751         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22752         Likewise.
22753         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22754         Likewise.
22755         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22756         Likewise.
22757         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22758         Likewise.
22759         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22760         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22761         from GLIBC_2.3.2.
22763 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22767 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22769         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22770         trailing whitespace removed.
22771         * scripts/config.guess: Update to version 2013-11-29.
22772         * scripts/config.sub: Update to version 2013-10-01.
22774         * math/auto-libm-test-in: Add tests of sincos.
22775         * math/auto-libm-test-out: Regenerated.
22776         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22777         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22778         mpfr_f_11.
22779         (func_calc_desc): Add mpfr_f_11 union field.
22780         (test_functions): Add sincos.
22781         (calc_generic_results): Handle mpfr_f_11.
22782         * sysdeps/i386/fpu/libm-test-ulps: Update.
22783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22785 2013-12-19  Andreas Schwab  <schwab@suse.de>
22787         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22788         CALL_MCOUNT.
22789         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22790         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22791         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22793 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22795         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22796         * sysdeps/i386/fpu/libm-test-ulps: Update.
22797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22799         [BZ #16293]
22800         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22801         round-to-nearest mode when using frndint.
22802         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22803         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22804         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22805         Likewise.
22806         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22807         sinh test to fail.
22808         * math/auto-libm-test-out: Regenerated.
22809         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22810         (TEST_COND_x86): Likewise.
22811         (expm1_tonearest_test_data): New array.
22812         (expm1_test_tonearest): New function.
22813         (expm1_towardzero_test_data): New array.
22814         (expm1_test_towardzero): New function.
22815         (expm1_downward_test_data): New array.
22816         (expm1_test_downward): New function.
22817         (expm1_upward_test_data): New array.
22818         (expm1_test_upward): New function.
22819         (main): Run the new test functions.
22820         * sysdeps/i386/fpu/libm-test-ulps: Update.
22821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22823         * include/features.h: Update comment documenting feature test
22824         macros.  Mention _DEFAULT_SOURCE in comment.
22825         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22826         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22827         _BSD_SOURCE and _SVID_SOURCE.
22828         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22829         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22830         !_SVID_SOURCE]: Likewise.
22831         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22832         (__USE_POSIX_IMPLICITLY): Define.
22833         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22834         (_POSIX_SOURCE): Undefine and redefine.
22835         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22836         (_POSIX_C_SOURCE): Likewise.
22837         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22838         (Feature Test Macros): Update documentation of default features.
22840 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22842         * benchtests/Makefile: Add bench-strtok.
22843         * benchtests/bench-strtok.c: New file: strtok benchtest.
22845 2013-12-19  Allan McRae  <allan@archlinux.org>
22847         * manual/install.texi: Suppress menu for plain text output.
22848         * INSTALL: Regenerated.
22850 2013-12-18  Brooks Moses  <bmoses@google.com>
22852         [BZ #15846]
22853         * misc/getauxval.c: Include errno.h.
22854         (__getauxval): Set errno to ENOENT if the requested type is not
22855         found.
22856         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22857         don't declare with __attribute_const__.
22858         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22859         * manual/startup.texi: Document that getauxval sets errno.
22861 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22863         * math/auto-libm-test-in: Add tests of jn and yn.
22864         * math/auto-libm-test-out: Regenerated.
22865         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22866         (yn_test_data): Likewise.
22867         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22868         mpfr_if_f.
22869         (func_calc_desc): Add mpfr_if_f union field.
22870         (FUNC_mpfr_if_f): New macro.
22871         (test_functions): Add jn and yn.
22872         (calc_generic_results): Assert type of second input for
22873         mpfr_ff_f.  Handle mpfr_if_f.
22874         (output_for_one_input_case): Disable all checking for arguments
22875         fitting floating-point types in case of an integer argument.
22876         * sysdeps/i386/fpu/libm-test-ulps: Update.
22877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22880         Don't expect fegetround reference in libm.so.
22882 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22884         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22885         $(config-cflags-nofma).
22887 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22889         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22890         * math/auto-libm-test-out: Regenerated.
22892         [BZ #16338]
22893         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22894         to determine exponent and adjust argument to have exponent of -1.
22895         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22896         log2.
22897         * math/auto-libm-test-out: Regenerated.
22898         * sysdeps/i386/fpu/libm-test-ulps: Update.
22899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22901 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22903         * manual/probes.texi: Remove cases when per-thread arenas are
22904         disabled.
22906 2013-12-18  Andreas Schwab  <schwab@suse.de>
22908         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22909         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22910         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22911         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22912         * sysdeps/i386/i686/multiarch/Makefile: Update.
22913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22915 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22917         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22918         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22920 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22922         [BZ #15968]
22923         Support TZ transition times < 00:00:00.
22924         This is needed for version-3 tz-format files; it supports time
22925         stamps past 2037 for America/Godthab (the only entry in the tz
22926         database for which this change is relevant).
22927         * manual/time.texi (TZ Variable): Document transition times
22928         from -167:59:59 through -00:00:01.
22929         * time/tzset.c (tz_rule): Time of day is now signed.
22930         (__tzset_parse_tz): Parse negative time of day.
22932         Document TZ transition times >= 25:00:00.
22933         * manual/time.texi (TZ Variable): Document transition times from
22934         25:00:00 through 167:59:59.  These are already supported, and this
22935         support will help with version-3 tz-format files.
22937         * manual/time.texi (TZ Variable): Modernize North America example
22938         to reflect current (i.e., 2007-and-later) daylight saving rules.
22940         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22942 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22944         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22945         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22948         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22949         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22950         * sysdeps/unix/bsd/clock.c: Likewise.
22951         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22952         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22953         * sysdeps/unix/bsd/init-posix.c: Likewise.
22954         * sysdeps/unix/bsd/poll.c: Likewise.
22955         * sysdeps/unix/bsd/ptsname.c: Likewise.
22956         * sysdeps/unix/bsd/seekdir.c: Likewise.
22957         * sysdeps/unix/bsd/setegid.c: Likewise.
22958         * sysdeps/unix/bsd/seteuid.c: Likewise.
22959         * sysdeps/unix/bsd/setgid.c: Likewise.
22960         * sysdeps/unix/bsd/setrgid.c: Likewise.
22961         * sysdeps/unix/bsd/setruid.c: Likewise.
22962         * sysdeps/unix/bsd/setsid.c: Likewise.
22963         * sysdeps/unix/bsd/setuid.c: Likewise.
22964         * sysdeps/unix/bsd/sigaction.c: Likewise.
22965         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22966         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22967         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22968         * sysdeps/unix/bsd/telldir.c: Likewise.
22969         * sysdeps/unix/bsd/times.c: Likewise.
22970         * sysdeps/unix/bsd/usleep.c: Likewise.
22972         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22973         ($(objpfx)libbsd-compat.a): Remove rule.
22975         * include/features.h (__FAVOR_BSD): Do not define.
22976         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22977         features conflicting with POSIX.
22978         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22979         (_BSD_SOURCE): Remove description of not being a subset of other
22980         feature test macros.
22981         * manual/job.texi (getpgrp): Do not document BSD version.
22982         (getpgid): Do not document by reference to BSD getpgrp.
22983         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22984         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22985         * signal/signal.h [__FAVOR_BSD]: Likewise.
22986         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22987         instead of making contents conditional on [__FAVOR_BSD].
22988         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22990 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22994 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22996         [BZ #16314]
22997         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22998         values below 2**-450, not 2**-500.
22999         * math/auto-libm-test-in: Don't allow spurious underflow from
23000         hypot.
23001         * math/auto-libm-test-out: Regenerated.
23003         [BZ #16316]
23004         [BZ #16330]
23005         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23006         values of ha and hb and sort them after adjusting subnormal
23007         arguments.
23008         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23009         Likewise.
23010         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23011         values of ea and eb and sort them after adjusting subnormal
23012         arguments.
23013         * math/auto-libm-test-in: Do not expect some hypot tests of
23014         subnormals to fail.  Add more hypot tests.
23015         * math/auto-libm-test-out: Regenerated.
23017 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23019         [BZ #13304]
23020         * sysdeps/sh/s_fma.c: New file.
23021         * sysdeps/sh/s_fmaf.c: New file.
23022         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23023         version.
23024         * sysdeps/sh/Implies: Add sh/soft-fp.
23026 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23028         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23029         level of indirection to members `objname', `errstring', `malloced'.
23030         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23031         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23032         it as the __longjmp argument (just pass 1 instead).
23033         (_dl_catch_error): Initialize C with argument pointers and address of
23034         volatile local ERRCODE rather than copying values out of C at return.
23036 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23038         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23039         * math/auto-libm-test-out: Regenerated.
23040         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23041         (hypot_test_data): Likewise.
23042         (pow_test_data): Likewise.
23043         (pow_tonearest_test_data): Likewise.
23044         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23045         mpfr_ff_f.
23046         (func_calc_desc): Add mpfr_ff_f union field.
23047         (FUNC_mpfr_ff_f): New macro.
23048         (test_functions): Add atan2, hypot and pow.
23049         (special_fill_min): New function.
23050         (special_fill_minus_min): Likewise.
23051         (special_fill_min_subnorm): Likewise.
23052         (special_fill_minus_min_subnorm): Likewise.
23053         (special_real_inputs): Add min, -min, min_subnorm and
23054         -min_subnorm.
23055         (calc_generic_results): Handle mpfr_ff_f.
23056         * sysdeps/i386/fpu/libm-test-ulps: Update.
23057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23059 2013-12-16  Will Newton  <will.newton@linaro.org>
23061         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23062         (Aligned Memory Blocks): Add documentation for aligned_alloc
23063         and suggest it as an alternative to posix_memalign.
23064         (Hooks for Malloc): Document __memalign_hook is also called
23065         for aligned_alloc.  (Summary of Malloc): Add summary for
23066         aligned alloc.  Document __memalign_hook is also called
23067         for aligned_alloc.
23069 2013-12-16  Will Newton  <will.newton@linaro.org>
23071         * manual/memory.texi (Malloc Examples): Clarify default
23072         alignment documentation.  Suggest posix_memalign rather
23073         than memalign or valloc.
23074         (Aligned Memory Blocks): Remove suggestion to use memalign
23075         or valloc.  Remove obsolete comment about BSD.
23076         Document memalign errno values and mark the function obsolete.
23077         Document posix_memalign returned error codes.  Mark valloc
23078         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23079         called for posix_memalign and valloc.
23080         (Summary of Malloc): Add posix_memalign to function summary.
23081         __memalign_hook is also called for posix_memalign and valloc.
23083 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23085         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23086         TAYLOR_SIN.
23087         (__sin): Adjust.
23088         (__cos): Likewise.
23089         (sloww): Use mynumber union.  Expand ternary operator into
23090         if-else statements.
23091         (cslow): use mynumber union.
23093 2013-12-16  Allan McRae  <allan@archlinux.org>
23095         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23096         * configure: Regenerated.
23098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23100         [BZ #14120]
23101         * configure.ac: Added --enable-maintainer-mode. Check for
23102         autoconf when enabled.
23103         * configure: Regenerated.
23105         * nscd/nscd.service: New file.
23106         * nscd/nscd.tmpfiles: New file.
23108 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23110         [BZ #12100]
23111         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23112         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23113         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23114         (strstr): Add __strstr_sse2_unaligned ifunc.
23115         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23116         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23117         (strcasestr): Remove __strcasestr_sse42 ifunc.
23118         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23122 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23124         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23125         * sysdeps/sh/bits/fenv.h: ... here.
23126         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23128 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23130         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23133         hypotf multiarch implementations.
23134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23137         multiarch hypot for PPC64.
23138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23141         multiarch hypotf for PPC64.
23143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23144         modff multiarch implementations.
23145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23148         multiarch modf for PPC64.
23149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23152         multiarch modff for PPC64.
23154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23155         and logl multiarch implementations.
23156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23159         multiarch logb for PPC64.
23160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23163         multiarch logb for PPC64.
23164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23167         multiarch logb for PPC64.
23169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23170         isinff multiarch implementation.
23171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23172         file.
23173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23175         multiarch isinf for PPC64.
23176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23177         file.
23178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23179         multiarch isinff for PPC64.
23181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23182         finitef multiarch implementation.
23183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23184         file.
23185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23187         multiarch finite for PPC64.
23188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23189         file.
23190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23191         multiarch finitef for PPC64.
23193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23194         lrint multiarch implementation.
23195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23196         file.
23197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23199         multiarch llrint for PPC64.
23200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23201         multiarch lrint for PPC64.
23203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23204         copysignf multiarch implementation.
23205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23206         file.
23207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23208         file.
23209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23210         multiarch copysign for PPC64.
23211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23212         multiarch copysignf for PPC64.
23214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23215         multiarch implementation.
23216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23217         file.
23218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23219         file.
23220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23221         file.
23222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23223         file.
23224         multiarch llround for PPC64.
23225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23226         multiarch trunc for PPC64.
23227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23228         multiarch truncf for PPC64.
23230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23231         multiarch implementation.
23232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23233         file.
23234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23235         file.
23236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23237         file.
23238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23239         file.
23240         multiarch llround for PPC64.
23241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23242         multiarch round for PPC64.
23243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23244         multiarch roundf for PPC64.
23246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23247         multiarch implementation.
23248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23249         file.
23250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23251         file.
23252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23253         file.
23254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23255         file.
23256         multiarch llround for PPC64.
23257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23258         multiarch floor for PPC64.
23259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23260         multiarch floorf for PPC64.
23262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23263         multiarch implementation.
23264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23265         file.
23266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23267         file.
23268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23269         file.
23270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23271         file.
23272         multiarch llround for PPC64.
23273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23274         multiarch ceil for PPC64.
23275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23276         multiarch ceilf for PPC64.
23278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23279         multiarch implementation.
23280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23281         file.
23282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23283         file.
23284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23285         file.
23286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23287         multiarch llround for PPC64.
23288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23289         multiarch lround for PPC64.
23291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23292         multiarch implementation.
23293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23296         file.
23297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23300         multiarch isnan for PPC64.
23301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23302         multiarch isnanf for PPC64.
23304         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23305         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23306         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23307         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23308         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23311         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23312         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23317         multiarch implementations.
23318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23319         (__libc_ifunc_impl_list): Likewise.
23320         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23323         multiarch stpcpy for PPC64.
23325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23326         multiarch implementations.
23327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23328         (__libc_ifunc_impl_list): Likewise.
23329         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23330         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23331         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23332         multiarch strcpy for PPC64.
23334         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23335         redefine function name.
23336         (_wordcopy_fwd_dest_aligned): Likewise.
23337         (_wordcopy_bwd_aligned): Likewise.
23338         (_wordcopy_bwd_dest_aligned): Likewise.
23339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23340         multiarch implementations.
23341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23342         (__libc_ifunc_impl_list): Likewise.
23343         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23347         multiarch wcscpy for PPC64.
23349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23350         multiarch implementations.
23351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23352         (__libc_ifunc_impl_list): Likewise.
23353         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23354         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23357         multiarch wcscpy for PPC64.
23359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23360         multiarch implementations.
23361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23362         (__libc_ifunc_impl_list): Likewise.
23363         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23364         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23365         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23367         multiarch wcsrchr for PPC64.
23369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23370         multiarch implementations.
23371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23372         (__libc_ifunc_impl_list): Likewise.
23373         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23374         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23375         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23376         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23377         multiarch wcschr for PPC64.
23379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23380         multiarch implementations.
23381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23382         (__libc_ifunc_impl_list): Likewise.
23383         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23384         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23386         multiarch strchrnul for PPC64.
23388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23389         implementations.
23390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23391         (__libc_ifunc_impl_list): Likewise.
23392         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23393         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23394         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23395         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23396         strchr for PPC64.
23398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23399         implementations.
23400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23401         (__libc_ifunc_impl_list): Likewise.
23402         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23403         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23405         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23406         strncmp for PPC64.
23408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23409         multiarch implementations.
23410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23411         (__libc_ifunc_impl_list): Likewise.
23412         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23413         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23414         strncasecmp for PPC64.
23415         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23416         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23417         multiarch strncasecmp_l for PPC64.
23419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23420         multiarch implementations.
23421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23422         (__libc_ifunc_impl_list): Likewise.
23423         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23424         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23425         multiarch strcasecmp for PPC64.
23426         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23427         file.
23428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23429         multiarch strcasecmp_l for PPC64.
23431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23432         implementations.
23433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23434         (__libc_ifunc_impl_list): Likewise.
23435         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23436         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23437         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23438         strnlen for PPC64.
23440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23441         implementations.
23442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23443         (__libc_ifunc_impl_list): Likewise.
23444         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23445         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23446         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23447         strlen for PPC64.
23449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23450         implementations.
23451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23452         (__libc_ifunc_impl_list): Likewise.
23453         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23454         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23455         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23456         rawmemrchr for PPC64.
23458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23459         implementation.
23460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23461         (__libc_ifunc_impl_list): Likewise.
23462         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23463         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23464         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23465         memrchr for PPC64.
23467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23468         implementation.
23469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23470         (__libc_ifunc_impl_list): Likewise.
23471         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23472         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23473         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23474         memchr for PPC64.
23476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23477         implementation.
23478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23479         (__libc_ifunc_impl_list): Likewise.
23480         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23481         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23483         mempcpy for PPC64.
23485         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23486         avoid cretion of __bzero symbol.
23487         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23488         Likewise.
23489         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23490         Likewise.
23491         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23492         Likewise.
23493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23494         multiarch implementations.
23495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23496         (__libc_ifunc_impl_list): Likewise.
23497         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23498         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23499         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23500         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23501         bzero for PPC32.
23502         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23503         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23504         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23505         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23506         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23507         memset for PPC64.
23508         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23510         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23512         implementations.
23513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23514         (__libc_ifunc_impl_list): Likewise.
23515         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23516         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23517         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23518         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23519         memcmp for PPC64.
23521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23522         multiarch for POWER/PPC64.
23523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23524         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23525         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23526         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23527         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23529         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23531         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23532         memcpy for PPC64.
23534         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23535         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23536         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23537         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23538         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23539         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23540         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23541         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23542         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23543         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23544         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23545         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23546         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23547         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23548         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23557 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23559         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23561 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23563         * benchtests/Makefile (bench): Add exp2 and log2.
23564         (LDLIBS-bench-exp2): Add -lm.
23565         (LDLIBS-bench-log2): Likewise.
23566         * benchtests/exp2-inputs: New inputs file.
23567         * benchtests/log2-inputs: New inputs file.
23568         * benchtests/log-inputs: Add new inputs.
23569         * benchtests/tan-inputs: Likewise.
23571 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23573         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23574         definition...
23575         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23576         (csloww2): ... from here.
23578         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23579         instead of structures.
23580         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23581         (POLYNOMIAL): Likewise.
23582         (TAYLOR_SLOW): Likewise.
23583         (__sin): Likewise.
23584         (__cos): Likewise.
23585         (slow1): Likewise.
23586         (slow2): Likewise.
23587         (sloww): Likewise.
23588         (sloww1); Likewise.
23589         (sloww2): Likewise.
23590         (bsloww1): Likewise.
23591         (bsloww2): Likewise.
23592         (cslow2): Likewise.
23593         (csloww): Likewise.
23594         (csloww1): Likewise.
23595         (csloww2): Likewise.
23597 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
23599         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23600         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23601         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23602         * malloc/hooks.c (realloc_check): Likewise.
23604         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23605         * malloc/arena.c: Remove PER_THREAD conditional.
23606         [!PER_THREAD]: Remove code.
23607         (ptmalloc_unlock_all2): Likewise.
23608         (ptmalloc_init): Likewise.
23609         (_int_new_arena): Likewise.
23610         (arena_get2): Likewise.
23611         * malloc/hooks.c (__malloc_get_state): Likewise.
23612         (__malloc_set_state): Likewise.
23613         * malloc/malloc.c: Likewise.
23614         (struct malloc_state): Likewise.
23615         (struct malloc_par): Likewise.
23616         (__libc_realloc): Likewise.
23617         (__libc_mallopt): Likewise.
23619 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23621         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23623 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
23625         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23626         macro to a function.  Check for zero perturb_byte.
23627         (_int_malloc, _int_free): Remove zero perturb_byte checks.
23629         * malloc/malloc.c: (force_reg): Remove.
23630         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23631         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23632         force_reg by atomic_forced_read.
23633         * malloc/arena.c (ptmalloc_init): Likewise.
23634         * malloc/hooks.c (top_check): Likewise.
23636 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23640 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
23642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23644 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
23646         * math/auto-libm-test-in: Add tests of lgamma.
23647         * math/auto-libm-test-out: Regenerated.
23648         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23649         (M_LOG_2_SQRT_PIl): Likewise.
23650         (lgamma_test_data): Use AUTO_TESTS_f_f1.
23651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23652         mpfr_f_f1.
23653         (func_calc_desc): Add mpfr_f_f1 union field.
23654         (ARGS1): New macro.
23655         (ARGS2): Likewise.
23656         (ARGS3): Likewise.
23657         (ARGS4): Likewise.
23658         (RET1): Likewise.
23659         (RET2): Likewise.
23660         (CALC): Likewise.
23661         (FUNC): Likewise.
23662         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23663         (test_functions): Add lgamma.
23664         (calc_generic_results): Handle mpfr_f_f1.
23665         * sysdeps/i386/fpu/libm-test-ulps: Update.
23666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23668 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23670         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23671         __mpn_add_n for PowerPC64/POWER7.
23672         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23673         __mpn_sub_n for PowerPC64/POWER7.
23675         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23676         __mpn_addmul_1 for PowerPC64.
23677         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23678         __mpn_submul_1 for PowerPC64.
23679         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23680         for PowerPC64.
23681         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23682         for PowerPC64.
23684 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
23686         [BZ #15089]
23687         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23689 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23691         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23693         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23694         add multiarch folders.
23695         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23696         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23697         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23698         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23699         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23700         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23701         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23702         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23703         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23704         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23705         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23714         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23716         New file.
23717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23718         New file.
23719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23720         multiarch __ieee754_hypot for PowerPC32.
23721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23722         New file.
23723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23724         New file.
23725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23726         multiarch __ieee754_hypotf for PowerPC32.
23728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23729         long_double_symbol only if __logbl is defined.
23730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23731         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23733         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23735         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23736         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23737         path for implementation.
23738         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23741         logb, and logbl multiarch implementations for PowerPC32.
23742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23743         file.
23744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23745         file.
23746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23747         multiarch logb for PowerPC32.
23748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23749         file.
23750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23751         file.
23752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23753         multiarch logbf for PowerPC32.
23754         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23756         file.
23757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23758         multiarch logbl implementation for PowerPC32.
23760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23761         and modff multiarch implementations.
23762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23763         New file.
23764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23765         New file.
23766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23767         multiarch modf for PowerPC32.
23768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23769         New file.
23770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23771         New file.
23772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23773         multiarch modff for PowerPC32.
23775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23776         and lrintf multiarch implementations.
23777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23778         New file.
23779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23780         New file.
23781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23782         multiarch lrint for PowerPC32.
23783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23784         file: multiarch lrintf for PowerPC32.
23786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23787         and lroundf multiarch implementations.
23788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23789         New file.
23790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23791         New file.
23792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23793         New file.
23794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23795         multiarch lround for PowerPC32.
23796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23797         file: multiarch lroundf for PowerPC32.
23799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23800         copysign and copysignf multiarch implementations.
23801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23802         New file.
23803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23804         New file.
23805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23806         file: multiarch copysign for PowerPC32.
23807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23808         file: multiarch copysignf for PowerPC32.
23810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23811         and truncf multiarch implementations.
23812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23813         New file.
23814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23815         file.
23816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23817         multiarch trunc for PowerPC32.
23818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23819         New file.
23820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23821         New file.
23822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23823         multiarch truncf for PowerPC32.
23825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23826         and roundf multiarch implementations.
23827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23828         New file.
23829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23830         file.
23831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23832         multiarch round for PowerPC32.
23833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23834         New file.
23835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23836         New file.
23837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23838         multiarch roundf for PowerPC32.
23840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23841         and floorf multiarch implementations.
23842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23843         New file.
23844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23845         file.
23846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23847         multiarch floor for PowerPC32.
23848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23849         New file.
23850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23851         New file.
23852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23853         multiarch floorf for PowerPC32.
23855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23856         and ceilf multiarch implementations.
23857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23858         New file.
23859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23860         file.
23861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23862         multiarch ceil for PowerPC32.
23863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23864         New file.
23865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23866         file.
23867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23868         multiarch ceilf for PowerPC32.
23870         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23871         is defined.
23872         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23873         FINITEF is defined.
23874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23875         and finitef multiarch implementations.
23876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23877         New file.
23878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23879         file.
23880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23881         multiarch finite for PowerPC32.
23882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23883         New file.
23884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23885         file: multiarch finitef for PowerPC32.
23887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23888         and isinff multiarch implementations.
23889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23890         file.
23891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23892         file.
23893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23894         multiarch isinf for PowerPC32.
23895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23896         New file.
23897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23898         multiarch isinff for PowerPC32.
23900         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23901         alias when __isnan is defined.
23902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23903         and isnanf multiarch implementations.
23904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23905         file.
23906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23907         file.
23908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23909         file.
23910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23911         file.
23912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23913         multiarch isnan for PowerPC32.
23914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23915         New file.
23916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23917         New file.
23918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23919         multiarch isnanf for PowerPC32.
23921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23922         and sqrtf multiarch implementations.
23923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23924         file.
23925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23926         file.
23927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23928         multiarch sqrt for PowerPC32.
23929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23930         file.
23931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23932         file.
23933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23934         multiarch sqrtf for PowerPC32.
23936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23937         and llroundf multiarch implementations.
23938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23939         New file.
23940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23941         New file.
23942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23943         New file.
23944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23945         file: multiarch llround for PowerPC32.
23946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23947         file: multiarch llroundf for PowerPC32.
23949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23950         multiarch PowerPC32 fpu implementations.
23951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23952         New file.
23953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23954         New file.
23955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23956         multiarch llrint for PowerPC32.
23957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23958         New file.
23959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23960         New file.
23961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23962         file.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23966         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23967         file.
23968         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23969         file.
23970         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23971         file.
23972         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23973         multiarch wordcopy for PPC32.
23974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23975         wordcopy objects.
23976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23977         (__libc_ifunc_impl_list): Likewise.
23978         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23979         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23980         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23981         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23982         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23983         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23985         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23987         file.
23988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23989         file.
23990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23991         file.
23992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23993         multiarch wcscpy for PPC32.
23994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23995         multiarch objects.
23996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23997         (__libc_ifunc_impl_list): Likewise.
23998         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23999         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24000         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24001         sysdeps/powerpc/power6/wcscpy.c.
24003         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24005         file.
24006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24007         file.
24008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24009         file.
24010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24011         multiarch wcsrchr for PPC32.
24012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24013         multiarch objects.
24014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24015         (__libc_ifunc_impl_list): Likewise.
24016         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24017         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24018         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24019         sysdeps/powerpc/power6/wcsrchr.c.
24021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24022         file.
24023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24024         file.
24025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24027         multiarch wcschr for PPc32.
24028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24029         multiarch objects.
24030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24031         (__libc_ifunc_impl_list): Likewise.
24032         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24033         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24034         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24035         sysdeps/powerpc/power6/wcschr.c.
24037         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24038         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24039         file.
24040         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24041         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24042         file: multiarch strchr for PPC32.
24043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24044         multiarch objects.
24045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24046         (__libc_ifunc_impl_list): Likewise.
24048         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24049         name.
24050         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24051         file.
24052         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24053         file.
24054         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24055         multiarch strchrnul for PPC32.
24056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24057         multiarch objects.
24058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24059         (__libc_ifunc_impl_list): Likewise.
24061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24062         file.
24063         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24064         multiarch strncasecmp for PPC32.
24065         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24066         file.
24067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24068         multiarch strncasecmp_l for PPC32.
24069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24070         strncasecmp multiarch objects.
24071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24072         (__libc_ifunc_impl_list): Likewise.
24074         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24075         file.
24076         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24077         multiarch strncasecmp for PPC32.
24078         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24079         New file.
24080         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24081         multiarch strcasecmp_l for PPC32.
24082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24083         multiarch objects.
24084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24085         (__libc_ifunc_impl_list): Likewise.
24087         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24088         file.
24089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24090         file.
24091         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24092         multiarch strncmp for PPC32.
24093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24094         multiarch objects.
24095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24096         (__libc_ifunc_impl_list): Likewise.
24098         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24099         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24100         file.
24101         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24102         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24104         multiarch objects.
24105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24106         (__libc_ifunc_impl_list): Likewise.
24108         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24109         file.
24110         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24111         file.
24112         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24114         multiarch objects.
24115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24116         (__libc_ifunc_impl_list): Likewise.
24118         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24119         file.
24120         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24121         file.
24122         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24123         multiarch rawmemchr for PPC32.
24124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24125         multiarch objects.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24127         (__libc_ifunc_impl_list): Likewise.
24129         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24130         file.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24132         file.
24133         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24134         file: memrchr multiarch for PPC32.
24135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24136         multiarch objects.
24137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24138         (__libc_ifunc_impl_list): Likewise.
24140         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24141         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24142         file.
24143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24145         multiarch memchr for PPC32.
24146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24147         multiarch objects.
24148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24149         (__libc_ifunc_impl_list): Likewise.
24151         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24152         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24153         file.
24154         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24155         file.
24156         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24157         file: multiarch mempcpy for PPC32.
24158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24159         multiarch objects.
24160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24161         (__libc_ifunc_impl_list): Likewise.
24163         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24164         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24167         multiarch bzero for PPC32.
24168         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24169         file.
24170         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24171         file.
24172         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24173         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24174         file: multiarch memset for PPC32.
24175         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24177         memset multiarch objects.
24178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24179         (__libc_ifunc_impl_list): Likewise.
24181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24182         file.
24183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24185         memcmp for PPC32.
24186         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24188         multiarch objects.
24189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24190         (__libc_ifunc_impl_list): Likewise.
24192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24195         file.
24196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24197         file.
24198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24199         file.
24200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24201         multiarch memcpy for PPC32.
24202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24203         multiarch objects.
24204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24205         (__libc_ifunc_impl_list): Likewise.
24207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24208         support multiarch for POWER/PPC32.
24209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24210         Likewise.
24211         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24213         Implies file to make multiarch folder appers before the fpu and
24214         default folder for power4 configuration.
24216 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24218         * scripts/bench.pl: Append volatile keyword to type.
24220 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24222         * sysdeps/sh/sotruss-lib.c: New file.
24223         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24225 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24229 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24231         [BZ #6810]
24232         * math/w_tgamma.c: Include <errno.h>.
24233         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24234         * math/w_tgammaf.c: Include <errno.h>.
24235         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24236         * math/w_tgammal.c: Include <errno.h>.
24237         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24238         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24239         underflow.  Add more tgamma tests.
24240         * math/auto-libm-test-out: Regenerated.
24241         * sysdeps/i386/fpu/libm-test-ulps: Update.
24242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24244         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24245         sin, sinh, tan, tanh, tgamma, y0 and y1.
24246         * math/auto-libm-test-out: Regenerated.
24247         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24248         (TEST_COND_x86): Likewise.
24249         (M_E2l): Remove macro.
24250         (M_E3l): Likewise.
24251         (M_2_SQRT_PIl): Likewise.
24252         (M_SQRT_PIl): Likewise.
24253         (M_1_DIV_El): Likewise.
24254         (log_test_data): Use AUTO_TESTS_f_f.
24255         (log10_test_data): Likewise.
24256         (log1p_test_data): Likewise.
24257         (log2_test_data): Likewise.
24258         (sin_test_data): Likewise.
24259         (sin_tonearest_test_data): Likewise.
24260         (sin_towardzero_test_data): Likewise.
24261         (sin_downward_test_data): Likewise.
24262         (sin_upward_test_data): Likewise.
24263         (sinh_test_data): Likewise.
24264         (sinh_tonearest_test_data): Likewise.
24265         (sinh_towardzero_test_data): Likewise.
24266         (sinh_downward_test_data): Likewise.
24267         (sinh_upward_test_data): Likewise.
24268         (tan_test_data): Likewise.
24269         (tan_tonearest_test_data): Likewise.
24270         (tan_towardzero_test_data): Likewise.
24271         (tan_downward_test_data): Likewise.
24272         (tan_upward_test_data): Likewise.
24273         (tanh_test_data): Likewise.
24274         (tgamma_test_data): Likewise.
24275         (y0_test_data): Likewise.
24276         (y1_test_data): Likewise.
24277         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24278         (special_real_inputs): Add pi/4.
24279         * sysdeps/i386/fpu/libm-test-ulps: Update.
24280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24282 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24284         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24285         "longjmp_target" static probes.
24286         (__longjmp): Rename to __longjmp_symbol.
24287         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24288         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24289         on which longjmp to generate.
24290         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24291         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24292         probe.
24293         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24294         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24295         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24296         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24297         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24298         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24300         __longjmp_symbol based on which __longjmp to generate.
24301         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24302         probe.
24303         (setjmp): Rename to setjmp_symbol.
24304         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24305         (_setjmp): Rename to _setjmp_symbol.
24306         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24307         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24308         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24309         which setjmp to generate.
24310         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24311         "longjmp_target" static probes.
24313 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24315         * benchtests/README: Add note about output arguments.
24316         * benchtests/bench-sincos.c: Remove file.
24317         * benchtests/sincos-inputs: New file.
24318         * scripts/bench.pl: Identify output arguments and define
24319         static variables for them.
24321         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24323         [BZ #15941]
24324         * Makefile (INSTALL): Add install-plain.texi as the primary
24325         dependency.
24326         * manual/install-plain.texi: New file.
24327         * manual/install.texi: Include node directive only for
24328         non-plaintext output.
24330 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24332         * stdlib/longlong.h: Update from GCC.
24334         [BZ #6807]
24335         [BZ #15901]
24336         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24337         * math/w_j0f.c (y0f): Likewise.
24338         * math/w_j0l.c (__y0l): Likewise.
24339         * math/w_j1.c (y1): Likewise.
24340         * math/w_j1f.c (y1f): Likewise.
24341         * math/w_j1l.c (__y1l): Likewise
24342         * math/w_jn.c (yn): Likewise.
24343         * math/w_jnf.c (ynf): Likewise.
24344         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24345         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24346         value for Bessel function domain errors outside _SVID_ mode.
24347         Adjust sign of return value for yn (negative integer, 0).
24348         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24349         by zero in return for negative x and set sign appropriately for
24350         negative n.
24351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24352         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24353         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24354         expectations in error cases.
24355         (y1_test_data): Likewise.
24356         (yn_test_data): Likewise.
24357         * sysdeps/i386/fpu/libm-test-ulps: Update.
24358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24360 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24362         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24363         "64" to "64-v1".  Add "64-v2".
24364         (abi-64-options): Rename to ...
24365         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24366         (abi-64-condition): Rename to ...
24367         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24368         (abi-64-ld-soname): Rename to ...
24369         (abi-64-v1-ld-soname): ... this.
24370         (abi-64-v2-options): Define.
24371         (abi-64-v2-condition): Likewise.
24372         (abi-64-v2-ld-soname): Likewise.
24373         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24374         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24379 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24380             Alan Modra  <amodra@gmail.com>
24382         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24383         New versions for use with the ELFv2 ABI.
24384         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24385         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24386         declaration.
24387         (struct La_ppc64v2_retval): Likewise.
24388         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24389         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24390         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24391         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24392         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24393         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24394         Do not save or restore CR.
24395         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24396         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24397         return values for ELFv2 ABI.  Fix location of FPR return registers.
24398         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24399         updated values for _CALL_ELF == 2.
24400         (La_regs, La_retval, int_retval): Likewise.
24402 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24404         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24405         (FRAME_MIN_SIZE_PARM): Likewise.
24406         (FRAME_BACKCHAIN): Likewise.
24407         (FRAME_CR_SAVE): Likewise.
24408         (FRAME_LR_SAVE): Likewise.
24409         (FRAME_TOC_SAVE): Likewise.
24410         (FRAME_PARM_SAVE): Likewise.
24411         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24412         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24413         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24414         (call_mcount_parm_offset): New macro.
24415         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24416         (PROF): Use symbolic stack frame offsets.
24417         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24418         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24419         Redefine in terms of FRAME_MIN_SIZE.
24420         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24421         (_dl_profile_resolve): Likewise.  Update comment.
24422         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24423         symbols stack frame offsets.
24424         (__sigsetjmp): Likewise.
24425         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24426         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24427         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24428         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24431         (FRAME_BACKCHAIN): Remove.
24432         (FRAME_CR_SAVE): Likewise.
24433         (FRAME_LR_SAVE): Likewise.
24434         (FRAME_COMPILER_DW): Likewise.
24435         (FRAME_LINKER_DW): Likewise.
24436         (FRAME_TOC_SAVE): Likewise.
24437         (FRAME_PARM_SAVE): Likewise.
24438         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24439         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24440         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24442         (CHECK_SP): Use symbolic stack frame offsets.
24443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24444         zone" instead of caller's parameter save area for temp storage.
24445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24446         Likewise.  Also, use symbolic stack frame offsets.
24447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24448         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24449         our own stack frame instead of the caller's.
24450         (__socket): Use symbolic stack frame offsets.
24452 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24453             Alan Modra  <amodra@gmail.com>
24455         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24456         Define.
24457         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24458         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24459         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24460         New function.
24461         (elf_machine_fixup_plt): Call it.
24462         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24463         reloc arguments.
24464         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24465         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24466         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24467         r2 before calling target.
24469 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24470             Alan Modra  <amodra@gmail.com>
24472         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24473         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24474         versions of macros to support ELFv2 ABI.
24475         (LOCALENTRY): New macro.
24476         (ENTRY, EALIGN): Use it.
24477         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24478         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24479         fall through into ENTRY entry point.
24480         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24481         Only define if _CALL_ELF != 2.
24483         (elf_machine_matches_host): Verify ABI version matches.
24484         (RTLD_START): Use LOCALENTRY.
24485         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24486         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24487         (PLT_ENTRY_WORDS): New macro.
24488         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24489         (elf_machine_runtime_setup): Support ELFv2 ABI.
24490         (elf_machine_fixup_plt): Likewise.
24491         (elf_machine_plt_conflict): Likewise.
24492         (resolve_ifunc): Likewise.
24493         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24494         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24495         Likewise.
24496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24497         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24499         (makecontext): Support ELFv2 ABI.
24500         * elf/elf.h (EF_PPC64_ABI): Define.
24502 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24504         * sysdeps/powerpc/powerpc64/sysdep.h
24505         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24506         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24507         (ENTRY) [ASSEMBLER]: ... but instead here ...
24508         (EALIGN) [ASSEMBLER]: ... and here.
24509         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24510         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24511         (ENTRY_2) [!ASSEMBLER]: Use it.
24512         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24513         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24514         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24515         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24516         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24518         Use PPC64_LOAD_FUNCPTR.
24520         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24522 2013-12-04  Alan Modra  <amodra@gmail.com>
24524         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24525         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24526         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24527         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24529         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24530         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24531         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24532         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24533         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24534         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24536 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24539         (__makecontext): Fix incorrect CFI when backtracing out of
24540         context created via makecontext.
24541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24542         (__setcontext): Fix incorrect CFI during switch to new context.
24543         (__novec_setcontext): Likewise.
24545 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24547         [BZ #4772]
24548         * time/strptime_l.c (__strptime_internal): Allow modifiers
24549         in strptime.
24550         * time/tst-strptime.c (day_tests): Add testcase.
24552 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24554         * scripts/bench.pl: Skip over blank lines.
24556 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24558         [BZ #926]
24559         * manual/time.texi (Calendar Time): Clarify what timezone functions
24560         use.
24562 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24566 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24568         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24569         implementation.
24570         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24571         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24572         * debug/memset_chk.c (__memset_chk): Likewise.
24573         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24574         * debug/strncpy_chk.c: Likewise.
24576 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24578         [BZ #15268]
24579         [BZ #15425]
24580         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24581         (__ieee754_exp): For possibly underflowing results, check size of
24582         result and force underflow exception if required.
24583         * math/auto-libm-test-in: Add more tests of exp.
24584         * math/auto-libm-test-out: Regenerated.
24585         * sysdeps/i386/fpu/libm-test-ulps: Update.
24586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24588         [BZ #16283]
24589         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24590         * math/w_exp2f.c (__exp2f): Likewise.
24591         * math/w_exp2l.c (__exp2l): Likewise.
24592         * math/auto-libm-test-in: Do not allow missing errno on exp2
24593         underflow.
24594         * math/auto-libm-test-out: Regenerated.
24596 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
24598         [BZ #16274]
24599         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24600         handle filename validation.
24601         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24602         (do_open): Delete.
24604 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24606         [BZ #6786]
24607         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24608         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24609         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24610         <float.h>.
24611         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24612         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24613         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24615         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24616         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24617         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24618         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24619         Add more erfc tests.
24620         * math/auto-libm-test-out: Regenerated.
24621         * sysdeps/i386/fpu/libm-test-ulps: Update.
24622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24624         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24625         exp2, expm1, j0 and j1.
24626         * math/auto-libm-test-out: Regenerated.
24627         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24628         (erfc_test_data): Likewise.
24629         (exp_test_data): Likewise.
24630         (exp_tonearest_test_data): Likewise.
24631         (exp_towardzero_test_data): Likewise.
24632         (exp_downward_test_data): Likewise.
24633         (exp_upward_test_data): Likewise.
24634         (exp10_test_data): Likewise.
24635         (exp2_test_data): Likewise.
24636         (expm1_test_data): Likewise.
24637         (j0_test_data): Likewise.
24638         (j1_test_data): Likewise.
24639         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24640         (input_flag_type): Add flag_xfail_rounding.
24641         (input_flags): Add xfail-rounding.
24642         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24643         (output_for_one_input_case): Handle flag_xfail_rounding.
24644         * sysdeps/i386/fpu/libm-test-ulps: Update.
24645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24647 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
24649         [BZ #16289]
24650         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24651         division by 0.
24653 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655         [BZ #16195]
24656         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24657         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24658         (STAP_PROBE0): New macro.
24659         (STAP_PROBE1): Likewise.
24660         (STAP_PROBE2): Likewise.
24661         (STAP_PROBE3): Likewise.
24662         (STAP_PROBE4): Likewise.
24664 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
24666         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24668 2013-12-02  Steve Ellcey  <sellcey@mips.com>
24670         * benchtests/Makefile (bench): Add sqrt.
24671         (LDLIBS-bench-sqrt): New.
24672         * benchtests/sqrt-input: New.
24674 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
24676         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24677         (GAIH_EAI): Likewise.
24678         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24679         (gaih_inet): Likewise.
24680         (getaddrinfo): Don't use GAIH_EAI.
24682         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24683         (struct gaih): Remove definition.
24685 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24687         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24688         Use HERRNOP directly.
24690 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24694 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
24696         * math/gen-auto-libm-tests.c (test_functions): Add more
24697         single-argument functions.
24698         (special_fill_pi_2): New function.
24699         (special_fill_minus_pi_2): Likewise.
24700         (special_fill_pi_6): Likewise.
24701         (special_fill_minus_pi_6): Likewise.
24702         (special_fill_pi_3): Likewise.
24703         (special_fill_2pi_3): Likewise.
24704         (special_fill_e): Likewise.
24705         (special_fill_1_e): Likewise.
24706         (special_fill_e_minus_1): Likewise.
24707         (special_real_inputs): Add more special inputs.
24708         (output_for_one_input_case): Do not require ERANGE on underflow to
24709         zero if round-to-nearest result does not underflow to zero, unless
24710         exact results required.
24711         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24712         atan, atanh, cbrt, cos and cosh.
24713         * math/auto-libm-test-out: Regenerated.
24714         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24715         (acos_tonearest_test_data): Likewise.
24716         (acos_towardzero_test_data): Likewise.
24717         (acos_downward_test_data): Likewise.
24718         (acos_upward_test_data): Likewise.
24719         (acosh_test_data): Likewise.
24720         (asin_test_data): Likewise.
24721         (asin_tonearest_test_data): Likewise.
24722         (asin_towardzero_test_data): Likewise.
24723         (asin_upward_test_data): Likewise.
24724         (asinh_test_data): Likewise.
24725         (atan_test_data): Likewise.
24726         (atanh_test_data): Likewise.
24727         (cbrt_test_data): Likewise.
24728         (cos_test_data): Likewise.
24729         (cos_tonearest_test_data): Likewise.
24730         (cos_towardzero_test_data): Likewise.
24731         (cos_downward_test_data): Likewise.
24732         (cos_upward_test_data): Likewise.
24733         (cosh_test_data): Likewise.
24734         (cosh_tonearest_test_data): Likewise.
24735         (cosh_towardzero_test_data): Likewise.
24736         (cosh_downward_test_data): Likewise.
24737         (cosh_upward_test_data): Likewise.
24738         * sysdeps/i386/fpu/libm-test-ulps: Update.
24739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24741 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
24743         [BZ #6787]
24744         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24745         * math/w_exp10f.c (__exp10f): Likewise.
24746         * math/w_exp10l.c (__exp10l): Likewise.
24747         * math/libm-test.inc (exp10_test_data): Add more tests and expect
24748         errno settings in existing tests.
24750         [BZ #14032]
24751         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24752         precision control set to double precision.
24753         * sysdeps/i386/fpu/w_sqrt.c: New file.
24754         * math/auto-libm-test-in: Add more tests.
24755         * math/auto-libm-test-out: Update.
24757         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24758         (sqrt_test_tonearest): New function.
24759         (sqrt_towardzero_test_data): New variable.
24760         (sqrt_test_towardzero): New function.
24761         (sqrt_downward_test_data): New variable.
24762         (sqrt_test_downward): New function.
24763         (sqrt_upward_test_data): New variable.
24764         (sqrt_test_upward): New function.
24765         (main): Call the new functions.
24767         * math/gen-auto-libm-tests.c: New file.
24768         * math/auto-libm-test-in: Likewise.
24769         * math/auto-libm-test-out: New generated file.
24770         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24771         variables.
24772         (%beautify): Add generated representations of zero.
24773         (top level): Set $auto_input and call parse_auto_input.
24774         (beautify): Remove trailing "f" from hex float constants.
24775         (parse_args): Handle XFAIL_TEST.
24776         (convert_condition): New function.
24777         (or_value): Likewise.
24778         (or_cond_value): Likewise.
24779         (generate_testfile): Handle AUTO_TESTS_* lines.
24780         (parse_auto_input): New function.
24781         * math/libm-test.inc (XFAIL_TEST): New macro.
24782         (ERRNO_UNCHANGED): Update value.
24783         (ERRNO_EDOM): Likewise.
24784         (ERRNO_ERANGE): Likewise.
24785         (IGNORE_RESULT): Likewise.
24786         (TEST_COND_flt_32): New macro.
24787         (TEST_COND_dbl_64): Likewise.
24788         (TEST_COND_ldbl_96_intel): Likewise.
24789         (TEST_COND_ldbl_96_m68k): Likewise.
24790         (TEST_COND_ldbl_128): Likewise.
24791         (TEST_COND_ldbl_128ibm): Likewise.
24792         (TEST_COND_long32): Likewise.
24793         (TEST_COND_long64): Likewise.
24794         (TEST_COND_before_rounding): Likewise.
24795         (TEST_COND_after_rounding): Likewise.
24796         (enable_test): Handle XFAIL_TEST flag.
24797         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24798         with finite results.
24799         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24800         auto-libm-test-out.
24802 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24803             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24805         [BZ #16214]
24806         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24807         __tls_get_addr_internal instead of __tls_get_offset in order to
24808         avoid GOT pointer dependency.  Make rtld export
24809         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24810         __tls_get_addr since we are a __tls_get_offset platform.
24811         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24812         GOT pointer being set up before.
24813         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24815 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24817         * manual/math.texi (Errors in Math Functions): Document accuracy
24818         goals.
24820         [BZ #15004]
24821         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24822         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24823         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24824         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24825         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24826         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24827         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24828         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24829         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24830         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24831         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24832         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24833         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24834         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24835         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24836         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24838         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24839         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24840         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24841         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24842         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24843         Likewise.
24844         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24845         Likewise.
24846         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24847         Likewise.
24848         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24849         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24850         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24851         atomic-feupdateenv and flt-rounds.
24852         * sysdeps/powerpc/nofpu/Versions (libc): Add
24853         __atomic_feholdexcept, __atomic_feclearexcept,
24854         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24856         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24857         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24858         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24859         here.
24860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24861         Update.
24863         * manual/arith.texi (FP Exceptions): Document that exceptions may
24864         not be raised when matherr is used.
24865         (Math Error Reporting): Document overflow in directed rounding
24866         modes.  Document that errno may not be set when finite values are
24867         returned on overflow.  Document intent to set errno on underflow
24868         only for underflow to zero.
24870         [BZ #16271]
24871         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24872         round-to-nearest then adjust result for other rounding modes.
24873         * include/fenv.h (fegetround): Use libm_hidden_proto.
24874         * math/fegetround.c (fegetround): Use libm_hidden_def.
24875         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24876         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24877         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24878         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24879         Likewise.
24880         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24881         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24882         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24883         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24885 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24887         [BZ #16077]
24888         * nss/Versions (libnss_files): Add
24889         _nss_files_gethostbyname3_r.
24890         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24891         New function.
24892         (HOST_DB_LOOKUP): Remove macro.
24893         (_nss_files_gethostbyname_r): Implement function without the
24894         HOST_DB_LOOKUP macro.
24895         (_nss_files_gethostbyname2_r): Likewise.
24897 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24899         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24901 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24903         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24904         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24905         warning.
24907 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24909         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24910         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24911         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24912         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24913         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24914         __fe_nomask_env_priv and attribute_hidden.
24915         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24916         (libc_feupdateenv_test_ppc): Likewise.
24917         (libc_feresetround_ppc): Likewise.
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24919         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24920         compat_symbol macro.
24921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24922         (__fe_nomask_env): Likewise.
24923         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24925 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24927         * string/Makefile: Remove ifunc tests.
24928         * string/test-string.h: Define TEST_IFUNC.
24929         * string/test-bcopy-ifunc.c: Remove.
24930         * string/test-bzero-ifunc.c: Likewise.
24931         * string/test-memccpy-ifunc.c: Likewise.
24932         * string/test-memchr-ifunc.c: Likewise.
24933         * string/test-memcmp-ifunc.c: Likewise.
24934         * string/test-memcpy-ifunc.c: Likewise.
24935         * string/test-memmem-ifunc.c: Likewise.
24936         * string/test-memmove-ifunc.c: Likewise.
24937         * string/test-mempcpy-ifunc.c: Likewise.
24938         * string/test-memrchr-ifunc.c: Likewise.
24939         * string/test-memset-ifunc.c: Likewise.
24940         * string/test-rawmemchr-ifunc.c: Likewise.
24941         * string/test-stpcpy-ifunc.c: Likewise.
24942         * string/test-stpncpy-ifunc.c: Likewise.
24943         * string/test-strcasecmp-ifunc.c: Likewise.
24944         * string/test-strcasestr-ifunc.c: Likewise.
24945         * string/test-strcat-ifunc.c: Likewise.
24946         * string/test-strchr-ifunc.c: Likewise.
24947         * string/test-strchrnul-ifunc.c: Likewise.
24948         * string/test-strcmp-ifunc.c: Likewise.
24949         * string/test-strcpy-ifunc.c: Likewise.
24950         * string/test-strcspn-ifunc.c: Likewise.
24951         * string/test-strlen-ifunc.c: Likewise.
24952         * string/test-strncasecmp-ifunc.c: Likewise.
24953         * string/test-strncat-ifunc.c: Likewise.
24954         * string/test-strncmp-ifunc.c: Likewise.
24955         * string/test-strncpy-ifunc.c: Likewise.
24956         * string/test-strnlen-ifunc.c: Likewise.
24957         * string/test-strpbrk-ifunc.c: Likewise.
24958         * string/test-strrchr-ifunc.c: Likewise.
24959         * string/test-strspn-ifunc.c: Likewise.
24960         * string/test-strstr-ifunc.c: Likewise.
24962 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24964         * benchtests/Makefile: Remove ifunc tests.
24965         * benchtests/bench-string.h: Define TEST_IFUNC.
24966         * benchtests/bench-bcopy-ifunc.c: Remove.
24967         * benchtests/bench-bzero-ifunc.c: Likewise.
24968         * benchtests/bench-memccpy-ifunc.c: Likewise.
24969         * benchtests/bench-memchr-ifunc.c: Likewise.
24970         * benchtests/bench-memcmp-ifunc.c: Likewise.
24971         * benchtests/bench-memcpy-ifunc.c: Likewise.
24972         * benchtests/bench-memmem-ifunc.c: Likewise.
24973         * benchtests/bench-memmove-ifunc.c: Likewise.
24974         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24975         * benchtests/bench-memrchr-ifunc.c: Likewise.
24976         * benchtests/bench-memset-ifunc.c: Likewise.
24977         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24978         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24979         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24980         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24981         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24982         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24983         * benchtests/bench-strcat-ifunc.c: Likewise.
24984         * benchtests/bench-strchr-ifunc.c: Likewise.
24985         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24986         * benchtests/bench-strcmp-ifunc.c: Likewise.
24987         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24988         * benchtests/bench-strcpy-ifunc.c: Likewise.
24989         * benchtests/bench-strcspn-ifunc.c: Likewise.
24990         * benchtests/bench-strlen-ifunc.c: Likewise.
24991         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24992         * benchtests/bench-strncat-ifunc.c: Likewise.
24993         * benchtests/bench-strncmp-ifunc.c: Likewise.
24994         * benchtests/bench-strncpy-ifunc.c: Likewise.
24995         * benchtests/bench-strnlen-ifunc.c: Likewise.
24996         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24997         * benchtests/bench-strrchr-ifunc.c: Likewise.
24998         * benchtests/bench-strsep-ifunc.c: Likewise.
24999         * benchtests/bench-strspn-ifunc.c: Likewise.
25000         * benchtests/bench-strstr-ifunc.c: Likewise.
25002 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25004         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25006 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25008         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25009         * rt/aio.h: Likewise.
25010         * sysdeps/gnu/bits/utmp.h: Likewise.
25011         * sysdeps/gnu/bits/utmpx.h: Likewise.
25012         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25013         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25014         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25015         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25016         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25017         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25018         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25019         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25020         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25021         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25022         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25023         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25024         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25026         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25027         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25028         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25029         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25030         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25031         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25032         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25033         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25034         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25035         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25036         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25037         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25038         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25039         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25040         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25041         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25042         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25043         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25044         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25045         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25046         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25047         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25048         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25049         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25050         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25051         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25052         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25053         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25055 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25057         [BZ #16245]
25058         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25059         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25061 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25063         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25065         Likewise.
25067 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25070         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25071         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25072         (__fesetround): Remove define.
25073         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25074         rounding and exceptions handling.
25075         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25076         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25077         (__fe_nomask_env): Likewise.
25078         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25079         __fegetround instead of fegetround.
25080         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25081         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25083 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25085         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25086         it's there.
25088         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25090 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25092         [BZ #11157]
25093         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25094         (encrypt_r): Likewise.
25095         * malloc/obstack.h (obstack_free): Likewise.
25096         * posix/unistd.h (encrypt): Likewise.
25098 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25100         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25101         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25102         DL_CALL_DT_FINI() that call the functions directly.
25103         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25104         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25105         * elf/dl-fini.c: Likewise.
25107 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25109         * malloc/hooks.c (memalign_check): Add alignment rounding.
25110         * malloc/malloc.c (_mid_memalign): New function.
25111         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25112         Implement by calling _mid_memalign.
25113         * manual/probes.texi (Memory Allocation Probes): Remove
25114         memory_valloc_retry and memory_pvalloc_retry.
25116 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25118         * locale/programs/locarchive.c (open_archive): Add const
25119         qualifier to ARCHIVEFNAME and copy default fname to
25120         DEFAULT_FNAME.
25122         [BZ #15601]
25123         * libio/tst-widetext.input: Rename Oriya to Odia.
25124         * locale/iso-639.def: Likewise.
25126         * manual/probes.texi (Mathematical Function Probes): Add
25127         documentation for sin, cos, asin and acos probes.
25128         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25129         (__sin32): Add slowasin probe.
25130         (__cos32): Add slowacos probe.
25131         (__mpsin): Add slowsin probe.
25132         (__mpcos): Add slowcos probe.
25134 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25136         [BZ #15483]
25137         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25138         thread-local __sim_exceptions_thread and global
25139         __sim_exceptions_global.
25140         (__sim_disabled_exceptions): Change to thread-local
25141         __sim_disabled_exceptions_thread and global
25142         __sim_disabled_exceptions_global.
25143         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25144         and global __sim_round_mode_global.
25145         (__simulate_exceptions): Use thread-local floating-point state and
25146         set global state from it as needed.
25147         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25148         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25149         __sim_round_mode_thread.
25150         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25151         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25152         and global __sim_exceptions_global.
25153         (__sim_disabled_exceptions): Change to thread-local
25154         __sim_disabled_exceptions_thread and global
25155         __sim_disabled_exceptions_global.
25156         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25157         and global __sim_round_mode_global.
25158         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25159         (SIM_SET_GLOBAL): Likewise.
25160         * sysdeps/powerpc/soft-fp/sfp-machine.h
25161         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25162         __sim_round_mode_thread.
25163         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25164         __sim_disabled_exceptions_thread.
25165         (__sim_exceptions): Change to __sim_exceptions_thread.
25166         (__sim_disabled_exceptions): Change to
25167         __sim_disabled_exceptions_thread.
25168         (__sim_round_mode): Change to __sim_round_mode_thread.
25169         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25170         thread-local floating-point state and set global state from it as
25171         needed.
25172         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25173         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25174         (__sim_disabled_exceptions): Remove extern declaration.
25175         (feenableexcept): Use thread-local floating-point state and set
25176         global state from it as needed.
25177         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25178         extern declaration.
25179         (__sim_disabled_exceptions): Likewise.
25180         (__sim_round_mode): Likewise.
25181         (__fegetenv): Use thread-local floating-point state.
25182         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25183         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25184         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25185         floating-point state and set global state from it as needed.
25186         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25187         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25188         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25189         Likewise.
25190         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25191         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25192         Likewise.
25193         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25194         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25195         Use __sim_round_mode_thread.
25196         * math/test-fenv-tls.c: New file.
25197         * math/Makefile (tests): Add test-fenv-tls.
25198         ($(objpfx)test-fenv-tls): Depend on
25199         $(common-objpfx)nptl/libpthread.so.
25201 2013-11-19  Andreas Schwab  <schwab@suse.de>
25203         * locale/programs/locale.c (show_info): Decode wordarray elements.
25204         * locale/categories.def (LC_MONETARY): Add element for
25205         _NL_MONETARY_CRNCYSTR.
25206         * locale/C-monetary.c (conversion_rate): New variable.
25207         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25208         element.
25210 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25212         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25213         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25215 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25217         * elf/Makefile (tst-auxv): New test.
25218         * elf/tst-auxv.c: New
25219         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25221 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25223         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25224         (hidden_proto): Caller changed.
25225         (hidden_tls_proto): New macro.
25226         (libc_hidden_tls_proto): Likewise.
25227         (rtld_hidden_tls_proto): Likewise.
25228         (libm_hidden_tls_proto): Likewise.
25229         (libresolv_hidden_tls_proto): Likewise.
25230         (librt_hidden_tls_proto): Likewise.
25231         (libdl_hidden_tls_proto): Likewise.
25232         (libnss_files_hidden_tls_proto): Likewise.
25233         (libnsl_hidden_tls_proto): Likewise.
25234         (libnss_nisplus_hidden_tls_proto): Likewise.
25235         (libutil_hidden_tls_proto): Likewise.
25237 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25239         [BZ #10253]
25240         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25241         (decompose_rpath): Defer expansion to fillin_rpath.
25242         (_dl_init_paths): Pass linkmap to fillin_rpath.
25244 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25246         * benchtests/Makefile: Add strsep.
25247         * benchtests/bench-strsep.c: New file: strsep benchtest.
25248         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25250 2013-11-18  Andreas Schwab  <schwab@suse.de>
25252         * locale/programs/locale.c (show_info) [case byte]: Check for
25253         '\377' instead of '\177'.
25254         * locale/C-monetary.c (not_available): Always use "\377".
25255         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25256         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25257         detect unavailable sign_posn locale elements.
25258         * locale/localeconv.c (__localeconv): For grouping and
25259         mon_grouping handle "\177" and "\377" like no grouping.
25260         (INT_ELEM): New macro.  Use it to set all numeric members.
25261         * locale/programs/ld-monetary.c (monetary_read)
25262         <tok_mon_grouping>: Normalize single -1 to the empty string.
25263         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25264         Likewise.
25266 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25268         [BZ #16055]
25269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25270         when we match (nil).
25271         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25273 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25275         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25276         (NO_TEST_INLINE): Update value.
25277         (ERRNO_UNCHANGED): Likewise.
25278         (ERRNO_EDOM): Likewise.
25279         (ERRNO_ERANGE): Likewise.
25280         (IGNORE_RESULT): Likewise.
25281         (check_float_internal): Check signs of NaN results if
25282         TEST_NAN_SIGN used.
25283         (check_complex): Pass TEST_NAN_SIGN flag through to second
25284         check_float_internal call.
25285         (copysign_test_data): Add tests with quiet NaNs as second
25286         argument.  Use TEST_NAN_SIGN.
25287         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25288         TEST_NAN_SIGN.
25289         (signbit_test_data): Add tests of quiet NaN argument.
25290         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25292         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25293         $ignore_result.
25294         (parse_args): Handle function results specified as IGNORE.
25295         * math/libm-test.inc (IGNORE_RESULT): New macro.
25296         (check_float_internal): Do not check numerical result if flag
25297         IGNORE_RESULT set.
25298         (check_complex): Pass through IGNORE_RESULT to second
25299         check_float_internal call.
25300         (check_int): Do not check numerical result if flag IGNORE_RESULT
25301         set.
25302         (check_long): Likewise.
25303         (check_bool): Likewise.
25304         (check_longlong): Likewise.
25305         (lrint_test_data): Add tests of infinite and NaN arguments.
25306         (lrint_tonearest_test_data): Likewise.
25307         (lrint_towardzero_test_data): Likewise.
25308         (lrint_downward_test_data): Likewise.
25309         (lrint_upward_test_data): Likewise.
25310         (llrint_test_data): Likewise.
25311         (llrint_tonearest_test_data): Likewise.
25312         (llrint_towardzero_test_data): Likewise.
25313         (llrint_downward_test_data): Likewise.
25314         (llrint_upward_test_data): Likewise.
25315         (lround_test_data): Likewise.
25316         (llround_test_data): Likewise.
25318         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25319         (ERRNO_UNCHANGED): Update value.
25320         (ERRNO_EDOM): Likewise.
25321         (ERRNO_ERANGE): Likewise.
25322         (NO_TEST_INLINE_FLOAT): New macro.
25323         (NO_TEST_INLINE_DOUBLE): Likewise.
25324         (enable_test): New function.
25325         (RUN_TEST_f_f): Check enable_test before running test.
25326         (RUN_TEST_2_f): Likewise.
25327         (RUN_TEST_fff_f): Likewise.
25328         (RUN_TEST_c_f): Likewise.
25329         (RUN_TEST_f_f1): Likewise.
25330         (RUN_TEST_fF_f1): Likewise.
25331         (RUN_TEST_fI_f1): Likewise.
25332         (RUN_TEST_ffI_f1): Likewise.
25333         (RUN_TEST_c_c): Likewise.
25334         (RUN_TEST_cc_c): Likewise.
25335         (RUN_TEST_f_i): Likewise.
25336         (RUN_TEST_f_i_tg): Likewise.
25337         (RUN_TEST_ff_i_tg): Likewise.
25338         (RUN_TEST_f_b): Likewise.
25339         (RUN_TEST_f_b_tg): Likewise.
25340         (RUN_TEST_f_l): Likewise.
25341         (RUN_TEST_f_L): Likewise.
25342         (RUN_TEST_fFF_11): Likewise.
25343         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25344         conditionals.
25345         (cosh_test_data): Likewise.
25346         (exp_test_data): Likewise.
25347         (expm1_test_data): Likewise.
25348         (hypot_test_data): Likewise.
25349         (pow_test_data): Likewise.
25350         (sinh_test_data): Likewise.
25351         (tanh_test_data): Likewise.
25352         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25353         flags argument.
25355         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25356         tests with quiet NaN input and output.
25357         (acosh_test_data): Likewise.
25358         (asin_test_data): Likewise.
25359         (asinh_test_data): Likewise.
25360         (atan_test_data): Likewise.
25361         (atanh_test_data): Likewise.
25362         (atan2_test_data): Likewise.
25363         (cbrt_test_data): Likewise.
25364         (cos_test_data): Likewise.
25365         (cosh_test_data): Likewise.
25366         (erf_test_data): Likewise.
25367         (erfc_test_data): Likewise.
25368         (exp_test_data): Likewise.
25369         (exp10_test_data): Likewise.
25370         (exp2_test_data): Likewise.
25371         (expm1_test_data): Likewise.
25372         (hypot_test_data): Likewise.
25373         (j0_test_data): Likewise.
25374         (j1_test_data): Likewise.
25375         (jn_test_data): Likewise.
25376         (lgamma_test_data): Likewise.
25377         (log_test_data): Likewise.
25378         (log10_test_data): Likewise.
25379         (log1p_test_data): Likewise.
25380         (log2_test_data): Likewise.
25381         (pow_test_data): Likewise.
25382         (scalb_test_data): Likewise.
25383         (sin_test_data): Likewise.
25384         (sincos_test_data): Likewise.
25385         (sinh_test_data): Likewise.
25386         (tan_test_data): Likewise.
25387         (tanh_test_data): Likewise.
25388         (tgamma_test_data): Likewise.
25389         (y0_test_data): Likewise.
25390         (y1_test_data): Likewise.
25391         (yn_test_data): Likewise.
25393         [BZ #16167]
25394         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25395         argument being NaN and avoid computations with second argument in
25396         that case.
25397         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25398         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25399         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25401 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25403         * locale/iso-639.def: Add Chitwani Tharu (the).
25405 2013-11-14  Andreas Schwab  <schwab@suse.de>
25407         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25408         word instead of empty string.
25410 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25413         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25415         (__fe_nomask_env): Likewise.
25417 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25419         * benchtests/bench-timing.h: Include time.h.
25421 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25423         [BZ #15997]
25424         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25425         to 3.4.0 for x32.
25426         * sysdeps/unix/sysv/linux/configure: Regenerated.
25428 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25430         [BZ #16151]
25431         * stdlib/strtod_l.c (round_and_return): Do not consider
25432         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25433         exponent one less than half the least subnormal exponent.
25434         * stdlib/test-strtod-round-data: Add more tests.
25435         * stdlib/tst-strtod-round.c (tests): Regenerated.
25437 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25439         [BZ #14143]
25440         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25441         (__fe_mask_env): Likewise.
25442         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25443         libm_hidden_proto and add function prototype.
25444         (__fe_mask_env): Add function prototype.
25445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25446         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25448         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25450         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25452 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25454         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25455         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25457 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25459         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25460         of htab_find_slot().
25462 2013-11-11  David S. Miller  <davem@davemloft.net>
25464         [BZ #16150]
25465         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25466         symbol in the non-vis3 case in static builds.
25467         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25468         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25469         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25470         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25472 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25474         [BZ #387]
25475         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25476         it is empty.
25478 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25480         * benchtests/Makefile: Add bench-strtod.
25481         * benchtests/bench-strtod.c: New file: strtod benchtest
25483 2013-11-11  Andreas Schwab  <schwab@suse.de>
25485         [BZ #16153]
25486         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25487         terminating NUL in key length.
25489 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25491         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25492         Add artificial ODP entry for vDSO symbol for PPC64.
25493         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25494         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25496 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25498         [BZ #15374]
25499         * nss/getent.c (services_keys): Recognize services starting with digit.
25501 2013-11-06  David S. Miller  <davem@davemloft.net>
25503         [BZ #15985]
25504         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25505         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25507 2013-11-06  Will Newton  <will.newton@linaro.org>
25509         * manual/memory.texi (Malloc Examples): Remove register
25510         keyword from examples.
25512 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25514         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25516 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25518         [BZ #6981]
25519         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25520         depending on [__GCC_IEC_559 > 0].
25521         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25522         depending on [__GCC_IEC_559_COMPLEX > 0].
25524 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25526         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25527         to iso-639.def.
25529 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25531         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25533 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25535         [BZ #16112]
25536         * malloc/malloc (malloc_info): Do not handle first bin as
25537         special case.
25539 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25541         * locale/iso-639.def: Add Central Nahuatl (nhn).
25543 2013-11-01  Bruno Haible  <bruno@clisp.org>
25545         [BZ #7003]
25546         * manual/math.texi (BSD Random): Specify range upper bound as
25547         in POSIX.
25549 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25551         * locale/iso-639.def: Add Meadow Mari (mhr).
25553 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
25555         [BZ #14752], [BZ #15763]
25556         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25557         Validate name.
25558         * rt/tst_shm.c: Add test for escaping directory.
25560 2013-10-31  Andreas Schwab  <schwab@suse.de>
25562         [BZ #15917]
25563         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25564         followed by 'x' as part of digit sequence.
25565         * stdio-common/tst-sscanf.c (double_tests2): New tests.
25567 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25569         [BZ #16037]
25570         * configure.ac: allow GNU Make 4.0 and greater.
25571         * configure: Regenerated.
25573 2013-10-30  Will Newton  <will.newton@linaro.org>
25575         [BZ #16038]
25576         * malloc/hooks.c (memalign_check): Limit alignment to the
25577         maximum representable power of two.
25578         * malloc/malloc.c (__libc_memalign): Likewise.
25579         * malloc/tst-memalign.c (do_test): Add test for very
25580         large alignment values.
25581         * malloc/tst-posix_memalign.c (do_test): Likewise.
25583 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25585         [BZ #11087]
25586         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25587         (munmap_chunk): Likewise.
25588         (mremap_chunk): Likewise.
25590 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25592         [BZ #15799]
25593         * stdlib/div.c (div): Remove obsolete code.
25594         * stdlib/ldiv.c (ldiv): Likewise.
25595         * stdlib/lldiv.c (lldiv): Likewise.
25597 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25599         [BZ #16071]
25600         * nss/nss_files/files-XXX.c (get_contents_ret): New
25601         enumerator.
25602         (get_contents): New function.
25603         (internal_getent): Use it.  Expand size of LINEBUFLEN.
25605 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
25607         * configure.in: Moved to ...
25608         * configure.ac: ... here. Change reference to configure.in
25609         to configure.ac.
25610         * sysdeps/arm/preconfigure.ac: ... here.
25611         configure.in to configure.ac.
25612         * sysdeps/gnu/configure.in: Moved to ...
25613         * sysdeps/gnu/configure.ac: ... here.
25614         * sysdeps/i386/configure.in: Moved to ...
25615         * sysdeps/i386/configure.ac: ... here.
25616         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25617         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25618         * sysdeps/mach/configure.in: Moved to ...
25619         * sysdeps/mach/configure.ac: ... here.
25620         * sysdeps/mach/hurd/configure.in: Moved to ...
25621         * sysdeps/mach/hurd/configure.ac: ... here.
25622         * sysdeps/powerpc/configure.in: Moved to ...
25623         * sysdeps/powerpc/configure.ac: ... here.
25624         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25625         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25626         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25627         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25628         * sysdeps/s390/s390-32/configure.in: Moved to ...
25629         * sysdeps/s390/s390-32/configure.ac: ... here.
25630         * sysdeps/s390/s390-64/configure.in: Moved to ...
25631         * sysdeps/s390/s390-64/configure.ac: ... here.
25632         * sysdeps/sh/configure.in: Moved to ...
25633         * sysdeps/sh/configure.ac: ... here.
25634         * sysdeps/sparc/configure.in: Moved to ...
25635         * sysdeps/sparc/configure.ac: ... here.
25636         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25637         * sysdeps/unix/sysv/linux/configure.ac: ... here.
25638         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25639         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25640         * sysdeps/x86_64/configure.in: Moved to ...
25641         * sysdeps/x86_64/configure.ac: ... here.
25642         * sysdeps/x86_64/preconfigure.in: Moved to ...
25643         * sysdeps/x86_64/preconfigure.ac: ... here.
25644         * aclocal.m4: Change reference to configure.in to configure.ac.
25645         * config.h.in: Likewise.
25646         * manual/install.texi: Likewise.
25647         * manual/maint.texi: Likewise.
25648         * Makefile: Likewise.
25649         * malloc/Makefile: Likewise.
25650         * nscd/Makefile: Likewise.
25651         * Makeconfig: Change reference to configure.in and
25652         preconfigure.in to configure.ac and preconfigure.ac
25653         respectively.
25654         * INSTALL: Regenerated.
25655         * configure: Likewise.
25656         * sysdeps/gnu/configure: Likewise.
25657         * sysdeps/i386/configure: Likewise.
25658         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25659         * sysdeps/mach/configure: Likewise.
25660         * sysdeps/mach/hurd/configure: Likewise.
25661         * sysdeps/powerpc/configure: Likewise.
25662         * sysdeps/powerpc/powerpc32/configure: Likewise.
25663         * sysdeps/powerpc/powerpc64/configure: Likewise.
25664         * sysdeps/s390/s390-32/configure: Likewise.
25665         * sysdeps/s390/s390-64/configure: Likewise.
25666         * sysdeps/sh/configure: Likewise.
25667         * sysdeps/sparc/configure: Likewise.
25668         * sysdeps/unix/sysv/linux/configure: Likewise.
25669         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25670         * sysdeps/x86_64/configure: Likewise.
25671         * sysdeps/x86_64/preconfigure: Likewise.
25673 2013-10-29  Andreas Schwab  <schwab@suse.de>
25675         * stdio-common/Makefile (tst-swscanf-ENV): Define.
25677 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25679         * benchtests/pow-inputs: Add new inputs.
25681         * benchtests/exp-inputs: Add new inputs.
25683         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25684         conditional check for return value.
25685         (__cos32): Likewise.
25687 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25689         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25690         to provide a boost for large inputs with word alignment.
25691         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25692         implementation based on optimized PPC64 strcpy.
25693         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25694         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25695         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25696         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25698 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25700         [BZ #2801]
25701         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25703 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25705         [BZ #14876]
25706         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25707         * time/tst-strptime.c (day_tests): Add testcase.
25709 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25711         [BZ #14029]
25712         * manual/pattern.texi: Acknowledge that fnmatch can fail.
25714 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
25716         [BZ #16074]
25717         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25718         MAP_FAILED on error.
25720 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25722         [BZ #16072]
25723         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25724         heap for large requests.
25726 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
25728         [BZ #9954]
25729         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25730         result if the result has no associated interface.
25731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25732         interface for all 127.X.Y.Z addresses.
25734 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
25736         * locale/iso-639.def: Add Ligurian (lij)
25738 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
25740         [BZ #15825]
25741         * sunrpc/rpc_main.c: Document rpcgen -5.
25743 2013-10-19  Michael Stahl  <mstahl@redhat.com>
25745         * elf/rtld.c (do_preload): Print the reason why preloading failed.
25747 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25749         [BZ #10278]
25750         * posix/glob.c: Match only directories when trailing slash is present.
25751         * posix/tst-gnuglob.c (my_opendir): Do not open files.
25752         (main): Add testcase.
25754 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25756         [BZ #15670]
25757         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25759 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
25761         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25762         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25763         AUTH_DES and cindex for FIPS 140-2.
25764         (DES Encryption): Add cindex FIPS 46-3.
25766         * locale/locarchive.h (struct locarhandle): Add fname.
25767         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25768         if an optional argument was specified to --list-archive,
25769         otherwise NULL.
25770         * locale/programs/locarchive.c (show_archive_content): Take new
25771         argument fname and pass it via ah.fname to open_archive.
25772         * locale/programs/localedef.h: Update decl.
25773         (open_archive): If AH->fname is non-null, open that file
25774         rather than the default file name, and don't ignore ENOENT.
25775         (create_archive): Set AH.fname to NULL.
25776         (delete_locales_from_archive): Likewise.
25777         (add_locales_to_archive): Likewise.
25778         * locale/programs/locfile.c (write_all_categories): Likewise.
25780 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25781             Aldy Hernandez  <aldyh@redhat.com>
25783         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25784         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25785         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25786         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25787         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25788         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25789         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25790         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25791         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25792         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25793         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25794         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25795         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25796         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25797         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25798         Likewise.
25799         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25800         Likewise.
25801         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25802         Likewise.
25803         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25804         Likewise.
25805         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25806         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25807         Likewise.
25808         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25809         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25810         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25811         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25812         Likewise.
25813         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25814         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25815         * sysdeps/powerpc/preconfigure: Likewise.
25816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25817         Likewise.
25818         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25819         Replace contents of file by #include of <fenv_libc.h>.
25820         * sysdeps/powerpc/soft-fp/sfp-machine.h
25821         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25822         and <sys/prctl.h>.
25823         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25836         Allow copysignl PLT reference to be missing.
25838 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25839             Joseph Myers  <joseph@codesourcery.com
25841         [BZ #15948]
25842         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25843         single character.
25844         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25846 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25848         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25849         * elf/tst-tls1.c: Likewise.
25850         * elf/tst-tls10.h: Likewise.
25851         * elf/tst-tls14.c: Likewise.
25852         * elf/tst-tls2.c: Likewise.
25853         * elf/tst-tls3.c: Likewise.
25854         * elf/tst-tls4.c: Likewise.
25855         * elf/tst-tls5.c: Likewise.
25856         * elf/tst-tls6.c: Likewise.
25857         * elf/tst-tls7.c: Likewise.
25858         * elf/tst-tls8.c: Likewise.
25859         * elf/tst-tls9.c: Likewise.
25860         * elf/tst-tlsmod1.c: Likewise.
25861         * elf/tst-tlsmod13.c: Likewise.
25862         * elf/tst-tlsmod13a.c: Likewise.
25863         * elf/tst-tlsmod14a.c: Likewise.
25864         * elf/tst-tlsmod16a.c: Likewise.
25865         * elf/tst-tlsmod16b.c: Likewise.
25866         * elf/tst-tlsmod2.c: Likewise.
25867         * elf/tst-tlsmod3.c: Likewise.
25868         * elf/tst-tlsmod4.c: Likewise.
25869         * elf/tst-tlsmod5.c: Likewise.
25870         * elf/tst-tlsmod6.c: Likewise.
25872 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25874         [BZ #12486]
25875         * malloc/malloc.c: remove checks for statistics.
25877 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25879         [BZ #15277]
25880         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25881         * inet/tst-network.c: Add testcase.
25883 2013-10-17  Andreas Schwab  <schwab@suse.de>
25885         [BZ #15218]
25886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25887         to determine canonical name.
25889 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25891         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25892         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25894         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25895         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25896         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25897         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25898         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25899         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25900         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25901         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25902         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25903         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25904         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25905         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25906         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25907         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25908         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25909         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25910         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25911         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25913         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25914         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25915         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25916         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25917         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25918         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25919         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25920         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25921         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25922         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25923         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25924         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25925         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25926         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25927         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25928         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25929         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25930         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25931         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25932         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25933         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25934         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25935         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25936         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25937         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25938         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25939         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25940         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25941         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25942         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25944         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25945         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25946         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25947         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25948         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25950 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25952         [BZ #16041]
25953         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25954         make result into a quiet NaN.
25956 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25958         * soft-fp/adddf3.c: Fix horizontal whitespace.
25959         * soft-fp/addsf3.c: Likewise.
25960         * soft-fp/addtf3.c: Likewise.
25961         * soft-fp/divdf3.c: Likewise.
25962         * soft-fp/divsf3.c: Likewise.
25963         * soft-fp/divtf3.c: Likewise.
25964         * soft-fp/double.h: Likewise.
25965         * soft-fp/eqdf2.c: Likewise.
25966         * soft-fp/eqsf2.c: Likewise.
25967         * soft-fp/eqtf2.c: Likewise.
25968         * soft-fp/extenddftf2.c: Likewise.
25969         * soft-fp/extended.h: Likewise.
25970         * soft-fp/extendsfdf2.c: Likewise.
25971         * soft-fp/extendsftf2.c: Likewise.
25972         * soft-fp/extendxftf2.c: Likewise.
25973         * soft-fp/fixdfdi.c: Likewise.
25974         * soft-fp/fixdfsi.c: Likewise.
25975         * soft-fp/fixdfti.c: Likewise.
25976         * soft-fp/fixsfdi.c: Likewise.
25977         * soft-fp/fixsfsi.c: Likewise.
25978         * soft-fp/fixsfti.c: Likewise.
25979         * soft-fp/fixtfdi.c: Likewise.
25980         * soft-fp/fixtfsi.c: Likewise.
25981         * soft-fp/fixtfti.c: Likewise.
25982         * soft-fp/fixunsdfdi.c: Likewise.
25983         * soft-fp/fixunsdfsi.c: Likewise.
25984         * soft-fp/fixunsdfti.c: Likewise.
25985         * soft-fp/fixunssfdi.c: Likewise.
25986         * soft-fp/fixunssfsi.c: Likewise.
25987         * soft-fp/fixunssfti.c: Likewise.
25988         * soft-fp/fixunstfdi.c: Likewise.
25989         * soft-fp/fixunstfsi.c: Likewise.
25990         * soft-fp/fixunstfti.c: Likewise.
25991         * soft-fp/floatdidf.c: Likewise.
25992         * soft-fp/floatdisf.c: Likewise.
25993         * soft-fp/floatditf.c: Likewise.
25994         * soft-fp/floatsidf.c: Likewise.
25995         * soft-fp/floatsisf.c: Likewise.
25996         * soft-fp/floatsitf.c: Likewise.
25997         * soft-fp/floattidf.c: Likewise.
25998         * soft-fp/floattisf.c: Likewise.
25999         * soft-fp/floattitf.c: Likewise.
26000         * soft-fp/floatundidf.c: Likewise.
26001         * soft-fp/floatundisf.c: Likewise.
26002         * soft-fp/floatunditf.c: Likewise.
26003         * soft-fp/floatunsidf.c: Likewise.
26004         * soft-fp/floatunsisf.c: Likewise.
26005         * soft-fp/floatunsitf.c: Likewise.
26006         * soft-fp/floatuntidf.c: Likewise.
26007         * soft-fp/floatuntisf.c: Likewise.
26008         * soft-fp/floatuntitf.c: Likewise.
26009         * soft-fp/fmadf4.c: Likewise.
26010         * soft-fp/fmasf4.c: Likewise.
26011         * soft-fp/fmatf4.c: Likewise.
26012         * soft-fp/gedf2.c: Likewise.
26013         * soft-fp/gesf2.c: Likewise.
26014         * soft-fp/getf2.c: Likewise.
26015         * soft-fp/ledf2.c: Likewise.
26016         * soft-fp/lesf2.c: Likewise.
26017         * soft-fp/letf2.c: Likewise.
26018         * soft-fp/muldf3.c: Likewise.
26019         * soft-fp/mulsf3.c: Likewise.
26020         * soft-fp/multf3.c: Likewise.
26021         * soft-fp/negdf2.c: Likewise.
26022         * soft-fp/negsf2.c: Likewise.
26023         * soft-fp/negtf2.c: Likewise.
26024         * soft-fp/op-1.h: Likewise.
26025         * soft-fp/op-2.h: Likewise.
26026         * soft-fp/op-4.h: Likewise.
26027         * soft-fp/op-8.h: Likewise.
26028         * soft-fp/op-common.h: Likewise.
26029         * soft-fp/quad.h: Likewise.
26030         * soft-fp/single.h: Likewise.
26031         * soft-fp/soft-fp.h: Likewise.
26032         * soft-fp/sqrtdf2.c: Likewise.
26033         * soft-fp/sqrtsf2.c: Likewise.
26034         * soft-fp/sqrttf2.c: Likewise.
26035         * soft-fp/subdf3.c: Likewise.
26036         * soft-fp/subsf3.c: Likewise.
26037         * soft-fp/subtf3.c: Likewise.
26038         * soft-fp/truncdfsf2.c: Likewise.
26039         * soft-fp/trunctfdf2.c: Likewise.
26040         * soft-fp/trunctfsf2.c: Likewise.
26041         * soft-fp/trunctfxf2.c: Likewise.
26042         * soft-fp/unorddf2.c: Likewise.
26043         * soft-fp/unordsf2.c: Likewise.
26044         * soft-fp/unordtf2.c: Likewise.
26046 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26048         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26049         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26051 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26053         * elf/dl-libc.c: Clear initfini list after freeing.
26055 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26057         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26058         * soft-fp/addsf3.c: Likewise.
26059         * soft-fp/addtf3.c: Likewise.
26060         * soft-fp/divdf3.c: Likewise.
26061         * soft-fp/divsf3.c: Likewise.
26062         * soft-fp/divtf3.c: Likewise.
26063         * soft-fp/double.h: Likewise.
26064         * soft-fp/eqdf2.c: Likewise.
26065         * soft-fp/eqsf2.c: Likewise.
26066         * soft-fp/eqtf2.c: Likewise.
26067         * soft-fp/extenddftf2.c: Likewise.
26068         * soft-fp/extended.h: Likewise.
26069         * soft-fp/extendsfdf2.c: Likewise.
26070         * soft-fp/extendsftf2.c: Likewise.
26071         * soft-fp/extendxftf2.c: Likewise.
26072         * soft-fp/fixdfdi.c: Likewise.
26073         * soft-fp/fixdfsi.c: Likewise.
26074         * soft-fp/fixdfti.c: Likewise.
26075         * soft-fp/fixsfdi.c: Likewise.
26076         * soft-fp/fixsfsi.c: Likewise.
26077         * soft-fp/fixsfti.c: Likewise.
26078         * soft-fp/fixtfdi.c: Likewise.
26079         * soft-fp/fixtfsi.c: Likewise.
26080         * soft-fp/fixtfti.c: Likewise.
26081         * soft-fp/fixunsdfdi.c: Likewise.
26082         * soft-fp/fixunsdfsi.c: Likewise.
26083         * soft-fp/fixunsdfti.c: Likewise.
26084         * soft-fp/fixunssfdi.c: Likewise.
26085         * soft-fp/fixunssfsi.c: Likewise.
26086         * soft-fp/fixunssfti.c: Likewise.
26087         * soft-fp/fixunstfdi.c: Likewise.
26088         * soft-fp/fixunstfsi.c: Likewise.
26089         * soft-fp/fixunstfti.c: Likewise.
26090         * soft-fp/floatdidf.c: Likewise.
26091         * soft-fp/floatdisf.c: Likewise.
26092         * soft-fp/floatditf.c: Likewise.
26093         * soft-fp/floatsidf.c: Likewise.
26094         * soft-fp/floatsisf.c: Likewise.
26095         * soft-fp/floatsitf.c: Likewise.
26096         * soft-fp/floattidf.c: Likewise.
26097         * soft-fp/floattisf.c: Likewise.
26098         * soft-fp/floattitf.c: Likewise.
26099         * soft-fp/floatundidf.c: Likewise.
26100         * soft-fp/floatundisf.c: Likewise.
26101         * soft-fp/floatunsidf.c: Likewise.
26102         * soft-fp/floatunsisf.c: Likewise.
26103         * soft-fp/floatuntidf.c: Likewise.
26104         * soft-fp/floatuntisf.c: Likewise.
26105         * soft-fp/floatuntitf.c: Likewise.
26106         * soft-fp/fmadf4.c: Likewise.
26107         * soft-fp/fmasf4.c: Likewise.
26108         * soft-fp/fmatf4.c: Likewise.
26109         * soft-fp/gedf2.c: Likewise.
26110         * soft-fp/gesf2.c: Likewise.
26111         * soft-fp/getf2.c: Likewise.
26112         * soft-fp/ledf2.c: Likewise.
26113         * soft-fp/lesf2.c: Likewise.
26114         * soft-fp/letf2.c: Likewise.
26115         * soft-fp/muldf3.c: Likewise.
26116         * soft-fp/mulsf3.c: Likewise.
26117         * soft-fp/multf3.c: Likewise.
26118         * soft-fp/negdf2.c: Likewise.
26119         * soft-fp/negsf2.c: Likewise.
26120         * soft-fp/negtf2.c: Likewise.
26121         * soft-fp/op-1.h: Likewise.
26122         * soft-fp/op-2.h: Likewise.
26123         * soft-fp/op-4.h: Likewise.
26124         * soft-fp/op-8.h: Likewise.
26125         * soft-fp/op-common.h: Likewise.
26126         * soft-fp/quad.h: Likewise.
26127         * soft-fp/single.h: Likewise.
26128         * soft-fp/soft-fp.h: Likewise.
26129         * soft-fp/sqrtdf2.c: Likewise.
26130         * soft-fp/sqrtsf2.c: Likewise.
26131         * soft-fp/sqrttf2.c: Likewise.
26132         * soft-fp/subdf3.c: Likewise.
26133         * soft-fp/subsf3.c: Likewise.
26134         * soft-fp/subtf3.c: Likewise.
26135         * soft-fp/truncdfsf2.c: Likewise.
26136         * soft-fp/trunctfdf2.c: Likewise.
26137         * soft-fp/trunctfsf2.c: Likewise.
26138         * soft-fp/trunctfxf2.c: Likewise.
26139         * soft-fp/unorddf2.c: Likewise.
26140         * soft-fp/unordsf2.c: Likewise.
26141         * soft-fp/unordtf2.c: Likewise.
26143 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26145         [BZ #15672]
26146         * misc/error.c (error_tail): Fix possible buffer overflow.
26148 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26150         [BZ #13028]
26151         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26152         address.
26154 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26156         [BZ #832]
26157         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26158         testing pipefail option.
26160 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26162         * soft-fp/double.h: Indent preprocessor directives inside #if.
26163         * soft-fp/extended.h: Likewise.
26164         * soft-fp/op-2.h: Likewise.
26165         * soft-fp/op-4.h: Likewise.
26166         * soft-fp/op-common.h: Likewise.
26167         * soft-fp/quad.h: Likewise.
26168         * soft-fp/single.h: Likewise.
26169         * soft-fp/soft-fp.h: Likewise.
26171 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26173         * iconv/iconv_prog.c: Fix typos.
26174         * stdio-common/psiginfo-data.h: Likewise.
26176 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26178         [BZ #15764]
26179         * locale/setlocale.c: Fix typo.
26181 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #16036]
26184         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26185         signaling NaN arguments.
26186         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26187         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26189         [BZ #14910]
26190         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26191         unordered operands.
26192         * soft-fp/gesf2.c (__gesf2): Likewise.
26193         * soft-fp/getf2.c (__getf2): Likewise.
26194         * soft-fp/ledf2.c (__ledf2): Likewise.
26195         * soft-fp/lesf2.c (__lesf2): Likewise.
26196         * soft-fp/letf2.c (__letf2): Likewise.
26198         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26199         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26200         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26201         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26202         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26203         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26204         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26205         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26206         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26207         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26208         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26209         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26210         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26211         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26212         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26213         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26214         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26215         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26216         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26217         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26218         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26219         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26220         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26221         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26222         * soft-fp/floattidf.c (__floattidf): Likewise.
26223         * soft-fp/floattisf.c (__floattisf): Likewise.
26224         * soft-fp/floattitf.c (__floattitf): Likewise.
26225         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26226         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26227         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26228         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26229         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26230         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26231         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26232         * soft-fp/gesf2.c (__gesf2): Likewise.
26233         * soft-fp/getf2.c (__getf2): Likewise.
26234         * soft-fp/ledf2.c (__ledf2): Likewise.
26235         * soft-fp/lesf2.c (__lesf2): Likewise.
26236         * soft-fp/letf2.c (__letf2): Likewise.
26238         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26239         Undefine and redefine.
26240         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26241         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26242         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26243         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26244         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26245         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26246         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26247         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26248         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26249         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26250         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26251         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26252         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26253         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26254         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26256         [BZ #16032]
26257         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26258         without decrementing exponent if mantissa >= that for the
26259         denominator, not >.
26260         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26261         denominator, not >.  Decrement exponent in < case instead of
26262         incrementing in >= case.
26263         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26264         without decrementing exponent if mantissa >= that for the
26265         denominator, not >.
26267         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26268         computing saturated result for unsigned overflow.
26270 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26271             Jeff Law  <law@redhat.com>
26273         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26274         (atan2Mp): Add systemtap probe marker.
26275         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26276         (__ieee754_log): Add systemtap probe marker.
26277         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26278         (atanMp): Add systemtap probe marker.
26279         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26280         (tanMp): Add systemtap probe marker.
26281         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26282         (__slowexp): Add systemtap probe marker.
26283         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26284         (__slowpow): Add systemtap probe marker.
26285         * manual/probes.texi: Document probes.
26287 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26289         [BZ #15362]
26290         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26291         written.
26292         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26293         written.
26294         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26295         written to buffer but not flushed.
26296         * libio/iofwrite_u.c:  Likewise.
26297         * libio/iopadn.c:  Return bytes returned even if EOF was
26298         encountered.
26299         * libio/iowpadn.c:  Likewise.
26300         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26301         if _IO_padn does not write the whole buffer.
26302         [!COMPILE_WPRINTF] (PAD): Likewise.
26304 2013-10-10  David S. Miller  <davem@davemloft.net>
26306         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26307         directory block.
26309 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26311         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26312         instead of FSF address.
26313         * soft-fp/fixdfti.c: Likewise.
26314         * soft-fp/fixsfti.c: Likewise.
26315         * soft-fp/fixtfti.c: Likewise.
26316         * soft-fp/fixunsdfti.c: Likewise.
26317         * soft-fp/fixunssfti.c: Likewise.
26318         * soft-fp/fixunstfti.c: Likewise.
26319         * soft-fp/floattidf.c: Likewise.
26320         * soft-fp/floattisf.c: Likewise.
26321         * soft-fp/floattitf.c: Likewise.
26322         * soft-fp/floatuntidf.c: Likewise.
26323         * soft-fp/floatuntisf.c: Likewise.
26324         * soft-fp/floatuntitf.c: Likewise.
26325         * soft-fp/trunctfxf2.c: Likewise.
26327         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26328         * soft-fp/fixdfti.c: Likewise.
26329         * soft-fp/fixsfti.c: Likewise.
26330         * soft-fp/fixtfti.c: Likewise.
26331         * soft-fp/fixunsdfti.c: Likewise.
26332         * soft-fp/fixunssfti.c: Likewise.
26333         * soft-fp/fixunstfti.c: Likewise.
26334         * soft-fp/floattidf.c: Likewise.
26335         * soft-fp/floattisf.c: Likewise.
26336         * soft-fp/floattitf.c: Likewise.
26337         * soft-fp/floatuntidf.c: Likewise.
26338         * soft-fp/floatuntisf.c: Likewise.
26339         * soft-fp/floatuntitf.c: Likewise.
26340         * soft-fp/trunctfxf2.c: Likewise.
26342 2013-10-10  David S. Miller  <davem@davemloft.net>
26344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26346 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26348         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26349         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26350         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26351         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26352         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26353         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26354         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26357         for NaNs before doing comparisons on argument.
26358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26359         Likewise.
26361 2013-10-10  Will Newton  <will.newton@linaro.org>
26363         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26364         passed to _int_memalign does not overflow.
26366 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26368         * scripts/bench.pl: Add include-sources directive.
26369         * benchtests/README: Update documentation.
26371 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26373         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26374         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26375         instead of FP_INIT_ROUNDMODE.
26376         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26377         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26379         [BZ #16034]
26380         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26381         copy class of input value.
26382         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26383         not handle exceptions.
26384         * soft-fp/negsf2.c (__negsf2): Likewise.
26385         * soft-fp/negtf2.c (__negtf2): Likewise.
26386         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26388 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26390         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26391         semicolon.  From Linux kernel.
26393 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26395         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26397 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26399         [BZ #156]
26400         * manual/socket.texi: Added statement about buffer
26401         for gethostbyname2_r.
26403 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26405         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26406         Use .p2align directive instead, throughout.
26407         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26408         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26409         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26410         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26411         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26412         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26413         * sysdeps/x86_64/strchr.S: Likewise.
26414         * sysdeps/x86_64/strrchr.S: Likewise.
26416 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26418         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26420         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26422         * sysdeps/generic/math_private.h (__mpsin1): Remove
26423         declaration.
26424         (__mpcos1): Likewise.
26425         (__mpsin): New argument __range_reduce.
26426         (__mpcos): Likewise.
26427         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26428         (slow): Use __mpsin and __mpcos.
26429         (slow1): Likewise.
26430         (slow2): Likewise.
26431         (sloww): Likewise.
26432         (sloww1): Likewise.
26433         (sloww2): Likewise.
26434         (bsloww): Likewise.
26435         (bsloww1): Likewise.
26436         (bsloww2): Likewise.
26437         (cslow2): Likewise.
26438         (csloww): Likewise.
26439         (csloww1): Likewise.
26440         (csloww2): Likewise.
26441         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26442         range_reduce.  Merge in __mpsin1.
26443         (__mpcos): Likewise.
26444         (__mpsin1): Remove.
26445         (__mpcos1): Likewise.
26447 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26449         * locale/loadlocale.c (_nl_intern_locale_data): Use
26450         LOCFILE_ALIGNED_P.
26451         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26452         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26453         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26454         obstack data is appropriately aligned.
26455         (obstack_int32_grow_fast): Likewise.
26456         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26457         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26458         (add_locale_uint32_array): Likewise.
26460 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26462         * benchtests/Makefile: Remove ARGLIST and RET variables.
26463         ($(objpfx)bench-%.c): Pass only function name to the script.
26464         * benchtests/README: Update documentation.
26465         * benchtests/acos-inputs: Add new directives.
26466         * benchtests/acosh-inputs: Likewise.
26467         * benchtests/asin-inputs: Likewise.
26468         * benchtests/asinh-inputs: Likewise.
26469         * benchtests/atan-inputs: Likewise.
26470         * benchtests/atanh-inputs: Likewise.
26471         * benchtests/cos-inputs: Likewise.
26472         * benchtests/cosh-inputs: Likewise.
26473         * benchtests/exp-inputs: Likewise.
26474         * benchtests/log-inputs: Likewise.
26475         * benchtests/pow-inputs: Likewise.
26476         * benchtests/rint-inputs: Likewise.
26477         * benchtests/sin-inputs: Likewise.
26478         * benchtests/sinh-inputs: Likewise.
26479         * benchtests/tan-inputs: Likewise.
26480         * benchtests/tanh-inputs: Likewise.
26481         * scripts/bench.pl: Add support for new directives.
26483 2013-10-07  Alan Modra  <amodra@gmail.com>
26485         * README: Fix careless merge.
26487 2013-10-05  Alan Modra  <amodra@gmail.com>
26489         * NEWS: Mention powerpc64le support and bugs fixed.
26490         * README: Both big-endian and little-endian powerpc64 supported.
26492 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26494         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26495         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26496         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26497         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26499 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26501         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26502         match prototype.
26504 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26506         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26507         Move -mhard-float appending from
26508         ports/sysdeps/powerpc/powerpc32/Makefile.
26509         [$(with-fp) = yes] (ASFLAGS): Likewise.
26510         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26511         * sysdeps/powerpc/nofpu: Move directory from
26512         ports/sysdeps/powerpc/nofpu.
26513         * sysdeps/powerpc/soft-fp: Move directory from
26514         ports/sysdeps/powerpc/soft-fp.
26515         * sysdeps/powerpc/powerpc32/405: Move directory from
26516         ports/sysdeps/powerpc/powerpc32/405.
26517         * sysdeps/powerpc/powerpc32/440: Move directory from
26518         ports/sysdeps/powerpc/powerpc32/440.
26519         * sysdeps/powerpc/powerpc32/464: Move directory from
26520         ports/sysdeps/powerpc/powerpc32/464.
26521         * sysdeps/powerpc/powerpc32/476: Move directory from
26522         ports/sysdeps/powerpc/powerpc32/476.
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26524         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26526         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26528         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26530         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26533         * README: Update for powerpc-*-linux-gnu software floating point
26534         support in libc.
26536         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26537         case to powerpc/powerpc32*.
26538         * sysdeps/unix/sysv/linux/configure: Regenerated.
26540         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26541         (_FPU_MASK_OM): Define as 0x04.
26542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26544         0x00c10080.
26545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26546         0x0000003c.
26547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26550         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26551         getcontext_e500.
26552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26553         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26554         setcontext_e500.
26555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26556         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26557         and setcontext_e500.
26559 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
26561         * locale/iso-3166.def: Update iso-1366.def and related occurrences
26563 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26565         * manual/threads.texi (Default Thread Attributes): Fix typo.
26567 2013-10-04  Will Newton  <will.newton@linaro.org>
26569         * malloc/Makefile: Add tst-memalign.
26570         * malloc/tst-memalign.c: New file.
26572         * malloc/tst-posix_memalign.c: Add comments.
26573         (do_test): Add comments and call free on all potentially
26574         allocated pointers. Add space after cast.
26576         * malloc/tst-pvalloc.c: Add comments.
26577         (do_test): Add comments and call free on all potentially
26578         allocated pointers. Remove duplicate check for NULL pointer.
26579         Add space after cast.
26581         * malloc/tst-valloc.c: Add comments.
26582         (do_test): Add comments and call free on all potentially
26583         allocated pointers. Remove duplicate check for NULL pointer.
26584         Add space after cast.
26586 2013-10-04  Alan Modra  <amodra@gmail.com>
26588         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26589         Use stdint types in rather than __attribute__((mode())).
26590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26592 2013-10-04  Alan Modra  <amodra@gmail.com>
26594         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26595         Correct handling of unaligned relocs for little-endian.
26596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26598 2013-10-04  Alan Modra  <amodra@gmail.com>
26600         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26601         * configure: Regenerate.
26602         * nptl/shlib-versions: Powerpc*le starts at 2.18.
26603         * shlib-versions: Likewise.
26605 2013-10-04  Alan Modra  <amodra@gmail.com>
26607         * string/tester.c (test_memrchr): Increment reported test cycle.
26609 2013-10-04  Alan Modra  <amodra@gmail.com>
26611         * string/test-memcpy.c (do_one_test): When reporting errors, print
26612         string address and don't overrun end of string.
26614 2013-10-04  Alan Modra  <amodra@gmail.com>
26616         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26617         insrdi.  Make better use of reg selection to speed exit slightly.
26618         Schedule entry path a little better.  Remove useless "are we done"
26619         checks on entry to main loop.  Handle wrapping around zero address.
26620         Correct main loop count.  Handle single left-over word from main
26621         loop inline rather than by using loop_small.  Remove extra word
26622         case in loop_small caused by wrong loop count.  Add little-endian
26623         support.
26624         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26625         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
26626         cache hint.
26627         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26628         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26629         support.  Avoid rlwimi.
26630         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26632 2013-10-04  Alan Modra  <amodra@gmail.com>
26634         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26635         insrdi.  Formatting.
26636         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26637         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26638         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26639         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26640         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26641         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26643 2013-10-04  Alan Modra  <amodra@gmail.com>
26645         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26647         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26648         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26649         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26650         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26651         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26652         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26653         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
26654         use of regs.  Use power7 mtocrf.  Tidy function tails.
26656 2013-10-04  Alan Modra  <amodra@gmail.com>
26658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26659         Formatting.  Consistently use rXXX register defines or rN defines.
26660         Use early exit labels that avoid restoring unused non-volatile regs.
26661         Make cr field use more consistent with rWORDn compares.  Rename
26662         regs used as shift registers for unaligned loop, using rN defines
26663         for short lifetime/multiple use regs.
26664         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26665         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
26666         addi 1,1,64 to pop stack frame.  Simplify return value code.
26667         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26669 2013-10-04  Alan Modra  <amodra@gmail.com>
26671         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26672         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
26673         rather than rlwimi.
26674         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26675         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26676         little-endian support.  Correct typos.
26677         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
26678         rather than rlwimi.
26679         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
26680         in loop and entry code to keep "and." results.
26681         (strchr): Add little-endian support.  Comment.  Move cntlzd
26682         earlier in tail.
26683         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26685 2013-10-04  Alan Modra  <amodra@gmail.com>
26687         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26688         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26689         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26690         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26692 2013-10-04  Alan Modra  <amodra@gmail.com>
26694         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26695         (rTMP): Define as r11.
26696         (strcmp): Add little-endian support.  Optimise tail.
26697         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26698         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26699         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26700         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26701         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26703         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26705 2013-10-04  Alan Modra  <amodra@gmail.com>
26707         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26708         little-endian support.  Remove unnecessary "are we done" tests.
26709         Handle "s" wrapping around zero and extremely large "size".
26710         Correct main loop count.  Handle single left-over word from main
26711         loop inline rather than by using small_loop.  Correct comments.
26712         Delete "zero" tail, use "end_max" instead.
26713         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26715 2013-10-04  Alan Modra  <amodra@gmail.com>
26717         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26718         support.  Don't branch over align.
26719         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26720         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26721         support.  Rearrange tmp reg use to suit.  Comment.
26722         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26724 2013-10-04  Alan Modra  <amodra@gmail.com>
26726         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26728 2013-10-04  Alan Modra  <amodra@gmail.com>
26730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26731         conditional form of branch and link when obtaining pc.
26732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26734 2013-10-04  Alan Modra  <amodra@gmail.com>
26736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26737         HIWORD/LOWORD.
26738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26741 2013-10-04  Alan Modra  <amodra@gmail.com>
26743         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26744         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26745         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26746         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26747         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26748         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26749         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26750         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26751         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26752         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26754 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26755             Alistair Popple <alistair@ozlabs.au.ibm.com>
26756             Alan Modra <amodra@gmail.com>
26758         [BZ #15723]
26759         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26760         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26761         _dl_hwcap access for little-endian.
26762         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
26763         destroy vmx regs when saving unaligned.
26764         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26765         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26766         destroy vmx regs when saving unaligned.
26768 2013-10-04  Alan Modra  <amodra@gmail.com>
26770         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26771         Don't use a union to pack hi/low value.
26773 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26775         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26776         for little-endian.
26777         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26778         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26779         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26780         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26781         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26783 2013-10-04  Alan Modra  <amodra@gmail.com>
26785         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26786         constants to usual value for .cst8 section, and remove redundant
26787         high address load.
26788         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26789         constant for 0x1p52.  Load little-endian words of double from
26790         correct stack offsets.
26792 2013-10-04  Alan Modra  <amodra@gmail.com>
26794         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26795         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26796         words of double from correct stack offsets.
26797         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26798         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26799         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26802         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26803         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26804         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26805         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26806         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26809         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26810         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26811         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26812         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26813         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26815 2013-10-04  Alan Modra  <amodra@gmail.com>
26817         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26818         64-bit int/double union.
26819         (_FPU_SETCW): Likewise.
26820         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26821         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26823 2013-10-04  Alan Modra  <amodra@gmail.com>
26825         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26826         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26828 2013-10-04  Alan Modra  <amodra@gmail.com>
26830         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26831         use vector int constants.
26832         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26834 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26836         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26837         array with long long.
26838         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26839         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26840         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26841         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26842         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26843         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26844         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26845         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26846         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26847         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26848         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26849         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26850         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26854         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26855         (__signbit): Likewise.  Correct for little-endian.
26856         (__signbitl): Call __signbit.
26857         (lrint): Correct for little-endian.
26858         (lrintf): Call lrint.
26860 2013-10-04  Alan Modra  <amodra@gmail.com>
26862         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26863         union 32-bit int array member with 64-bit int array.
26864         (t515, tm256): Double rather than long double.
26865         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26867 2013-10-04  Alan Modra  <amodra@gmail.com>
26869         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26870         Delete.
26871         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26873         version of math_ldbl.h.
26875 2013-10-04  Alan Modra  <amodra@gmail.com>
26877         [BZ #15734], [BZ #15735]
26878         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26879         all uses of ieee875 long double macros and unions.  Simplify test
26880         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26881         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26882         normalize after ldbl_extract_mantissa, and don't add hidden bit
26883         already handled.  Don't treat low word of ieee854 mantissa like
26884         low word of IBM long double and mask off bit when testing for
26885         zero.
26886         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26887         all uses of ieee875 long double macros and unions.  Simplify tests
26888         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26889         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26890         two1022, instead use their values.  Recognise that tests for large
26891         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26892         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26893         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26894         test for 0.0L and nan.  Correct negation.
26895         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26896         ieee875 long double macros and unions.  Correct output for large
26897         magnitude x.  Correct absolute value calculation.
26898         (__erfcl): Likewise.
26899         * math/libm-test.inc: Add tests for errors discovered in IBM long
26900         double versions of fmodl, remainderl, erfl and erfcl.
26902 2013-10-04  Alan Modra  <amodra@gmail.com>
26904         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26905         all uses of ieee854 long double macros and unions.  Simplify tests
26906         for long doubles that are fully specified by the high double.
26907         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26908         Likewise.
26909         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26910         Remove dead code too.
26911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26912         (__ieee754_ynl): Likewise.
26913         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26914         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26916         Remove dead code too.
26917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26918         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26919         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26921         Simplify.
26922         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26923         Simplify.
26924         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26926         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26927         Comment on variable precision.
26928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26930         Likewise.
26931         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26934         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26935         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26937 2013-10-04  Alan Modra  <amodra@gmail.com>
26939         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26940         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26941         all uses of ieee854 long double macros and unions.
26942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26943         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26946         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26947         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26948         Likewise.
26949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26950         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26952         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26953         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26954         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26955         Simplify sign and nan test too.
26956         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26957         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26958         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26959         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26960         Likewise.
26961         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26962         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26963         Likewise.
26964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26965         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26966         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26967         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26968         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26971 2013-10-04  Alan Modra  <amodra@gmail.com>
26973         * stdio-common/printf_size.c (__printf_size): Don't use
26974         union ieee854_long_double in fpnum union.
26975         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26976         signbit macro to retrieve sign from long double.
26977         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26978         retrieve sign from long double.
26979         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26980         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26981         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26982         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26983         * math/test-misc.c (main): Don't use union ieee854_long_double.
26985 2013-10-04  Alan Modra  <amodra@gmail.com>
26987         [BZ #15680]
26988         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26989         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26990         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26991         calculation.  Remove unnecessary test for denormal exponent.
26992         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26993         Correct handling of denormals.  Avoid undefined shift behaviour.
26994         Correct normalisation of low mantissa when low double is denormal.
26995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26996         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26997         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26998         Correct normalisation of low mantissa.  Test for overflow of high
26999         mantissa and normalise.
27000         (ldbl_nearbyint): Use more readable constant for two52.
27001         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27002         (__mpn_construct_long_double): Fix test for overflow of high
27003         mantissa and correct normalisation.  Avoid undefined shift.
27005 2013-10-04  Alan Modra  <amodra@gmail.com>
27007         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27008         (union ibm_extended_long_double): Define as an array of ieee754_double.
27009         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27010         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27011         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27012         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27013         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27014         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27015         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27016         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27018         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27019         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27021 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27023         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27024         page size instead of calling getpagesize.
27026         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27027         (LOCFILE_ALIGN_MASK): Likewise.
27028         (LOCFILE_ALIGN_UP): Likewise.
27029         (LOCFILE_ALIGNED_P): Likewise.
27030         * locale/programs/ld-collate.c (collate_output): Use the new
27031         macros instead of __alignof__ (int32_t).
27032         * locale/weight.h (findidx): Likewise.
27034 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27036         [BZ #431]
27037         * manual/string.texi: Fix strncat and wcsncat.
27039 2013-10-03  Brooks Moses  <bmoses@google.com>
27041         [BZ #15915]
27042         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27043         * Makerules: ...here, and adjust associated comments.
27045 2013-10-02  Will Newton  <will.newton@linaro.org>
27047         * malloc/Makefile: Add tst-pvalloc.
27048         * malloc/tst-pvalloc.c: New file.
27050 2013-10-02  Will Newton  <will.newton@linaro.org>
27052         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27053         improve test coverage.
27055 2013-10-02  Will Newton  <will.newton@linaro.org>
27057         * malloc/Makefile: Add tst-posix_memalign.
27058         * malloc/tst-posix_memalign.c: New file.
27060 2013-10-01  Eric Blake  <eblake@redhat.com>
27062         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27063         Use __THROWNL rather than __THROW on static functions.
27065 2013-09-30  Petr Machata  <pmachata@redhat.com>
27067         * elf/elf.h (R_AARCH64_ABS16): New macro.
27068         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27069         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27070         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27071         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27072         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27073         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27074         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27075         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27076         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27077         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27078         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27079         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27080         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27081         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27082         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27083         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27084         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27085         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27086         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27087         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27088         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27089         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27090         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27091         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27092         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27093         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27094         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27095         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27096         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27097         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27098         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27099         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27100         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27101         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27102         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27103         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27104         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27105         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27106         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27107         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27108         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27109         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27110         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27111         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27112         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27113         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27114         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27115         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27116         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27117         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27118         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27119         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27120         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27121         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27122         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27123         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27124         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27125         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27126         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27127         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27128         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27129         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27130         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27131         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27132         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27133         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27134         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27135         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27136         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27137         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27138         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27139         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27140         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27141         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27142         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27143         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27144         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27145         (R_AARCH64_TLSDESC_LDR): Likewise.
27146         (R_AARCH64_TLSDESC_ADD): Likewise.
27147         (R_AARCH64_TLSDESC_CALL): Likewise.
27149 2013-09-30  Andreas Schwab  <schwab@suse.de>
27151         [BZ #15048]
27152         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27153         the nss database lookup.
27154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27157 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27159         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27161 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27163         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27164         ${Bash-specific parameter/pattern/string} parameter expansion.
27165         * sysdeps/unix/make-syscalls.sh: Likewise.
27167 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27169         * sysdeps/sh/stackguard-macros.h: New file.
27171 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27175         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27176         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27177         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27178         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27180 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27182         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27183         Fix thread ID register.
27185 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27187         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27188         [POSIX || UNIX98]: Require rather than permitting all symbols from
27189         <time.h>.
27190         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27191         element of struct sched_param.
27192         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27193         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27194         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27195         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27196         constant.
27198 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27200         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27201         argument calculation.
27203 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27205         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27206         Expect macro.
27207         [POSIX] (pthread_attr_t): Do not require type.
27208         [POSIX] (pthread_cond_t): Likewise.
27209         [POSIX] (pthread_condattr_t): Likewise.
27210         [POSIX] (pthread_key_t): Likewise.
27211         [POSIX] (pthread_mutex_t): Likewise.
27212         [POSIX] (pthread_mutexattr_t): Likewise.
27213         [POSIX] (pthread_once_t): Likewise.
27214         [POSIX] (pthread_t): Likewise.
27215         [POSIX-based standards] (pthread_atfork): Expect function.
27217 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27218             Richard Sandiford  <richard@codesourcery.com>
27220         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27221         (swap_endianness_p): New extern variable.
27222         (set_big_endian): New inline function.
27223         (maybe_swap_uint32): Likewise.
27224         (maybe_swap_uint32_array): Likewise.
27225         (maybe_swap_uint32_obstack): Likewise.
27226         * locale/programs/locfile.c: Include <stdbool.h>.
27227         (swap_endianness_p): New variable.
27228         (add_locale_uint32): Call maybe_swap_uint32.
27229         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27230         (write_locale_data): Call maybe_swap_uint32_array.
27231         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27232         maybe_swap_uint32.
27233         (obstack_int32_grow_fast): Likewise.
27234         (output_weightwc): Call maybe_swap_uint32_obstack.
27235         (collate_output): Likewise.
27236         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27237         (OPT_LITTLE_ENDIAN): Likewise.
27238         (options): Add --little-endian and --big-endian options.
27239         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27240         * locale/programs/locarchive.c: Include "locfile.h".
27241         (GET): New macro.
27242         (SET): Likewise.
27243         (INC): Likewise.
27244         (create_archive): Use the new macros to access fields of
27245         structures directly mapped from or written to locale archives.
27246         (oldlocrecentcmp): Likewise.
27247         (enlarge_archive): Likewise.
27248         (insert_name): Likewise.
27249         (add_alias): Likewise.
27250         (add_locale): Likewise.
27251         (delete_locales_from_archive): Likewise.
27252         (show_archive_content): Likewise.
27253         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27254         locale data.
27256 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27258         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27259         http://www.gnu.org/doc/freemanuals.texi.
27260         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27262 2013-09-24  Will Newton  <will.newton@linaro.org>
27264         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27265         macro.
27267 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27269         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27270         unsigned char.
27272 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27274         * manual/threads.texi (POSIX Threads): Fix a typo.
27276 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278         [BZ #14547]
27279         * string/tst-strcoll-overflow.c: New test case.
27280         * string/Makefile (xtests): Add tst-strcoll-overflow.
27281         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27282         cache if string sizes may cause integer overflow.
27284         [BZ #14547]
27285         * string/strcoll_l.c (coll_seq): New members rule, idx,
27286         save_idx and back_us.
27287         (get_next_seq_nocache): New function.
27288         (do_compare_nocache): New function.
27289         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27290         when malloc fails.
27292 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27294         [BZ #15754]
27295         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27296         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27297         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27299         [BZ #15754]
27300         * elf/Makefile (tests): Add tst-ptrguard1.
27301         (tests-static): Add tst-ptrguard1-static.
27302         (tst-ptrguard1-ARGS): Define.
27303         (tst-ptrguard1-static-ARGS): Define.
27304         * elf/tst-ptrguard1.c: New file.
27305         * elf/tst-ptrguard1-static.c: New file.
27306         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27307         * sysdeps/i386/stackguard-macros.h: Likewise.
27308         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27309         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27310         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27311         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27312         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27313         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27315 2013-09-23  Hector Marco  <hecmargi@upv.es>
27316             Ismael Ripoll  <iripoll@disca.upv.es>
27317             Carlos O'Donell  <carlos@redhat.com>
27319         [BZ #15754]
27320         * sysdeps/generic/stackguard-macros.h: Define
27321         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27322         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27323         Define __pointer_chk_guard_local.
27324         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27325         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27327 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27329         [BZ #15859]
27330         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27332 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27334         * include/string.h (__ffs): Declare as hidden.
27335         * string/ffs.c (__ffs): Define as hidden.
27336         * sysdeps/i386/ffs.c (__ffs): Likewise.
27337         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27338         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27339         * sysdeps/s390/ffs.c (__ffs): Likewise.
27340         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27342 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27344         * NEWS: Mention malloc probes.
27346         * malloc/arena.c (new_heap): New memory_heap_new probe.
27347         (grow_heap): New memory_heap_more probe.
27348         (shrink_heap): New memory_heap_less probe.
27349         (heap_trim): New memory_heap_free probe.
27350         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27351         (systrim): New memory_sbrk_less probe.
27352         * manual/probes.texi: Document them.
27354         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27355         * manual/probes.texi: Document it.
27357         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27358         (__libc_realloc): Add memory_realloc_retry probe.
27359         (__libc_memalign): Add memory_memalign_retry probe.
27360         (__libc_valloc): Add memory_valloc_retry probe.
27361         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27362         (__libc_calloc): Add memory_calloc_retry probe.
27363         * manual/probes.texi: Document them.
27365         * malloc/arena.c (get_free_list): Add probe
27366         memory_arena_reuse_free_list.
27367         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27368         and memory_arena_reuse.
27369         (arena_get2) [!PER_THREAD]: Likewise.
27370         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27371         memory_arena_reuse_realloc.
27372         * manual/probes.texi: Document them.
27374         * malloc/malloc.c (__libc_free): Add
27375         memory_mallopt_free_dyn_thresholds probe.
27376         (__libc_mallopt): Add multiple memory_mallopt probes.
27377         * manual/probes.texi: Document them.
27379         * malloc/malloc.c: Include stap-probe.h.
27380         (__libc_mallopt): Add memory_mallopt probe.
27381         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27382         * manual/probes.texi: New.
27383         * manual/Makefile (chapters): Add probes.
27384         * manual/threads.texi: Set next node.
27386 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27388         [BZ #15963, #13985]
27389         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27390         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27391         Add `Chinese' to `nan' entry name.
27393 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27395         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27396         (POLYNOMIAL): Likewise.
27397         (TAYLOR_SINCOS): Likewise.
27398         (TAYLOR_SLOW): Likewise.
27399         (__sin): Use TAYLOR_SINCOS.
27400         (__cos): Likewise.
27401         (slow): Use TAYLOR_SLOW.
27402         (sloww): Likewise.
27403         (bsloww): Likewise.
27404         (csloww): Likewise.
27406 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27408         * stdlib/strtod_l.c: Fix buffer overrun.
27410 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27412         * benchtests/Makefile (bench): Add sincos.
27413         * benchtests/bench-sincos.c: New file.
27415         * math/libm-test.inc (cos_test_data): New test inputs.
27416         (sin_test_data): Likewise.
27418         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27419         macro.
27420         (__sin): Use it.
27421         (__cos): Likewise.
27422         (slow1): Likewise.
27423         (slow2): Likewise.
27424         (sloww1): Likewise.
27425         (sloww2): Likewise.
27426         (bsloww1): Likewise.
27427         (bsloww2): Likewise.
27428         (cslow2): Likewise.
27429         (csloww1): Likewise.
27430         (csloww2): Likewise.
27432         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27433         function.
27434         (__sin): Use it.
27435         (__cos): Likewise.
27437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27438         gotos.
27439         (__cos): Likewise.
27441 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27443         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27444         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27445         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27446         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27447         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27448         * elf/cache.c (print_entry): Handle the new cache flags.
27450 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27451             Aldy Hernandez  <aldyh@redhat.com>
27453         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27454         Change condition to [_SOFT_FLOAT].
27455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27467         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27470         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27471         declaration.
27473 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27475         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27476         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27477         (__longjmp): Use LOAD_GP to load saved GPRs.
27478         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27479         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27480         (__sigsetjmp): Use SAVE_GP to save GPRs.
27482         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27483         Do not append -msoft-float.
27484         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27486 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27488         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27490 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27492         [BZ #15966]
27493         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27494         (_FPU_GETCW): Use initial "__" on variable and field names but not
27495         on macro parameter name.
27496         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27497         parentheses around reference to macro parameter.
27499 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27501         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27502         prototype.
27503         (ctype_startup): Use uint32_t in cast and sizeof for
27504         ctype->charnames.
27506 2013-09-11  Jia Liu  <proljc@gmail.com>
27508         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27509         __daddr_t_defined.
27510         [__FreeBSD__]: Likewise.
27512 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27515         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27516         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27517         (strchr): Remove __strchr_sse42 ifunc selection.
27518         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27519         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27521 2013-09-11  Will Newton  <will.newton@linaro.org>
27523         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27524         parameter to RES. Remove hardcoded 1000 value.
27525         * benchtests/bench-skeleton.c (main): Pass RES parameter
27526         to TIMING_INIT and multiply result by 1000.
27528 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27532 2013-09-11  Andreas Schwab  <schwab@suse.de>
27534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27535         if not defined.
27536         (O_TMPFILE) [__USE_GNU]: Define.
27537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27538         Define.
27540 2013-09-11  Will Newton  <will.newton@linaro.org>
27542         [BZ #15857]
27543         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27544         does not overflow.
27546 2013-09-11  Will Newton  <will.newton@linaro.org>
27548         [BZ #15856]
27549         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27550         does not overflow.
27552 2013-09-11  Will Newton  <will.newton@linaro.org>
27554         [BZ #15855]
27555         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27556         does not overflow.
27558 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
27560         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27562         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27563         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27564         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27566 2013-09-10  Allan McRae  <allan@archlinux.org>
27568         [BZ #15748]
27569         * manual/arith.texi (Parsing of Floats): Clarify
27570         cross-reference.
27572         [BZ #15849]
27573         * manual/install.texi (Running make install): Mention
27574         --enable-pt-chown.
27575         * INSTALL: Regenerated.
27577 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
27579         * csu/init-first.c (_init): Remove the !SHARED condition around
27580         FPU control word initialization.
27581         * elf/dl-support.c (_dl_fpu_control): New variable.
27582         (_dl_aux_init) <AT_FPUCW>: Initialize it.
27583         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27584         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27585         * math/test-fpucw-static.c: New file.
27586         * math/test-fpucw-ieee.c: New file.
27587         * math/test-fpucw-ieee-static.c: New file.
27588         * math/Makefile (tests): Add `test-fpucw-ieee' and
27589         `$(tests-static)'.
27590         (tests-static): New variable.
27591         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27592         dependency to...
27593         [($(build-shared),yes)]
27594         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27595         ... this.
27596         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27597         New dependency.
27599 2013-09-09  Allan McRae  <allan@archlinux.org>
27601         [BZ #15939]
27602         * manual/string.texi (Collation Functions): Fix typo in
27603         strcoll example.
27604         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27606         [BZ #15893]
27607         * stdlib/isomac.c (get_null_defines): Fix memory leak.
27609         [BZ #15892]
27610         * libio/memstream.c (open_memstream): Fix memory leak.
27611         * libio/wmemstream.c (open_wmemstream): Likewise.
27613         [BZ #15895]
27614         * nscd/netgroupcache.c: Fix nesting of ifdefs.
27616 2013-09-09  Will Newton  <will.newton@linaro.org>
27618         * malloc/Makefile: Add tst-realloc to tests.
27619         * malloc/tst-realloc.c: New file.
27621 2013-09-09  Allan McRae  <allan@archlinux.org>
27623         [BZ #15844]
27624         * COPYING: Update from GNU website to fix FSF address.
27625         * COPYING.LIB: Likewise.
27627 2013-09-06  David S. Miller  <davem@davemloft.net>
27629         * po/zh_TW.po: Update Chinese (traditional) translation from
27630         translation project.
27632 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
27633             Joseph Myers  <joseph@codesourcery.com>
27635         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27636         "localeinfo.h".
27637         (obstack_chunk_alloc): New macro.
27638         (obstack_chunk_free): Likewise.
27639         (record_offset): New function.
27640         (init_locale_data): Likewise.
27641         (align_locale_data): Likewise.
27642         (add_locale_empty): Likewise.
27643         (add_locale_raw_data): Likewise.
27644         (add_locale_raw_obstack): Likewise.
27645         (add_locale_string): Likewise.
27646         (add_locale_wstring): Likewise.
27647         (add_locale_uint32): Likewise.
27648         (add_locale_uint32_array): Likewise.
27649         (add_locale_char): Likewise.
27650         (start_locale_structure): Likewise.
27651         (end_locale_structure): Likewise.
27652         (start_locale_prelude): Likewise.
27653         (end_locale_prelude): Likewise.
27654         (write_locale_data): Take locale_file structure rather than an
27655         iovec.
27656         * locale/programs/locfile.h: Include "obstack.h".
27657         (struct locale_file): Change to store locale file contents instead
27658         of header.
27659         (init_locale_data): New prototype.
27660         (align_locale_data): Likewise.
27661         (add_locale_empty): Likewise.
27662         (add_locale_raw_data): Likewise.
27663         (add_locale_raw_obstack): Likewise.
27664         (add_locale_string): Likewise.
27665         (add_locale_wstring): Likewise.
27666         (add_locale_uint32): Likewise.
27667         (add_locale_uint32_array): Likewise.
27668         (add_locale_char): Likewise.
27669         (start_locale_structure): Likewise.
27670         (end_locale_structure): Likewise.
27671         (start_locale_prelude): Likewise.
27672         (end_locale_prelude): Likewise.
27673         (write_locale_data): Update prototype.
27674         * locale/programs/3level.h (struct TABLE): Remove result field.
27675         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27676         Use new locale_file interface.
27677         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27678         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27679         * locale/programs/ld-address.c (address_output): Use new
27680         locale_file interface.
27681         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27682         NO_ADD_LOCALE.
27683         (collate_finish): Don't call collseq_table_finalize.
27684         (collate_output): Use new locale_file interface.
27685         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27686         in file.
27687         (NO_FINALIZE): Change to NO_ADD_LOCALE.
27688         (TABLE): Move defines earlier in file.
27689         (ELEMENT): Likewise.
27690         (DEFAULT): Likewise.
27691         (wctrans_table_add): Move macro and inline function earlier in
27692         file.
27693         (struct wctype_table): Move type earlier in file.
27694         (add_locale_wctype_table): New static prototype.
27695         (struct locale_ctype_t): Use logical types instead of struct iovec
27696         pointers for members.
27697         (ctype_output): Use new locale_file interface.
27698         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
27699         new locale_file interface.
27700         (allocate_arrays): Update for use of new locale_file interface.
27701         * locale/programs/ld-identification.c (identification_output): Use
27702         new locale_file interface.
27703         * locale/programs/ld-measurement.c (measurement_output): Likewise.
27704         * locale/programs/ld-messages.c (messages_output): Likewise.
27705         * locale/programs/ld-monetary.c (monetary_output): Likewise.
27706         * locale/programs/ld-name.c (name_output): Likewise.
27707         * locale/programs/ld-numeric.c (numeric_output): Likewise.
27708         * locale/programs/ld-paper.c (paper_output): Likewise.
27709         * locale/programs/ld-telephone.c (telephone_output): Likewise.
27710         * locale/programs/ld-time.c (time_output): Likewise.
27712 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27714         * benchtests/Makefile: Add memrchr benchmark.
27715         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27716         benchmark as memrchr.
27717         * benchtests/bench-memrchr-ifunc.c: New file.
27718         * benchtests/bench-memrchr.c: New file.
27720 2013-09-06   Will Newton  <will.newton@linaro.org>
27722         * benchtests/Makefile (string-bench): Add memcpy.
27724 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
27725             Cong Wang  <amwang@redhat.com>
27727         [BZ #15850]
27728         * sysdeps/unix/sysv/linux/bits/in.h
27729         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27730         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27731         before __USE_KERNEL_IPV6_DEFS uses.
27732         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27733         IPPROTO_BEETPH.
27734         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27735         sockaddr_in6, or ipv6_mreq.
27737 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27739         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27740         memory access for final bytes in some large inputs.
27741         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27743 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27745         * string/test-memrchr.c: New file.
27746         * string/test-memrchr-ifunc.c: New file.
27747         * string/Makefile: Add new memrchr testcase.
27749 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
27751         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27752         fanotify_init returns EPERM.
27754 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27756         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27757         errors.
27758         (top level): Treat second token from macro or constant entries for
27759         allowed headers as allowed.
27760         * include/complex.h: Condition internal declarations on
27761         [!_ISOMAC].
27762         * include/fenv.h: Condition include of <stdbool.h> and internal
27763         declarations on [!_ISOMAC].
27765 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27767         [BZ #15923]
27768         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27770 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27772         * configure.in (--enable-versioning): Remove configure option.
27773         (libc_cv_asm_symver_directive): Remove configure test.
27774         (libc_cv_ld_version_script_option): Likewise.
27775         (VERSIONING): Remove variable and AC_SUBST.
27776         (DO_VERSIONING): Remove AC_DEFINE.
27777         * configure: Regenerated.
27778         * config.h.in (DO_VERSIONING): Remove macro.
27779         * Makerules [$(versioning) = yes]: Change conditionals to
27780         [$(build-shared) = yes].
27781         * config.make.in (versioning): Remove variable.
27782         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27783         [$(build-shared) = yes].
27784         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27785         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27786         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27787         [$(build-shared) = yes].
27788         * extra-lib.mk [$(versioning) = yes]: Likewise.
27789         * hurd/Makefile [$(versioning) = yes]: Likewise.
27790         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27791         [SHARED].
27792         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27793         [SHARED].
27794         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27795         [SHARED && !NO_HIDDEN].
27796         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27797         [SHARED].
27798         [SHARED && DO_VERSIONING]: Likewise..
27799         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27800         [$(build-shared) = yes].
27801         * manual/install.texi (--disable-versioning): Remove
27802         documentation.
27803         * INSTALL: Regenerated.
27804         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27805         to [SHARED].
27806         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27807         [$(build-shared) = yes].
27808         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27809         * sysdeps/i386/i686/multiarch/strstr-c.c
27810         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27811         [SHARED && !NO_HIDDEN].
27812         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27813         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27814         * sysdeps/powerpc/powerpc32/dl-machine.c
27815         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27816         * sysdeps/powerpc/powerpc32/sysdep.h
27817         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27818         to [SHARED && PIC && !NO_HIDDEN].
27819         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27820         conditional to [SHARED].
27822 2013-09-04   Will Newton  <will.newton@linaro.org>
27824         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27825         * benchtests/bench-string.h: Include bench-timing.h instead
27826         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27827         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27828         call to HP_TIMING_DIFF_INIT.
27829         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27830         instead of hp-timing.h macros.
27831         * benchtests/bench-memchr.c: Likewise.
27832         * benchtests/bench-memcmp.c: Likewise.
27833         * benchtests/bench-memcpy.c: Likewise.
27834         * benchtests/bench-memmem.c: Likewise.
27835         * benchtests/bench-memmove.c: Likewise.
27836         * benchtests/bench-memset.c: Likewise.
27837         * benchtests/bench-rawmemchr.c: Likewise.
27838         * benchtests/bench-strcasecmp.c: Likewise.
27839         * benchtests/bench-strcasestr.c: Likewise.
27840         * benchtests/bench-strcat.c: Likewise.
27841         * benchtests/bench-strchr.c: Likewise.
27842         * benchtests/bench-strcmp.c: Likewise.
27843         * benchtests/bench-strcpy.c: Likewise.
27844         * benchtests/bench-strcpy_chk.c: Likewise.
27845         * benchtests/bench-strlen.c: Likewise.
27846         * benchtests/bench-strncasecmp.c: Likewise.
27847         * benchtests/bench-strncat.c: Likewise.
27848         * benchtests/bench-strncmp.c: Likewise.
27849         * benchtests/bench-strncpy.c: Likewise.
27850         * benchtests/bench-strnlen.c: Likewise.
27851         * benchtests/bench-strpbrk.c: Likewise.
27852         * benchtests/bench-strrchr.c: Likewise.
27853         * benchtests/bench-strspn.c: Likewise.
27854         * benchtests/bench-strstr.c: Likewise.
27856 2013-09-04  Will Newton  <will.newton@linaro.org>
27858         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27860 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27862         [BZ #15427]
27863         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27864         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27865         * math/libm-test.inc (lgamma_test_data): Add more tests.
27866         * sysdeps/i386/fpu/libm-test-ulps: Update.
27867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27869 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27871         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27873         Add ifunc.
27874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27875         Add strcmp-sse2-unaligned
27876         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27878 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27880         * Versions.def (libc): Add GLIBC_2.19.
27882 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27884         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27885         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27887 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27889         [BZ #14155]
27890         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27891         intermediate calculations in recurrence.
27892         (__ieee754_ynf): Likewise.
27893         * math/libm-test.inc (jn_test_data): Do not allow spurious
27894         underflow exception.  Add more tests.
27895         (yn_test_data): Add more tests.
27896         * sysdeps/i386/fpu/libm-test-ulps: Update.
27897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27899 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27901         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27903 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27905         * csu/init-first.c: Fix then/than typos.
27906         * locale/programs/ld-collate.c: Likewise.
27907         * locale/programs/linereader.h: Likewise.
27908         * manual/charset.texi: Likewise.
27909         * manual/filesys.texi: Likewise.
27910         * manual/stdio.texi: Likewise.
27911         * manual/string.texi: Likewise.
27912         * stdlib/fmtmsg.c: Likewise.
27913         * sysdeps/i386/stpncpy.S: Likewise.
27914         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27915         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27916         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27917         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27919 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27921         * elf/dl-open.c: Fix typos.
27922         * iconvdata/gbbig5.c: Likewise.
27923         * iconvdata/iso-2022-jp.c: Likewise.
27924         * iconv/gconv_int.h: Likewise.
27925         * iconv/loop.c: Likewise.
27926         * nis/rpcsvc/nis.h: Likewise.
27927         * resolv/ns_name.c: Likewise.
27928         * stdio-common/vfscanf.c: Likewise.
27929         * streams/stropts.h: Likewise.
27930         * sunrpc/rpc_thread.c: Likewise.
27931         * sysdeps/i386/strpbrk.S: Likewise.
27932         * sysdeps/ieee754/k_standard.c: Likewise.
27933         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27935         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27936         * sysdeps/mach/hurd/profil.c: Likewise.
27937         * sysdeps/s390/dl-procinfo.h: Likewise.
27938         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27939         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27940         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27941         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27942         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27944 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27946         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27949 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27951         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27952         aix specific files.
27953         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27955         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27956         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27957         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27958         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27959         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27960         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27962 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27963             Roland McGrath  <roland@hack.frob.com>
27965         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27966         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27968 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27970         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27971         __executable_start symbol instead of _start.
27973 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27975         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27976         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27977         Move macros to...
27978         * sysdeps/gnu/ldsodefs.h: ... this new file.
27980         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27981         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27982         instead of ELFOSABI_LINUX.
27984         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27985         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27986         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27987         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27988         Likewise.
27989         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27990         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27991         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27992         Likewise.
27993         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27994         (ibm_extended_long_double): Add ieee_nan member.
27995         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27996         (do_test): New function.
27998         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27999         TEST_TRUNC.
28000         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28001         functions, renamed from truncdfsf_test, trunctfsf_test,
28002         trunctfdf_test.
28003         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28004         functions.
28005         (do_test): Run all these.
28007 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28009         * argp/argp-help.c: Fix typos.
28010         * argp/argp-parse.c: Likewise.
28011         * debug/backtracesyms.c: Likewise.
28012         * elf/elf.h: Likewise.
28013         * malloc/malloc.c: Likewise.
28014         * nis/nis_print.c: Likewise.
28015         * resolv/res_comp.c: Likewise.
28016         * stdlib/stdlib.h: Likewise.
28017         * sunrpc/clnt_tcp.c: Likewise.
28018         * sunrpc/clnt_udp.c: Likewise.
28019         * sunrpc/clnt_unix.c: Likewise.
28020         * sysdeps/unix/bsd/ptsname.c: Likewise.
28021         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28022         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28024         Likewise.
28025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28026         Likewise.
28027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28028         Likewise.
28029         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28031 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28033         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28036 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28038         [BZ #15897]
28039         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28040         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28041         ($(objpfx)bug-dl-leaf): New rule.
28042         ($(objpfx)bug-dl-leaf.so): Likewise.
28043         ($(objpfx)bug-dl-leaf.out): Likewise.
28044         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28045         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28046         * dlfcn/bug-dl-leaf.c: New test.
28047         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28048         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28049         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28050         (dlclose): Likewise.
28051         (dlmopen): Likewise.
28053 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28055         * include/netdb.h [!_ISOMAC]:
28056         Don't include <tls.h>.
28057         (h_errno, __libc_h_errno): Move declaration and macros out of
28058         [_LIBC_REENTRANT].
28060         * include/resolv.h [_RESOLV_H_]:
28061         Don't include <tls.h>.
28062         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28063         * resolv/res_libc.c: Don't include <tls.h>.
28064         (_res): Use __attribute__ ((nocommon)) in place of
28065         __attribute__ ((section (".bss"))).
28067         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28068         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28070         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28072         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28073         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28075         * resolv/res_mkquery.c: Include <sys/time.h>.
28077         * inet/ifreq.c: Moved to ...
28078         * sysdeps/unix/ifreq.c: ... here.
28079         * inet/ifreq.c: New file, true stub version.
28081         * socket/sa_len.c: New file.
28082         * socket/Makefile (aux): Add it.
28083         * sysdeps/unix/sysv/linux/Makefile
28084         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28085         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28086         and #include <socket/sa_len.c>.
28087         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28088         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28090         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28091         * bits/socket.h: ... here.
28093         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28094         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28095         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28097 2013-08-27  Andreas Schwab  <schwab@suse.de>
28099         [BZ #15736]
28100         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28101         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28102         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28103         * string/test-strcasecmp.c (test_main): Run tests in several
28104         locales.
28105         * string/test-strncasecmp.c (test_main): Likewise.
28107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28108         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28109         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28111         (__strncasecmp_ssse3) [PIC]: Likewise.
28113 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28115         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28117         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28118         instead of explicitly declaring xdecrypt.
28119         * nis/nss_nis/nis-publickey.c: Likewise.
28121 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28123         [BZ #15890]
28124         * nscd/aicache.c: Include res_hconf.h.
28125         (addhstaiX): Initialize res_hconf.
28127 2013-08-26  Andreas Schwab  <schwab@suse.de>
28129         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28130         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28132 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134         * nscd/aicache.c (addhstaiX): Fix indentation.
28136 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28138         * configure.ac: Quote $build_pt_chown test.
28139         * configure: Regenerated.
28141 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28143         [BZ #15532]
28144         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28145         * math/s_cexpf.c (__cexpf): Likewise.
28146         * math/s_cexpl.c (__cexpl): Likewise.
28147         * math/libm-test.inc (cexp_test_data): Correct expected return
28148         value for NaN + i0.  Add another test.
28150 2013-08-22  David S. Miller  <davem@davemloft.net>
28152         * po/ca.po: Update Catalan translation from translation project.
28153         * po/uk.po: Add Ukrainian translations from translation project.
28155 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28157         [BZ #15797]
28158         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28159         is infinite, not alongside NaN test.
28160         * math/s_fdimf.c (__fdimf): Likewise.
28161         * math/s_fdiml.c (__fdiml): Likewise.
28162         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28163         errno is unchanged.
28165 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28167         * argp/argp-help.c: Fix typos.
28168         * crypt/speeds.c: Likewise.
28169         * csu/check_fds.c: Likewise.
28170         * elf/dl-load.c: Likewise.
28171         * elf/dl-open.c: Likewise.
28172         * elf/reldep3.c: Likewise.
28173         * elf/reldep.c: Likewise.
28174         * elf/sprof.c: Likewise.
28175         * iconv/iconv_charmap.c: Likewise.
28176         * iconv/skeleton.c: Likewise.
28177         * iconv/strtab.c: Likewise.
28178         * io/lockf64.c: Likewise.
28179         * libio/libioP.h: Likewise.
28180         * resolv/gai_notify.c: Likewise.
28181         * resolv/ns_name.c: Likewise.
28182         * resolv/ns_samedomain.c: Likewise.
28183         * resolv/res_send.c: Likewise.
28184         * stdlib/random.c: Likewise.
28185         * sunrpc/rpc/xdr.h: Likewise.
28186         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28187         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28188         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28189         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28190         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28191         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28192         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28193         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28194         * sysdeps/mach/hurd/check_fds.c: Likewise.
28195         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28197         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28198         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28199         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28200         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28201         * sysdeps/pthread/aio_notify.c: Likewise.
28202         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28203         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28204         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28205         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28206         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28208 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28210         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28211         version if bit_Slow_SSE4_2 is set.
28212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28213         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28215 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28217         [BZ #15867]
28218         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28219         trampoline stack frame information.
28220         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28221         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28222         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28223         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28224         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28225         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28226         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28227         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28228         sa_flags value.
28229         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28230         interrupting a syscall and set with option SA_SIGINFO.
28232 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28234         [BZ #15531]
28235         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28236         argument is infinite.
28237         * math/s_cprojf.c (__cprojf): Likewise.
28238         * math/s_cprojl.c (__cprojl): Likewise.
28239         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28240         * math/libm-test.inc (cproj_test_data): Add more tests.
28242         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28244         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28245         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28246         size.  Use __ffs to determine corresponding shift.
28248 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28249             Roland McGrath  <roland@hack.frob.com>
28251         * Makefile (INSTALL): Remove trailing blank lines from output of
28252         makeinfo.
28254 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28256         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28257         Align 32 bit compat elf_greg to 8 bytes.
28259 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28261         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28263 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28265         * string/strcoll_l.c (coll_seq): New structure.
28266         (get_next_seq_cached): New function.
28267         (get_next_seq): New function.
28268         (do_compare): New function.
28269         (STRCOLL): Use GNU style definition.  Simplify implementation
28270         by using get_next_seq, get_next_seq_cached and do_compare.
28272 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28274         [BZ #14699]
28275         CVE-2013-4237
28276         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28277         member.
28278         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28279         member.
28280         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28281         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28282         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28283         conditional.
28284         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28285         GETDENTS_64BIT_ALIGNED.
28286         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28287         * manual/filesys.texi (Reading/Closing Directory): Document
28288         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28289         strongly.
28290         * manual/conf.texi (Limits for Files): Add portability note to
28291         NAME_MAX, PATH_MAX.
28292         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28294 2013-08-13  Andreas Schwab  <schwab@suse.de>
28296         [BZ #15749]
28297         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28298         of fabs.
28299         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28300         LDBL_MAX_EXP >= 16384]: Add tests for it.
28302 2013-08-12  David S. Miller  <davem@davemloft.net>
28304         * version.h (RELEASE): Set to "development".
28305         (VERSION): Set to "2.18.90".
28306         * NEWS: Add 2.19 section.
28308 2013-08-03  David S. Miller  <davem@davemloft.net>
28310         * po/ko.po: Update Korean translation from translation project.
28312 2013-08-01  David S. Miller  <davem@davemloft.net>
28314         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28315         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28316         Bilka.
28318 2013-07-30  David S. Miller  <davem@davemloft.net>
28320         * po/fr.po: Update French translation from translation project.
28322 2013-07-28  David S. Miller  <davem@davemloft.net>
28324         * po/cs.po: Update Czech translation from translation project.
28326         * po/sv.po: Update Swedish translation from translation project.
28328 2013-07-27  David S. Miller  <davem@davemloft.net>
28330         * po/eo.po: Update Esperanto translation from translation project.
28332         * po/vi.po: Update Vietnamese translation from translation project.
28334         * po/de.po: Update German translation from translation project.
28336 2013-07-26  David S. Miller  <davem@davemloft.net>
28338         * po/bg.po: Update Bulgarian translation from translation project.
28340         * po/nl.po: Update Dutch translation from translation project.
28341         * po/pl.po: Update Polish translation from translation project.
28342         * po/ru.po: Update Russian translation from translation project.
28344 2013-07-24  David S. Miller  <davem@davemloft.net>
28346         * po/libc.pot: Update.
28348 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28350         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28351         variable page size.
28352         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28353         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28354         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28356 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28358         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28360 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28361             Andreas Schwab  <schwab@suse.de>
28362             Roland McGrath  <roland@hack.frob.com>
28363             Joseph Myers  <joseph@codesourcery.com>
28364             Carlos O'Donell  <carlos@redhat.com>
28366         [BZ #15755]
28367         * config.h.in: Define HAVE_PT_CHOWN.
28368         * config.make.in (build-pt-chown): New variable.
28369         * configure.in (--enable-pt_chown): New configure option.
28370         * configure: Regenerate.
28371         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28372         build-pt-chown is enabled.
28373         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28374         pt_chown to fix pty ownership.
28375         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28376         CLOSE_ALL_FDS.
28377         * manual/install.texi (Configuring and compiling): Mention
28378         --enable-pt_chown. Add @findex for grantpt.
28379         * INSTALL: Regenerate.
28381 2013-07-20  David S. Miller  <davem@davemloft.net>
28383         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28384         difference between 32-bit and 64-bit.
28386 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28388         [BZ #15711]
28389         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28390         Avoid system header dependency with -ffreestanding.
28391         ($(objpfx)bits/syscall%d): Likewise.
28393 2013-07-13  David S. Miller  <davem@davemloft.net>
28395         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28396         underflows from atanl/atan2l due to bug 15319.
28397         (casinh_test_data): Likewise.
28399 2013-07-07  David S. Miller  <davem@davemloft.net>
28401         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28403 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28405         * sysdeps/i386/fpu/libm-test-ulps: Update.
28406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28408 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28410         * configure.in (--enable-lock-elision): Fix message text.
28411         * INSTALL: Regenerate.
28412         * configure: Regenerate.
28414 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28418 2013-07-03  Andreas Jaeger  <aj@suse.de>
28420         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28421         define.
28422         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28423         (ptrace_peeksiginfo_args): Add.
28424         (__ptrace_peeksiginfo_flags): Add.
28425         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28426         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28429 2013-07-03  Allan McRae  <allan@archlinux.org>
28431         * sysdeps/i386/fpu/libm-test-ulps: Update.
28433 2013-07-02  David S. Miller  <davem@davemloft.net>
28435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28437 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28441 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28443         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28446 2013-07-02  Andi Kleen <ak@linux.intel.com>
28448         * config.h.in (ENABLE_LOCK_ELISION): Add.
28449         * configure.in (--enable-lock-elision): Add option.
28450         * manual/install.texi: Document --enable lock elision.
28451         * configure: Regenerate
28452         * INSTALL: Regenerate.
28454 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28456         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28457         SSE4.2 strcasecmp for libc.a.
28458         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28460 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28462         [BZ #13304]
28463         * soft-fp/op-common.h (_FP_FMA): New macro.
28464         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28465         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28466         (_FP_MUL_MEAT_1_imm): ... here.
28467         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28468         (_FP_MUL_MEAT_1_wide): ... here.
28469         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28470         (_FP_MUL_MEAT_1_hard): ... here.
28471         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28472         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28473         (_FP_MUL_MEAT_2_wide): ... here.
28474         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28475         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28476         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28477         (_FP_MUL_MEAT_2_gmp): ... here.
28478         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28479         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28480         (_FP_MUL_MEAT_4_wide): ... here.
28481         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28482         (_FP_MUL_MEAT_4_gmp): ... here.
28483         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28484         (_FP_WFRACBITS_DW_S): Likewise.
28485         (_FP_WFRACXBITS_DW_S): Likewise.
28486         (_FP_HIGHBIT_DW_S): Likewise.
28487         (FP_FMA_S): Likewise.
28488         (_FP_FRAC_HIGH_DW_S): Likewise.
28489         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28490         (_FP_WFRACBITS_DW_D): Likewise.
28491         (_FP_WFRACXBITS_DW_D): Likewise.
28492         (_FP_HIGHBIT_DW_D): Likewise.
28493         (FP_FMA_D): Likewise.
28494         (_FP_FRAC_HIGH_DW_D): Likewise.
28495         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28496         (_FP_WFRACBITS_DW_E): Likewise.
28497         (_FP_WFRACXBITS_DW_E): Likewise.
28498         (_FP_HIGHBIT_DW_E): Likewise.
28499         (FP_FMA_E): Likewise.
28500         (_FP_FRAC_HIGH_DW_E): Likewise.
28501         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28502         (_FP_WFRACBITS_DW_Q): Likewise.
28503         (_FP_WFRACXBITS_DW_Q): Likewise.
28504         (_FP_HIGHBIT_DW_Q): Likewise.
28505         (FP_FMA_Q): Likewise.
28506         (_FP_FRAC_HIGH_DW_Q): Likewise.
28507         * soft-fp/fmasf4.c: New file.
28508         * soft-fp/fmadf4.c: Likewise.
28509         * soft-fp/fmatf4.c: Likewise.
28511 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28514         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28515         Silvermont.
28516         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28517         macro.
28518         (index_Slow_SSE4_2): Likewise.
28519         (index_Prefer_PMINUB_for_stringop): Likewise.
28520         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28521         bit_Slow_SSE4_2 is set.
28522         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28523         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28525 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28527         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28528         rtld_global._dl_hwcap2.
28529         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28530         POWER8.
28531         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28532         POWER8 feature descriptions defined in _dl_hwcap2.
28533         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28534         string handling for POWER8 feature bits.
28535         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28536         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28537         _dl_powerpc_cap_flags.
28538         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28539         * sysdeps/powerpc/rtld-global-offsets.sym
28540         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28541         _dl_hwcap2 in the rtld_global_ro structure.
28543 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28545         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28546         hardware capabilities in support of AT_HWCAP2.
28547         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28548         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28549         GLRO(dl_hwcap2).
28550         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28551         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
28552         explicitly the unknown a_type display mechanism is used.
28553         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28554         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28555         struct member.
28556         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28557         to macro prototype for AT_HWCAP2 support.
28558         * sysdeps/i386/dl-procinfo.h: Likewise.
28559         * sysdeps/s390/dl-procinfo.h: Likewise.
28560         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28561         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
28562         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
28563         return -1 for unknown a_type display fallback.
28564         * sysdeps/sparc/dl-procinfo.h: Likewise.
28565         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28566         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28568 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28570         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28571         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28573 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
28575         [BZ #12492]
28576         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28577         mprotect making __stack_prot writable.
28579 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
28580             Joseph Myers  <joseph@codesourcery.com>
28582         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28583         as being properly aligned.
28585 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
28587         * dlfcn/modstatic5.c: New file.
28588         * dlfcn/tststatic5.c: New file.
28589         * dlfcn/Makefile (tests): Add tststatic5.
28590         (tests-static): Likewise.
28591         (modules-names): Add modstatic5.
28592         (tststatic5-ENV): New variable.
28593         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28595         [BZ #15022]
28596         * elf/dl-support.c (_dl_main_map): New variable.
28597         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28598         (_dl_nns, _dl_load_adds): Set to 1.
28599         (_dl_initial_searchlist): Refer to _dl_main_map.
28600         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28601         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28602         call to _dl_get_origin.
28603         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28604         around call_map.
28605         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28606         * dlfcn/modstatic3.c: New file.
28607         * dlfcn/tststatic3.c: New file.
28608         * dlfcn/tststatic4.c: New file.
28609         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28610         (tests-static): Likewise.
28611         (modules-names): Add modstatic3.
28612         (tststatic3-ENV, tststatic4-ENV): New variables.
28613         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28614         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28616 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
28618         * configure.in (CC): Require GCC version 4.4 or later.
28619         * configure: Regenerated.
28620         * manual/install.texi (Tools for Compilation): Update GCC version
28621         requirement.
28622         * INSTALL: Regenerated.
28624 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28626         [BZ #15674]
28627         * string/test-memcmp.c (check2): New.
28628         (main): Call check2.
28630         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28632 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
28634         [BZ #15022]
28635         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28636         over to...
28637         (dl_open_worker) [!SHARED]: ... here.
28639 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28641         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28643 2013-06-25  Richard Henderson  <rth@redhat.com>
28645         * locale/programs/locarchive.c: Include <libc-internal.h>
28647 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
28649         * manual/texinfo.tex: Update to version 2013-06-21.17, with
28650         trailing whitespace removed.
28652 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28654         [BZ #10283]
28655         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28656         * locale/programs/locarchive.c: Include libc-mmap.h.
28657         (prepare_address_space): Take two new outputs (the mmap base and len).
28658         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
28659         values.
28660         (create_archive): Declare new mmap base and len values for
28661         prepare_address_space, and store the result in ah.
28662         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28663         (enlarge_archive): If ah->mmap_base is not NULL, use that and
28664         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28665         Declare new mmap base and len values for
28666         prepare_address_space, and store the result in new_ah.
28667         (open_archive): Declare new mmap base and len values for
28668         prepare_address_space, and store the result in ah.
28669         (close_archive): If ah->mmap_base is not NULL, use that and
28670         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28671         * sysdeps/generic/libc-mmap.h: New file.
28673 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28675         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28676         (ALIGN_UP): Likewise.
28677         (PTR_ALIGN_DOWN): Likewise.
28678         (PTR_ALIGN_UP): Likewise.
28680 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28683         entry mapped to PPC_PLATFORM_POWER8.
28684         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28685         POWER8.
28686         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28687         (_dl_string_platform): Add case for exporting platform position for
28688         POWER8.
28689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28690         search path to sysdeps/powerpc/powerpc32/power8 directory.
28691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28692         search path to sysdeps/powerpc/powerpc64/power8 directory.
28693         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28694         power7 directories.
28695         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28696         power7 directories.
28698 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28700         * INSTALL: Regenerate.
28702         * nscd/connections.c (nscd_init): Fix comment.
28704 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
28706         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28708         [BZ #15667]
28709         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28710         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28712 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28714         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28715         DL_DST_REQ_STATIC.
28716         (DL_DST_REQ_STATIC): Remove macro.
28718 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
28720         [BZ #7006]
28721         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28722         with a shift of 0 bits.
28724 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28726         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28727         $(tststatic-ENV).
28729 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28731         [BZ #15655]
28732         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28734 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28736         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28737         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28738         accepts -fno-tree-loop-distribute-patterns.
28739         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28740         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28741         recursive call.
28742         * string/memset.c (memset): Likewise.
28743         * string/test-memmove.c (simple_memmove): Disable loop transformation
28744         to library calls.
28745         * string/test-memset.c (simple_memset): Likewise.
28746         * benchtests/bench-memmove.c (simple_memmove): Likewise.
28747         * benchtests/bench-memset.c (simple_memset): Likewise.
28748         * configure: Regenerated.
28750 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
28752         * math/test-misc.c (main): Ignore fesetround failure when failures
28753         of subsequent rounding tests would be ignored.
28755         [BZ #15654]
28756         * math/fedisblxcpt.c (fedisableexcept): Return 0.
28757         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28758         * math/fegetenv.c (__fegetenv): Return 0.
28759         * math/fegetexcept.c (fegetexcept): Return 0.
28760         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28761         FE_TONEAREST.
28762         * math/feholdexcpt.c (feholdexcept): Return 0.
28763         * math/fesetenv.c (__fesetenv): Return 0.
28764         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28765         argument FE_TONEAREST.
28766         * math/feupdateenv.c (__feupdateenv): Return 0.
28767         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28769 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28771         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28772         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28773         ($(objpfx)rtld-%.os rules): Use them.
28775 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28777         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28778         fields.
28780 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28782         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28783         length of target pattern, then descending length of dependency pattern.
28784         * configure.in (AWK): Require gawk 3.1.2 or newer.
28785         * manual/install.texi (Tools for Compilation): Say that we do.
28786         * configure: Regenerated.
28788         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28789         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28790         * scripts/sysd-rules.awk: ... this new script.
28791         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28792         than a glob-style pattern.
28794 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28796         * math/test-misc.c (main): Do not treat incorrectly rounded
28797         conversions as failure unless ROUNDING_TESTS passes.
28799 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28801         [BZ #15631]
28802         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28803         restore exception state around main square root computation, then
28804         check for inexactness explicitly.
28806         * math/libm-test.inc (fma_test_data): Add another test.
28808 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28810         * manual/threads.texi (Non-POSIX Extensions): New document
28811         node.  Document pthread_getattr_default_np and
28812         pthread_setattr_default_np.
28814         * Versions.def (libpthread): Add GLIBC_2.18.
28815         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28817         Likewise.
28818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28819         Likewise.
28820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28821         Likewise.
28822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28823         Likewise.
28824         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28825         Likewise.
28826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28827         Likewise.
28828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28829         Likewise.
28830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28831         Likewise.
28832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28833         Likewise.
28835 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28838         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28840 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28841             H.J. Lu  <hjl.tools@gmail.com>
28843         [BZ #15627]
28844         * sysdeps/x86_64/rtld-memset.c: Remove file.
28845         * sysdeps/x86_64/rtld-memset.S: New file.
28847 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28849         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28850         (test_in_one_mode): Take arguments for whether the rounding mode
28851         is supported for each floating-point type.
28852         (do_test): Pass new arguments to test_in_one_mode using
28853         ROUNDING_TESTS.
28855 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28857         * posix/tst-waitid.c (do_test): Distinguish different instances of
28858         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28859         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28860         before entering the kernel for waitpid.
28862 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28864         * NEWS: Fix note on clock function precision.  Text by Roland
28865         McGrath.
28867 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28869         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28870         it into place only when and if the sanity check passes.
28872 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28874         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28875         output for whether conversion result is exact.  Take argument
28876         indicating whether type is IBM long double.
28877         (round_for_all): Change need_exact field to ibm_ld.
28878         * stdlib/tst-strtod-round.c (struct exactness): New type.
28879         (struct test): Change bool ld_ok field to struct exactness exact.
28880         (TEST): Update all definitions for change to field.
28881         (tests): Regenerate array contents.
28882         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28883         field value.  Check for IBM long double here.
28884         (do_test): Update calls to test_in_one_mode.
28886 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28888         [BZ #12515]
28889         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28890         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28892 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28894         [BZ #15605]
28895         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28896         generated by the compiler on loop optimizations.
28897         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28898         general definitions.
28900 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28902         * math/bug-nextafter.c: Include <math-tests.h>.
28903         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28904         the relevant type.
28905         * math/bug-nexttoward.c: Include <math-tests.h>.
28906         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28907         the relevant type.
28908         * math/test-misc.c: Include <math-tests.h>.
28909         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28910         the relevant type.
28912 2013-06-12  Andreas Jaeger  <aj@suse.de>
28914         * po/ia.po: Update Interlingua translation from translation
28915         project.
28917 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28919         * include/fenv.h: Include stdbool.h.
28920         (struct rm_ctx): New structure.
28921         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28922         Define macro.
28923         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28924         (SET_RESTORE_ROUNDF): Likewise.
28925         (SET_RESTORE_ROUNDL): Likewise.
28926         (SET_RESTORE_ROUND_NOEX): Likewise.
28927         (SET_RESTORE_ROUND_NOEXF): Likewise.
28928         (SET_RESTORE_ROUND_NOEXL): Likewise.
28929         (SET_RESTORE_ROUND_53BIT): Likewise.
28930         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28931         (libc_feresetround_noexf_ctx): Likewise.
28932         (libc_feresetround_noexl_ctx): Likewise.
28933         (libc_feholdsetround_53bit_ctx): Likewise.
28934         (libc_feresetround_53bit_ctx): Likewise.
28935         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28936         (libc_feholdexcept_setround_sse_ctx): New function.
28937         (libc_fesetenv_sse_ctx): Likewise.
28938         (libc_feupdateenv_sse_ctx): Likewise.
28939         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28940         (libc_feholdexcept_setround_387_ctx): Likewise.
28941         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28942         (libc_feholdsetround_387_prec_ctx): Likewise.
28943         (libc_feholdsetround_387_ctx): Likewise.
28944         (libc_feholdsetround_387_53bit_ctx): Likewise.
28945         (libc_feholdsetround_sse_ctx): Likewise.
28946         (libc_feresetround_sse_ctx): Likewise.
28947         (libc_feresetround_387_ctx): Likewise.
28948         (libc_feupdateenv_387_ctx): Likewise.
28949         (libc_feholdexcept_setroundf_ctx): Define macro.
28950         (libc_fesetenvf_ctx): Likewise.
28951         (libc_feupdateenvf_ctx): Likewise.
28952         (libc_feholdsetroundf_ctx): Likewise.
28953         (libc_feresetroundf_ctx): Likewise.
28954         (libc_feholdexcept_setround_ctx): Likewise.
28955         (libc_fesetenv_ctx): Likewise.
28956         (libc_feupdateenv_ctx): Likewise.
28957         (libc_feholdsetround_ctx): Likewise.
28958         (libc_feresetround_ctx): Likewise.
28959         (libc_feholdexcept_setroundl_ctx): Likewise.
28960         (libc_feupdateenvl_ctx): Likewise.
28961         (libc_feholdsetroundl_ctx): Likewise.
28962         (libc_feresetroundl_ctx): Likewise.
28963         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28964         (libc_feresetround_53bit_ctx): Likewise.
28966 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968         * locale/iso-639.def: Convert to UTF-8.
28970 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28972         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28973         (EXCEPTION_TESTS_double): Likewise.
28974         (EXCEPTION_TESTS_long_double): Likewise.
28975         (EXCEPTION_TESTS): Likewise.
28976         * math/libm-test.inc (test_exceptions): Only test exceptions if
28977         EXCEPTION_TESTS (FLOAT).
28979 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28981         * benchtests/Makefile (string-bench): Add strcpy_chk and
28982         stpcpy_chk.
28983         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28984         * benchtests/bench-stpcpy_chk.c: New file.
28985         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28986         * benchtests/bench-strcpy_chk.c: New file.
28987         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28988         code.
28989         (do_test): Likewise.
28991 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28993         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28994         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28995         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28996         with tabs where appropriate.
28997         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28998         dl-procinfo.h.
28999         [PPC_PLATFORM_PPC440]: Likewise.
29000         [PPC_PLATFORM_PPC464]: Likewise.
29001         [PPC_PLATFORM_PPC476]: Likewise.
29002         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29003         ppc464, and ppc476 platform strings merging from ports/
29004         dl-procinfo.h.
29006 2013-06-11  Andreas Schwab  <schwab@suse.de>
29008         [BZ #14991]
29009         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29010         (from_ucs4_idx): Regenerate.
29011         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29012         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29013         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29014         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29015         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29016         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29017         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29018         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29019         from FROM_LOOP and TO_LOOP specific macros.
29020         (BODY): Handle combining characters.
29021         * iconvdata/BIG5HKSCS.irreversible: Update.
29022         * iconvdata/BIG5HKSCS.precomposed: New file.
29023         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29024         characters.
29025         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29027 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29029         * include/sys/time.h: Fix indentation and add copyright header.
29031         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29032         (do_test): Likewise.
29033         * string/test-memchr.c (do_one_test): Likewise.
29034         (do_test): Likewise.
29035         * string/test-memcmp.c (do_one_test): Likewise.
29036         (do_test): Likewise.
29037         * string/test-memcpy.c (do_one_test): Likewise.
29038         (do_test): Likewise.
29039         * string/test-memmem.c (do_one_test): Likewise.
29040         (do_test): Likewise.
29041         (do_random_tests): Likewise.
29042         * string/test-memmove.c (do_one_test): Likewise.
29043         (do_test): Likewise.
29044         * string/test-memset.c (do_one_test): Likewise.
29045         (do_test): Likewise.
29046         * string/test-rawmemchr.c (do_one_test): Likewise.
29047         (do_test): Likewise.
29048         * string/test-strcasecmp.c (do_one_test): Likewise.
29049         (do_test): Likewise.
29050         * string/test-strcasestr.c (do_one_test): Likewise.
29051         (do_test): Likewise.
29052         * string/test-strcat.c (do_one_test): Likewise.
29053         (do_test): Likewise.
29054         * string/test-strchr.c (do_one_test): Likewise.
29055         (do_test): Likewise.
29056         * string/test-strcmp.c (do_one_test): Likewise.
29057         (do_test): Likewise.
29058         * string/test-strcpy.c (do_one_test): Likewise.
29059         (do_test): Likewise.
29060         * string/test-string.h: Likewise.
29061         (test_init): Likewise.
29062         * string/test-strlen.c (do_one_test): Likewise.
29063         (do_test): Likewise.
29064         * string/test-strncasecmp.c (do_one_test): Likewise.
29065         (do_test): Likewise.
29066         * string/test-strncat.c (do_one_test): Likewise.
29067         (do_test): Likewise.
29068         * string/test-strncmp.c (do_one_test): Likewise.
29069         (do_test_limit): Likewise.
29070         (do_test): Likewise.
29071         * string/test-strncpy.c (do_one_test): Likewise.
29072         (do_test): Likewise.
29073         * string/test-strnlen.c (do_one_test): Likewise.
29074         (do_test): Likewise.
29075         * string/test-strpbrk.c (do_one_test): Likewise.
29076         (do_test): Likewise.
29077         * string/test-strrchr.c (do_one_test): Likewise.
29078         (do_test): Likewise.
29079         * string/test-strspn.c (do_one_test): Likewise.
29080         (do_test): Likewise.
29081         * string/test-strstr.c (do_one_test): Likewise.
29082         (do_test): Likewise.
29084         * benchtests/Makefile (string-bench): Add string benchmarks.
29085         * benchtests/bench-bcopy-ifunc.c: New file.
29086         * benchtests/bench-bcopy.c: New file.
29087         * benchtests/bench-bzero-ifunc.c: New file.
29088         * benchtests/bench-bzero.c: New file.
29089         * benchtests/bench-memccpy-ifunc.c: New file.
29090         * benchtests/bench-memccpy.c: New file.
29091         * benchtests/bench-memchr-ifunc.c: New file.
29092         * benchtests/bench-memchr.c: New file.
29093         * benchtests/bench-memcmp-ifunc.c: New file.
29094         * benchtests/bench-memcmp.c: New file.
29095         * benchtests/bench-memmem-ifunc.c: New file.
29096         * benchtests/bench-memmem.c: New file.
29097         * benchtests/bench-memmove-ifunc.c: New file.
29098         * benchtests/bench-memmove.c: New file.
29099         * benchtests/bench-mempcpy-ifunc.c: New file.
29100         * benchtests/bench-mempcpy.c: New file.
29101         * benchtests/bench-memset-ifunc.c: New file.
29102         * benchtests/bench-memset.c: New file.
29103         * benchtests/bench-rawmemchr-ifunc.c: New file.
29104         * benchtests/bench-rawmemchr.c: New file.
29105         * benchtests/bench-stpcpy-ifunc.c: New file.
29106         * benchtests/bench-stpcpy.c: New file.
29107         * benchtests/bench-stpncpy-ifunc.c: New file.
29108         * benchtests/bench-stpncpy.c: New file.
29109         * benchtests/bench-strcasecmp-ifunc.c: New file.
29110         * benchtests/bench-strcasecmp.c: New file.
29111         * benchtests/bench-strcasestr-ifunc.c: New file.
29112         * benchtests/bench-strcasestr.c: New file.
29113         * benchtests/bench-strcat-ifunc.c: New file.
29114         * benchtests/bench-strcat.c: New file.
29115         * benchtests/bench-strchr-ifunc.c: New file.
29116         * benchtests/bench-strchr.c: New file.
29117         * benchtests/bench-strchrnul-ifunc.c: New file.
29118         * benchtests/bench-strchrnul.c: New file.
29119         * benchtests/bench-strcmp-ifunc.c: New file.
29120         * benchtests/bench-strcmp.c: New file.
29121         * benchtests/bench-strcpy-ifunc.c: New file.
29122         * benchtests/bench-strcpy.c: New file.
29123         * benchtests/bench-strcspn-ifunc.c: New file.
29124         * benchtests/bench-strcspn.c: New file.
29125         * benchtests/bench-strlen-ifunc.c: New file.
29126         * benchtests/bench-strlen.c: New file.
29127         * benchtests/bench-strncasecmp-ifunc.c: New file.
29128         * benchtests/bench-strncasecmp.c: New file.
29129         * benchtests/bench-strncat-ifunc.c: New file.
29130         * benchtests/bench-strncat.c: New file.
29131         * benchtests/bench-strncmp-ifunc.c: New file.
29132         * benchtests/bench-strncmp.c: New file.
29133         * benchtests/bench-strncpy-ifunc.c: New file.
29134         * benchtests/bench-strncpy.c: New file.
29135         * benchtests/bench-strnlen-ifunc.c: New file.
29136         * benchtests/bench-strnlen.c: New file.
29137         * benchtests/bench-strpbrk-ifunc.c: New file.
29138         * benchtests/bench-strpbrk.c: New file.
29139         * benchtests/bench-strrchr-ifunc.c: New file.
29140         * benchtests/bench-strrchr.c: New file.
29141         * benchtests/bench-strspn-ifunc.c: New file.
29142         * benchtests/bench-strspn.c: New file.
29143         * benchtests/bench-strstr-ifunc.c: New file.
29144         * benchtests/bench-strstr.c: New file.
29146         * benchtests/Makefile: Disable parallel execution of targets.
29147         (string-bench): Add memcpy.
29148         (benchset): New variable to store a list of benchmark sets.
29149         (bench-func): Renamed from bench.
29150         (bench-set): New target.
29151         (bench): Depend on bench-func and bench-set.
29152         * benchtests/README: Add section on benchmark sets.
29153         * benchtests/bench-memcpy-ifunc.c: New file.
29154         * benchtests/bench-memcpy.c: New file.
29155         * benchtests/bench-string.h: New file.
29157 2013-06-11  Andreas Schwab  <schwab@suse.de>
29159         [BZ #15577]
29160         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29161         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29162         values in the triple.
29163         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29164         terminator in the group key.
29166 2013-06-11  Andreas Jaeger  <aj@suse.de>
29168         * po/zh_TW.po: Update Chinese (traditional) translation from
29169         translation project.
29171 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29173         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29174         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29175         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29176         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29177         (clock_getcpuclockid): Likewise.
29178         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29179         Add weak_alias and libc_hidden_def.
29180         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29181         * rt/clock_gettime.c (clock_gettime): Rename to
29182         __clock_gettime.  Add weak_alias and libc_hidden_def.
29183         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29184         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29185         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29186         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29187         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29188         Likewise.
29189         * rt/clock_settime.c (clock_settime): Rename to
29190         __clock_settime.  Add weak_alias and libc_hidden_def.
29191         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29193 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29195         * mach/err_boot.sub: Remove trailing whitespace.
29196         * mach/err_ipc.sub: Likewise.
29197         * mach/err_mach.sub: Likewise.
29199         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29200         (ROUNDING_TESTS_double): Likewise.
29201         (ROUNDING_TESTS_long_double): Likewise.
29202         (ROUNDING_TESTS): Likewise.
29203         * math/libm-test.inc: Include <math-tests.h>.
29204         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29205         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29206         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29207         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29209 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29211         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29212         of assigning.
29214 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29216         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29217         otherwise empty TRANS lines.
29218         * sysdeps/gnu/errlist.c: Regenerated.
29220         * catgets/gencat.c (error_print): Use (void) in function
29221         definition.
29222         * crypt/crypt_util.c (__init_des): Likewise.
29223         * crypt/speeds.c (Stop): Likewise.
29224         (main): Likewise.
29225         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29226         * inet/ruserpass.c (token): Likewise.
29227         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29228         * intl/localealias.c (extend_alias_table): Likewise.
29229         * intl/plural-exp.c (init_germanic_plural): Likewise.
29230         * libio/fcloseall.c (__fcloseall): Likewise.
29231         * libio/genops.c (_IO_flush_all): Likewise.
29232         (_IO_flush_all_linebuffered): Likewise.
29233         (_IO_cleanup): Likewise.
29234         (_IO_iter_begin): Likewise.
29235         (_IO_iter_end): Likewise.
29236         (_IO_list_lock): Likewise.
29237         (_IO_list_unlock): Likewise.
29238         (_IO_list_resetlock): Likewise.
29239         * libio/getchar.c (getchar): Likewise.
29240         * libio/getchar_u.c (getchar_unlocked): Likewise.
29241         * libio/getwchar.c (getwchar): Likewise.
29242         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29243         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29244         * login/getpt.c (__getpt): Likewise.
29245         * login/tst-utmp.c (main): Likewise.
29246         * malloc/hooks.c (__malloc_check_init): Likewise.
29247         * malloc/malloc.c (__malloc_stats): Likewise.
29248         * malloc/mtrace.c (tr_break): Likewise.
29249         (mtrace): Likewise.
29250         (muntrace): Likewise.
29251         * misc/fstab.c (endfsent): Likewise.
29252         * misc/getclktck.c (__getclktck): Likewise.
29253         * misc/getdtsz.c (__getdtablesize): Likewise.
29254         * misc/gethostid.c (gethostid): Likewise.
29255         * misc/getpagesize.c (__getpagesize): Likewise.
29256         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29257         (__get_nprocs): Likewise.
29258         (__get_phys_pages): Likewise.
29259         (__get_avphys_pages): Likewise.
29260         * misc/getttyent.c (getttyent): Likewise.
29261         (setttyent): Likewise.
29262         (endttyent): Likewise.
29263         * misc/getusershell.c (getusershell): Likewise.
29264         (endusershell): Likewise.
29265         (setusershell): Likewise.
29266         (initshells): Likewise.
29267         * misc/hsearch.c (__hdestroy): Likewise.
29268         * misc/sync.c (sync): Likewise.
29269         * misc/syslog.c (closelog_internal): Likewise.
29270         (closelog): Likewise.
29271         * misc/ttyslot.c (ttyslot): Likewise.
29272         * misc/vhangup.c (vhangup): Likewise.
29273         * posix/fork.c (__fork): Likewise.
29274         * posix/getegid.c (__getegid): Likewise.
29275         * posix/geteuid.c (__geteuid): Likewise.
29276         * posix/getgid.c (__getgid): Likewise.
29277         * posix/getpid.c (__getpid): Likewise.
29278         * posix/getppid.c (__getppid): Likewise.
29279         * posix/getuid.c (__getuid): Likewise.
29280         * posix/pause.c (pause): Likewise.
29281         * posix/setpgrp.c (setpgrp): Likewise.
29282         * posix/setsid.c (__setsid): Likewise.
29283         * posix/test-vfork.c (noop): Likewise.
29284         * resolv/gethnamaddr.c (_endhtent): Likewise.
29285         (_gethtent): Likewise.
29286         (ht_endhostent): Likewise.
29287         (gethostent): Likewise.
29288         (dns_service): Likewise.
29289         * stdlib/drand48.c (drand48): Likewise.
29290         * stdlib/lrand48.c (lrand48): Likewise.
29291         * stdlib/mrand48.c (mrand48): Likewise.
29292         * stdlib/rand.c (rand): Likewise.
29293         * stdlib/random.c (__random): Likewise.
29294         * stdlib/setenv.c (clearenv): Likewise.
29295         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29296         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29297         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29298         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29299         (__get_nprocs): Likewise.
29300         (__get_phys_pages): Likewise.
29301         (__get_avphys_pages): Likewise.
29302         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29303         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29304         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29305         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29306         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29307         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29308         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29309         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29310         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29311         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29312         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29313         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29314         * sysdeps/posix/clock.c (clock): Likewise.
29315         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29316         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29317         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29318         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29319         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29320         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29321         (__get_nprocs_conf): Likewise.
29322         (__get_phys_pages): Likewise.
29323         (__get_avphys_pages): Likewise.
29324         * time/clock.c (clock): Likewise.
29325         * time/tzset.c (__tzname_max): Likewise.
29327 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29329         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29330         (__bswap_32): Do not use "register".
29331         * crypt/crypt.c (_ufc_doit_r): Likewise.
29332         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29333         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29334         * gmon/gmon.c (__monstartup): Likewise.
29335         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29336         * hurd/hurdmalloc.c (more_memory): Likewise.
29337         (malloc): Likewise.
29338         (free): Likewise.
29339         (realloc): Likewise.
29340         (malloc_fork_prepare): Likewise.
29341         (malloc_fork_parent): Likewise.
29342         (malloc_fork_child): Likewise.
29343         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29344         (_svcauth_des): Likewise.
29345         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29346         * inet/inet_net.c (inet_network): Likewise.
29347         * inet/inet_netof.c (inet_netof): Likewise.
29348         * inet/rcmd.c (__validuser2_sa): Likewise.
29349         * io/fts.c (fts_open): Likewise.
29350         (fts_load): Likewise.
29351         (fts_close): Likewise.
29352         (fts_read): Likewise.
29353         (fts_children): Likewise.
29354         (fts_build): Likewise.
29355         (fts_stat): Likewise.
29356         (fts_sort): Likewise.
29357         (fts_alloc): Likewise.
29358         (fts_lfree): Likewise.
29359         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29360         (_IO_file_xsgetn): Likewise.
29361         (_IO_file_xsgetn_mmap): Likewise.
29362         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29363         (_IO_cookie_write): Likewise.
29364         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29365         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29366         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29367         * malloc/obstack.c (_obstack_begin): Likewise.
29368         (_obstack_begin_1): Likewise.
29369         (_obstack_newchunk): Likewise.
29370         (_obstack_allocated_p): Likewise.
29371         (obstack_free): Likewise.
29372         (_obstack_memory_used): Likewise.
29373         * misc/getttyent.c (getttynam): Likewise.
29374         (getttyent): Likewise.
29375         (skip): Likewise.
29376         (value): Likewise.
29377         * misc/getusershell.c (initshells): Likewise.
29378         * misc/syslog.c (__vsyslog_chk): Likewise.
29379         * misc/ttyslot.c (ttyslot): Likewise.
29380         * nis/nis_hash.c (__nis_hash): Likewise.
29381         * posix/fnmatch_loop.c (FCT): Likewise.
29382         * posix/getconf.c (print_all): Likewise.
29383         (main): Likewise.
29384         * posix/getopt.c (exchange): Likewise.
29385         * posix/glob.c (globfree): Likewise.
29386         (prefix_array): Likewise.
29387         (__glob_pattern_type): Likewise.
29388         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29389         (NS_GET32): Likewise.
29390         (NS_PUT16): Likewise.
29391         (NS_PUT32): Likewise.
29392         * resolv/gethnamaddr.c (getanswer): Likewise.
29393         (gethostbyname2): Likewise.
29394         (gethostbyaddr): Likewise.
29395         (_gethtent): Likewise.
29396         (_gethtbyname2): Likewise.
29397         (_gethtbyaddr): Likewise.
29398         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29399         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29400         * resolv/res_init.c (__res_vinit): Likewise.
29401         (net_mask): Likewise.
29402         * resolv/res_mkquery.c (outchar): Likewise.
29403         (PRINT): Likewise.
29404         * stdio-common/printf_fp.c (outchar): Likewise.
29405         (PRINT): Likewise.
29406         * stdio-common/printf_fphex.c (outchar): Likewise.
29407         (PRINT): Likewise.
29408         * stdio-common/printf_size.c (outchar): Likewise.
29409         (PRINT): Likewise.
29410         * stdio-common/test_rdwr.c (main): Likewise.
29411         * stdio-common/tfformat.c (matches): Likewise.
29412         * stdio-common/vfprintf.c (outchar): Likewise.
29413         (printf_unknown): Likewise.
29414         (buffered_vfprintf): Likewise.
29415         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29416         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29417         (ReadFile): Likewise.
29418         * stdlib/qsort.c (SWAP): Likewise.
29419         (_quicksort): Likewise.
29420         * stdlib/setenv.c (__add_to_environ): Likewise.
29421         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29422         * stdlib/strtol_l.c (__strtol_l): Likewise.
29423         * stdlib/tst-strtod.c (main): Likewise.
29424         * stdlib/tst-strtol.c (main): Likewise.
29425         * stdlib/tst-strtoll.c (main): Likewise.
29426         * string/bits/string2.h (__strcmp_cc): Likewise.
29427         (__strcmp_cg): Likewise.
29428         (__strcspn_c1): Likewise.
29429         (__strcspn_c2): Likewise.
29430         (__strcspn_c3): Likewise.
29431         (__strspn_c1): Likewise.
29432         (__strspn_c2): Likewise.
29433         (__strspn_c3): Likewise.
29434         (__strsep_1c): Likewise.
29435         (__strsep_2c): Likewise.
29436         (__strsep_3c): Likewise.
29437         * string/memccpy.c (__memccpy): Likewise.
29438         * string/stpcpy.c (__stpcpy): Likewise.
29439         * string/strcmp.c (strcmp): Likewise.
29440         * string/strrchr.c (strrchr): Likewise.
29441         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29442         Likewise.
29443         * sysdeps/mach/hurd/getcwd.c
29444         (_hurd_canonicalize_directory_name_internal): Likewise.
29445         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29446         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29447         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29448         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29449         Likewise, in both definitions.
29450         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29451         definitions.
29452         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29453         64] (__bswap_64): Likewise.
29454         * time/test_time.c (main): Likewise.
29455         * time/tzfile.c (__tzfile_read): Likewise.
29456         (__tzfile_compute): Likewise.
29457         * time/tzset.c (__tzset_parse_tz): Likewise.
29458         (tzset_internal): Likewise.
29459         (compute_change): Likewise.
29460         * wcsmbs/wcscat.c (__wcscat): Likewise.
29461         * wcsmbs/wcschr.c (wcschr): Likewise.
29462         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29463         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29464         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29465         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29466         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29467         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29468         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29469         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29470         * wcsmbs/wmemset.c (wmemset): Likewise.
29472 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29474         * scripts/config.guess: Update to version 2013-05-16.
29475         * scripts/config.sub: Update to version 2013-04-24.
29476         * scripts/install-sh: Update to version 2011-11-20.07.
29477         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29478         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29480 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29482         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29483         * elf/sln.c: Likewise.
29484         * hurd/hurd/ioctl.h: Likewise.
29485         * hurd/hurdmalloc.c: Likewise.
29486         * hurd/xattr.c: Likewise.
29487         * include/shlib-compat.h: Likewise.
29488         * inet/ruserpass.c: Likewise.
29489         * libio/iofgets_u.c: Likewise.
29490         * libio/iofgetws_u.c: Likewise.
29491         * locale/programs/ld-identification.c: Likewise.
29492         * locale/programs/ld-time.c: Likewise.
29493         * mach/msg-destroy.c: Likewise.
29494         * nss/nss_files/files-netgrp.c: Likewise.
29495         * resolv/res_data.c: Likewise.
29496         * soft-fp/op-1.h: Likewise.
29497         * soft-fp/op-2.h: Likewise.
29498         * soft-fp/op-4.h: Likewise.
29499         * soft-fp/op-common.h: Likewise.
29500         * stdio-common/printf_fphex.c: Likewise.
29501         * stdlib/strtod_l.c: Likewise.
29502         * sunrpc/rpc/clnt.h: Likewise.
29503         * sysdeps/generic/framestate.c: Likewise.
29504         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29505         * sysdeps/i386/bsd-setjmp.S: Likewise.
29506         * sysdeps/i386/__longjmp.S: Likewise.
29507         * sysdeps/i386/setjmp.S: Likewise.
29508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29509         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29510         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29511         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29513         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29515         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29516         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29517         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29518         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29519         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29520         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29521         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29522         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29523         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29524         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29525         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29526         * sysdeps/ieee754/support.c: Likewise.
29527         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29528         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29529         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29530         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29531         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29532         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29533         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29534         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29535         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29536         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29537         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29538         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29539         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29540         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29541         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29542         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29543         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29546 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29548         * posix/transbug.c: Remove executable mode.
29550 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
29552         * crypt/speeds.c: Remove trailing whitespace.
29553         * dlfcn/default.c: Likewise.
29554         * elf/ifuncdep2.c: Likewise.
29555         * elf/ifuncmain1.c: Likewise.
29556         * elf/ifuncmain1vis.c: Likewise.
29557         * elf/testobj.h: Likewise.
29558         * elf/tst-stackguard1.c: Likewise.
29559         * gmon/sys/gmon.h: Likewise.
29560         * hurd/hurdmsg.c: Likewise.
29561         * hurd/new-fd.c: Likewise.
29562         * hurd/ports-get.c: Likewise.
29563         * iconvdata/ibm1008_420.c: Likewise.
29564         * inet/tst-getni1.c: Likewise.
29565         * inet/tst-getni2.c: Likewise.
29566         * libio/ioungetc.c: Likewise.
29567         * libio/wfiledoalloc.c: Likewise.
29568         * manual/libm-err-tab.pl: Likewise.
29569         * math/w_dremf.c: Likewise.
29570         * misc/ftruncate.c: Likewise.
29571         * posix/bug-glob2.c: Likewise.
29572         * posix/tst-pcre.c: Likewise.
29573         * posix/wait4.c: Likewise.
29574         * resolv/README: Likewise.
29575         * resolv/res_debug.h: Likewise.
29576         * resolv/tst-inet_ntop.c: Likewise.
29577         * setjmp/bug269-setjmp.c: Likewise.
29578         * soft-fp/extended.h: Likewise.
29579         * soft-fp/op-1.h: Likewise.
29580         * soft-fp/op-2.h: Likewise.
29581         * soft-fp/op-4.h: Likewise.
29582         * soft-fp/op-8.h: Likewise.
29583         * soft-fp/testit.c: Likewise.
29584         * stdio-common/bug16.c: Likewise.
29585         * stdlib/random.c: Likewise.
29586         * sunrpc/rpcsvc/rquota.x: Likewise.
29587         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29588         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29590         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29591         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29592         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29593         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29594         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29595         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29596         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29597         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29598         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29599         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29600         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29601         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29602         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29603         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29604         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29605         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29606         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29607         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29608         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29609         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29610         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29611         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29612         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29614         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29615         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29616         * sysdeps/ieee754/s_lib_version.c: Likewise.
29617         * sysdeps/mach/hurd/check_fds.c: Likewise.
29618         * sysdeps/mach/hurd/getsockname.c: Likewise.
29619         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29620         * sysdeps/mach/hurd/recvfrom.c: Likewise.
29621         * sysdeps/powerpc/bits/link.h: Likewise.
29622         * sysdeps/powerpc/dl-procinfo.c: Likewise.
29623         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29624         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29625         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29626         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29627         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29628         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29629         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29630         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29631         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29632         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29633         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29634         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29635         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29636         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29637         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29638         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29639         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29640         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29641         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29643         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29645         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29646         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29647         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29648         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29649         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29651         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29655         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29656         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29657         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29658         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29659         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29660         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29661         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29662         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29663         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29664         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29665         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29666         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29667         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29668         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29669         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29670         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29671         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29672         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29673         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29674         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29675         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29676         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29677         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29678         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29679         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29680         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29681         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29682         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29683         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29684         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29685         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29686         * sysdeps/powerpc/sysdep.h: Likewise.
29687         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29688         * sysdeps/s390/s390-64/sub_n.S: Likewise.
29689         * sysdeps/sh/dl-trampoline.S: Likewise.
29690         * sysdeps/sh/memset.S: Likewise.
29691         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29692         * sysdeps/sh/strlen.S: Likewise.
29693         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29694         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29695         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29696         * sysdeps/sparc/sparc32/rem.S: Likewise.
29697         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29698         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29699         * sysdeps/sparc/sparc32/strchr.S: Likewise.
29700         * sysdeps/sparc/sparc32/udiv.S: Likewise.
29701         * sysdeps/sparc/sparc32/urem.S: Likewise.
29702         * sysdeps/sparc/sparc64/add_n.S: Likewise.
29703         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29704         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29705         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29706         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29707         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29708         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29709         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29710         * sysdeps/unix/bsd/times.c: Likewise.
29711         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29712         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29716         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29717         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29718         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29719         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29720         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29723         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29724         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29725         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29726         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29727         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29728         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29729         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29730         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29731         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29732         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29733         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29734         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29735         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29736         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29737         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29738         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29739         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29740         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29741         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29742         * sysdeps/x86_64/strcspn.S: Likewise.
29744 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29746         * locale/C-translit.h: Revert #include <stdint.h> because this is a
29747         generated file.  Regenerate properly from gen-translit.pl.
29748         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
29749         locale/C-translit.h.
29751 2013-06-05  Andreas Schwab  <schwab@suse.de>
29753         [BZ #15100]
29754         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29755         week as 6 instead of -1.
29756         * time/tst-strptime.c (day_tests): Add test case.
29758 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29760         * sysdeps/generic/math_private.h
29761         (libc_feholdexcept_setround_53bit): Replace with
29762         libc_feholdsetround_53bit.
29763         (libc_feupdateenv_53bit): Replace with
29764         libc_feresetround_53bit.
29765         (SET_RESTORE_ROUND_53BIT): Adjust.
29767 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29769         * string/test-strchrnul.c: Add copyright header.
29771         * posix/tst-getaddrinfo4.c: Increase test timeout.
29773 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29775         [BZ #15536]
29776         * math/libm-test.inc (MAX_EXP): Remove
29777         (MIN_EXP): Define.
29778         (ulp): Use MIN_EXP - MANT_DIG.
29779         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29781 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29783         * po/be.po: Revert last change.
29784         * po/zh_CN.po: Likewise.
29785         * po/header.pot: Likewise.
29787 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29789         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29790         link-libc-deps to empty as target-specific variable.
29791         * Makerules (link-libc-args): New variable.
29792         (libc-for-link): Likewise.
29793         (link-libc-deps): Likewise.
29794         (lib%.so): Depend on $(link-libc-deps).  Link with
29795         $(link-libc-args).
29796         (build-module): Link with $(link-libc-args).
29797         (build-module-asneeded): Likewise.
29798         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29799         list of objects.
29800         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29801         target-specific variable.
29802         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29803         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29804         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29805         libc.
29806         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29807         libc and ld.so.
29808         ($(objpfx)libpcprofile.so): Likewise.
29809         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29810         libc_nonshared.a.
29811         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29812         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29813         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29814         $(link-libc-deps).
29815         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29816         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29817         * login/Makefile ($(objpfx)libutil.so): Likewise.
29818         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29819         * math/Makefile ($(objpfx)libm.so): Likewise.
29820         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29821         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29822         variable instead of depending directly on libc.
29823         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29824         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29825         $(link-libc-deps).
29826         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29827         libc.
29828         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29829         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29830         ($(objpfx)libanl.so): Likewise.
29831         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29832         ld.so.
29833         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29834         $(link-libc-deps).
29835         * sysdeps/i386/fpu/Makefile: Remove file.
29836         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29837         ($(objpfx)libm.so): Remove dependency on ld.so.
29839 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29841         [BZ # 15553]
29842         * nis/yp_xdr.c (XDRMAXNAME): Define.
29843         (XDRMAXRECORD): Define.
29844         (xdr_domainname): Use XDRMAXNAME.
29845         (xdr_mapname): Likewise.
29846         (xdr_peername): Likewise.
29847         (xdr_keydat): Use XDRMAXRECORD.
29848         (xdr_valdat): Likewise.
29850 2013-05-30  Jeff Law  <law@redhat.com>
29852         [BZ #14256]
29853         * manual/errno.texi (ESTALE): Update to account for more than
29854         just NFS file systems.
29855         * sysdeps/gnu/errlist.c: Regenerated.
29857 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         [BZ #15465]
29860         * elf/Makefile (tests): Add tst-null-argv.
29861         (modules-names):  Add tst-null-argv-lib.
29862         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29863         (tst-null-argv-ENV): Set environment for tst-null-argv.
29864         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29865         (RTLD_PROGNAME): New macro.
29866         * elf/tst-null-argv.c: New test case.
29867         * elf/tst-null-argv-lib.c: Library for test case.
29868         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29869         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29870         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29871         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29872         * elf/dl-init.c (call_init): Likewise.
29873         (_dl_init): Likewise.
29874         * elf/dl-load.c (print_search_path): Likewise.
29875         (_dl_map_object): Likewise.
29876         * elf/dl-lookup.c (do_lookup_x): Likewise.
29877         (add_dependency): Likewise.
29878         (_dl_lookup_symbol_x): Likewise.
29879         (_dl_debug_bindings): Likewise.
29880         * elf/dl-open.c (_dl_show_scope): Likewise.
29881         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29882         * elf/dl-version.c (match_symbol): Likewise.
29883         (_dl_check_map_versions): Likewise.
29884         * elf/rtld.c (dl_main): Likewise.
29885         (print_unresolved): Use RTLD_PROGNAME.
29886         (print_missing_version): Likewise.
29887         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29888         (elf_machine_rela): Likewise.
29889         * sysdeps/powerpc/powerpc32/dl-machine.c
29890         (__process_machine_rela): Likewise.
29891         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29892         Likewise.
29893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29894         Likewise.
29895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29896         Likewise.
29897         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29898         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29899         Likewise.
29900         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29901         Likewise.
29902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29904 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29906         * po/be.po: Add descriptive title.
29907         * po/zh_CN.po: Likewise.
29908         * po/header.pot: Likewise.
29910 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29912         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29913         error message.
29914         (enlarge_archive): Likewise.
29916 2013-05-28  Ben North  <ben@redfrontdoor.org>
29918         * manual/arith.texi (frexp): It is the magnitude of the return
29919         value which lies in [0.5, 1), not the return value itself.
29921 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29925 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29927         * stdio-common/bug26.c (main): Correct fscanf template.
29929         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29930         declare _dl_skip_args.
29932         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29933         Don't declare.
29935         * manual/platform.texi: Add missing @end deftypefun.
29937 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29939         [BZ #15529]
29940         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29941         bit of mantissa of 2^16382.
29942         * math/libm-test.inc (hypot_test_data): Add more tests.
29944         * math/libm-test.inc: Add drem and pow10 to list of tested
29945         functions.
29946         (pow10_test): New function.
29947         (drem_test): Likewise.
29948         (drem_test_tonearest): Likewise.
29949         (drem_test_towardzero): Likewise.
29950         (drem_test_downward): Likewise.
29951         (drem_test_upward): Likewise.
29952         (main): Call the new functions.
29954         * math/libm-test.inc (finite_test_data): Remove.
29955         (finite_test): Run tests from isfinite_test_data.
29956         (gamma_test_data): Remove.
29957         (gamma_test): Run tests from lgamma_test_data.
29958         * sysdeps/i386/fpu/libm-test-ulps: Update.
29959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29961 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29963         * manual/platform.texi: Add PowerPC PPR function set documentation.
29964         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29965         implementation.
29967 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29969         * math/libm-test.inc (MAX_EXP): Define.
29970         (ULPDIFF): Define.
29971         (ulp): New function.
29972         (check_float_internal): Use ULPDIFF.
29973         (cpow_test): Disable failing test.
29974         (check_ulp): Test ulp() implemetnation.
29975         (main): Call check_ulp before starting tests.
29977 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29979         * math/gen-libm-test.pl (generate_testfile): Do not handle
29980         START_DATA and END_DATA.
29981         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29982         END_DATA.
29983         (acos_tonearest_test_data): Likewise.
29984         (acos_towardzero_test_data): Likewise.
29985         (acos_downward_test_data): Likewise.
29986         (acos_upward_test_data): Likewise.
29987         (acosh_test_data): Likewise.
29988         (asin_test_data): Likewise.
29989         (asin_tonearest_test_data): Likewise.
29990         (asin_towardzero_test_data): Likewise.
29991         (asin_downward_test_data): Likewise.
29992         (asin_upward_test_data): Likewise.
29993         (asinh_test_data): Likewise.
29994         (atan_test_data): Likewise.
29995         (atanh_test_data): Likewise.
29996         (atan2_test_data): Likewise.
29997         (cabs_test_data): Likewise.
29998         (cacos_test_data): Likewise.
29999         (cacosh_test_data): Likewise.
30000         (carg_test_data): Likewise.
30001         (casin_test_data): Likewise.
30002         (casinh_test_data): Likewise.
30003         (catan_test_data): Likewise.
30004         (catanh_test_data): Likewise.
30005         (cbrt_test_data): Likewise.
30006         (ccos_test_data): Likewise.
30007         (ccosh_test_data): Likewise.
30008         (ceil_test_data): Likewise.
30009         (cexp_test_data): Likewise.
30010         (cimag_test_data): Likewise.
30011         (clog_test_data): Likewise.
30012         (clog10_test_data): Likewise.
30013         (conj_test_data): Likewise.
30014         (copysign_test_data): Likewise.
30015         (cos_test_data): Likewise.
30016         (cos_tonearest_test_data): Likewise.
30017         (cos_towardzero_test_data): Likewise.
30018         (cos_downward_test_data): Likewise.
30019         (cos_upward_test_data): Likewise.
30020         (cosh_test_data): Likewise.
30021         (cosh_tonearest_test_data): Likewise.
30022         (cosh_towardzero_test_data): Likewise.
30023         (cosh_downward_test_data): Likewise.
30024         (cosh_upward_test_data): Likewise.
30025         (cpow_test_data): Likewise.
30026         (cproj_test_data): Likewise.
30027         (creal_test_data): Likewise.
30028         (csin_test_data): Likewise.
30029         (csinh_test_data): Likewise.
30030         (csqrt_test_data): Likewise.
30031         (ctan_test_data): Likewise.
30032         (ctan_tonearest_test_data): Likewise.
30033         (ctan_towardzero_test_data): Likewise.
30034         (ctan_downward_test_data): Likewise.
30035         (ctan_upward_test_data): Likewise.
30036         (ctanh_test_data): Likewise.
30037         (ctanh_tonearest_test_data): Likewise.
30038         (ctanh_towardzero_test_data): Likewise.
30039         (ctanh_downward_test_data): Likewise.
30040         (ctanh_upward_test_data): Likewise.
30041         (erf_test_data): Likewise.
30042         (erfc_test_data): Likewise.
30043         (exp_test_data): Likewise.
30044         (exp_tonearest_test_data): Likewise.
30045         (exp_towardzero_test_data): Likewise.
30046         (exp_downward_test_data): Likewise.
30047         (exp_upward_test_data): Likewise.
30048         (exp10_test_data): Likewise.
30049         (exp2_test_data): Likewise.
30050         (expm1_test_data): Likewise.
30051         (fabs_test_data): Likewise.
30052         (fdim_test_data): Likewise.
30053         (finite_test_data): Likewise.
30054         (floor_test_data): Likewise.
30055         (fma_test_data): Likewise.
30056         (fma_towardzero_test_data): Likewise.
30057         (fma_downward_test_data): Likewise.
30058         (fma_upward_test_data): Likewise.
30059         (fmax_test_data): Likewise.
30060         (fmin_test_data): Likewise.
30061         (fmod_test_data): Likewise.
30062         (fpclassify_test_data): Likewise.
30063         (frexp_test_data): Likewise.
30064         (gamma_test_data): Likewise.
30065         (hypot_test_data): Likewise.
30066         (ilogb_test_data): Likewise.
30067         (isfinite_test_data): Likewise.
30068         (isgreater_test_data): Likewise.
30069         (isgreaterequal_test_data): Likewise.
30070         (isinf_test_data): Likewise.
30071         (isless_test_data): Likewise.
30072         (islessequal_test_data): Likewise.
30073         (islessgreater_test_data): Likewise.
30074         (isnan_test_data): Likewise.
30075         (isnormal_test_data): Likewise.
30076         (issignaling_test_data): Likewise.
30077         (isunordered_test_data): Likewise.
30078         (j0_test_data): Likewise.
30079         (j1_test_data): Likewise.
30080         (jn_test_data): Likewise.
30081         (ldexp_test_data): Likewise.
30082         (lgamma_test_data): Likewise.
30083         (lrint_test_data): Likewise.
30084         (lrint_tonearest_test_data): Likewise.
30085         (lrint_towardzero_test_data): Likewise.
30086         (lrint_downward_test_data): Likewise.
30087         (lrint_upward_test_data): Likewise.
30088         (llrint_test_data): Likewise.
30089         (llrint_tonearest_test_data): Likewise.
30090         (llrint_towardzero_test_data): Likewise.
30091         (llrint_downward_test_data): Likewise.
30092         (llrint_upward_test_data): Likewise.
30093         (log_test_data): Likewise.
30094         (log10_test_data): Likewise.
30095         (log1p_test_data): Likewise.
30096         (log2_test_data): Likewise.
30097         (logb_test_data): Likewise.
30098         (logb_downward_test_data): Likewise.
30099         (lround_test_data): Likewise.
30100         (llround_test_data): Likewise.
30101         (modf_test_data): Likewise.
30102         (nearbyint_test_data): Likewise.
30103         (nextafter_test_data): Likewise.
30104         (nexttoward_test_data): Likewise.
30105         (pow_test_data): Likewise.
30106         (pow_tonearest_test_data): Likewise.
30107         (pow_towardzero_test_data): Likewise.
30108         (pow_downward_test_data): Likewise.
30109         (pow_upward_test_data): Likewise.
30110         (remainder_test_data): Likewise.
30111         (remainder_tonearest_test_data): Likewise.
30112         (remainder_towardzero_test_data): Likewise.
30113         (remainder_downward_test_data): Likewise.
30114         (remainder_upward_test_data): Likewise.
30115         (remquo_test_data): Likewise.
30116         (rint_test_data): Likewise.
30117         (rint_tonearest_test_data): Likewise.
30118         (rint_towardzero_test_data): Likewise.
30119         (rint_downward_test_data): Likewise.
30120         (rint_upward_test_data): Likewise.
30121         (round_test_data): Likewise.
30122         (scalb_test_data): Likewise.
30123         (scalbn_test_data): Likewise.
30124         (scalbln_test_data): Likewise.
30125         (signbit_test_data): Likewise.
30126         (sin_test_data): Likewise.
30127         (sin_tonearest_test_data): Likewise.
30128         (sin_towardzero_test_data): Likewise.
30129         (sin_downward_test_data): Likewise.
30130         (sin_upward_test_data): Likewise.
30131         (sincos_test_data): Likewise.
30132         (sinh_test_data): Likewise.
30133         (sinh_tonearest_test_data): Likewise.
30134         (sinh_towardzero_test_data): Likewise.
30135         (sinh_downward_test_data): Likewise.
30136         (sinh_upward_test_data): Likewise.
30137         (sqrt_test_data): Likewise.
30138         (tan_test_data): Likewise.
30139         (tan_tonearest_test_data): Likewise.
30140         (tan_towardzero_test_data): Likewise.
30141         (tan_downward_test_data): Likewise.
30142         (tan_upward_test_data): Likewise.
30143         (tanh_test_data): Likewise.
30144         (tgamma_test_data): Likewise.
30145         (trunc_test_data): Likewise.
30146         (y0_test_data): Likewise.
30147         (y1_test_data): Likewise.
30148         (yn_test_data): Likewise.
30149         (significand_test_data): Likewise.
30151         * math/gen-libm-test.pl (@functions): Remove variable.
30152         (generate_testfile): Don't handle START and END lines.
30153         * math/libm-test.inc (START): New macro.
30154         (END): Likewise.
30155         (END_COMPLEX): Likewise.
30156         (acos_test): Use END macro without arguments.
30157         (acos_test_tonearest): Likewise.
30158         (acos_test_towardzero): Likewise.
30159         (acos_test_downward): Likewise.
30160         (acos_test_upward): Likewise.
30161         (acosh_test): Likewise.
30162         (asin_test): Likewise.
30163         (asin_test_tonearest): Likewise.
30164         (asin_test_towardzero): Likewise.
30165         (asin_test_downward): Likewise.
30166         (asin_test_upward): Likewise.
30167         (asinh_test): Likewise.
30168         (atan_test): Likewise.
30169         (atanh_test): Likewise.
30170         (atan2_test): Likewise.
30171         (cabs_test): Likewise.
30172         (cacos_test): Use END_COMPLEX macro without arguments.
30173         (cacosh_test): Likewise.
30174         (carg_test): Use END macro without arguments.
30175         (casin_test): Use END_COMPLEX macro without arguments.
30176         (casinh_test): Likewise.
30177         (catan_test): Likewise.
30178         (catanh_test): Likewise.
30179         (cbrt_test): Use END macro without arguments.
30180         (ccos_test): Use END_COMPLEX macro without arguments.
30181         (ccosh_test): Likewise.
30182         (ceil_test): Use END macro without arguments.
30183         (cexp_test): Use END_COMPLEX macro without arguments.
30184         (cimag_test): Use END macro without arguments.
30185         (clog_test): Use END_COMPLEX macro without arguments.
30186         (clog10_test): Likewise.
30187         (conj_test): Likewise.
30188         (copysign_test): Use END macro without arguments.
30189         (cos_test): Likewise.
30190         (cos_test_tonearest): Likewise.
30191         (cos_test_towardzero): Likewise.
30192         (cos_test_downward): Likewise.
30193         (cos_test_upward): Likewise.
30194         (cosh_test): Likewise.
30195         (cosh_test_tonearest): Likewise.
30196         (cosh_test_towardzero): Likewise.
30197         (cosh_test_downward): Likewise.
30198         (cosh_test_upward): Likewise.
30199         (cpow_test): Use END_COMPLEX macro without arguments.
30200         (cproj_test): Likewise.
30201         (creal_test): Use END macro without arguments.
30202         (csin_test): Use END_COMPLEX macro without arguments.
30203         (csinh_test): Likewise.
30204         (csqrt_test): Likewise.
30205         (ctan_test): Likewise.
30206         (ctan_test_tonearest): Likewise.
30207         (ctan_test_towardzero): Likewise.
30208         (ctan_test_downward): Likewise.
30209         (ctan_test_upward): Likewise.
30210         (ctanh_test): Likewise.
30211         (ctanh_test_tonearest): Likewise.
30212         (ctanh_test_towardzero): Likewise.
30213         (ctanh_test_downward): Likewise.
30214         (ctanh_test_upward): Likewise.
30215         (erf_test): Use END macro without arguments.
30216         (erfc_test): Likewise.
30217         (exp_test): Likewise.
30218         (exp_test_tonearest): Likewise.
30219         (exp_test_towardzero): Likewise.
30220         (exp_test_downward): Likewise.
30221         (exp_test_upward): Likewise.
30222         (exp10_test): Likewise.
30223         (exp2_test): Likewise.
30224         (expm1_test): Likewise.
30225         (fabs_test): Likewise.
30226         (fdim_test): Likewise.
30227         (finite_test): Likewise.
30228         (floor_test): Likewise.
30229         (fma_test): Likewise.
30230         (fma_test_towardzero): Likewise.
30231         (fma_test_downward): Likewise.
30232         (fma_test_upward): Likewise.
30233         (fmax_test): Likewise.
30234         (fmin_test): Likewise.
30235         (fmod_test): Likewise.
30236         (fpclassify_test): Likewise.
30237         (frexp_test): Likewise.
30238         (gamma_test): Likewise.
30239         (hypot_test): Likewise.
30240         (ilogb_test): Likewise.
30241         (isfinite_test): Likewise.
30242         (isgreater_test): Likewise.
30243         (isgreaterequal_test): Likewise.
30244         (isinf_test): Likewise.
30245         (isless_test): Likewise.
30246         (islessequal_test): Likewise.
30247         (islessgreater_test): Likewise.
30248         (isnan_test): Likewise.
30249         (isnormal_test): Likewise.
30250         (issignaling_test): Likewise.
30251         (isunordered_test): Likewise.
30252         (j0_test): Likewise.
30253         (j1_test): Likewise.
30254         (jn_test): Likewise.
30255         (ldexp_test): Likewise.
30256         (lgamma_test): Likewise.
30257         (lrint_test): Likewise.
30258         (lrint_test_tonearest): Likewise.
30259         (lrint_test_towardzero): Likewise.
30260         (lrint_test_downward): Likewise.
30261         (lrint_test_upward): Likewise.
30262         (llrint_test): Likewise.
30263         (llrint_test_tonearest): Likewise.
30264         (llrint_test_towardzero): Likewise.
30265         (llrint_test_downward): Likewise.
30266         (llrint_test_upward): Likewise.
30267         (log_test): Likewise.
30268         (log10_test): Likewise.
30269         (log1p_test): Likewise.
30270         (log2_test): Likewise.
30271         (logb_test): Likewise.
30272         (logb_test_downward): Likewise.
30273         (lround_test): Likewise.
30274         (llround_test): Likewise.
30275         (modf_test): Likewise.
30276         (nearbyint_test): Likewise.
30277         (nextafter_test): Likewise.
30278         (nexttoward_test): Likewise.
30279         (pow_test): Likewise.
30280         (pow_test_tonearest): Likewise.
30281         (pow_test_towardzero): Likewise.
30282         (pow_test_downward): Likewise.
30283         (pow_test_upward): Likewise.
30284         (remainder_test): Likewise.
30285         (remainder_test_tonearest): Likewise.
30286         (remainder_test_towardzero): Likewise.
30287         (remainder_test_downward): Likewise.
30288         (remainder_test_upward): Likewise.
30289         (remquo_test): Likewise.
30290         (rint_test): Likewise.
30291         (rint_test_tonearest): Likewise.
30292         (rint_test_towardzero): Likewise.
30293         (rint_test_downward): Likewise.
30294         (rint_test_upward): Likewise.
30295         (round_test): Likewise.
30296         (scalb_test): Likewise.
30297         (scalbn_test): Likewise.
30298         (scalbln_test): Likewise.
30299         (signbit_test): Likewise.
30300         (sin_test): Likewise.
30301         (sin_test_tonearest): Likewise.
30302         (sin_test_towardzero): Likewise.
30303         (sin_test_downward): Likewise.
30304         (sin_test_upward): Likewise.
30305         (sincos_test): Likewise.
30306         (sinh_test): Likewise.
30307         (sinh_test_tonearest): Likewise.
30308         (sinh_test_towardzero): Likewise.
30309         (sinh_test_downward): Likewise.
30310         (sinh_test_upward): Likewise.
30311         (sqrt_test): Likewise.
30312         (tan_test): Likewise.
30313         (tan_test_tonearest): Likewise.
30314         (tan_test_towardzero): Likewise.
30315         (tan_test_downward): Likewise.
30316         (tan_test_upward): Likewise.
30317         (tanh_test): Likewise.
30318         (tgamma_test): Likewise.
30319         (trunc_test): Likewise.
30320         (y0_test): Likewise.
30321         (y1_test): Likewise.
30322         (yn_test): Likewise.
30323         (significand_test): Likewise.
30325 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30327         [BZ #15381]
30328         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30330 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30332         [BZ #14894]
30333         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30334         __ppc_mdoio and __ppc_mdoom.
30335         * manual/platform.texi: Document new functions __ppc_yield,
30336         __ppc_mdoio and __ppc_mdoom.
30338 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30340         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30341         (main): Mention "tls" pseudo-hwcap is legacy.
30342         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30344 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30346         * math/gen-libm-test.pl (parse_args): Output only string of
30347         arguments as text for test name, not full call or descriptions of
30348         tests for extra outputs.
30349         (generate_testfile): Do not pass function name to parse_args.
30350         Generate this_func variable from START.
30351         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30352         field to arg_str.
30353         (struct test_ff_f_data): Likewise.
30354         (test_ff_f_data_nexttoward): Likewise.
30355         (struct test_fi_f_data): Likewise.
30356         (struct test_fl_f_data): Likewise.
30357         (struct test_if_f_data): Likewise.
30358         (struct test_fff_f_data): Likewise.
30359         (struct test_c_f_data): Likewise.
30360         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30361         (struct test_fF_f1_data): Likewise.
30362         (struct test_ffI_f1_data): Likewise.
30363         (struct test_c_c_data): Rename test_name field to arg_str.
30364         (struct test_cc_c_data): Likewise.
30365         (struct test_f_i_data): Likewise.
30366         (struct test_ff_i_data): Likewise.
30367         (struct test_f_l_data): Likewise.
30368         (struct test_f_L_data): Likewise.
30369         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30370         and extra2_name.
30371         (COMMON_TEST_SETUP): New macro.
30372         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30373         (COMMON_TEST_CLEANUP): Likewise.
30374         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30375         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30376         macros.
30377         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30378         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30379         macros.
30380         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30381         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30382         cleanup macros.
30383         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30384         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30385         macros.
30386         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30387         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30388         macros.
30389         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30390         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30391         cleanup macros.
30392         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30393         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30394         cleanup macros.
30395         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30396         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30397         cleanup macros.
30398         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30399         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30400         macros.
30401         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30402         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30403         macros.
30404         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30405         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30406         macros.
30407         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30408         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30409         cleanup macros.
30410         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30411         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30412         cleanup macros.
30413         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30414         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30415         macros.
30416         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30417         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30418         cleanup macros.
30419         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30420         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30421         macros.
30422         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30423         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30424         macros.
30425         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30426         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30427         cleanup macros.
30428         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30430 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30432         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30433         to _sifields.sigfault.
30434         (si_addr_lsb): Define new macro.
30435         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30436         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30437         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30439 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30441         [BZ #15441]
30442         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30443         returns -1.
30444         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30445         null return -1.
30446         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30447         loading the domain.
30449 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30451         * math/gen-libm-test.pl (parse_args): Do not include expected
30452         result in test name.
30453         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30454         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30455         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30456         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30457         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30460 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30462         * benchtests/Makefile: Sort function entries.
30464         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30465         tanh, asinh, acosh, atanh.
30466         * benchtests/acos-inputs: New file.
30467         * benchtests/acosh-inputs: New file.
30468         * benchtests/asin-inputs: New file.
30469         * benchtests/asinh-inputs: New file.
30470         * benchtests/atanh-inputs: New file.
30471         * benchtests/cosh-inputs: New file.
30472         * benchtests/log-inputs: New file.
30473         * benchtests/sinh-inputs: New file.
30474         * benchtests/tanh-inputs: New file.
30476 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30478         [BZ #15339]
30479         * posix/tst-getaddrinfo4.c: New test.
30480         * posix/Makefile (tests): Add it.
30482 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30484         [BZ #15339]
30485         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30486         when no services were used.
30487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30488         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30490 2013-05-21  Andreas Schwab  <schwab@suse.de>
30492         [BZ #15014]
30493         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30494         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30495         successful.
30496         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30497         redundant variable declarations and reallocation of buffer when
30498         parsing as IPv6 address.  Always set NSS status when called from
30499         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30500         buffer too small.  Correct computation of needed size.
30501         * nss/Makefile (tests): Add test-digits-dots.
30502         * nss/test-digits-dots.c: New test.
30504 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30506         * benchtests/Makefile: Remove instructions for adding
30507         benchmark tests.
30508         * benchtests/README: New file to explain how to execute and
30509         enhance the benchmark tests.
30511 2013-05-21  Andreas Schwab  <schwab@suse.de>
30513         [BZ #15493]
30514         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30515         * setjmp/tst-sigsetjmp.c: New test.
30517 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30519         * sysdeps/x86_64/memset.S (memset): New implementation.
30520         (__bzero): Likewise.
30521         (__memset_tail): New function.
30523 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30525         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30526         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30527         __memcpy_sse2_unaligned ifunc selection.
30528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30529         Add memcpy-sse2-unaligned.S.
30530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30531         Add: __memcpy_sse2_unaligned.
30533 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #15490]
30536         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30537         math_force_eval before restoring floating-point envrionment.
30538         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30540         Likewise.
30541         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30542         <math_private.h>.
30543         (__nearbyintl): Use math_force_eval before restoring
30544         floating-point environment.
30545         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30547         * math/gen-libm-test.pl (special_functions): Remove.
30548         (parse_args): Don't handle TEST_extra.  Handle functions with no
30549         return value.
30550         * math/libm-test.inc (struct test_sincos_data): Replace with
30551         struct test_fFF_11_data.
30552         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30553         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30554         (sincos_test_data): Change element type to struct
30555         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
30556         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30557         RUN_TEST_LOOP_sincos.
30558         * math/README.libm-test: Don't mention special handling of
30559         individual functions.
30560         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30562         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30563         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30564         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30567         * math/gen-libm-test.pl (get_variable): Remove function.
30568         (parse_args): Don't show pointer parameters to call in test
30569         names.  Use "extra output N" in test names for extra outputs
30570         rather than naming variables.
30572 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
30574         [BZ #15488]
30575         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30576         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30577         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30578         double tests.
30579         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30580         disable.
30581         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30582         check_long_double.
30584         * math/gen-libm-test.pl (@tests): Remove variable.
30585         ($count): Likewise.
30586         (new_test): Remove function.
30587         (show_exceptions): New function.
30588         (special_functions): Use show_exceptions instead of new_test.
30589         (parse_args): Likewise.
30590         (generate_testfile): Pass only function name in generated call to
30591         print_max_error or print_complex_max_error.
30592         (get_ulps): Do not handle complex tests specially.
30593         (output_test): Rename to ...
30594         (get_all_ulps_for_test): ... this.  Return a string rather than
30595         printing to a file.  Require ulps to be present.
30596         (output_ulps): Generate arrays rather than #defines.
30597         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30598         (struct ulp_data): New type.
30599         (BUILD_COMPLEX_ULP): Remove macro.
30600         (compare_ulp_data): New function.
30601         (find_ulps): Likewise.
30602         (find_test_ulps): Likewise.
30603         (find_function_ulps): Likewise.
30604         (find_complex_function_ulps): Likewise.
30605         (print_max_error): Determine allowed ulps using
30606         find_function_ulps.
30607         (print_complex_max_error): Determine allowed ulps using
30608         find_complex_function_ulps.
30609         (check_float_internal): Determine max ulps using find_test_ulps.
30610         (check_float): Do not take max_ulp parameter.  Update call to
30611         check_float_internal.
30612         (check_complex): Likewise.
30613         (check_int): Do not take max_ulp parameter.
30614         (check_long): Likewise.
30615         (check_bool): Likewise.
30616         (check_longlong): Likewise.
30617         (struct test_f_f_data): Remove max_ulp field.
30618         (struct test_ff_f_data): Likewise.
30619         (struct test_ff_f_data_nexttoward): Likewise.
30620         (struct test_fi_f_data): Likewise.
30621         (struct test_fl_f_data): Likewise.
30622         (struct test_if_f_data): Likewise.
30623         (struct test_fff_f_data): Likewise.
30624         (struct test_c_f_data): Likewise.
30625         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30626         (struct test_fF_f1_data): Likewise.
30627         (struct test_ffI_f1_data): Likewise.
30628         (struct test_c_c_data): Remove max_ulp field.
30629         (struct test_cc_c_data): Likewise.
30630         (struct test_f_i_data): Likewise.
30631         (struct test_ff_i_data): Likewise.
30632         (struct test_f_l_data): Likewise.
30633         (struct test_f_L_data): Likewise.
30634         (struct test_sincos_data): Likewise.
30635         (RUN_TEST_f_f): Do not handle ulps.
30636         (RUN_TEST_LOOP_f_f): Likewise.
30637         (RUN_TEST_2_f): Likewise.
30638         (RUN_TEST_LOOP_2_f): Likewise.
30639         (RUN_TEST_fff_f): Likewise.
30640         (RUN_TEST_LOOP_fff_f): Likewise.
30641         (RUN_TEST_c_f): Likewise.
30642         (RUN_TEST_LOOP_c_f): Likewise.
30643         (RUN_TEST_f_f1): Likewise.
30644         (RUN_TEST_LOOP_f_f1): Likewise.
30645         (RUN_TEST_fF_f1): Likewise.
30646         (RUN_TEST_LOOP_fF_f1): Likewise.
30647         (RUN_TEST_fI_f1): Likewise.
30648         (RUN_TEST_LOOP_fI_f1): Likewise.
30649         (RUN_TEST_ffI_f1): Likewise.
30650         (RUN_TEST_LOOP_ffI_f1): Likewise.
30651         (RUN_TEST_c_c): Likewise.
30652         (RUN_TEST_LOOP_c_c): Likewise.
30653         (RUN_TEST_cc_c): Likewise.
30654         (RUN_TEST_LOOP_cc_c): Likewise.
30655         (RUN_TEST_f_i): Likewise.
30656         (RUN_TEST_LOOP_f_i): Likewise.
30657         (RUN_TEST_f_i_tg): Likewise.
30658         (RUN_TEST_LOOP_f_i_tg): Likewise.
30659         (RUN_TEST_ff_i_tg): Likewise.
30660         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30661         (RUN_TEST_f_b): Likewise.
30662         (RUN_TEST_LOOP_f_b): Likewise.
30663         (RUN_TEST_f_b_tg): Likewise.
30664         (RUN_TEST_LOOP_f_b_tg): Likewise.
30665         (RUN_TEST_f_l): Likewise.
30666         (RUN_TEST_LOOP_f_l): Likewise.
30667         (RUN_TEST_f_L): Likewise.
30668         (RUN_TEST_LOOP_f_L): Likewise.
30669         (RUN_TEST_sincos): Likewise.
30670         (RUN_TEST_LOOP_sincos): Likewise.
30672 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
30674         [BZ #15480]
30675         [BZ #15485]
30676         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30677         main case of finite arguments, set rounding mode to FE_TONEAREST
30678         and discard exceptions.
30679         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30680         exceptions.
30681         (remainder_tonearest_test_data): New variable.
30682         (remainder_test_tonearest): New function.
30683         (remainder_towardzero_test_data): New variable.
30684         (remainder_test_towardzero): New function.
30685         (remainder_downward_test_data): New variable.
30686         (remainder_test_downward): New function.
30687         (remainder_upward_test_data): New variable.
30688         (remainder_test_upward): New function.
30689         (main): Call the new test functions.
30691         * math/libm-test.inc (struct test_f_f1_data): Remove field
30692         extra_init.
30693         (struct test_fF_f1_data): Likewise.
30694         (struct test_ffI_f1_data): Likewise.
30695         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
30696         based on value of EXTRA_EXPECTED.
30697         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30698         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
30699         EXTRA_VAR based on value of EXTRA_EXPECTED.
30700         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30701         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
30702         EXTRA_VAR based on value of EXTRA_EXPECTED.
30703         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30704         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
30705         EXTRA_VAR based on value of EXTRA_EXPECTED.
30706         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30707         * math/gen-libm-test.pl (parse_args): Don't output initializers
30708         for extra output values.
30710         * math/libm-test.inc (check_int): Expect result to be exactly
30711         equal to expected value and do not handle ulps.
30712         (check_long): Likewise.
30713         (check_longlong): Likewise.
30715         * math/libm-test.inc (ceil_test_data): Test for "inexact"
30716         exceptions.
30717         (cimag_test_data): Likewise.
30718         (conj_test_data): Likewise.
30719         (copysign_test_data): Likewise.
30720         (cproj_test_data): Likewise.
30721         (creal_test_data): Likewise.
30722         (fabs_test_data): Likewise.
30723         (fdim_test_data): Likewise.
30724         (finite_test_data): Likewise.
30725         (floor_test_data): Likewise.
30726         (fmax_test_data): Likewise.
30727         (fmin_test_data): Likewise.
30728         (fmod_test_data): Likewise.
30729         (fpclassify_test_data): Likewise.
30730         (frexp_test_data): Likewise.
30731         (ilogb_test_data): Likewise.
30732         (isfinite_test_data): Likewise.
30733         (isgreater_test_data): Likewise.
30734         (isgreaterequal_test_data): Likewise.
30735         (isinf_test_data): Likewise.
30736         (isless_test_data): Likewise.
30737         (islessequal_test_data): Likewise.
30738         (islessgreater_test_data): Likewise.
30739         (isnan_test_data): Likewise.
30740         (isnormal_test_data): Likewise.
30741         (issignaling_test_data): Likewise.
30742         (isunordered_test_data): Likewise.
30743         (ldexp_test_data): Likewise.
30744         (lrint_test_data): Likewise.
30745         (lrint_test_data) [TEST_FLOAT]: Disable one test.
30746         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30747         (lrint_tonearest_test_data): Test for "inexact" exceptions.
30748         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30749         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30750         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30751         test input.
30752         (lrint_towardzero_test_data): Test for "inexact" exceptions.
30753         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30754         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30755         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30756         that test input.
30757         (lrint_downward_test_data): Test for "inexact" exceptions.
30758         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30759         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30760         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30761         test input.
30762         (lrint_upward_test_data): Test for "inexact" exceptions.
30763         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30764         test input.
30765         (llrint_test_data): Test for "inexact" exceptions.
30766         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30767         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30768         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30769         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30770         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30771         (llrint_downward_test_data): Test for "inexact" exceptions.
30772         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30773         (llrint_upward_test_data): Test for "inexact" exceptions.
30774         (logb_test_data): Likewise.
30775         (logb_downward_test_data): Likewise.
30776         (nextafter_test_data): Likewise.
30777         (nexttoward_test_data): Likewise.
30778         (remainder_test_data): Likewise.
30779         (remquo_test_data): Likewise.
30780         (scalbn_test_data): Likewise.
30781         (scalbln_test_data): Likewise.
30782         (signbit_test_data): Likewise.
30783         (sqrt_test_data): Likewise.
30784         (significand_test_data): Likewise.
30786 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30788         [BZ #15424]
30789         * benchtests/bench-modf.c (struct args): Mark arg0 as
30790         volatile.
30791         * scripts/bench.pl: Mark members of struct args as volatile.
30793 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30795         [BZ # 15497]
30796         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30797         negative infinity on POWER6 or lower.
30798         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30800 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30802         [BZ #15442]
30803         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30804         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30805         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30806         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30807         (_FP_SETQNAN): New macro.
30808         (_FP_SETQNAN_SEMIRAW): Likewise.
30809         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30810         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30811         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30812         (FP_EXTEND): Use _FP_FRAC_SNANP.
30813         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30814         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30815         into account.
30816         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30817         New macro.
30818         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30819         Likewise.
30821 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30823         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30824         with DIVIDE_BY_ZERO_EXCEPTION.
30825         (gamma_test_data): Likewise.
30826         (lgamma_test_data): Likewise.
30827         (log_test_data): Likewise.
30828         (log10_test_data): Likewise.
30829         (log2_test_data): Likewise.
30830         (tgamma_test_data): Likewise.
30832         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30833         (acos_test_tonearest): Likewise.
30834         (acos_test_towardzero): Likewise.
30835         (acos_test_downward): Likewise.
30836         (acos_test_upward): Likewise.
30837         (acosh_test): Likewise.
30838         (asin_test): Likewise.
30839         (asin_test_tonearest): Likewise.
30840         (asin_test_towardzero): Likewise.
30841         (asin_test_downward): Likewise.
30842         (asin_test_upward): Likewise.
30843         (asinh_test): Likewise.
30844         (atan_test): Likewise.
30845         (atanh_test): Likewise.
30846         (atan2_test): Likewise.
30847         (cabs_test): Likewise.
30848         (cacos_test): Likewise.
30849         (cacosh_test): Likewise.
30850         (casin_test): Likewise.
30851         (casinh_test): Likewise.
30852         (catan_test): Likewise.
30853         (catanh_test): Likewise.
30854         (cbrt_test): Likewise.
30855         (ccos_test): Likewise.
30856         (ccosh_test): Likewise.
30857         (cexp_test): Likewise.
30858         (clog_test): Likewise.
30859         (clog10_test): Likewise.
30860         (cos_test): Likewise.
30861         (cos_test_tonearest): Likewise.
30862         (cos_test_towardzero): Likewise.
30863         (cos_test_downward): Likewise.
30864         (cos_test_upward): Likewise.
30865         (cosh_test): Likewise.
30866         (cosh_test_tonearest): Likewise.
30867         (cosh_test_towardzero): Likewise.
30868         (cosh_test_downward): Likewise.
30869         (cosh_test_upward): Likewise.
30870         (cpow_test): Likewise.
30871         (csin_test): Likewise.
30872         (csinh_test): Likewise.
30873         (csqrt_test): Likewise.
30874         (ctan_test): Likewise.
30875         (ctan_test_tonearest): Likewise.
30876         (ctan_test_towardzero): Likewise.
30877         (ctan_test_downward): Likewise.
30878         (ctan_test_upward): Likewise.
30879         (ctanh_test): Likewise.
30880         (ctanh_test_tonearest): Likewise.
30881         (ctanh_test_towardzero): Likewise.
30882         (ctanh_test_downward): Likewise.
30883         (ctanh_test_upward): Likewise.
30884         (erf_test): Likewise.
30885         (erfc_test): Likewise.
30886         (exp_test): Likewise.
30887         (exp_test_tonearest): Likewise.
30888         (exp_test_towardzero): Likewise.
30889         (exp_test_downward): Likewise.
30890         (exp_test_upward): Likewise.
30891         (exp10_test): Likewise.
30892         (exp2_test): Likewise.
30893         (expm1_test): Likewise.
30894         (fmod_test): Likewise.
30895         (gamma_test): Likewise.
30896         (hypot_test): Likewise.
30897         (j0_test): Likewise.
30898         (j1_test): Likewise.
30899         (jn_test): Likewise.
30900         (lgamma_test): Likewise.
30901         (log_test): Likewise.
30902         (log10_test): Likewise.
30903         (log1p_test): Likewise.
30904         (log2_test): Likewise.
30905         (logb_test_downward): Likewise.
30906         (pow_test): Likewise.
30907         (pow_test_tonearest): Likewise.
30908         (pow_test_towardzero): Likewise.
30909         (pow_test_downward): Likewise.
30910         (pow_test_upward): Likewise.
30911         (remainder_test): Likewise.
30912         (remquo_test): Likewise.
30913         (sin_test): Likewise.
30914         (sin_test_tonearest): Likewise.
30915         (sin_test_towardzero): Likewise.
30916         (sin_test_downward): Likewise.
30917         (sin_test_upward): Likewise.
30918         (sincos_test): Likewise.
30919         (sinh_test): Likewise.
30920         (sinh_test_tonearest): Likewise.
30921         (sinh_test_towardzero): Likewise.
30922         (sinh_test_downward): Likewise.
30923         (sinh_test_upward): Likewise.
30924         (sqrt_test): Likewise.
30925         (tan_test): Likewise.
30926         (tan_test_tonearest): Likewise.
30927         (tan_test_towardzero): Likewise.
30928         (tan_test_downward): Likewise.
30929         (tan_test_upward): Likewise.
30930         (tanh_test): Likewise.
30931         (tgamma_test): Likewise.
30932         (y0_test): Likewise.
30933         (y1_test): Likewise.
30934         (yn_test): Likewise.
30936         * math/gen-libm-test.pl (adjust_arg): Remove function.
30937         (special_function): Remove argument $in_func.  Only handle
30938         generating output for tables of tests, not inside functions.
30939         (parse_args): Likewise.
30940         (generate_testfile): Remove variable $in_func.  Update call to
30941         parse_args.
30942         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30943         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30944         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30945         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30946         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30947         (MAX_VALUE_INIT): Rename macro to max_value.
30948         (MIN_VALUE_INIT): Rename macro to min_value.
30949         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30950         (plus_zero): Remove variable.
30951         (minus_zero): Likewise.
30952         (plus_infty): Likewise.
30953         (minus_infty): Likewise.
30954         (qnan_value): Likewise.
30955         (max_value): Likewise.
30956         (min_value): Likewise.
30957         (min_subnorm_value): Likewise.
30959 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30961         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30962         uint64_t or uint32_t usage.
30963         * crypt/sha256-block.c: Likewise.
30964         * crypt/sha256-crypt.c: Likewise.
30965         * crypt/sha256.c: Likewise.
30966         * crypt/sha512-block.c: Likewise.
30967         * crypt/sha512-crypt.c: Likewise.
30968         * crypt/sha512.c: Likewise.
30969         * debug/backtrace-tst.c: Likewise.
30970         * debug/pcprofiledump.c: Likewise.
30971         * elf/cache.c: Likewise.
30972         * elf/dl-cache.c: Likewise.
30973         * elf/dl-misc.c: Likewise.
30974         * elf/dl-profile.c: Likewise.
30975         * elf/dl-support.c: Likewise.
30976         * elf/ldconfig.c: Likewise.
30977         * elf/sprof.c: Likewise.
30978         * iconv/dummy-repertoire.c: Likewise.
30979         * iconv/iconv_charmap.c: Likewise.
30980         * iconv/skeleton.c: Likewise.
30981         * iconvdata/8bit-generic.c: Likewise.
30982         * iconvdata/cp737.h: Likewise.
30983         * iconvdata/cp775.h: Likewise.
30984         * iconvdata/ibm1008.h: Likewise.
30985         * iconvdata/ibm1025.h: Likewise.
30986         * iconvdata/ibm1046.h: Likewise.
30987         * iconvdata/ibm1097.h: Likewise.
30988         * iconvdata/ibm1112.h: Likewise.
30989         * iconvdata/ibm1122.h: Likewise.
30990         * iconvdata/ibm1123.h: Likewise.
30991         * iconvdata/ibm1124.h: Likewise.
30992         * iconvdata/ibm1129.h: Likewise.
30993         * iconvdata/ibm1130.h: Likewise.
30994         * iconvdata/ibm1132.h: Likewise.
30995         * iconvdata/ibm1133.h: Likewise.
30996         * iconvdata/ibm1137.h: Likewise.
30997         * iconvdata/ibm1140.h: Likewise.
30998         * iconvdata/ibm1141.h: Likewise.
30999         * iconvdata/ibm1142.h: Likewise.
31000         * iconvdata/ibm1143.h: Likewise.
31001         * iconvdata/ibm1144.h: Likewise.
31002         * iconvdata/ibm1145.h: Likewise.
31003         * iconvdata/ibm1146.h: Likewise.
31004         * iconvdata/ibm1147.h: Likewise.
31005         * iconvdata/ibm1148.h: Likewise.
31006         * iconvdata/ibm1149.h: Likewise.
31007         * iconvdata/ibm1153.h: Likewise.
31008         * iconvdata/ibm1154.h: Likewise.
31009         * iconvdata/ibm1155.h: Likewise.
31010         * iconvdata/ibm1156.h: Likewise.
31011         * iconvdata/ibm1157.h: Likewise.
31012         * iconvdata/ibm1158.h: Likewise.
31013         * iconvdata/ibm1160.h: Likewise.
31014         * iconvdata/ibm1161.h: Likewise.
31015         * iconvdata/ibm1162.h: Likewise.
31016         * iconvdata/ibm1163.h: Likewise.
31017         * iconvdata/ibm1164.h: Likewise.
31018         * iconvdata/ibm1166.h: Likewise.
31019         * iconvdata/ibm1167.h: Likewise.
31020         * iconvdata/ibm12712.h: Likewise.
31021         * iconvdata/ibm1390.h: Likewise.
31022         * iconvdata/ibm1399.h: Likewise.
31023         * iconvdata/ibm16804.h: Likewise.
31024         * iconvdata/ibm4517.h: Likewise.
31025         * iconvdata/ibm4899.h: Likewise.
31026         * iconvdata/ibm4909.h: Likewise.
31027         * iconvdata/ibm4971.h: Likewise.
31028         * iconvdata/ibm5347.h: Likewise.
31029         * iconvdata/ibm803.h: Likewise.
31030         * iconvdata/ibm856.h: Likewise.
31031         * iconvdata/ibm901.h: Likewise.
31032         * iconvdata/ibm902.h: Likewise.
31033         * iconvdata/ibm9030.h: Likewise.
31034         * iconvdata/ibm9066.h: Likewise.
31035         * iconvdata/ibm921.h: Likewise.
31036         * iconvdata/ibm922.h: Likewise.
31037         * iconvdata/ibm9448.h: Likewise.
31038         * iconvdata/isiri-3342.h: Likewise.
31039         * iconvdata/jis0201.h: Likewise.
31040         * include/link.h: Likewise.
31041         * include/netdb.h: Likewise.
31042         * inet/check_native.c: Likewise.
31043         * inet/check_pf.c: Likewise.
31044         * inet/getipv4sourcefilter.c: Likewise.
31045         * inet/getnameinfo.c: Likewise.
31046         * inet/getsourcefilter.c: Likewise.
31047         * inet/htonl.c: Likewise.
31048         * inet/setipv4sourcefilter.c: Likewise.
31049         * inet/setsourcefilter.c: Likewise.
31050         * inet/test-inet6_opt.c: Likewise.
31051         * inet/tst-network.c: Likewise.
31052         * locale/C-collate.c: Likewise.
31053         * locale/C-ctype.c: Likewise.
31054         * locale/C-time.c: Likewise.
31055         * locale/C-translit.h: Likewise.
31056         * locale/loadarchive.c: Likewise.
31057         * locale/programs/3level.h: Likewise.
31058         * locale/programs/charmap.c: Likewise.
31059         * locale/programs/charmap.h: Likewise.
31060         * locale/programs/ld-address.c: Likewise.
31061         * locale/programs/ld-collate.c: Likewise.
31062         * locale/programs/ld-ctype.c: Likewise.
31063         * locale/programs/ld-identification.c: Likewise.
31064         * locale/programs/ld-measurement.c: Likewise.
31065         * locale/programs/ld-messages.c: Likewise.
31066         * locale/programs/ld-monetary.c: Likewise.
31067         * locale/programs/ld-name.c: Likewise.
31068         * locale/programs/ld-numeric.c: Likewise.
31069         * locale/programs/ld-paper.c: Likewise.
31070         * locale/programs/ld-telephone.c: Likewise.
31071         * locale/programs/ld-time.c: Likewise.
31072         * locale/programs/linereader.c: Likewise.
31073         * locale/programs/locale.c: Likewise.
31074         * locale/programs/locarchive.c: Likewise.
31075         * locale/programs/locfile.h: Likewise.
31076         * locale/programs/repertoire.c: Likewise.
31077         * locale/programs/simple-hash.c: Likewise.
31078         * locale/programs/simple-hash.h: Likewise.
31079         * malloc/memusage.c: Likewise.
31080         * malloc/memusagestat.c: Likewise.
31081         * nis/nis_defaults.c: Likewise.
31082         * nis/nis_hash.c: Likewise.
31083         * nis/nis_print.c: Likewise.
31084         * nis/nis_xdr.c: Likewise.
31085         * nscd/connections.c: Likewise.
31086         * nscd/hstcache.c: Likewise.
31087         * nscd/nscd_gethst_r.c: Likewise.
31088         * nscd/nscd_getserv_r.c: Likewise.
31089         * nscd/nscd_helper.c: Likewise.
31090         * nscd/servicescache.c: Likewise.
31091         * nss/makedb.c: Likewise.
31092         * nss/nss_db/db-XXX.c: Likewise.
31093         * nss/nss_db/db-initgroups.c: Likewise.
31094         * nss/nss_db/db-netgrp.c: Likewise.
31095         * nss/nss_files/files-network.c: Likewise.
31096         * nss/nss_files/files-parse.c: Likewise.
31097         * posix/bug-regex5.c: Likewise.
31098         * posix/fnmatch_loop.c: Likewise.
31099         * posix/regcomp.c: Likewise.
31100         * posix/regexec.c: Likewise.
31101         * posix/tst-rfc3484-2.c: Likewise.
31102         * posix/tst-rfc3484-3.c: Likewise.
31103         * posix/tst-rfc3484.c: Likewise.
31104         * resolv/nss_dns/dns-canon.c: Likewise.
31105         * resolv/nss_dns/dns-network.c: Likewise.
31106         * resolv/res_init.c: Likewise.
31107         * resolv/res_mkquery.c: Likewise.
31108         * resolv/tst-aton.c: Likewise.
31109         * stdlib/cxa_atexit.c: Likewise.
31110         * stdlib/cxa_finalize.c: Likewise.
31111         * stdlib/gen-fpioconst.c: Likewise.
31112         * stdlib/strtol_l.c: Likewise.
31113         * string/tst-endian.c: Likewise.
31114         * sunrpc/auth_des.c: Likewise.
31115         * sunrpc/clnt_udp.c: Likewise.
31116         * sunrpc/rtime.c: Likewise.
31117         * sunrpc/svcauth_des.c: Likewise.
31118         * sunrpc/xdr.c: Likewise.
31119         * sunrpc/xdr_intXX_t.c: Likewise.
31120         * sunrpc/xdr_rec.c: Likewise.
31121         * sysdeps/generic/ldconfig.h: Likewise.
31122         * sysdeps/generic/ldsodefs.h: Likewise.
31123         * sysdeps/generic/memusage.h: Likewise.
31124         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31126         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31127         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31129         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31130         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31132         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31133         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31134         * sysdeps/posix/getaddrinfo.c: Likewise.
31135         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31136         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31137         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31138         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31139         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31140         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31141         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31142         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31143         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31144         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31145         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31146         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31147         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31148         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31149         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31150         * sysdeps/x86_64/dl-tls.h: Likewise.
31151         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31152         * time/alt_digit.c: Likewise.
31153         * time/era.c: Likewise.
31154         * wcsmbs/tst-c16c32-1.c: Likewise.
31156 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31158         * math/libm-test.inc (struct test_sincos_data): New type.
31159         (RUN_TEST_LOOP_sincos): New macro.
31160         (sincos_test_data): New variable.
31161         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31163 2013-05-16  Richard Henderson  <rth@redhat.com>
31165         * math/atest-exp2.c (LIMB64): New macro.
31166         (CONSTSZ): New macro.
31167         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31168         (hexdig): Move ...
31169         (print_mpn_fp): ... to function scope.
31170         (read_mpn_hex): Remove.
31171         (get_log2): Remove.
31172         (exp2_mpn): Use mp_log2.
31173         (main): Use mp_exp1.
31175 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31177         * math/libm-test.inc: Remove comment about not testing "inexact"
31178         exceptions.
31179         (INEXACT_EXCEPTION): New macro.
31180         (NO_INEXACT_EXCEPTION): Likewise.
31181         (INVALID_EXCEPTION_OK): Update value.
31182         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31183         (OVERFLOW_EXCEPTION_OK): Likewise.
31184         (UNDERFLOW_EXCEPTION_OK): Likewise.
31185         (IGNORE_ZERO_INF_SIGN): Likewise.
31186         (ERRNO_UNCHANGED): Likewise.
31187         (ERRNO_EDOM): Likewise.
31188         (ERRNO_ERANGE): Likewise.
31189         (test_exceptions): Handle testing "inexact" exceptions.
31190         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31191         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31192         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31193         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31194         INEXACT_EXCEPTION.
31195         (rint_towardzero_test_data): Likewise.
31196         (rint_downward_test_data): Likewise.
31197         (rint_upward_test_data): Likewise.
31199         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31200         with OVERFLOW_EXCEPTION.
31201         (exp10_test_data): Likewise.
31202         (exp2_test_data): Likewise.
31203         (expm1_test_data): Likewise.
31204         (lgamma_test_data): Likewise.
31205         (pow_test_data): Likewise.
31206         (tgamma_test_data): Likewise.
31207         (yn_test_data): Remove duplicate test of overflow.
31209         * math/libm-test.inc (struct test_cc_c_data): New type.
31210         (RUN_TEST_LOOP_cc_c): New macro.
31211         (cpow_test_data): New variable.
31212         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31214         * math/libm-test.inc (struct test_f_L_data): New type.
31215         (RUN_TEST_LOOP_f_L): New macro.
31216         (llrint_test_data): New variable.
31217         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31218         (llrint_tonearest_test_data): New variable.
31219         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31220         (llrint_towardzero_test_data): New variable.
31221         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31222         (llrint_downward_test_data): New variable.
31223         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31224         (llrint_upward_test_data): New variable.
31225         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31226         (llround_test_data): New variable.
31227         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31229 2013-05-13  Peter Collingbourne  <pcc@google.com>
31231         * math/atest-exp2.c (get_log2): Remove const attribute.
31233 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31235         * math/libm-test.inc (struct test_f_l_data): New type.
31236         (RUN_TEST_LOOP_f_l): New macro.
31237         (lrint_test_data): New variable.
31238         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31239         (lrint_tonearest_test_data): New variable.
31240         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31241         (lrint_towardzero_test_data): New variable.
31242         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31243         (lrint_downward_test_data): New variable.
31244         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31245         (lrint_upward_test_data): New variable.
31246         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31247         (lround_test_data): New variable.
31248         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31250 2013-05-15  Peter Collingbourne  <pcc@google.com>
31252         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31253         (EXTRACT_WORDS64) Use where appropriate.
31254         (INSERT_WORDS64) Likewise.
31256         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31257         constraints with x constraints.
31258         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31260         * malloc/obstack.c (_obstack_compat): Add initializer.
31262 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31264         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31265         si_trapno and add si_addr_lsb to _sifields.sigfault.
31266         (si_trapno): Remove macro.
31267         (si_addr_lsb): Define new macro.
31268         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31270 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31272         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31273         instead of TEST_f_l.
31274         (llrint_test_tonearest): Likewise.
31275         (llrint_test_towardzero): Likewise.
31276         (llrint_test_downward): Likewise.
31277         (llrint_test_upward): Likewise.
31278         (llround_test): Likewise.
31280         * math/libm-test.inc (struct test_f_i_data): Add comment.
31281         (RUN_TEST_LOOP_f_b): New macro.
31282         (RUN_TEST_LOOP_f_b_tg): Likewise.
31283         (finite_test_data): New variable.
31284         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31285         (isfinite_test_data): New variable.
31286         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31287         (isinf_test_data): New variable.
31288         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31289         (isnan_test_data): New variable.
31290         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31291         (isnormal_test_data): New variable.
31292         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31293         (issignaling_test_data): New variable.
31294         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31295         (signbit_test_data): New variable.
31296         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31298         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31299         with INVALID_EXCEPTION.
31300         (acosh_test_data): Likewise.
31301         (asin_test_data): Likewise.
31302         (atanh_test_data): Likewise.
31303         (fmod_test_data): Likewise.
31304         (log_test_data): Likewise.
31305         (log10_test_data): Likewise.
31306         (log2_test_data): Likewise.
31307         (pow_test_data): Likewise.
31308         (sqrt_test_data): Likewise.
31309         (y0_test_data): Likewise.
31310         (y1_test_data): Likewise.
31311         (yn_test_data): Likewise.
31313         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31314         function contents.
31316         * math/libm-test.inc (struct test_ff_i_data): New type.
31317         (RUN_TEST_LOOP_ff_i_tg): New macro.
31318         (isgreater_test_data): New variable.
31319         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31320         (isgreaterequal_test_data): New variable.
31321         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31322         (isless_test_data): New variable.
31323         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31324         (islessequal_test_data): New variable.
31325         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31326         (islessgreater_test_data): New variable.
31327         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31328         (isunordered_test_data): New variable.
31329         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31331 2013-05-14  David S. Miller  <davem@davemloft.net>
31333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31335 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31337         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31339         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31340         extra_test to int.
31341         (struct test_f_i_data): Change type of max_ulp to int.
31343         * math/libm-test.inc (test_ffI_f1_data): New type.
31344         (RUN_TEST_LOOP_ffI_f1): New macro.
31345         (remquo_test_data): New variable.
31346         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31348         * setjmp/tst-setjmp-fp.c: New file.
31349         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31350         (link-libm): New variable.
31351         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31353         * math/libm-test.inc (struct test_f_i_data): New type.
31354         (RUN_TEST_LOOP_f_i): New macro.
31355         (RUN_TEST_LOOP_f_i_tg): Likewise.
31356         (fpclassify_test_data): New variable.
31357         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31358         (ilogb_test_data): New variable.
31359         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31361         * math/libm-test.inc (scalbln_test): Correct function name in END
31362         call.
31364         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31365         (RUN_TEST_LOOP_fI_f1): New macro.
31366         (frexp_test_data): New variable.
31367         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31369         * math/libm-test.inc (struct test_fF_f1_data): New type.
31370         (RUN_TEST_LOOP_fF_f1): New macro.
31371         (modf_test_data): New variable.
31372         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31374         * math/libm-test.inc (struct test_f_f1_data): New type.
31375         (RUN_TEST_LOOP_f_f1): New macro.
31376         (gamma_test_data): New variable.
31377         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31378         (lgamma_test_data): New variable.
31379         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31381 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31383         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31384         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31385         (main): Comment "tls" pseudo-hwcap.
31387 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31389         * math/libm-test.inc (struct test_fl_f_data): New type.
31390         (RUN_TEST_LOOP_fl_f): New variable.
31391         (scalbln_test_data): New variable.
31392         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31394         * math/libm-test.inc (struct test_fi_f_data): New type.
31395         (RUN_TEST_LOOP_fi_f): New macro.
31396         (ldexp_test_data): New variable.
31397         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31398         (scalbn_test_data): New variable.
31399         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31401         * math/libm-test.inc (struct test_c_f_data): New type.
31402         (RUN_TEST_LOOP_c_f): New macro.
31403         (cabs_test_data): New variable.
31404         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31405         (carg_test_data): New variable.
31406         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31407         (cimag_test_data): New variable.
31408         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31409         (creal_test_data): New variable.
31410         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31412         * math/libm-test.inc (struct test_if_f_data): New type.
31413         (RUN_TEST_LOOP_if_f): New macro.
31414         (jn_test_data): New variable.
31415         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31416         (yn_test_data): New variable.
31417         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31419         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31421 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31423         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31424         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31426 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31428         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31429         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31430         (bench-deps): Add bench-timing.h.
31431         * benchtests-bench-skeleton.c: Include bench-timing.h.
31432         (main): Use TIMING_* macros instead of clock_gettime.
31433         * benchtests/bench-timing.h: New file.
31435         [BZ #14582]
31436         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31437         Renamed from _LIB_VERSION.
31438         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31440 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31442         * math/libm-test.inc (struct test_fff_f_data): New type.
31443         (RUN_TEST_LOOP_fff_f): New macro.
31444         (fma_test_data): New variable.
31445         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31446         (fma_towardzero_test_data): New variable.
31447         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31448         (fma_downward_test_data): New variable.
31449         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31450         (fma_upward_test_data): New variable.
31451         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31453         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31454         (struct test_c_c_data): New type.
31455         (RUN_TEST_LOOP_c_c): New macro.
31456         (cacos_test_data): New variable.
31457         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31458         (cacosh_test_data): New variable.
31459         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31460         (casin_test_data): New variable.
31461         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31462         (casinh_test_data): New variable.
31463         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31464         (catan_test_data): New variable.
31465         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31466         (catanh_test_data): New variable.
31467         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31468         (ccos_test_data): New variable.
31469         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31470         (ccosh_test_data): New variable.
31471         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31472         (cexp_test_data): New variable.
31473         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31474         (clog_test_data): New variable.
31475         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31476         (clog10_test_data): New variable.
31477         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31478         (conj_test_data): New variable.
31479         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31480         (cproj_test_data): New variable.
31481         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31482         (csin_test_data): New variable.
31483         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31484         (csinh_test_data): New variable.
31485         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31486         (csqrt_test_data): New variable.
31487         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31488         (ctan_test_data): New variable.
31489         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31490         (ctan_tonearest_test_data): New variable.
31491         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31492         (ctan_towardzero_test_data): New variable.
31493         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31494         (ctan_downward_test_data): New variable.
31495         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31496         (ctan_upward_test_data): New variable.
31497         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31498         (ctanh_test_data): New variable.
31499         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31500         (ctanh_tonearest_test_data): New variable.
31501         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31502         (ctanh_towardzero_test_data): New variable.
31503         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31504         (ctanh_downward_test_data): New variable.
31505         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31506         (ctanh_upward_test_data): New variable.
31507         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31508         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31509         of BUILD_COMPLEX.
31511         * math/libm-test.inc (struct test_ff_f_data): New type.
31512         (struct test_ff_f_data_nexttoward): Likewise.
31513         (RUN_TEST_LOOP_2_f): New macro.
31514         (RUN_TEST_LOOP_ff_f): Likewise.
31515         (atan2_test_data): New variable.
31516         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31517         (copysign_test_data): New variable.
31518         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31519         (fdim_test_data): New variable.
31520         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31521         (fmax_test_data): New variable.
31522         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31523         (fmin_test_data): New variable.
31524         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31525         (fmod_test_data): New variable.
31526         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31527         (hypot_test_data): New variable.
31528         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31529         (nextafter_test_data): New variable.
31530         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31531         (nexttoward_test_data): New variable.
31532         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31533         (pow_test_data): New variable.
31534         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31535         (pow_tonearest_test_data): New variable.
31536         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31537         (pow_towardzero_test_data): New variable.
31538         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31539         (pow_downward_test_data): New variable.
31540         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31541         (pow_upward_test_data): New variable.
31542         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31543         (remainder_test_data): New variable.
31544         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31545         (scalb_test_data): New variable.
31546         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31547         * sysdeps/i386/fpu/libm-test-ulps: Update.
31549 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31551         * math/libm-test.inc (fma_test): Use max_value instead of local
31552         variable fltmax.
31553         (nextafter_test): Likewise.
31555         * math/libm-test.inc (acos_towardzero_test_data): New variable.
31556         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31557         (acos_downward_test_data): New variable.
31558         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31559         (acos_upward_test_data): New variable.
31560         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31561         (acosh_test_data): New variable.
31562         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31563         (asin_test_data): New variable.
31564         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31565         (asin_tonearest_test_data): New variable.
31566         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31567         (asin_towardzero_test_data): New variable.
31568         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31569         (asin_downward_test_data): New variable.
31570         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31571         (asin_upward_test_data): New variable.
31572         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31573         (asinh_test_data): New variable.
31574         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31575         (atan_test_data): New variable.
31576         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31577         (atanh_test_data): New variable.
31578         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31579         (cbrt_test_data): New variable.
31580         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31581         (ceil_test_data): New variable.
31582         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31583         (cos_test_data): New variable.
31584         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31585         (cos_tonearest_test_data): New variable.
31586         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31587         (cos_towardzero_test_data): New variable.
31588         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31589         (cos_downward_test_data): New variable.
31590         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31591         (cos_upward_test_data): New variable.
31592         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31593         (cosh_test_data): New variable.
31594         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31595         (cosh_tonearest_test_data): New variable.
31596         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31597         (cosh_towardzero_test_data): New variable.
31598         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31599         (cosh_downward_test_data): New variable.
31600         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31601         (cosh_upward_test_data): New variable.
31602         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31603         (erf_test_data): New variable.
31604         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31605         (erfc_test_data): New variable.
31606         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31607         (exp_test_data): New variable.
31608         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31609         (exp_tonearest_test_data): New variable.
31610         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31611         (exp_towardzero_test_data): New variable.
31612         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31613         (exp_downward_test_data): New variable.
31614         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31615         (exp_upward_test_data): New variable.
31616         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31617         (exp10_test_data): New variable.
31618         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31619         (exp2_test_data): New variable.
31620         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31621         (expm1_test_data): New variable.
31622         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31623         (fabs_test_data): New variable.
31624         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31625         (floor_test_data): New variable.
31626         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31627         (j0_test_data): New variable.
31628         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31629         (j1_test_data): New variable.
31630         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31631         (log_test_data): New variable.
31632         (log_test): Run tests with RUN_TEST_LOOP_f_f.
31633         (log10_test_data): New variable.
31634         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31635         (log1p_test_data): New variable.
31636         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31637         (log2_test_data): New variable.
31638         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31639         (logb_test_data): New variable.
31640         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31641         (logb_downward_test_data): New variable.
31642         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31643         (nearbyint_test_data): New variable.
31644         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31645         (rint_test_data): New variable.
31646         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31647         (rint_tonearest_test_data): New variable.
31648         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31649         (rint_towardzero_test_data): New variable.
31650         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31651         (rint_downward_test_data): New variable.
31652         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31653         (rint_upward_test_data): New variable.
31654         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31655         (round_test_data): New variable.
31656         (round_test): Run tests with RUN_TEST_LOOP_f_f.
31657         (sin_test_data): New variable.
31658         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31659         (sin_tonearest_test_data): New variable.
31660         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31661         (sin_towardzero_test_data): New variable.
31662         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31663         (sin_downward_test_data): New variable.
31664         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31665         (sin_upward_test_data): New variable.
31666         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31667         (sinh_test_data): New variable.
31668         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31669         (sinh_tonearest_test_data): New variable.
31670         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31671         (sinh_towardzero_test_data): New variable.
31672         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31673         (sinh_downward_test_data): New variable.
31674         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31675         (sinh_upward_test_data): New variable.
31676         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31677         (sqrt_test_data): New variable.
31678         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31679         (tan_test_data): New variable.
31680         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31681         (tan_tonearest_test_data): New variable.
31682         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31683         (tan_towardzero_test_data): New variable.
31684         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31685         (tan_downward_test_data): New variable.
31686         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31687         (tan_upward_test_data): New variable.
31688         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31689         (tanh_test_data): New variable.
31690         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31691         (tgamma_test_data): New variable.
31692         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31693         (trunc_test_data): New variable.
31694         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31695         (y0_test_data): New variable.
31696         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31697         (y1_test_data): New variable.
31698         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31699         (significand_test_data): New variable.
31700         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31702 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
31704         [BZ #12387]
31705         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31707 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31709         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31711 2013-05-10  Andreas Jaeger  <aj@suse.de>
31713         [BZ #15448]
31714         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31715         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31717 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31719         * math/gen-libm-test.pl (adjust_arg): New function.
31720         (special_functions): Handle generating output in both functions
31721         and arrays.
31722         (parse_args): Likewise.
31723         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
31724         $in_func argument to parse_args.
31725         * math/libm-test.inc (struct test_f_f_data): New type.
31726         (IF_ROUND_INIT_): New macro.
31727         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31728         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31729         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31730         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31731         (ROUND_RESTORE_): Likewise.
31732         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31733         (ROUND_RESTORE_FE_TONEAREST): Likewise.
31734         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31735         (ROUND_RESTORE_FE_UPWARD): Likewise.
31736         (RUN_TEST_LOOP_f_f): New macro.
31737         (acos_test_data): New variable.
31738         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31739         (acos_tonearest_test_data): New variable.
31740         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31742 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31744         * benchtests/bench-skeleton.c (startup): Fix coding style.
31746 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31748         [BZ #6809]
31749         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31750         negative infinity argument.
31751         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31752         negative infinity argument.
31753         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31754         negative infinity argument.
31755         * math/libm-test.inc (tgamma_test): Expect errno to be set for
31756         domain errors.
31758 2013-05-10  Florian Weimer  <fweimer@redhat.com>
31760         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31761         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31762         * iconv/iconv_prog.c (main): Likewise.
31763         * locale/programs/charmap-dir.c (charmap_readdir)
31764         (fopen_uncompressed): Likewise.
31765         * locale/programs/locfile.c (siblings_uncached)
31766         (write_locale_data): Use lstat64 instead of lstat.
31767         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31768         stat.
31770 2013-05-10  Andreas Jaeger  <aj@suse.de>
31772         [BZ #15395]
31773         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31774         localization.
31775         Include <locale.h>.
31777 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31779         * elf/dl-close.c (_dl_close_worker): Add comments.
31781 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31783         [BZ #15359]
31784         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31785         high part of pi/2.
31786         (__ieee754_rem_pio2l): Update comments.
31788         [BZ #15429]
31789         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31790         high part of pi/2.
31791         (__ieee754_rem_pio2l): Update comments.
31793         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31794         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31796         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31797         M_PI_4l.
31799         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31800         (M_PI_34_LOG10El): Likewise.
31801         (M_PI2_LOG10El): Likewise.
31802         (M_PI4_LOG10El): Likewise.
31803         (M_PI_LOG10El): Likewise.
31805 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31809 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31811         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31812         (MINUS_ZERO_INIT): Likewise.
31813         (PLUS_INFTY_INIT): Likewise.
31814         (MINUS_INFTY_INIT): Likewise.
31815         (QNAN_VALUE_INIT): Likewise.
31816         (MAX_VALUE_INIT): Likewise.
31817         (MIN_VALUE_INIT): Likewise.
31818         (MIN_SUBNORM_VALUE_INIT): Likewise.
31819         (plus_zero): Initialize with PLUS_ZERO_INIT.
31820         (minus_zero): Initialize with MINUS_ZERO_INIT.
31821         (plus_infty): Initialize with PLUS_INFTY_INIT.
31822         (minus_infty): Initialize with MINUS_INFTY_INIT.
31823         (qnan_value): Initialize with QNAN_VALUE_INIT.
31824         (max_value): Initialize with MAX_VALUE_INIT.
31825         (min_value): Initialize with MIN_VALUE_INIT.
31826         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31828         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31829         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31830         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31831         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31833         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31834         (RUN_TEST_2_f): Likewise.
31835         (RUN_TEST_ff_f): Likewise.
31836         (RUN_TEST_fi_f): Likewise.
31837         (RUN_TEST_fl_f): Likewise.
31838         (RUN_TEST_fff_f): Likewise.
31839         (RUN_TEST_c_f): Likewise.
31840         (RUN_TEST_f_f1): Likewise.
31841         (RUN_TEST_fF_f1): Likewise.
31842         (RUN_TEST_fI_f1): Likewise.
31843         (RUN_TEST_ffI_f1): Likewise.
31844         (RUN_TEST_c_c): Likewise.
31845         (RUN_TEST_cc_c): Likewise.
31846         (RUN_TEST_f_i): Likewise.
31847         (RUN_TEST_f_i_tg): Likewise.
31848         (RUN_TEST_ff_i_tg): Likewise.
31849         (RUN_TEST_f_b): Likewise.
31850         (RUN_TEST_f_b_tg): Likewise.
31851         (RUN_TEST_f_l): Likewise.
31852         (RUN_TEST_f_L): Likewise.
31853         (RUN_TEST_sincos): Likewise.
31854         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31855         whether to show exceptions.  Do not include ");\n" in return
31856         value.
31857         (special_functions): Output call to RUN_TEST_sincos instead of
31858         check_float calls.  Update calls to new_test.
31859         (parse_args): Output call to single RUN_TEST_* macro instead of
31860         check_* calls and other assignments.  Update calls to new_test.
31862         [BZ #2546]
31863         [BZ #2560]
31864         [BZ #5159]
31865         [BZ #15426]
31866         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31867         input to result for tgamma overflow.
31868         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31869         (gamma_coeff): New variable.
31870         (NCOEFF): New macro.
31871         (gamma_positive): New function.
31872         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31873         underflow here.  Use gamma_positive instead of exp (lgamma) for
31874         other arguments.
31875         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31876         (gamma_coeff): New variable.
31877         (NCOEFF): New macro.
31878         (gammaf_positive): New function.
31879         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31880         underflow here.  Use gamma_positive instead of exp (lgamma) for
31881         other arguments.
31882         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31883         (gamma_coeff): New variable.
31884         (NCOEFF): New macro.
31885         (gammal_positive): New function.
31886         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31887         underflow here.  Use gamma_positive instead of exp (lgamma) for
31888         other arguments.
31889         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31890         (gamma_coeff): New variable.
31891         (NCOEFF): New macro.
31892         (gammal_positive): New function.
31893         (__ieee754_gammal_r): Handle positive infinity, overflow and
31894         underflow here.  Handle NaN the same as positive infinity.  Remove
31895         check x < 0xffffffff for negative integers.  Use gamma_positive
31896         instead of exp (lgamma) for other arguments.
31897         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31898         (gamma_coeff): New variable.
31899         (NCOEFF): New macro.
31900         (gammal_positive): New function.
31901         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31902         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31903         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31904         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31905         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31906         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31907         * sysdeps/generic/math_private.h (__gamma_productf): New
31908         prototype.
31909         (__gamma_product): Likewise.
31910         (__gamma_productl): Likewise.
31911         * math/Makefile (libm-calls): Add gamma_product.
31912         * math/libm-test.inc (tgamma_test): Add more tests.
31913         * sysdeps/i386/fpu/libm-test-ulps: Update.
31914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31916 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31918         * benchtests/bench-skeleton.c (main): Preheat CPU.
31920 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31922         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31924 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31926         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31927         and _dl_skip_args_internal.
31929 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31931         * manual/message.texi (Message Translation): Talk about users.
31932         Message to key mapping impacts design.
31934 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31936         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31938         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31940         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31941         * sysdeps/wordsize-64/glob64.c: ... here.
31943         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31944         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31945         New macros.
31947         * debug/getlogin_r_chk.c: Moved to ...
31948         * login/getlogin_r_chk.c: ... here.
31949         * debug/Makefile (routines): Move getlogin_r_chk to ...
31950         * login/Makefile (routines): ... here.
31951         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31952         * login/Versions (libc: GLIBC_2.4): ... here.
31954         * io/poll.c (__poll): Renamed from poll.
31955         Add libc_hidden_def.
31956         (poll): Define as weak alias.
31958         * debug/ptsname_r_chk.c: Moved to ...
31959         * login/ptsname_r_chk.c: ... here.
31960         * debug/Makefile (routines): Move ptsname_r_chk to ...
31961         * login/Makefile (routines): ... here.
31962         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31963         * login/Versions (libc: GLIBC_2.4): ... here.
31965         * posix/getlogin.c: Moved to ...
31966         * login/getlogin.c: ... here.
31967         * posix/getlogin_r.c: Moved to ...
31968         * login/getlogin_r.c: ... here.
31969         * posix/getlogin_r.c: Moved to ...
31970         * login/getlogin_r.c: ... here.
31971         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31972         * login/Makefile (routines): ... here.
31973         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31974         * login/Versions (libc: GLIBC_2.0): ... here.
31976         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31977         (setrlimit): Define as weak alias.
31979         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31980         Call __ names for open, ftruncate, and close.
31981         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31982         (truncate): Define as weak alias.
31984 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31986         * math/gen-libm-test.pl (parse_args): Initialize x before each
31987         test of frexp, modf and remquo.
31989         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31990         test signgam value.
31992 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31994         [BZ #15418]
31995         [BZ #15419]
31996         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31997         internal tests.
31998         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32000 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32002         * elf/dl-writev.h: New file.
32003         * elf/dl-misc.c: Include it.
32004         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32005         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32007 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32009         * math/libm-test.inc (noXFails): Remove variable.
32010         (noXPasses): Likewise.
32011         (BUILD_COMPLEX_INT): Remove macro.
32012         (print_screen): Remove xfail argument.
32013         (print_screen_max_error): Likewise.
32014         (update_stats): Likewise.
32015         (print_max_error): Likewise.  Update calls to other affected
32016         functions.
32017         (print_complex_max_error): Likewise.
32018         (test_single_exception): Update calls to print_screen.
32019         (test_single_errno): Likewise.
32020         (check_float_internal): Remove xfail argument.  Update calls to
32021         other affected functions.
32022         (check_float): Likewise.
32023         (check_complex): Likewise.
32024         (check_int): Likewise.
32025         (check_long): Likewise.
32026         (check_bool): Likewise.
32027         (check_longlong): Likewise.
32028         (main): Don't print noXFails and noXPasses.
32029         * math/gen-libm-test.pl (top level): Don't mention expected
32030         failure handling in comment.
32031         (new_test): Don't handle expected failures.
32032         (parse_args): Don't mention expected failure handling in comment.
32033         (generate_testfile): Don't handle expected failures.
32034         (parse_ulps): Likewise.
32035         (print_ulps_file): Likewise.
32036         (get_failure): Remove function.
32037         (output_test): Don't handle expected failures.
32038         * make/README.libm-test: Don't mention expected failure handling.
32040         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32041         (minus_zero): Likewise.
32042         (plus_infty): Likewise.
32043         (minus_infty): Likewise.
32044         (qnan_value): Likewise.
32045         (max_value): Likewise.
32046         (min_value): Likewise.
32047         (min_subnorm_value): Likewise.
32048         (initialize): Do not initialize those variables dynamically.
32050 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32052         * io/open.c (__open_2): Moved to ...
32053         * io/open_2.c: ... this new file.
32054         * io/open64.c (__open64_2): Moved to ...
32055         * io/open64_2.c: ... this new file.
32056         * io/openat.c (__openat_2): Moved to ...
32057         * io/openat_2.c: ... this new file.
32058         * io/openat64.c (__openat64_2): Moved to ...
32059         * io/openat64_2.c: ... this new file.
32060         * io/Makefile (routines): Add them.
32061         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32062         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32063         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32064         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32065         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32066         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32067         (__openat64): Add hidden_ver.
32068         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32069         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32071         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32072         Separately conditionalize setting of GLRO(dl_sysinfo) so
32073         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32074         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32076 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32078         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32079         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32080         definition.
32081         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32082         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32083         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32084         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32085         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32087 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32089         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32090         test signgam value.
32092         * math/libm-test.inc (hypot_test): Do not use
32093         IGNORE_ZERO_INF_SIGN.
32095 2013-05-03  Andreas Jaeger  <aj@suse.de>
32097         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32098         Linux 3.9.
32099         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32100         (PF_MAX): Adjust for VSOCK change.
32102 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32106 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32108         [BZ #15264]
32109         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32110         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32111         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32113 2013-05-02  David S. Miller  <davem@davemloft.net>
32115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32117 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32119         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32121 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32123         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32125 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32127         [BZ #14952]
32128         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32129         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32130         Use __attribute__ ((__gnu_inline__)).
32131         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32132         Don't use __attribute__ ((__gnu_inline__)).
32134 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32136         [BZ #15423]
32137         * math/s_catan.c (__catan): Handle small real or imaginary part of
32138         input specially to avoid spurious underflow.
32139         * math/s_catanf.c (__catanf): Likewise.
32140         * math/s_catanh.c (__catanh): Likewise.
32141         * math/s_catanhf.c (__catanhf): Likewise.
32142         * math/s_catanhl.c (__catanhl): Likewise.
32143         * math/s_catanl.c (__catanl): Likewise.
32144         * math/libm-test.inc (catan_test): Add more tests.
32145         (catanh_test): Likewise.
32146         * sysdeps/i386/fpu/libm-test-ulps: Update.
32147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32149 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32153 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32155         [BZ #15416]
32156         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32157         accurately for denominator in atan2.
32158         * math/s_catanf.c (__catanf): Likewise.
32159         * math/s_catanh.c (__catanh): Likewise.
32160         * math/s_catanhf.c (__catanhf): Likewise.
32161         * math/s_catanhl.c (__catanhl): Likewise.
32162         * math/s_catanl.c (__catanl): Likewise.
32163         * math/libm-test.inc (catan_test): Add more tests.
32164         (catanh_test): Likewise.
32165         * sysdeps/i386/fpu/libm-test-ulps: Update.
32166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32168 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32170         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32172         * benchtests/Makefile (bench): Remove slow benchmarks.
32173         * benchtests/atan-inputs: Add slow benchmark inputs.
32174         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32175         (BENCH_FUNC): Accept variant offset.
32176         (VARIANT): Define.
32177         * benchtests/bench-skeleton.c (main): Run benchmark for each
32178         variant.
32179         * benchtests/cos-inputs: Add slow benchmark inputs.
32180         * benchtests/exp-inputs: Likewise.
32181         * benchtests/pow-inputs: Likewise.
32182         * benchtests/sin-inputs: Likewise.
32183         * benchtests/slowatan-inputs: Remove.
32184         * benchtests/slowatan.c: Remove.
32185         * benchtests/slowcos-inputs: Remove.
32186         * benchtests/slowcos.c: Remove.
32187         * benchtests/slowexp-inputs: Remove.
32188         * benchtests/slowexp.c: Remove.
32189         * benchtests/slowpow-inputs: Remove.
32190         * benchtests/slowpow.c: Remove.
32191         * benchtests/slowsin-inputs: Remove.
32192         * benchtests/slowsin.c: Remove.
32193         * benchtests/slowtan-inputs: Remove.
32194         * benchtests/slowtan.c: Remove.
32195         * benchtests/tan-inputs: Add slow benchmark inputs.
32196         * scripts/bench.pl: Parse comments and directives.
32198         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32199         in CPPFLAGS.
32200         ($(objpfx)bench-%.c): Remove *-ITER.
32201         * benchtests/bench-modf.c: Remove definition of ITER.
32202         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32203         (main): Loop for DURATION seconds instead of fixed number of
32204         iterations.
32205         * scripts/bench.pl: Don't expect iterations in parameters.
32207 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32209         * io/fchdir.c (__fchdir): Renamed from fchdir.
32210         (fchdir): Define as weak alias.
32212 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32214         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32215         (ERRNO_EDOM): Likewise.
32216         (ERRNO_ERANGE): Likewise.
32217         (noErrnoTests): New variable.
32218         (init_max_error): Set errno to 0.
32219         (test_single_errno): New function.
32220         (test_errno): Likewise.
32221         (check_float_internal): Call test_errno.  Set errno to 0.
32222         (check_complex): Refer to errno tests in comment.
32223         (check_int): Call test_errno.  Set errno to 0.
32224         (check_long): Likewise.
32225         (check_bool): Likewise.
32226         (check_longlong): Likewise.
32227         (cos_test): Use ERRNO_* flags for errno tests instead of
32228         check_int.
32229         (expm1_test): Likewise.
32230         (fmod_test): Likewise.
32231         (ilogb_test): Likewise.
32232         (lgamma_test): Likewise.
32233         (pow_test): Likewise.
32234         (remainder_test): Likewise.
32235         (sin_test): Likewise.
32236         (tan_test): Likewise.
32237         (yn_test): Likewise.
32238         (initialize): Set errno to 0.
32239         (main): Print number of errno tests.
32240         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32242 2013-04-29  Andreas Jaeger  <aj@suse.de>
32244         [BZ #15084]
32245         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32246         and RES_USEVC.
32248         [BZ #15085]
32249         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32250         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32251         unimplemented.
32253         [BZ #15380]
32254         * stdlib/random.c (__initstate): Return NULL if
32255         __initstate fails.
32257         [BZ #15086]
32258         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32259         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32260         RES_SNGLKUPREOP.
32262 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32266 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32268         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32269         of individual tests.
32270         (casin_test): Likewise.
32271         (casinh_test): Likewise.
32273 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32275         [BZ #15409]
32276         * math/s_catan.c (__catan): Handle arguments with large real or
32277         imaginary part separately without squaring.
32278         * math/s_catanf.c (__catanf): Likewise.
32279         * math/s_catanh.c (__catanh): Likewise.
32280         * math/s_catanhf.c (__catanhf): Likewise.
32281         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32282         and redefine.
32283         (__catanhl): Handle arguments with large real or imaginary part
32284         separately without squaring.
32285         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32286         and redefine.
32287         (__catanl): Handle arguments with large real or imaginary part
32288         separately without squaring.
32289         * math/libm-test.inc (catan_test): Add more tests.
32290         (catanh_test): Likewise.
32291         * sysdeps/i386/fpu/libm-test-ulps: Update.
32292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32294 2013-04-27  Andreas Jaeger  <aj@suse.de>
32296         [BZ #15007]
32297         * stdlib/stdlib.h: Update guards for qecvt.
32298         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32299         <stdlib.h>.
32301 2013-04-27  Allan McRae  <allan@archlinux.org>
32303         * sysdeps/i386/fpu/libm-test-ulps: Update.
32305 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32307         [BZ #15406]
32308         * math/s_catan.c: Include <float.h>.
32309         (__catan): Ensure underflow exception occurs for underflowed
32310         result.
32311         * math/s_catanf.c: Include <float.h>.
32312         (__catanf): Ensure underflow exception occurs for underflowed
32313         result.
32314         * math/s_catanh.c: Include <float.h>.
32315         (__catanh): Ensure underflow exception occurs for underflowed
32316         result.
32317         * math/s_catanhf.c: Include <float.h>.
32318         (__catanhf): Ensure underflow exception occurs for underflowed
32319         result.
32320         * math/s_catanhl.c: Include <float.h>.
32321         (__catanhl): Ensure underflow exception occurs for underflowed
32322         result.
32323         * math/s_catanl.c: Include <float.h>.
32324         (__catanl): Ensure underflow exception occurs for underflowed
32325         result.
32326         * math/libm-test.inc (catan_test): Add more tests.
32327         (catanh_test): Likewise.
32329         [BZ #15405]
32330         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32331         underflowed result.
32332         * math/s_ccoshf.c (__ccoshf): Likewise.
32333         * math/s_ccoshl.c (__ccoshl): Likewise.
32334         * math/s_csin.c (__csin): Likewise.
32335         * math/s_csinf.c (__csinf): Likewise.
32336         * math/s_csinh.c (__csinh): Likewise.
32337         * math/s_csinhf.c (__csinhf): Likewise.
32338         * math/s_csinhl.c (__csinhl): Likewise.
32339         * math/s_csinl.c (__csinl): Likewise.
32340         * math/libm-test.inc (ccos_test): Add more tests.
32341         (ccosh_test): Likewise.
32342         (csin_test): Likewise.
32343         (csinh_test): Likewise.
32345 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32347         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32348         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32349         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32350         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32351         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32352         powerpc/power5+/fpu folders.
32353         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32356 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32360 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32362         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32363         additions to variable.
32364         [$(config-machine) = x86_64] (modules-names): Likewise.
32365         ($(objpfx)tst-audit3): Remove dependency.
32366         ($(objpfx)tst-audit3.out): Likewise.
32367         ($(objpfx)tst-audit4): Likewise.
32368         ($(objpfx)tst-audit4.out): Likewise.
32369         ($(objpfx)tst-audit5): Likewise.
32370         ($(objpfx)tst-audit5.out): Likewise.
32371         ($(objpfx)tst-audit6): Likewise.
32372         ($(objpfx)tst-audit6.out): Likewise.
32373         ($(objpfx)tst-audit7): Likewise.
32374         ($(objpfx)tst-audit7.out): Likewise.
32375         (tst-audit3-ENV): Remove variable.
32376         (tst-audit4-ENV): Likewise.
32377         (tst-audit5-ENV): Likewise.
32378         (tst-audit6-ENV): Likewise.
32379         (tst-audit7-ENV): Likewise.
32380         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32381         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32382         addition to variable.
32383         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32384         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32385         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32388         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32389         tst-audit3, tst-audit4 and tst-audit5.
32390         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32391         tst-audit6 and tst-audit7.
32392         [$(subdir) = elf] (modules-names): Add audit modules for those
32393         tests.
32394         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32395         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32396         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32397         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32398         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32399         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32400         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32401         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32402         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32403         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32404         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32405         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32406         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32407         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32408         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32409         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32410         Likewise.
32411         [$(subdir) = elf && $(config-cflags-avx) = yes]
32412         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32413         [$(subdir) = elf && $(config-cflags-avx) = yes]
32414         (CFLAGS-tst-auditmod4a.c): Likewise.
32415         [$(subdir) = elf && $(config-cflags-avx) = yes]
32416         (CFLAGS-tst-auditmod4b.c): Likewise.
32417         [$(subdir) = elf && $(config-cflags-avx) = yes]
32418         (CFLAGS-tst-auditmod6b.c): Likewise.
32419         [$(subdir) = elf && $(config-cflags-avx) = yes]
32420         (CFLAGS-tst-auditmod6c.c): Likewise.
32421         [$(subdir) = elf && $(config-cflags-avx) = yes]
32422         (CFLAGS-tst-auditmod7b.c): Likewise.
32423         * elf/tst-audit3.c: Move to ...
32424         * sysdeps/x86_64/tst-audit3.c: ... here.
32425         * elf/tst-audit4.c: Move to ...
32426         * sysdeps/x86_64/tst-audit4.c: ... here.
32427         * elf/tst-audit5.c: Move to ...
32428         * sysdeps/x86_64/tst-audit5.c: ... here.
32429         * elf/tst-audit6.c: Move to ...
32430         * sysdeps/x86_64/tst-audit6.c: ... here.
32431         * elf/tst-audit7.c: Move to ...
32432         * sysdeps/x86_64/tst-audit7.c: ... here.
32433         * elf/tst-auditmod3a.c: Move to ...
32434         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32435         * elf/tst-auditmod3b.c: Move to ...
32436         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32437         * elf/tst-auditmod4a.c: Move to ...
32438         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32439         * elf/tst-auditmod4b.c: Move to ...
32440         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32441         * elf/tst-auditmod5a.c: Move to ...
32442         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32443         * elf/tst-auditmod5b.c: Move to ...
32444         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32445         * elf/tst-auditmod6a.c: Move to ...
32446         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32447         * elf/tst-auditmod6b.c: Move to ...
32448         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32449         * elf/tst-auditmod6c.c: Move to ...
32450         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32451         * elf/tst-auditmod7a.c: Move to ...
32452         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32453         * elf/tst-auditmod7b.c: Move to ...
32454         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32456 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32458         [BZ #15366]
32459         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32460         define unconditionally.
32461         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32462         define unconditionally.
32463         (INT8_C, INT16_C, etc.): Likewise.
32465 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32467         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32468         __ehdr_start with hidden visibility.
32470         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32472 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32474         * math/libm-test.inc (cos_test): Use accurate hex constants.
32475         (sincost_test): Likewise.
32477 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32479         * math/libm-test.inc (catan_test): Add more tests.
32480         (catanh_test): Likewise.
32482         * math/s_catanf.c (__catanf): Use suffixed floating-point
32483         constants.
32484         * math/s_catanhf.c (__catanhf): Likewise.
32485         * math/s_catanhl.c (__catanhl): Likewise.
32486         * math/s_catanl.c (__catanl): Likewise.
32488         [BZ #15394]
32489         * math/s_catan.c (__catan): Calculate imaginary part of result
32490         with log1p not log unless computing log of number close to 0.
32491         * math/s_catanf.c (__catanf): Likewise.
32492         * math/s_catanl.c (__catanl): Likewise.
32493         * math/s_catanh.c (__catanh): Calculate real part of result with
32494         log1p not log unless computing log of number close to 0.
32495         * math/s_catanhf.c (__catanhf): Likewise.
32496         * math/s_catanhl.c (__catanhl): Likewise.
32497         * math/libm-test.inc (catan_test): Add more tests.
32498         (catanh_test): Likewise.
32499         * sysdeps/i386/fpu/libm-test-ulps: Update.
32500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32502 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         * benchtests/Makefile: Mention files in which fast and slow
32505         paths of math functions are implemented.
32507 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32509         * sysdeps/posix/timespec_get.c: New file.
32511 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32513         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32514         POWER.
32515         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32516         for POWER.
32517         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32518         powerpc/power5/fpu folders.
32519         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32520         * benchtests/Makefile: Add modf testcase.
32521         * benchtests/bench-modf.c: New file: Benchmark test for mo
32523 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32525         [BZ #14888]
32526         * time/Makefile (tests): Add tst-strptime-whitespace.
32527         * time/strptime_l.c (get_number): Use ISSPACE.
32528         (__strptime_internal): Likewise.
32529         * time/tst-strptime-whitespace.c: New test case.
32531 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32533         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32534         member.
32535         (_nss_files_init): Set it here.
32537 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32539         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32540         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32541         unsigned.
32543 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32545         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32547 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32550         size just once.
32552 2013-04-21  David S. Miller  <davem@davemloft.net>
32554         * po/ru.po: Update Russion translation from translation project.
32556 2013-04-17  Adam Conrad  <adconrad@0c3.net>
32558         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32559         and setfsgid.
32561 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
32563         * configure.in: Remove i386 configure warning. Remove i386 case.
32564         * configure: Regenerate.
32565         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32566         Add example to error message.
32567         * sysdeps/i386/configure: Regenerate.
32569 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32571         * benchtests/Makefile (bench): Add cos, tan, slowcos and
32572         slowtan.
32573         * benchtests/cos-inputs: New file.
32574         * benchtests/slowcos-inputs: New file.
32575         * benchtests/slowcos.c: New file.
32576         * benchtests/slowtan-inputs: New file.
32577         * benchtests/slowtan.c: New file.
32578         * benchtests/tan-inputs: New file.
32580 2013-04-16  Roland McGrath  <roland@hack.frob.com>
32582         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32583         considered kosher.
32585 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32587         * benchtests/Makefile: Include cppflags-iterator.mk to add
32588         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32590         * Makefile.in (bench-clean): New target.
32591         * benchtests/Makefile (bench-clean): Likewise.
32593 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
32595         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32597 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
32599         * stdio-common/tstdiomisc.c: Fix coding-style violation.
32601 2013-04-15  Andreas Schwab  <schwab@suse.de>
32603         * nscd/grpcache.c (cache_addgr): Properly check for short write.
32604         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32605         * nscd/pwdcache.c (cache_addpw): Likewise.
32606         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
32607         more than recsize.
32609 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32611         * benchtests/Makefile (bench): Write all output to
32612         bench-out.tmp together.
32614 2013-04-15  Andreas Schwab  <schwab@suse.de>
32616         * nscd/nscd.c (main): Don't fork again after closing files.
32618 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32620         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32622         * benchtests/Rules (bench-deps): Collect dependencies into a
32623         single variable.  Add Makefile to dependencies.
32624         ($(objpfx)bench-%.c): Depend on bench-deps.
32626 2013-04-12  Roland McGrath  <roland@hack.frob.com>
32627             Xavier Roche  <roche+kml2@exalead.com>
32629         [BZ #15361]
32630         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32631         just that it's a file descriptor.
32632         * manual/llio.texi (Synchronizing AIO Operations): Update description
32633         for EBADF error from aio_fsync.
32635 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32637         * Rules (bench): Move target definition...
32638         * benchtests/Makefile: ... here.
32640 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
32642         * math/libm-test.inc (cos_test): Fix PI/2 test.
32643         (sincos_test): Likewise.
32644         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32645         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32647 2013-04-11  Andreas Schwab  <schwab@suse.de>
32649         [BZ #13988]
32650         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32651         accept exponent character only when digits were seen.
32652         * stdio-common/Makefile (tests): Add bug26.
32653         * stdio-common/bug26.c: New file.
32655         [BZ #14293]
32656         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32657         non-freeable.
32659 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32661         * Makeconfig (rtld-prefix): Define built linker prefix.
32662         * Rules (run-bench): Use it.
32663         * math/Makefile (run-regen-ulps): Likewise.
32665         * Rules (bench): Remove eval.
32667 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32668             Roland McGrath  <roland@hack.frob.com>
32669             Ondrej Bilka  <neleai@seznam.cz>
32671         [BZ #15346]
32672         * time/getdate.c: Include ctype.h and alloca.h.
32673         (__getdate_r): Trim leading and trailing spaces of input.
32674         * time/tst-getdate.c (tests): Add tests with leading and
32675         trailing spaces.
32677 2013-04-08  Roland McGrath  <roland@hack.frob.com>
32679         [BZ #14280]
32680         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32681         when computing value.
32683 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32685         * math/README.libm-test (How can I generate "libm-test-ulps"?):
32686         Use testrun.sh to run libm tests.
32688         [BZ #15309]
32689         * elf/dl-open.c (dl_open_worker): memset all of seen array.
32691 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
32693         [BZ #15264]
32694         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32696 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32698         * Makefile.in (regen-ulps): New target.
32699         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32700         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32701         [ifneq (no,$(PERL)] (regen-ulps): New target.
32702         [ifeq (no,$(PERL)] (regen-ulps): New target.
32703         * math/libm-test.inc (ulps_file_name): Define.
32704         (output_dir): New variable.
32705         (options): Add "output-dir" option.
32706         (parse_opt): Handle 'o' case.
32707         (main): If output_dir is non-NULL use it as a prefix
32708         otherwise use "".
32709         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32711 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32713         [BZ #10060, #10062]
32714         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32715         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32716         fail configure if __sync_val_compare_and_swap is not inlined.
32717         * sysdeps/i386/configure: Regenerate.
32718         * configure.in: Build for i686 when configured for i386.
32719         * configure: Regenerate.
32720         * README: Remove i386 reference.
32722 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32724         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32725         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32727 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32729         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32730         (lmsnanval): New variables.
32731         (F): Add conversion tests.
32732         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32733         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32735         * stdio-common/tstdiomisc.c (F): Properly collect individual
32736         tests' results.
32738         [BZ #14686, #15336]
32739         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32740         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32741         Instead, use input NaN values or generate a qNaN by arithmetic
32742         operation.  Also fix bugs to comply with the standard.
32743         * math/libm-test.inc (remainder_test): Add more tests.
32745         [BZ #15335, #15342]
32746         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32748         input NaN values or generate a qNaN by arithmetic operation.
32750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32751         unreachable code.
32753         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32754         definitions.
32756 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
32758         [BZ #14478]
32759         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32760         underflowed result.
32761         * math/s_cexpf.c (__cexpf): Likewise.
32762         * math/s_cexpl.c (__cexpl): Likewise.
32763         * math/libm-test.inc (cexp_test): Add more tests.
32765 2013-04-03  Andreas Schwab  <schwab@suse.de>
32767         [BZ #15330]
32768         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32769         order arrays from heap if bigger than alloca cutoff.
32771 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32773         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32774         (SNAN_TESTS_double): Refer to GCC PR56831.
32775         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32776         GCC PR56828.
32778 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32780         * Rules (bench): Move bench.out after the run is complete.
32782         * Rules (bench): Echo currently running benchmark.
32784         * benchtests/Makefile (bench): Add atan and slowatan.
32785         * benchtests/atan-inputs: New file.
32786         * benchtests/slowatan-inputs: New file.
32787         * benchtests/slowatan.c: New file.
32789         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32791         its value.
32793         [BZ #15305]
32794         * sysdeps/unix/sysv/linux/kernel-features.h
32795         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32796         __ASSUME_XFS_RESTRICTED_CHOWN.
32797         * sysdeps/unix/sysv/linux/pathconf.c
32798         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32799         Save and restore errno.
32801 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32803         [BZ #15327]
32804         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32805         arguments using __kernel_casinh.
32806         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32807         arguments using __kernel_casinhf.
32808         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32809         arguments using __kernel_casinhl.
32810         * math/libm-test.inc (cacosh_test): Add more tests.
32811         * sysdeps/i386/fpu/libm-test-ulps: Update.
32812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32814 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32816         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32819         * bench/Makefile (bench): Add sin and slowsin.
32820         * benchtests/sin-inputs: New file.
32821         * benchtests/slowsin-inputs: New file.
32822         * benchtests/slowsin.c: New file.
32824         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32825         (bench): Add slowexp and slowpow.
32826         (exp-ITER): Increase iterations.
32827         (pow-ITER): Likewise.
32828         * benchtests/exp-inputs: Change input.
32829         * benchtests/pow-inputs: Likewise.
32830         * benchtests/slowexp-inputs: New file.
32831         * benchtests/slowexp.c: New file.
32832         * benchtests/slowpow-inputs: New file.
32833         * benchtests/slowpow.c: New file.
32835 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32837         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32838         instructions.
32839         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32840         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32841         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32842         * benchtests/Makefile: Add rint benchtest.
32843         * benchtests/rint-inputs: Input for rint benchtest.
32845 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32847         * Versions.def (libm): Add GLIBC_2.18.
32848         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32849         hidden libm prototypes.
32850         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32851         * math/Makefile (libm-calls): Add s_issignaling.
32852         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32853         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32854         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32855         declaration.
32856         * math/math.h [__USE_GNU] (issignaling): New macro.
32857         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32858         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32859         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32860         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32861         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32862         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32863         * manual/arith.texi (issignaling): New section.
32864         * manual/libm-err-tab.pl (@all_functions): Update comment.
32865         * math/gen-libm-test.pl (parse_args): Apply special handling for
32866         issignaling.
32867         * math/libm-test.inc (print_float, issignaling_test): New
32868         functions.
32869         (check_float_internal): Add issignaling checks.
32870         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32871         default definition.
32872         * sysdeps/powerpc/math-tests.h: New file.
32873         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32874         tests.
32875         * math/test-snan.c (TEST_FUNC): Likewise.
32877 2013-03-30  David S. Miller  <davem@davemloft.net>
32879         * po/de.po: Update from translation team.
32881 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32883         [BZ #10357]
32884         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32885         imaginary part less than 1.0 and real part less than 0.5
32886         specially.
32887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32889         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32890         (cacos_test): Add more tests.
32891         (casin_test): Likewise.
32892         (casinh_test): Likewise.
32893         * sysdeps/i386/fpu/libm-test-ulps: Update.
32894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32896 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32898         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32899         ONE with its value.
32901         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32902         (__pow_mp): Replace ONE and MONE with their values.
32903         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32905         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32907         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32908         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32910         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32912         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32913         (__pow_mp): Replace ZERO and MZERO with their values.
32914         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32915         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32916         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32918         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32919         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32920         (__sqr): Likewise.
32922         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32924         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32926 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32928         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32929         Declare with __attribute__ ((weak)).
32930         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32931         Call __call_tls_dtors only if it's not NULL.
32933 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32935         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32936         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32937         magic __ehdr_start linker symbol if it's defined.
32938         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32939         them up here if it was already done.
32941         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32942         (_dl_aux_init): Use const in cast when setting it.
32943         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32944         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32945         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32947         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32948         Declare them here.
32949         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32950         * csu/libc-tls.c: Nor here.
32951         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32953         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32954         (__libc_message): Never call vsyslog.
32956 2013-03-28  Alan Modra  <amodra@gmail.com>
32958         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32959         Define as empty.
32960         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32961         Likewise.
32963 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32965         [BZ #15214]
32966         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32967         underflow.
32968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32970 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32972         [BZ #15304]
32973         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32974         Don't add gid passed as argument.
32976         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32978 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32980         [BZ #15307]
32981         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32982         imaginary part between 1.0 and 1.5 and real part less than 0.5
32983         specially.
32984         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32985         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32986         * math/libm-test.inc (cacos_test): Add more tests.
32987         (casin_test): Likewise.
32988         (casinh_test): Likewise.
32989         * sysdeps/i386/fpu/libm-test-ulps: Update.
32990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32992 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32994         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32995         constants.
32996         (norm): Likewise.
32997         (denorm): Likewise.
32998         (__dbl_mp): Likewise.
32999         (add_magnitudes): Likewise.
33000         (sub_magnitudes): Likewise.
33001         (__add): Likewise.
33002         (__sub): Likewise.
33003         (__mul): Likewise.
33004         (__sqr): Likewise.
33005         (__inv): Likewise.
33006         (__dvd): Likewise.
33008         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33009         commented code.
33010         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33011         (__dubcos): Likewise.
33012         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33013         (__ieee754_acos): Likewise.
33014         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33015         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33016         (__exp1): Likewise.
33017         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33019         (log1): Likewise.
33020         (my_log2): Likewise.
33021         (checkint): Likewise.
33022         * sysdeps/ieee754/dbl-64/e_remainder.c
33023         (__ieee754_remainder): Likewise.
33024         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33025         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33026         (bsloww): Likewise.
33027         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33029         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33030         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33031         MANTISSA_STORE_T to store computations on mantissa.  Use
33032         macros for rounding and division.
33033         (denorm): Likewise.
33034         (__dbl_mp): Likewise.
33035         (add_magnitudes): Likewise.
33036         (sub_magnitudes): Likewise.
33037         (__mul): Likewise.
33038         (__sqr): Likewise.
33039         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33040         powers of two in terms of TWOPOW macro.
33041         (mp_no): Make type of mantissa as MANTISSA_T.
33042         [!RADIXI]: Define RADIXI.
33043         [!TWO52]: Define TWO52.
33044         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33046 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33048         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33049         llroundl symbol when building for PPC32.
33051 2013-03-24  Mark H Weaver  <mhw@netris.org>
33053         * manual/arith.texi (Normalization Functions): Fix prototypes for
33054         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33056 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33058         [BZ #13889]
33059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33060         high value to check if expl overflow.
33061         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33062         to check for underflow and overflow.
33063         * math/libm-test.inc: Add exp test.
33065 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33067         [BZ #11120]
33068         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33069         with NOT_IN_libc.
33071 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33073         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33074         symbol.
33076 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33078         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33079         wrap blocks consisting of several statements.
33081         * sysdeps/generic/math-tests.h: New file.
33082         * sysdeps/i386/fpu/math-tests.h: Likewise.
33083         * math/test-snan.c: Include it.
33084         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33086 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33088         [BZ #15285]
33089         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33090         (__ieee754_j0l): Do not improve calculations using cos of twice
33091         input for inputs above LDBL_MAX / 2.0L.
33092         (__ieee754_y0l): Likewise.
33093         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33094         (__ieee754_j1l): Do not improve calculations using cos of twice
33095         input for inputs above LDBL_MAX / 2.0L.
33096         (__ieee754_y1l): Likewise.
33097         * math/libm-test.inc (j0_test): Add another test.
33098         (j1_test): Likewise.
33099         (y0_test): Likewise.
33100         (y1_test): Likewise.
33101         * sysdeps/i386/fpu/libm-test-ulps: Update.
33103 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33105         * Rules ($(objpfx)bench-%.c): Include code from a C source
33106         file.
33108 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33110         [BZ #15287]
33111         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33112         imaginary part 1.0 and real part less than 0.5 specially.
33113         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33114         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33115         * math/libm-test.inc (cacos_test): Add more tests.
33116         (casin_test): Likewise.
33117         (casinh_test): Likewise.
33118         * sysdeps/i386/fpu/libm-test-ulps: Update.
33119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33121 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33123         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33124         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33126 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33128         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33129         * config.make.in (config-cflags-sse4): Remove variable.
33130         (config-cflags-avx): Likewise.
33131         (config-cflags-sse2avx): Likewise.
33132         (config-cflags-novzeroupper): Likewise.
33133         (config-asflags-i686): Likewise.
33134         (have-mfma4): Likewise.
33135         (have-as-vis3): Likewise.
33136         (MIG): Likewise.
33137         * configure.in (MIG): Do not AC_SUBST.
33138         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33139         (libc_cv_cc_sse4): Do not AC_SUBST.
33140         (libc_cv_cc_avx): Likewise.
33141         (libc_cv_cc_sse2avx): Likewise.
33142         (libc_cv_cc_novzeroupper): Likewise.
33143         (libc_cv_cc_fma4): Likewise.
33144         (libc_cv_as_i686): Likewise.
33145         (libc_cv_sparc_as_vis3): Likewise.
33146         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33147         LIBC_CONFIG_VAR.
33148         (config-asflags-i686): Likewise.
33149         (config-cflags-avx): Likewise.
33150         (config-cflags-sse2avx): Likewise.
33151         (have-mfma4): Likewise.
33152         (config-cflags-novzeroupper): Likewise.
33153         * sysdeps/mach/configure.in (MIG): Likewise.
33154         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33155         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33156         LIBC_CONFIG_VAR.
33157         (config-cflags-avx): Likewise.
33158         (config-cflags-sse2avx): Likewise.
33159         (have-mfma4): Likewise.
33160         (config-cflags-novzeroupper): Likewise.
33161         * configure: Regenerated.
33162         * sysdeps/i386/configure: Likewise.
33163         * sysdeps/mach/configure: Likewise.
33164         * sysdeps/sparc/configure: Likewise.
33165         * sysdeps/x86_64/configure: Likewise.
33167 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33169         [BZ #14812]
33170         * locale/programs/localedef.c (options): Put N_ translation marker
33171         on argument names, not just descriptions.
33173 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33175         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33177 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33179         [BZ #14176]
33180         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33182 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33184         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33185         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33186         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33187         [!BEFORE_ABORT] (before_abort): New function.
33188         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33189         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33190         (writev_for_fatal): New function.
33191         (WRITEV_FOR_FATAL): New macro; call that.
33192         (backtrace_and_maps): New function.
33193         (BEFORE_ABORT): New macro; call that.
33194         (struct str_list): Type removed.
33195         (__libc_message, __libc_fatal): Functions removed.
33196         Include <sysdeps/posix/libc_fatal.c> instead.
33198 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33200         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33201         constants.
33202         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33203         double constants.
33205 2013-03-19  Andreas Schwab  <schwab@suse.de>
33207         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33208         * sysdeps/gnu/configure: Regenerate.
33210         * configure.in: Substitute libc_cv_rtlddir.
33211         * configure: Regenerate.
33212         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33213         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33214         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33215         * elf/Makefile (install-others, CFLAGS-interp.c)
33216         (ldso_install, common-ldd-rewrite): Likewise.
33217         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33218         $(inst_slibdir)/$(rtld-installed-name).
33219         * scripts/rellns-sh: Add -p option.
33220         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33221         for source.
33223 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33225         * manual/nptl.texi: Renamed to ...
33226         * manual/threads.texi: ... this.
33227         * manual/Makefile (chapters): Update.
33229 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33231         [BZ #14812]
33232         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33233         on argument names, not just descriptions.
33234         * malloc/memusagestat.c (options): Likewise.
33235         * nss/getent.c (options): Likewise.
33237 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33239         [BZ #14812]
33240         * iconv/iconv_prog.c (options): Put N_ translation marker
33241         on argument names, not just descriptions.
33242         * iconv/iconvconfig.c (options): Likewise.
33244 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33246         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33247         implementation which is faster on all x86_64 architectures.
33248         Tested on AMD, Intel Nehalem, SNB, IVB.
33249         * sysdeps/x86_64/strnlen.S: Likewise.
33251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33252         Remove all multiarch strlen and strnlen versions.
33253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33254         Remove strlen and strnlen related parts.
33256         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33257         Inline strlen part.
33258         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33260         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33261         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33262         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33263         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33264         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33265         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33267 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33269         * manual/memory.texi (Malloc Tunable Parameters):
33270         Sort parameters alphabetically. Add comments for missing entries.
33272 2013-03-17  David S. Miller  <davem@davemloft.net>
33274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33276 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33278         [BZ #15283]
33279         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33280         for arguments at most half maximum finite value.
33281         * math/libm-test.inc (j0_test): Add more tests.
33282         (j1_test): Likewise.
33283         (y0_test): Likewise.
33284         (y1_test): Likewise.
33285         * sysdeps/i386/fpu/libm-test-ulps: Update.
33286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288         [BZ #14155]
33289         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33290         1 / x and functions P and Q for arguments above 0x1p256L.
33291         (__ieee754_y0l): Likewise.
33292         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33293         (__ieee754_y1l): Likewise.
33294         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33295         (j1_test): Likewise.
33296         (y0_test): Likewise.
33297         (y1_test): Likewise.
33299 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33301         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33302         variable.
33304 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33306         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33307         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33308         zero since it's initialized to EXEC_PAGESIZE.
33310         * sysdeps/unix/sysv/linux/ldsodefs.h
33311         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33312         * sysdeps/generic/ldsodefs.h: ... here.
33314 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33316         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33318         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33319         math/test-snan.c.
33320         * math/test-snan.c: Renamed from
33321         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33322         * math/Makefile (tests): Add test-snan.
33323         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33324         test-powerpc-snan.
33326         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33327         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33328         functions.
33329         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33330         __builtin_nan family of functions.
33331         * math/libm-test.inc (initialize): Initialize qnan_value with
33332         __builtin_nan family of functions.
33333         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33334         Remove variables.
33335         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33336         Remove functions.
33337         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33338         storage class.  Initialize qNaN_var and sNaN_var with
33339         __builtin_nan and __builtin_nans families of functions,
33340         respectively.
33342         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33343         (sqrt_test): Remove duplicate test with qNaN input.
33344         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33345         (round_test, signbit_test, significand_test): Note missing +/-Inf
33346         as well as qNaN tests.
33348         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33349         qNaN_var.  Fix a few strings, too.
33350         * math/libm-test.inc (nan_value): Rename to qnan_value.
33351         * math/gen-libm-test.pl (%beautify): Adjust to that.
33352         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33353         * math/test-misc.c (main): Likewise.
33354         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33355         to __qnan_bytes, and __qnan_union, respectively.
33356         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33357         Likewise.
33358         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33359         and lqnanval, respectively.
33360         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33361         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33362         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33363         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33365         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33366         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33367         doubles.
33369         * math/test-misc.c (main): Fix copy'n'pastos.
33370         * misc/tst-efgcvt.c (special): Likewise.
33372         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33373         Remove declarations.
33375 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33377         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33378         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33379         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33380         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33382 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33384         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33385         macro to return vdso values correctly in IFUNC implementations.
33386         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33387         Optimization by using IFUNC.
33389 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33390             Richard Henderson  <rth@redhat.com>
33391             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33393         * Makefile.in (bench): New target.
33394         * NEWS: Mention the benchmark framework.
33395         * Rules (bench): Likewise.
33396         (binaries-bench): Generate binaries for functions to
33397         benchmark.
33398         * benchtests/Makefile: New makefile for benchmark tests.
33399         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33400         programs.
33401         * benchtests/exp-inputs: New input file for EXP function.
33402         * benchtests/pow-inputs: New input file for POW function.
33403         * scripts/bench.pl: New script to generate source files for
33404         benchmark programs.
33406 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33408         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33409         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33410         computations on mantissa.  Use macros for rounding and
33411         division.
33412         (denorm): Likewise.
33413         (__dbl_mp): Likewise.
33414         (add_magnitudes): Likewise.
33415         (sub_magnitudes): Likewise.
33416         (__mul): Likewise.
33417         (__sqr): Likewise.
33418         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33419         powers of two in terms of TWOPOW macro.
33420         (mp_no): Make type of mantissa as MANTISSA_T.
33421         [!RADIXI]: Define RADIXI.
33422         [!TWO52]: Define TWO52.
33423         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33425         * manual/nptl.texi (cindex): Modify threads to pthreads.
33427 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33429         * sysdeps/x86_64/preconfigure: Regenerated.
33431 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33433         [BZ #14155]
33434         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33435         0x1p28 and above.
33436         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33437         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33438         0x1p28 and above.
33439         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33440         * math/libm-test.inc (j0_test): Do not allow one spurious
33441         underflow exception.
33442         (y1_test): Likewise.
33444 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33446         * manual/Makefile (chapters): Add nptl.
33447         * manual/debug.texi (Debugging Support): Add link to Threads
33448         chapter.
33449         * manual/nptl.texi: New file.
33451         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33453 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33455         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33456         for non-NULL pointer before the memory validity test. Pointed
33457         out by Holger Brunck <holger.brunck@keymile.com>.
33459 2013-03-13  Andreas Schwab  <schwab@suse.de>
33461         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33462         instead of .os.
33464 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33466         * timezone/zic.c: Update from tzcode 2013b.
33468 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33470         * manual/install.texi (Configuring and compiling):
33471         Mention i686 and i586.
33472         * INSTALL: Regenerate.
33474 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33476         * sysdeps/init_array/elf-init.c: New file.
33477         * csu/elf-init.c
33478         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33479         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33481         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33482         __gmon_start__ as global, but as static with a .preinit_array pointer.
33483         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33484         * sysdeps/init_array/crti.S: New file, empty except for comments.
33485         * sysdeps/init_array/crtn.S: Likewise.
33487 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33489         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33490         definining bcopy.
33491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33492         Remove Prefer_SSE_for_memop.
33493         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33494         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33495         HAS_PREFER_SSE_FOR_MEMOP.
33496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33497         memset-x86-64.
33498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33499         Remove bzero, memset ifunc support.
33500         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33501         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33502         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33503         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33505 2013-03-11  Andreas Schwab  <schwab@suse.de>
33507         [BZ #15234]
33508         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33509         by SHLIB_COMPAT.
33510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33511         (GLIBC_2.16): Remove pthread_atfork.
33513 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33515         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33516         (ptestcases.h): Likewise.
33518 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33520         * Makeconfig ($(common-objpfx)config.status): Depend on
33521         sysdeps/*/preconfigure{,.in} too.
33523 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33525         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33526         (__free_hook): Use void * instead of __malloc_ptr_t.
33527         (__malloc_hook): Likewise.
33528         (__realloc_hook): Likewise.
33529         (__memalign_hook): Likewise.
33530         (__after_morecore_hook): Likewise.
33531         * malloc/arena.c (save_malloc_hook): Likewise.
33532         (save_free_hook): Likewise.
33533         * malloc/hooks.c (malloc_hook_ini): Likewise.
33534         (realloc_hook_ini): Likewise.
33535         (memalign_hook_ini): Likewise.
33536         * malloc/malloc.c (malloc_hook_ini): Likewise.
33537         (realloc_hook_ini): Likewise.
33538         (memalign_hook_ini): Likewise.
33539         (__free_hook): Likewise.
33540         (__malloc_hook): Likewise.
33541         (__realloc_hook): Likewise.
33542         (__memalign_hook): Likewise.
33543         (__libc_malloc): Likewise.
33544         (__libc_free): Likewise.
33545         (__libc_realloc): Likewise.
33546         (__libc_memalign): Likewise.
33547         (__libc_valloc): Likewise.
33548         (__libc_pvalloc): Likewise.
33549         (__libc_calloc): Likewise.
33550         (__posix_memalign): Likewise.
33551         * malloc/morecore.c (__sbrk): Likewise.
33552         (__default_morecore): Likewise.
33554         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33556         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33557         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33558         __malloc_ptrdiff_t.
33560         * malloc/malloc.h (__malloc_size_t): Remove macro.
33561         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33562         __malloc_size_t.
33563         (old_memalign_hook): Likewise.
33564         (old_realloc_hook): Likewise.
33565         (struct hdr): Likewise.
33566         (flood): Likewise.
33567         (mallochook): Likewise.
33568         (memalignhook): Likewise.
33569         (reallochook): Likewise.
33570         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33571         (tr_old_realloc_hook): Likewise.
33572         (tr_old_memalign_hook): Likewise.
33573         (tr_mallochook): Likewise.
33574         (tr_reallochook): Likewise.
33575         (tr_memalignhook): Likewise.
33577 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33580         default_ldbl_pack and using as default implementation.
33581         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33582         implementation.
33583         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33584         redundant definition.
33585         (ldbl_insert_mantissa): Likewise.
33586         (ldbl_canonicalize): Likewise.
33587         (ldbl_nearbyint): Likewise.
33588         (ldbl_pack): Rename to ldbl_pack_ppc.
33589         (ldbl_unpack): Rename to ldbl_unpack_ppc.
33590         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33591         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33593 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33596         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33597         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33598         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33600         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33601         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33602         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33604 2013-03-07  Andreas Jaeger  <aj@suse.de>
33606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33607         bits/mman-linux.h.
33609 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33611         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33612         Include mpa.h and declare __MPEXP.
33613         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33614         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33615         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33616         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33617         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33618         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33619         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33621         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33622         (__slowpow): Use long double EXPL and LOGL functions to
33623         compute POW.
33624         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33625         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33626         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33628         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33629         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33632         intermediate variable to calculate exponent.
33633         (__sqr): Likewise.
33634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33635         Likewise.
33636         (__sqr): Likewise.
33638         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33639         [!NO__SQR]: Define __sqr.
33640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33641         and NO__SQR.  Remove all code except __mul and __sqr.  Include
33642         sysdeps/ieee754/dbl-64/mpa.c.
33643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33645         [BZ #12723]
33646         * posix/Makefile (tests): Add tst-pathconf.
33647         * posix/tst-pathconf.c: New test case.
33648         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33649         _PC_PIPE_BUF.
33650         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33652 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
33654         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33656 2013-03-06  Andreas Jaeger  <aj@suse.de>
33658         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33659         definition via __MAP_ANONYMOUS.
33661         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33662         it's not part of Linux headers.
33664         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33665         (MAP_HUGE_MASK): Define.
33667         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33668         Define.
33669         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33671         Define.
33672         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33673         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33674         Define.
33675         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33677         Define.
33678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33680         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33681         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33682         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33683         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33684         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33685         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33687         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33688         Handle f2fs.
33690         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33691         Handle f2fs and efivarfs.
33693         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33694         f2fs.
33696         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33697         (EFIVARFS_MAGIC): Add.
33698         (F2FS_LINK_MAX): Add.
33700 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33702         * stdio-common/vfprintf.c: Replace __builtin_expect with
33703         __glibc_unlikely.
33705 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
33707         [BZ #13550]
33708         * sysdeps/generic/bp-sym.h: Remove file.
33709         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33710         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33711         <bp-sym.h> and <bp-asm.h>.
33712         (__longjmp): Don't use BP_SYM.
33713         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33714         and <bp-asm.h>.
33715         (memcpy): Don't use BP_SYM.
33716         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33717         <bp-sym.h> and <bp-asm.h>.
33718         (memcpy): Don't use BP_SYM.
33719         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33720         <bp-asm.h>.
33721         (memcpy): Don't use BP_SYM.
33722         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33723         <bp-asm.h>.
33724         (memset): Don't use BP_SYM.
33725         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33726         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33727         (__bzero): Don't use BP_SYM.
33728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33730         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33731         <bp-sym.h> and <bp-asm.h>.
33732         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33733         pointers.
33734         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33735         <bp-sym.h> and <bp-asm.h>.
33736         (memcpy): Don't use BP_SYM.
33737         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33738         <bp-sym.h> and <bp-asm.h>.
33739         (memset): Don't use BP_SYM.
33740         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33741         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33742         (__bzero): Don't use BP_SYM.
33743         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33744         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33745         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33746         <bp-sym.h> and <bp-asm.h>.
33747         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33748         pointers.
33749         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33750         <bp-sym.h> and <bp-asm.h>.
33751         (memcpy): Don't use BP_SYM.
33752         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33753         <bp-sym.h> and <bp-asm.h>.
33754         (memset): Don't use BP_SYM.
33755         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33756         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33757         (__bzero): Don't use BP_SYM.
33758         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33759         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33760         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33761         <bp-sym.h> and <bp-asm.h>.
33762         (__memchr): Don't use BP_SYM.
33763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33764         <bp-sym.h> and <bp-asm.h>.
33765         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33766         pointers.
33767         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33768         <bp-sym.h> and <bp-asm.h>.
33769         (memcpy): Don't use BP_SYM.
33770         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33771         <bp-sym.h> and <bp-asm.h>.
33772         (__mempcpy): Don't use BP_SYM.
33773         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33774         <bp-sym.h> and <bp-asm.h>.
33775         (__memrchr): Don't use BP_SYM.
33776         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33777         <bp-sym.h> and <bp-asm.h>.
33778         (memset): Don't use BP_SYM.
33779         (__bzero): Likewise.
33780         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33781         <bp-sym.h> and <bp-asm.h>.
33782         (__rawmemchr): Don't use BP_SYM.
33783         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33784         <bp-sym.h> and <bp-asm.h>.
33785         (__STRCMP): Don't use BP_SYM.
33786         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33787         <bp-sym.h> and <bp-asm.h>.
33788         (strchr): Don't use BP_SYM.
33789         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33790         <bp-sym.h> and <bp-asm.h>.
33791         (__strchrnul): Don't use BP_SYM.
33792         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33793         <bp-sym.h> and <bp-asm.h>.
33794         (strlen): Don't use BP_SYM.
33795         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33796         <bp-sym.h> and <bp-asm.h>.
33797         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33798         pointers.
33799         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33800         <bp-sym.h> and <bp-asm.h>.
33801         (__strnlen): Don't use BP_SYM.
33802         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33803         <bp-sym.h> and <bp-asm.h>.
33804         (__GI__setjmp): Don't use BP_SYM.
33805         (_setjmp): Likewise.
33806         (__sigsetjmp): Likewise.
33807         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33808         (L(start_addresses)): Don't use BP_SYM.
33809         (_start): Likewise.
33810         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33811         <bp-asm.h>.
33812         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33813         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33814         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33815         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33816         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33817         <bp-asm.h>.
33818         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33819         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33820         about bounded pointers.
33821         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33822         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33823         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33824         <bp-asm.h>.
33825         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33826         about bounded pointers.  Remove GKM FIXME comments.
33827         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33828         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33829         <bp-asm.h>.
33830         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33831         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33832         Remove GKM FIXME comments.
33833         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33834         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33835         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33836         <bp-asm.h>.
33837         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33838         about bounded pointers.  Remove GKM FIXME comment.
33839         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33840         and <bp-asm.h>.
33841         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33842         pointers.
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33844         <bp-sym.h> and <bp-asm.h>.
33845         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33847         <bp-sym.h> and <bp-asm.h>.
33848         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33849         comment.
33851 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33853         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33854         call free(NULL).
33856 2013-03-05  David S. Miller  <davem@davemloft.net>
33858         * po/es.po: Update from translation team.
33860 2013-03-05  Andreas Jaeger  <aj@suse.de>
33862         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33863         <bits/mman-linux.h>.
33864         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33865         is fine.
33866         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33867         <bits/mman-linux.h> to end of file.
33868         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33869         is fine.
33870         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33871         <bits/mman-linux.h> to end of file.
33872         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33873         is fine.
33874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33875         <bits/mman-linux.h> to end of file.
33877         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33878         (MCL_CURRENT, MCL_FUTURE): Define here.
33880 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33882         [BZ #15232]
33883         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33884         attribute_hidden.
33885         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33887 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33889         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33890         fourth parameter needed for rt_sigprocmask syscall.
33891         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33892         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33893         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33894         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33895         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33896         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33898 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33900         [BZ #13550]
33901         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33902         comment about bounded pointers.
33903         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33904         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33906 2013-03-04  Andreas Jaeger  <aj@suse.de>
33908         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33909         common definitions.
33911         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33912         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33913         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33914         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33915         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33916         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33918 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33920         [BZ #15055]
33921         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33922         __ieee754_sqrl instead of __sqrl.
33924 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33926         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33927         * sysdeps/powerpc/fpu_control.h: ... here.
33928         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33929         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33930         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33931         * sysdeps/powerpc/bits/mathinline.h: ... here.
33933 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33935         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33936         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33937         to just [NEED_DL_SYSINFO_DSO].
33938         * elf/dl-support.c: Likewise.
33939         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33940         * elf/rtld.c (dl_main): Likewise.
33941         * elf/setup-vdso.h (setup_vdso): Likewise.
33942         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33943         * sysdeps/unix/sysv/linux/dl-sysdep.c
33944         (_dl_discover_osversion): Likewise.
33946 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33948         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33949         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33951 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33953         * NEWS: Mention libm performance improvements and non-x86 PI
33954         futex support.
33956         * csu/libc-start.c (__pthread_initialize_minimal): Change
33957         function arguments.
33958         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33960 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33962         [BZ #13550]
33963         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33964         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33965         <bp-sym.h> and <bp-asm.h>.
33966         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33967         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33968         and <bp-asm.h>.
33969         (memcpy): Don't use BP_SYM.
33970         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33971         <bp-asm.h>.
33972         (__mpn_add_n): Don't use BP_SYM.
33973         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33974         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33975         and <bp-asm.h>.
33976         (__mpn_addmul_1): Don't use BP_SYM.
33977         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33978         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33979         <bp-sym.h>.
33980         (_setjmp): Don't use BP_SYM.
33981         (__novmx_setjmp): Likewise.
33982         (__GI__setjmp): Likewise.
33983         (__vmx_setjmp): Likewise.
33984         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33985         <bp-sym.h>.
33986         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33987         (__bzero): Don't use BP_SYM.
33988         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33989         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33990         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33991         <bp-sym.h> and <bp-asm.h>.
33992         (memcpy): Don't use BP_SYM.
33993         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33994         <bp-sym.h> and <bp-asm.h>.
33995         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33996         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33997         <bp-sym.h> and <bp-asm.h>.
33998         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33999         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34000         <bp-asm.h>.
34001         (__mpn_lshift): Don't use BP_SYM.
34002         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34003         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34004         <bp-asm.h>.
34005         (memset): Don't use BP_SYM.
34006         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34007         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34008         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34009         <bp-asm.h>.
34010         (__mpn_mul_1): Don't use BP_SYM.
34011         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34013         <bp-sym.h> and <bp-asm.h>.
34014         (memcmp): Don't use BP_SYM.
34015         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34016         <bp-sym.h> and <bp-asm.h>.
34017         (memcpy): Don't use BP_SYM.
34018         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34019         <bp-sym.h> and <bp-asm.h>.
34020         (memset): Don't use BP_SYM.
34021         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34022         <bp-sym.h> and <bp-asm.h>.
34023         (strncmp): Don't use BP_SYM.
34024         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34025         <bp-sym.h> and <bp-asm.h>.
34026         (memcpy): Don't use BP_SYM.
34027         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34028         <bp-sym.h> and <bp-asm.h>.
34029         (memset): Don't use BP_SYM.
34030         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34031         <bp-sym.h> and <bp-asm.h>.
34032         (__memchr): Don't use BP_SYM.
34033         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34034         <bp-sym.h> and <bp-asm.h>.
34035         (memcmp): Don't use BP_SYM.
34036         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34037         <bp-sym.h> and <bp-asm.h>.
34038         (memcpy): Don't use BP_SYM.
34039         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34040         <bp-sym.h> and <bp-asm.h>.
34041         (__mempcpy): Don't use BP_SYM.
34042         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34043         <bp-sym.h> and <bp-asm.h>.
34044         (__memrchr): Don't use BP_SYM.
34045         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34046         <bp-sym.h> and <bp-asm.h>.
34047         (memset): Don't use BP_SYM.
34048         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34049         <bp-sym.h> and <bp-asm.h>.
34050         (__rawmemchr): Don't use BP_SYM.
34051         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34052         <bp-sym.h> and <bp-asm.h>.
34053         (__STRCMP): Don't use BP_SYM.
34054         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34055         <bp-sym.h> and <bp-asm.h>.
34056         (strchr): Don't use BP_SYM.
34057         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34058         <bp-sym.h> and <bp-asm.h>.
34059         (__strchrnul): Don't use BP_SYM.
34060         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34061         <bp-sym.h> and <bp-asm.h>.
34062         (strlen): Don't use BP_SYM.
34063         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34064         <bp-sym.h> and <bp-asm.h>.
34065         (strncmp): Don't use BP_SYM.
34066         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34067         <bp-sym.h> and <bp-asm.h>.
34068         (__strnlen): Don't use BP_SYM.
34069         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34070         <bp-asm.h>.
34071         (__mpn_rshift): Don't use BP_SYM.
34072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34073         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34074         <bp-sym.h> and <bp-asm.h>.
34075         (__sigsetjmp): Don't use BP_SYM.
34076         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34077         (L(start_addresses)): Don't use BP_SYM.
34078         (_start): Likewise.
34079         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34080         <bp-asm.h>.
34081         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34082         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34083         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34084         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34085         <bp-asm.h>.
34086         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34087         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34088         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34089         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34090         <bp-asm.h>.
34091         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34092         comments.
34093         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34094         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34095         <bp-asm.h>.
34096         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34097         FIXME comments.
34098         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34099         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34100         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34101         <bp-asm.h>.
34102         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34103         comment.
34104         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34105         and <bp-asm.h>.
34106         (strncmp): Don't use BP_SYM,
34107         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34108         <bp-asm.h>.
34109         (__mpn_sub_n): Don't use BP_SYM.
34110         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34111         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34112         and <bp-asm.h>.
34113         (__mpn_submul_1): Don't use BP_SYM.
34114         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34116         <bp-sym.h> and <bp-asm.h>.
34117         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34119         <bp-sym.h> and <bp-asm.h>.
34120         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34121         comment.
34123 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34126         Use ZK to minimize writes to Z.
34127         (sub_magnitudes): Simplify code a bit.
34128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34129         Use ZK to minimize writes to Z.
34130         (sub_magnitudes): Simplify code a bit.
34132 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34134         * csu/gmon-start.c: Add special exception to license text.
34136 2013-02-27  Richard Henderson  <rth@redhat.com>
34138         * scripts/config.guess: Update from config.git.
34139         * scripts/config.sub: Likewise.
34141 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34143         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34145         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34147         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34149         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34151         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34153 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34155         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34156         [$(build-shared = yes].
34158 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34160         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34161         (__mul): Reduce iterations for calculating mantissa.
34163         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34164         MPTWO.
34165         (__mpranred): Likewise.
34167         [BZ #15160]
34168         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34169         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34171 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34173         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34174         Define __attribute__.
34176 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34178         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34179         unused.
34180         * posix/regex_internal.h (__attribute): Remove.
34181         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34182         (re_string_context_at): Likewise.
34183         (bitset_not): Use __attribute__ and mark function as possibly
34184         unused.
34185         (bitset_merge): Likewise.
34186         (bitset_mask): Likewise.
34187         (re_string_char_size_at): Likewise.
34188         (re_string_wchar_at): Likewise.
34189         (re_string_elem_size_at): Likewise.
34191 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34193         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34194         code.
34195         (cc32): Likewise.
34197         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34198         (__acr): Likewise.
34199         (__cpy): Likewise.
34200         (norm): Likewise.
34201         (denorm): Likewise.
34202         (__dbl_mp): Likewise.
34203         (add_magnitudes): Likewise.
34204         (sub_magnitudes): Likewise.
34205         (__mul): Likewise.
34206         (__inv): Likewise.
34208         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34209         style.
34211         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34212         style.
34214         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34215         code.
34217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34218         up changes with default code.
34219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34220         Likewise.
34222 2013-02-24  Allan McRae  <allan@archlinux.org>
34224         * manual/socket.texi (The Internet Namespace): Order menu items
34225         to match that in the file.
34227         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34228         node listing of the info page menu.
34230 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34232         [BZ #13550]
34233         * sysdeps/i386/bp-asm.h: Remove file.
34234         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34235         (PARMS): Do not use macros from bp-asm.h.
34236         (S1): Likewise.
34237         (S2): Likewise.
34238         (SIZE): Likewise.
34239         (__mpn_add_n): Do not use BP_SYM
34240         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34241         "bp-asm.h".
34242         (PARMS): Do not use macros from bp-asm.h.
34243         (S1): Likewise.
34244         (SIZE): Likewise.
34245         (__mpn_addmul_1): Do not use BP_SYM
34246         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34247         "bp-asm.h".
34248         (PARMS): Do not use macros from bp-asm.h.
34249         (SIGMSK): Likewise.
34250         (_setjmp): Likewise.  Do not use BP_SYM.
34251         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34252         "bp-asm.h".
34253         (PARMS): Do not use macros from bp-asm.h.
34254         (SIGMSK): Likewise.
34255         (setjmp): Likewise.  Do not use BP_SYM.
34256         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34257         "bp-asm.h".
34258         (PARMS): Do not use macros from bp-asm.h.
34259         (__frexp): Do not use BP_SYM.
34260         (frexp): Likewise.
34261         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34262         "bp-asm.h".
34263         (PARMS): Do not use macros from bp-asm.h.
34264         (__frexpf): Do not use BP_SYM.
34265         (frexpf): Likewise.
34266         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34267         "bp-asm.h".
34268         (PARMS): Do not use macros from bp-asm.h.
34269         (__frexpl): Do not use BP_SYM.
34270         (frexpl): Likewise.
34271         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34272         "bp-asm.h".
34273         (PARMS): Do not use macros from bp-asm.h.
34274         (__remquo): Do not use BP_SYM.
34275         (remquo): Likewise.
34276         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34277         "bp-asm.h".
34278         (PARMS): Do not use macros from bp-asm.h.
34279         (__remquof): Do not use BP_SYM.
34280         (remquof): Likewise.
34281         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34282         "bp-asm.h".
34283         (PARMS): Do not use macros from bp-asm.h.
34284         (__remquol): Do not use BP_SYM.
34285         (remquol): Likewise.
34286         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34287         "bp-asm.h".
34288         (PARMS): Do not use macros from bp-asm.h.
34289         (DEST): Likewise.
34290         (SRC): Likewise.
34291         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34292         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34293         "bp-asm.h".
34294         (PARMS): Do not use macros from bp-asm.h.
34295         (strlen): Do not use BP_SYM.
34296         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34297         "bp-asm.h".
34298         (PARMS): Do not use macros from bp-asm.h.
34299         (S1): Likewise.
34300         (S2): Likewise.
34301         (SIZE): Likewise.
34302         (__mpn_add_n): Do not use BP_SYM.
34303         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34304         "bp-asm.h".
34305         (PARMS): Do not use macros from bp-asm.h.
34306         (S1): Likewise.
34307         (SIZE): Likewise.
34308         (__mpn_addmul_1): Do not use BP_SYM.
34309         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34310         weak_alias.
34311         (bzero): Likewise.
34312         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34313         "bp-asm.h".
34314         (PARMS): Do not use macros from bp-asm.h.
34315         (S): Likewise.
34316         (SIZE): Likewise.
34317         (__mpn_lshift): Do not use BP_SYM.
34318         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34319         "bp-asm.h".
34320         (PARMS): Do not use macros from bp-asm.h.
34321         (DEST): Likewise.
34322         (SRC): Likewise.
34323         (LEN): Likewise.
34324         (memcpy): Likewise.  Do not use BP_SYM.
34325         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34326         libc_hidden_def and weak_alias.
34327         (mempcpy): Do not use BP_SYM in weak_alias.
34328         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34329         "bp-asm.h".
34330         (PARMS): Do not use macros from bp-asm.h.
34331         (DEST): Likewise.
34332         (LEN): Likewise.
34333         [!BZERO_P] (CHR): Likewise.
34334         (memset): Likewise.  Do not use BP_SYM.
34335         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34336         "bp-asm.h".
34337         (PARMS): Do not use macros from bp-asm.h.
34338         (S1): Likewise.
34339         (SIZE): Likewise.
34340         (__mpn_mul_1): Do not use BP_SYM.
34341         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34342         "bp-asm.h".
34343         (PARMS): Do not use macros from bp-asm.h.
34344         (S): Likewise.
34345         (SIZE): Likewise.
34346         (__mpn_rshift): Do not use BP_SYM.
34347         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34348         "bp-asm.h".
34349         (PARMS): Do not use macros from bp-asm.h.
34350         (STR): Likewise.
34351         (CHR): Likewise.
34352         (strchr): Likewise.  Do not use BP_SYM.
34353         (index): Do not use BP_SYM in weak_alias.
34354         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34355         "bp-asm.h".
34356         (PARMS): Do not use macros from bp-asm.h.
34357         (DEST): Likewise.
34358         (SRC): Likewise.
34359         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34360         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34361         "bp-asm.h".
34362         (PARMS): Do not use macros from bp-asm.h.
34363         (strlen): Do not use BP_SYM.
34364         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34365         "bp-asm.h".
34366         (PARMS): Do not use macros from bp-asm.h.
34367         (S1): Likewise.
34368         (S2): Likewise.
34369         (SIZE): Likewise.
34370         (__mpn_sub_n): Do not use BP_SYM.
34371         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34372         "bp-asm.h".
34373         (PARMS): Do not use macros from bp-asm.h.
34374         (S1): Likewise.
34375         (SIZE): Likewise.
34376         (__mpn_submul_1): Do not use BP_SYM.
34377         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34378         "bp-asm.h".
34379         (PARMS): Do not use macros from bp-asm.h.
34380         (S1): Likewise.
34381         (S2): Likewise.
34382         (SIZE): Likewise.
34383         (__mpn_add_n): Do not use BP_SYM.
34384         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34385         weak_alias.
34386         (bzero): Likewise.
34387         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34388         "bp-asm.h".
34389         (PARMS): Do not use macros from bp-asm.h.
34390         (BLK2): Likewise.
34391         (LEN): Likewise.
34392         (memcmp): Do not use BP_SYM.
34393         (bcmp): Do not use BP_SYM in weak_alias.
34394         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34395         "bp-asm.h".
34396         (PARMS): Do not use macros from bp-asm.h.
34397         (DEST): Likewise.
34398         (SRC): Likewise.
34399         (LEN): Likewise.
34400         (memcpy): Likewise.  Do not use BP_SYM.
34401         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34402         "bp-asm.h".
34403         (PARMS): Do not use macros from bp-asm.h.
34404         (DEST): Likewise.
34405         (SRC): Likewise.
34406         (LEN): Likewise.
34407         (memmove): Likewise.  Do not use BP_SYM.
34408         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34409         "bp-asm.h".
34410         (PARMS): Do not use macros from bp-asm.h.
34411         (DEST): Likewise.
34412         (SRC): Likewise.
34413         (LEN): Likewise.
34414         (__mempcpy): Likewise.  Do not use BP_SYM.
34415         (mempcpy): Do not use BP_SYM in weak_alias.
34416         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34417         "bp-asm.h".
34418         (PARMS): Do not use macros from bp-asm.h.
34419         (DEST): Likewise.
34420         (LEN): Likewise.
34421         [!BZERO_P] (CHR): Likewise.
34422         (memset): Likewise.  Do not use BP_SYM.
34423         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34424         "bp-asm.h".
34425         (PARMS): Do not use macros from bp-asm.h.
34426         (STR2): Likewise.
34427         (strcmp): Do not use BP_SYM.
34428         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34429         "bp-asm.h".
34430         (PARMS): Do not use macros from bp-asm.h.
34431         (STR): Likewise.
34432         (DELIM): Likewise.
34433         [USE_AS_STRTOK_R] (SAVE): Likewise.
34434         (FUNCTION): Likewise.  Do not use BP_SYM.
34435         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34436         aliases.
34437         (strtok_r): Likewise.
34438         (__GI___strtok_r): Likewise.
34439         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34440         (PARMS): Do not use macros from bp-asm.h.
34441         (S): Likewise.
34442         (SIZE): Likewise.
34443         (__mpn_lshift): Do not use BP_SYM.
34444         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34445         (PARMS): Do not use macros from bp-asm.h.
34446         (STR): Likewise.
34447         (CHR): Likewise.
34448         (__memchr): Do not use BP_SYM.
34449         (memchr): Do not use BP_SYM in weak_alias.
34450         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34451         (PARMS): Do not use macros from bp-asm.h.
34452         (BLK2): Likewise.
34453         (LEN): Likewise.
34454         (memcmp): Do not use BP_SYM.
34455         (bcmp): Do not use BP_SYM in weak_alias.
34456         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34457         (PARMS): Do not use macros from bp-asm.h.
34458         (S1): Likewise.
34459         (SIZE): Likewise.
34460         (__mpn_mul_1): Do not use BP_SYM.
34461         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34462         "bp-asm.h".
34463         (PARMS): Do not use macros from bp-asm.h.
34464         (STR): Likewise.
34465         (CHR): Likewise.
34466         (__rawmemchr): Do not use BP_SYM.
34467         (rawmemchr): Do not use BP_SYM in weak_alias.
34468         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34469         (PARMS): Do not use macros from bp-asm.h.
34470         (S): Likewise.
34471         (SIZE): Likewise.
34472         (__mpn_rshift): Do not use BP_SYM.
34473         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34474         (PARMS): Do not use macros from bp-asm.h.
34475         (SIGMSK): Likewise.
34476         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34477         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34478         (_start): Do not use BP_SYM.
34479         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34480         (PARMS): Do not use macros from bp-asm.h.
34481         (DEST): Likewise.
34482         (SRC): Likewise.
34483         (__stpcpy): Likewise.  Do not use BP_SYM.
34484         (stpcpy): Do not use BP_SYM in weak_alias.
34485         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34486         "bp-asm.h".
34487         (PARMS): Do not use macros from bp-asm.h.
34488         (DEST): Likewise.
34489         (SRC): Likewise.
34490         (LEN): Likewise.
34491         (__stpncpy): Likewise.  Do not use BP_SYM.
34492         (stpncpy): Do not use BP_SYM in weak_alias.
34493         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34494         (PARMS): Do not use macros from bp-asm.h.
34495         (STR): Likewise.
34496         (CHR): Likewise.
34497         (strchr): Likewise.  Do not use BP_SYM.
34498         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34499         "bp-asm.h".
34500         (PARMS): Do not use macros from bp-asm.h.
34501         (STR): Likewise.
34502         (CHR): Likewise.
34503         (__strchrnul): Likewise.  Do not use BP_SYM.
34504         (strchrnul): Do not use BP_SYM in weak_alias.
34505         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34506         "bp-asm.h".
34507         (PARMS): Do not use macros from bp-asm.h.
34508         (STOP): Likewise.
34509         (strcspn): Do not use BP_SYM.
34510         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34511         "bp-asm.h".
34512         (PARMS): Do not use macros from bp-asm.h.
34513         (STR): Likewise.
34514         (STOP): Likewise.
34515         (strpbrk): Likewise.  Do not use BP_SYM.
34516         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34517         "bp-asm.h".
34518         (PARMS): Do not use macros from bp-asm.h.
34519         (STR): Likewise.
34520         (CHR): Likewise.
34521         (strrchr): Likewise.  Do not use BP_SYM.
34522         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34523         (PARMS): Do not use macros from bp-asm.h.
34524         (SKIP): Likewise.
34525         (strspn): Do not use BP_SYM.
34526         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34527         (PARMS): Do not use macros from bp-asm.h.
34528         (STR): Likewise.
34529         (DELIM): Likewise.
34530         (SAVE): Likewise.
34531         (FUNCTION): Likewise.  Do not use BP_SYM.
34532         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34533         aliases.
34534         (strtok_r): Likewise.
34535         (__GI___strtok_r): Likewise.
34536         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34537         (PARMS): Do not use macros from bp-asm.h.
34538         (S1): Likewise.
34539         (S2): Likewise.
34540         (SIZE): Likewise.
34541         (__mpn_sub_n): Do not use BP_SYM.
34542         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34543         "bp-asm.h".
34544         (PARMS): Do not use macros from bp-asm.h.
34545         (S1): Likewise.
34546         (SIZE): Likewise.
34547         (__mpn_submul_1): Do not use BP_SYM.
34548         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34549         <bp-sym.h>.
34550         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34551         and <bp-asm.h>.
34552         (PARMS): Do not use macros from bp-asm.h.
34553         (FLAGS): Likewise.
34554         (PTID): Likewise.
34555         (TLS): Likewise.
34556         (CTID): Likewise.
34557         (__clone): Do not use BP_SYM.
34558         (clone): Do not use BP_SYM in weak_alias.
34559         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34560         and <bp-asm.h>.
34561         (PARMS): Do not use macros from bp-asm.h.
34562         (LEN): Likewise.
34563         (__mmap64): Do not use BP_SYM.
34564         (mmap64): Do not use BP_SYM in weak_alias.
34565         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34566         <bp-sym.h> and <bp-asm.h>.
34567         (PARMS): Do not use macros from bp-asm.h.
34568         (__posix_fadvise64_l64): Do not use BP_SYM.
34569         * sysdeps/unix/sysv/linux/i386/semtimedop.S
34570         (PARMS): Do not use macros from bp-asm.h.
34571         (NSOPS): Likewise.
34572         (semtimedop): Do not use BP_SYM.
34573         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34574         and <bp-asm.h>.
34576 2013-02-21  Allan McRae  <allan@archlinux.org>
34578         * manual/message.texi (Charset conversion in gettext):
34579         Move @end statement to beginning of line.
34581 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34584         static.
34585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34586         Likewise.
34588         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34589         (denorm): Likewise.
34590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34593 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34595         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34596         tail-call to the resolved function if pltexit isn't needed.
34598 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34601         or Y being zero as being unlikely.
34602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34603         Likewise.
34605 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
34607         * manual/nss.texi (System Databases and Name Service Switch):
34608         Remove frobnicate @pxref.
34610 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34612         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34613         __attribute__ ((unused)) to __attribute__ ((__unused__)).
34615 2013-02-20  Petr Machata  <pmachata@redhat.com>
34617         * elf/elf.h (R_ARM_TARGET1): New macro.
34618         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34619         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34620         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34621         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34622         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34623         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34624         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34625         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34626         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34627         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34628         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34629         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34630         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34631         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34632         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34633         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34634         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34635         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34636         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34637         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34638         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34639         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34640         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34641         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34642         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34643         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34644         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34645         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34646         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34647         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34648         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34649         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34650         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34651         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34652         (R_ARM_THM_GOT_BREL12): Likewise.
34653         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34654         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34655         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34656         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34657         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34658         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34659         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34660         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34661         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34663 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34665         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34666         __attribute_used__ to __attribute__ ((unused)).
34668 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34670         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34671         powerpc mpa.c.
34672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34673         comment formatting.
34674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34676 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #13550]
34679         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34680         Remove macro.
34681         (ENTER): Remove both macro definitions.
34682         (LEAVE): Likewise.
34683         (CHECK_BOUNDS_LOW): Likewise.
34684         (CHECK_BOUNDS_HIGH): Likewise.
34685         (CHECK_BOUNDS_BOTH): Likewise.
34686         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34687         (RETURN_BOUNDED_POINTER): Likewise.
34688         (RETURN_NULL_BOUNDED_POINTER): Likewise.
34689         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34690         (POP_ERRNO_LOCATION_RETURN): Likewise.
34691         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34692         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34693         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34694         macros.
34695         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34696         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34697         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34698         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34699         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34700         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34701         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34702         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34703         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34704         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34705         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34706         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34707         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34708         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34709         removed macros.
34710         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34711         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34712         macros.
34713         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34714         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34715         * sysdeps/i386/i586/memset.S (memset): Likewise.
34716         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34717         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34718         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34719         macros.
34720         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34721         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34722         Change uses of L(2) to L(out).
34723         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34724         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34725         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34726         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34727         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34728         removed macros.
34729         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34730         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34731         macros.
34732         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34733         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34734         (RETURN): Do not use macro LEAVE.
34735         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34736         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34737         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34738         * sysdeps/i386/i686/memset.S (memset): Likewise.
34739         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34740         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34741         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34742         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34743         Likewise.
34744         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34745         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
34746         L(1_2) and L(1_3) into L(1).
34747         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34748         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34749         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34750         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34751         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34752         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34753         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34754         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34755         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34756         macros.
34757         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34758         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34759         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34760         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34761         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34762         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34763         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34764         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34765         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34766         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34767         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34768         * sysdeps/i386/strspn.S (strspn): Likewise.
34769         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34770         conditional code.
34771         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34772         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34773         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34774         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34775         L(1_3) into L(1_1).
34776         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34777         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34778         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34779         macros.
34780         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34782 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34784         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34785         macro.
34787 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34789         * math/atest-exp.c (exp_mpn): Remove ROUND.
34790         * math/atest-exp2.c (exp_mpn): Likewise.
34791         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34793         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34794         * stdlib/tst-tls-atexit-lib.c: Likewise.
34795         * stdlib/tst-tls-atexit.c: Likewise.
34797 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34799         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34800         and __attribute_alloc_size__.
34802 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34804         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34805         __attribute_alloc_size__.
34806         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34807         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34809 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34811         * include/programs/xmalloc.h: New file.
34812         * catgets/gencat.c: Include it.
34813         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34814         * elf/pldd.c: Likewise.
34815         * iconv/iconv_charmap.c: Likewise.
34816         * iconv/iconvconfig.c: Likewise.
34817         * iconv/strtab.c: Likewise.
34818         * locale/programs/locale.c: Likewise.
34819         * locale/programs/localedef.h: Likewise.
34820         * locale/programs/simple-hash.c: Likewise.
34821         * nscd/nscd.h: Likewise.
34822         * nss/makedb.c: Likewise.
34823         * sysdeps/generic/ldconfig.h: Likewise.
34825 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34827         * Versions.def: Add GLIBC_2.18.
34828         * include/link.h (struct link_map): New member l_tls_dtor_count.
34829         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34830         (__call_tls_dtors): Likewise.
34831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34832         __cxa_thread_atexit_impl.
34833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34834         Likewise.
34835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34836         Likewise.
34837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34838         Likewise.
34839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34840         Likewise.
34841         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34843         Likewise.
34844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34845         Likewise.
34846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34848         Likewise.
34849         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34850         (tests): Add test case tst-tls-atexit.
34851         (modules-names): Add shared library for tst-tls-atexit.
34852         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34853         (GLIBC_PRIVATE): Add __call_tls_dtors.
34854         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34855         for libstdc++.
34856         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34857         * stdlib/tst-tls-atexit.c: New test case.
34858         * stdlib/tst-tls-atexit-lib.c: New test case.
34860         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34862         * elf/Versions (ld): Add _dl_find_dso_for_object.
34863         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34864         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34865         (dl_open_worker): Use _dl_find_dso_for_object.
34866         * elf/dl-sym.c (do_sym): Likewise.
34867         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34869 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34871         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34872         Syntactic changes only.
34873         (_dl_runtime_profile): Do a tail-call to the resolved function.
34875 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34877         [BZ #13550]
34878         * sysdeps/x86_64/bp-asm.h: Remove file.
34879         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34880         <bp-sym.h> and <bp-asm.h>.
34881         (__clone): Do not use BP_SYM.
34882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34883         <bp-sym.h> and <bp-asm.h>.
34884         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34885         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34886         "bp-asm.h".
34887         (_setjmp): Do not use BP_SYM.
34888         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34889         "bp-asm.h".
34890         (setjmp): Do not use BP_SYM.
34891         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34892         libc_hidden_def.
34893         (mempcpy): Do not use BP_SYM in weak_alias.
34894         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34895         "bp-asm.h".
34896         (strchr): Do not use BP_SYM.
34897         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34898         "bp-asm.h".
34899         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34900         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34901         (_start): Do not use BP_SYM.
34902         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34903         "bp-asm.h".
34904         (strcat): Do not use BP_SYM.
34905         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34906         "bp-asm.h".
34907         (STRCMP): Do not use BP_SYM.
34908         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34909         "bp-asm.h".
34910         (STRCPY): Do not use BP_SYM.
34911         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34912         "bp-asm.h".
34913         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34914         "bp-asm.h".
34915         (FUNCTION): Do not use BP_SYM.
34916         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34917         weak_alias.
34918         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34920 2013-02-17  Andreas Jaeger  <aj@suse.de>
34922         * time/Versions: Sort entries.
34923         * string/Versions: Likewise.
34924         * resolv/Versions: Likewise.
34925         * posix/Versions: Likewise.
34926         * iconv/Versions: Likewise.
34927         * elf/Versions: Likewise.
34928         * wcsmbs/Versions: Likewise.
34930 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34932         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34933         loop termination condition.
34935         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34936         variable to calculate EZ.
34937         (__sqr): Likewise.
34939         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34940         the lower precision input.
34942 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34944         [BZ #13550]
34945         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34946         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34947         (run-via-rtld-prefix): Do not handle %-bp tests.
34948         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34949         (all-object-suffixes): Remove .ob.
34950         (bppfx): Remove variable.
34951         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34952         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34953         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34954         [$(build-bounded) = yes] (libtype.ob): Likewise.
34955         * Makerules (elide-routines.ob): Remove variable.
34956         (do-tests-clean): Do not handle *-bp.out.
34957         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34958         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34959         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34960         (tests): Do not include $(tests-bp.out).
34961         (xtests): Do not include $(xtests-bp.out).
34962         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34963         [$(build-bounded) = yes] ($(addprefix
34964         $(objpfx),$(binaries-bounded))): Remove rule.
34965         ($(objpfx)%-bp.out): Remove rule.
34966         * config.make.in (build-bounded): Remove variable.
34967         * crypt/Makefile [$(build-bounded) = yes]
34968         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34969         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34970         append to variable.
34971         [$(build-bounded) = yes] (install-lib): Likewise.
34972         [$(build-bounded) = yes] (generated): Likewise.
34973         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34974         Remove rule.
34975         * intl/Makefile [$(build-bounded) = yes]
34976         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34977         * math/Makefile [$(build-bounded) = yes]
34978         ($(tests:%=$(objpfx)%-bp): Likewise.
34979         * misc/Makefile [$(build-bounded) = yes]
34980         ($(objpfx)tst-tsearch-bp): Likewise.
34981         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34982         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34983         Remove dependency.
34984         * string/Makefile (o-objects.ob): Remove variable.
34985         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34986         (CFLAGS-.ob): Remove variable.
34987         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34988         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34989         both definitions of variable.
34990         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34991         (ASFLAGS-.ob): Remove variable.
34993 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34995         [BZ #13550]
34996         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34997         Remove __BOUNDED_POINTERS__ from condition.
34998         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34999         * string/bits/string2.h [!__NO_STRING_INLINES &&
35000         !__BOUNDED_POINTERS__]: Likewise.
35001         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35002         Likewise.
35003         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35004         Remove conditional code.
35005         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35006         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35007         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35008         condition.
35010         [BZ #13550]
35011         * csu/libc-start.c: Do not include <bp-sym.h>.
35012         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35013         * elf/dl-open.c: Do not include <bp-sym.h>.
35014         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35015         * math/fegetenv.c: Do not include <bp-sym.h>.
35016         (fegetenv): Do not use BP_SYM in versioned symbols.
35017         * nptl/sysdeps/pthread/bits/libc-lockP.h
35018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35019         <bp-sym.h>.
35020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35021         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35023         (__pthread_mutex_destroy): Likewise.
35024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35025         (__pthread_mutex_lock): Likewise.
35026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35027         (__pthread_mutex_trylock): Likewise.
35028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35029         (__pthread_mutex_unlock): Likewise.
35030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35031         (__pthread_mutexattr_init): Likewise.
35032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35033         (__pthread_mutexattr_destroy): Likewise.
35034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35035         (__pthread_mutexattr_settype): Likewise.
35036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35037         (__pthread_rwlock_init): Likewise.
35038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35039         (__pthread_rwlock_destroy): Likewise.
35040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35041         (__pthread_rwlock_rdlock): Likewise.
35042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35043         (__pthread_rwlock_tryrdlock): Likewise.
35044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35045         (__pthread_rwlock_wrlock): Likewise.
35046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35047         (__pthread_rwlock_trywrlock): Likewise.
35048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35049         (__pthread_rwlock_unlock): Likewise.
35050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35051         (__pthread_key_create): Likewise.
35052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35053         (__pthread_setspecific): Likewise.
35054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35055         (__pthread_getspecific): Likewise.
35056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35057         Likewise.
35058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35059         (_pthread_cleanup_push_defer): Likewise.
35060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35061         (_pthread_cleanup_pop_restore): Likewise.
35062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35063         (pthread_setcancelstate): Likewise.
35064         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35065         <bp-sym.h>.
35066         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35067         (memchr): Do not use BP_SYM in weak_alias.
35068         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35069         (fegetenv): Do not use BP_SYM in versioned symbols.
35070         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35071         (fesetenv): Do not use BP_SYM in versioned symbols.
35072         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35073         (feupdateenv): Do not use BP_SYM in versioned symbols.
35074         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35075         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35076         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35077         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35078         (open64): Do not use BP_SYM in weak_alias.
35079         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35080         (fegetenv): Do not use BP_SYM in versioned symbols.
35081         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35082         (fesetenv): Do not use BP_SYM in versioned symbols.
35083         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35084         (feupdateenv): Do not use BP_SYM in versioned symbols.
35085         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35086         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35087         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35088         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35089         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35090         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35091         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35092         <bp-sym.h>.
35093         (__libc_start_main): Do not use BP_SYM.
35095 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35098         redundant return line.
35099         (norm): Likewise.
35100         (denorm): Likewise.
35101         (dbl_mp): Likewise.
35102         (sub_magnitudes): Likewise.
35103         (__add): Likewise.
35104         (__sub): Likewise.
35105         (__mul): Likewise.
35106         (__inv): Likewise.
35107         (__dvd): Likewise.
35108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35109         (norm): Likewise.
35110         (denorm): Likewise.
35111         (dbl_mp): Likewise.
35112         (sub_magnitudes): Likewise.
35113         (__add): Likewise.
35114         (__sub): Likewise.
35115         (__mul): Likewise.
35116         (__inv): Likewise.
35117         (__dvd): Likewise.
35119         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35120         instead of __mul.
35121         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35122         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35123         (cc32): Likewise.
35125         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35126         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35128         of __mul for squares.
35129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35130         function
35131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35132         Likewise.
35133         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35134         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35136 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35138         [BZ #13550]
35139         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35140         code.
35141         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35142         prototype or function definition.  Rename ubp_* variables and
35143         parameters.  Remove argv definitions conditional on
35144         [__BOUNDED_POINTERS__].
35145         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35146         * elf/dl-runtime.c (_dl_fixup): Likewise.
35147         * include/set-hooks.h (RUN_HOOK): Likewise.
35148         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35149         definition.
35150         * string/strcpy.c (strcpy): Do not use __unbounded.
35151         * sysdeps/generic/frame.h (struct layout): Likewise.
35152         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35153         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35154         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35155         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35156         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35157         (__backtrace): Likewise.
35158         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35159         use __ptrvalue.
35160         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35161         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35162         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35163         Likewise.
35164         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35165         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35166         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35167         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35168         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35169         Do not use __unbounded.
35170         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35171         Rename __unboundedrlimits parameter to rlimits in prototype.
35172         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35173         Do not use __unbounded.
35174         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35175         not use __ptrvalue.
35176         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35177         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35178         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35179         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35180         __ptrvalue or __unbounded.
35181         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35182         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35183         use __unbounded.
35184         (__new_msgctl): Do not use __ptrvalue.
35185         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35186         __unbounded.
35187         (__libc_msgrcv): Do not use __ptrvalue.
35188         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35189         startup_info): Do not use __unbounded.
35190         (__libc_start_main): Likewise.  Rename ubp_* variables and
35191         parameters.  Remove argv definitions conditional on
35192         [__BOUNDED_POINTERS__].
35193         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35194         __ptrvalue.
35195         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35196         use __unbounded.
35197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35198         or __ptrvalue.
35199         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35200         use __unbounded.
35201         (__new_shmctl): Do not use __ptrvalue.
35202         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35203         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35204         Likewise.
35205         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35207         (__libc_sigaction): Likewise.
35208         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35209         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35210         Likewise.
35211         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35213 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35215         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35217         * string/mempcpy.c: Implement by calling memcpy.
35219 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35221         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35224         evaluation.
35226         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35227         values in the mantissa.
35229         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35230         minimize writes to Z.
35231         (sub_magnitudes): Simplify code a bit.
35233 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35235         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35236         from the message.  The linker prefixes all warnings with that already.
35238 2013-02-12  Andreas Schwab  <schwab@suse.de>
35240         [BZ #15078]
35241         * posix/regexec.c (extend_buffers): Add parameter min_len.
35242         (check_matching): Pass minimum needed length.
35243         (clean_state_log_if_needed): Likewise.
35244         (get_subexp): Likewise.
35245         * posix/Makefile (tests): Add bug-regex34.
35246         (bug-regex34-ENV): Define.
35247         * posix/bug-regex34.c: New file.
35249         [BZ #11561]
35250         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35251         elements compare against the byte sequence of it, not its name.
35252         * posix/Makefile (tests): Add bug-regex35.
35253         (bug-regex35-ENV): Define.
35254         * posix/bug-regex35.c: New file.
35256 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35258         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35259         comment.
35260         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35261         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35262         (CHECK_EOL): Add undef.
35264 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35266         * bits/stdlib-bsearch.h: New file.
35267         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35268         * stdlib/stdlib.h: Likewise.
35270 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35272         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35273         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35274         declaration.
35275         * manual/search.texi (Array Search Function): Add missing const in
35276         lfind prototype.
35277         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35278         declaration to use rlim_t.
35279         (Basic Scheduling Functions): Remove erroneous const from
35280         sched_getparam prototype.  Remove erroneous * from
35281         sched_get_priority_max and sched_get_priority_min prototypes.
35282         (Resource Usage): Fix summary @comment on vtimes to refer to
35283         sys/vtimes.h rather than vtimes.h.
35284         Add missing *s in vtimes prototype.
35285         (Limits on Resources): Fix ulimit prototype to return long int.
35286         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35287         prototypes to use long int rather than double.
35288         (BSD Random): Fix initstate and setstate to use char *, not void *.
35289         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35290         prototype to make second argument 'struct aiocb64 *const[]'.
35291         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35292         (Status of AIO Operations): Remove erroneous const in aio_return and
35293         aio_return64 prototypes.
35294         (Synchronizing I/O): Fix sync prototype to return void.
35295         * manual/startup.texi (Suboptions): Remove an erroneous const in
35296         getsubopt prototype.
35297         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35298         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35299         use size_t rather than int.
35300         (Scanning All Users): Likewise for getpwent_r.
35301         (Setting Groups): Add missing const to setgroups prototype.
35302         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35303         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35304         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35305         'const void *' rather than 'const char *'.
35306         (Host Address Functions): Likewise for inet_ntop.
35307         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35308         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35309         ssize_t for return value.
35310         (Sending Data): Likewise for send, sendto, sendmsg.
35311         (Socket Option Functions): Add a missing const in setsockopt prototype.
35312         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35313         use wchar_t for the argument.
35314         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35315         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35316         take no arguments.
35317         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35318         double/float/long double for second argument.
35319         Fix return types of significand, significandf, significandl.
35320         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35321         argument in fchmod prototype.
35322         (File Owner): Use uid_t and gid_t in fchown prototype.
35323         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35324         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35325         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35326         use 'const struct dirent **' as argument types to CMP function pointer
35327         argument.
35328         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35329         (File Times): Fix summary magic @comment for struct utimbuf and utime
35330         to refer to utime.h, not time.h.
35331         * manual/string.texi (Argz Functions): Add missing const in
35332         argz_extract and argz_next prototypes.
35333         (Finding Tokens in a String): Likewise for basename.
35334         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35335         (Copying and Concatenation): Fix typo in wmemmove prototype.
35336         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35337         (Signal Stack): Remove erroneous const in sigstack prototype.
35338         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35339         prototype.
35340         (Simple Calendar Time): Likewise for stime.
35341         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35342         prototype.
35343         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35344         say sys/sysctl.h instead.
35345         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35346         and vsyslog prototypes.
35348 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35350         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35351         Remove.
35353 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35355         * misc/sys/mman.h: Fix typo in mremap comment.
35357 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35359         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35360         the '\0' terminator.
35362 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35364         [BZ #13550]
35365         * debug/segfault.c: Don't include <bp-checks.h>.
35366         * sysdeps/generic/bp-checks.h: Remove file.
35367         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35368         (__GETDENTS): Don't use CHECK_N.
35369         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35370         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35371         (__getgroups): Don't use CHECK_N.
35372         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35373         (setgroups): Don't use CHECK_N.
35374         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35375         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35376         (__libc_msgrcv): Don't use CHECK_N.
35377         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35378         (__libc_msgsnd): Don't use CHECK_N.
35379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35380         <bp-checks.h>.
35381         (__libc_pread): Don't use CHECK_N.
35382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35383         include <bp-checks.h>.
35384         (__libc_pread64): Don't use CHECK_N.
35385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35386         include <bp-checks.h>.
35387         (__libc_pwrite): Don't use CHECK_N.
35388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35389         include <bp-checks.h>.
35390         (__libc_pwrite64): Don't use CHECK_N.
35391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35392         <bp-checks.h>.
35393         (__libc_pread): Don't use CHECK_N.
35394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35395         include <bp-checks.h>.
35396         (__libc_pread64): Don't use CHECK_N.
35397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35398         include <bp-checks.h>.
35399         (__libc_pwrite): Don't use CHECK_N.
35400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35401         include <bp-checks.h>.
35402         (__libc_pwrite64): Don't use CHECK_N.
35403         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35404         (do_pread): Don't use CHECK_N.
35405         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35406         (do_pread64): Don't use CHECK_N.
35407         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35408         (do_pwrite): Don't use CHECK_N.
35409         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35410         (do_pwrite64): Don't use CHECK_N.
35411         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35412         (__libc_readv): Don't use CHECK_N.
35413         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35414         (semop): Don't use CHECK_N.
35415         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35416         <bp-checks.h>.
35417         (semtimedop): Don't use CHECK_N.
35418         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35419         (__libc_pread): Don't use CHECK_N.
35420         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35421         <bp-checks.h>.
35422         (__libc_pread64): Don't use CHECK_N.
35423         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35424         <bp-checks.h>.
35425         (__libc_pwrite): Don't use CHECK_N.
35426         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35427         <bp-checks.h>.
35428         (__libc_pwrite64): Don't use CHECK_N.
35429         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35430         <bp-checks.h>.
35431         (__libc_msgrcv): Don't use CHECK_N.
35432         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35433         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35434         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35435         (__libc_writev): Don't use CHECK_N.
35437 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35439         * string/strcpy.c: Removed unused variable.
35441         * Makeconfig (+sysdep-includes): Define with := rather than =.
35442         Use an existing include/ subdir of each sysdeps dir before it.
35444 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35446         * nscd/connection.c (register_traced_file): Comment function.
35447         [HAVE_INOTIFY] (union __inev): Define.
35448         [HAVE_INOTIFY] (inotify_check_files): New function.
35449         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35450         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35451         clear_db_cache.
35452         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35454 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35456         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35457         loaded if not already and that a failure is permanent.
35459 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35461         [BZ #15006]
35462         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35463         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35465 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35467         [BZ #13550]
35468         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35469         (CHECK_1_NULL_OK): Likewise.
35470         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35471         (__fxstat): Do not use CHECK_1.
35472         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35473         <bp-checks.h>.
35474         (___fxstat64): Do not use CHECK_1.
35475         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35476         <bp-checks.h>.
35477         (__fxstatat): Do not use CHECK_1.
35478         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35479         <bp-checks.h>.
35480         (__fxstatat64): Do not use CHECK_1.
35481         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35482         <bp-checks.h>.
35483         (__fxstat): Do not use CHECK_1.
35484         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35485         <bp-checks.h>.
35486         (__fxstatat): Do not use CHECK_1.
35487         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35488         <bp-checks.h>.
35489         (__getresgid): Do not use CHECK_1.
35490         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35491         <bp-checks.h>.
35492         (__getresuid): Do not use CHECK_1.
35493         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35494         <bp-checks.h>.
35495         (__lxstat): Do not use CHECK_1.
35496         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35497         <bp-checks.h>.
35498         (__old_msgctl): Do not use CHECK_1.
35499         (__new_msgctl): Likewise.
35500         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35501         <bp-checks.h>.
35502         (__new_setrlimit): Do not use CHECK_1.
35503         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35504         <bp-checks.h>.
35505         (__old_shmctl): Do not use CHECK_1.
35506         (__new_shmctl): Likewise.
35507         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35508         <bp-checks.h>.
35509         (__xstat): Do not use CHECK_1.
35510         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35511         (__lxstat): Do not use CHECK_1.
35512         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35513         <bp-checks.h>.
35514         (___lxstat64): Do not use CHECK_1.
35515         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35516         (__old_msgctl): Do not use CHECK_1.
35517         (__new_msgctl): Likewise.
35518         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35519         <bp-checks.h>.
35520         (__gettimeofday): Do not use CHECK_1.
35521         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35522         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35523         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35524         <bp-checks.h>.
35525         (__gettimeofday): Do not use CHECK_1.
35526         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35527         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35528         (__new_shmctl): Do not use CHECK_1.
35529         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35530         <bp-checks.h>.
35531         (do_sigtimedwait): Do not use CHECK_1.
35532         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35533         <bp-checks.h>.
35534         (do_sigwaitinfo): Do not use CHECK_1.
35535         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35536         <bp-checks.h>.
35537         (msgctl): Do not use CHECK_1.
35538         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35539         <bp-checks.h>.
35540         (shmctl): Do not use CHECK_1.
35541         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35542         (ustat): Do not use CHECK_1.
35543         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35544         <bp-checks.h>.
35545         (__fxstat): Do not use CHECK_1.
35546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35547         <bp-checks.h>.
35548         (__fxstatat): Do not use CHECK_1.
35549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35550         <bp-checks.h>.
35551         (__lxstat): Do not use CHECK_1.
35552         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35553         <bp-checks.h>.
35554         (__xstat): Do not use CHECK_1.
35555         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35556         (__xstat): Do not use CHECK_1.
35557         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35558         (___xstat64): Do not use CHECK_1.
35560         [BZ #13550]
35561         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35562         definitions.
35563         (CHECK_BOUNDS_HIGH): Likewise.
35564         * string/strcpy.c: Do not include <bp-checks.h>.
35565         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35567 2013-02-07  Roland McGrath  <roland@hack.frob.com>
35569         * nscd/nscd-client.h (__nscd_drop_map_ref):
35570         Add __attribute__ ((unused)).
35571         * nis/nss-nisplus.h (niserr2nss): Likewise.
35573         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35574         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35576         * csu/libc-tls.c (init_static_tls, init_slotinfo):
35577         Remove inline keyword.
35578         * include/rounding-mode.h (round_away): Likewise.
35579         * libio/wfileops.c (adjust_wide_data): Likewise.
35580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35581         (__m128i_strloadu_tolower): Likewise.
35582         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35583         (__m128i_strloadu_tolower): Likewise.
35584         * time/mktime.c (ydhms_diff): Likewise.
35585         * locale/elem-hash.h (elem_hash): Likewise.
35586         * locale/setlocale.c (setdata): Likewise.
35587         * posix/regex_internal.h (re_string_char_size_at): Likewise.
35588         (re_string_wchar_at): Likewise.
35589         (bitset_not, bitset_merge, bitset_mask): Likewise.
35590         [!(__GNUC__ > 3)] (inline): Remove macro.
35591         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35592         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35593         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35594         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35595         * string/memcmp.c (memcmp_bytes): Likewise.
35596         * locale/programs/locarchive.c (compute_hashval): Likewise.
35597         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35598         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35599         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35600         * nss/getent.c (print_rpc, print_protocols): Likewise.
35601         (print_passwd, print_group, print_aliases): Likewise.
35602         * nis/nss-nisplus.h (niserr2nss): Likewise.
35603         * nscd/connections.c (restart_p): Likewise.
35604         Change return type to bool.
35606 2013-02-05  Roland McGrath  <roland@hack.frob.com>
35608         * Makeconfig (all-Depend-files): Add existing
35609         $(sorted-subdirs:=/Depend) files.
35610         (all-subdirs): Remove nss.
35611         * sysdeps/unix/inet/Subdirs: Add it here instead.
35612         * hesiod/Depend: New file.
35614         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35615         instead of calling alloca.
35617         * io/lseek.c (__lseek): Rename to __libc_lseek.
35618         Define __lseek as an alias.
35620         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35622 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
35624         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35625         else clause and remove check for non-standard endianness.
35627 2013-02-04  David S. Miller  <davem@davemloft.net>
35629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35631 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
35633         [BZ #13550]
35634         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35635         (__ubp_memchr): Remove prototype.
35636         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35637         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35638         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35639         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35640         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35641         Remove alias.
35642         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35643         (__ubp_memchr): Likewise.
35644         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35645         (__ubp_memchr): Likewise.
35646         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35647         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35648         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35649         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35650         CHECK_STRING.
35651         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35652         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35653         (__getcwd): Do not use CHECK_STRING.
35654         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35655         <bp-checks.h>.
35656         (__real_chown): Do not use CHECK_STRING.
35657         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35658         <bp-checks.h>.
35659         (fchownat): Do not use CHECK_STRING.
35660         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35661         CHECK_STRING.
35662         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35663         <bp-checks.h>.
35664         (__lchown): Do not use CHECK_STRING.
35665         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35666         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35667         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35668         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35670         include <bp-checks.h>.
35671         (truncate64): Do not use CHECK_STRING.
35672         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35673         <bp-checks.h>.
35674         (__real_chown): Do not use CHECK_STRING.
35675         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35676         <bp-checks.h>.
35677         (__lchown): Do not use CHECK_STRING.
35678         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35679         <bp-checks.h>.
35680         (__chown): Do not use CHECK_STRING.
35681         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35682         <bp-checks.h>.
35683         (truncate64): Do not use CHECK_STRING.
35684         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35685         Likewise.
35686         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35687         (__xmknod): Do not use CHECK_STRING.
35688         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35689         <bp-checks.h>.
35690         (__xmknodat): Do not use CHECK_STRING.
35691         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35692         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35694 2013-02-04  Andreas Schwab  <schwab@suse.de>
35696         [BZ #14142]
35697         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35698         * include/netdb.h: Likewise for h_errno.
35699         * elf/tst-stackguard1.c: Include <tls.h>.
35701 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
35703         * elf/link.h (struct link_map): Extend the l_addr comment.
35704         * include/link.h (struct link_map): Likewise.
35706 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
35708         [BZ #13550]
35709         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35710         (BOUNDED_1): Remove macro.
35711         * debug/backtrace.c: Don't include <bp-checks.h>.
35712         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35713         (__backtrace): Likewise.
35714         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35715         <bp-checks.h>.
35716         (__backtrace): Don't use BOUNDED_1.
35717         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35718         <bp-checks.h>.
35719         (__backtrace): Don't use BOUNDED_1.
35720         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35721         (__backtrace): Don't use BOUNDED_1.
35722         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35723         (shmat): Don't use BOUNDED_N.
35725 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
35727         [BZ #13550]
35728         * sysdeps/generic/bp-start.h: Remove file.
35729         * csu/libc-start.c: Don't include <bp-start.h>.
35730         (LIBC_START_MAIN): Set up __environ directly instead of using
35731         INIT_ARGV_and_ENVIRON.
35732         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35733         <bp-start.h>.
35735         [BZ #13550]
35736         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35737         definitions.
35738         (CHECK_FCNTL): Likewise.
35739         (CHECK_N_PAGES): Likewise.
35741         [BZ #13550]
35742         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35743         definitions.
35744         (CHECK_SIGSET_NULL_OK): Likewise.
35745         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35746         <bp-checks.h>.
35747         (sigpending): Don't use CHECK_SIGSET.
35748         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35749         <bp-checks.h>.
35750         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35751         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35752         <bp-checks.h>.
35753         (do_sigsuspend): Don't use CHECK_SIGSET.
35754         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35755         use CHECK_SIGSET.
35756         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35757         (do_sigwait): Don't use CHECK_SIGSET.
35758         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35759         use CHECK_SIGSET.
35760         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35761         include <bp-checks.h>.
35762         (sigpending): Don't use CHECK_SIGSET.
35763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35764         include <bp-checks.h>.
35765         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35766         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35767         <bp-checks.h>.
35768         (sigpending): Don't use CHECK_SIGSET.
35769         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35770         <bp-checks.h>.
35771         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35773         [BZ #13550]
35774         * sysdeps/generic/bp-semctl.h: Remove file.
35775         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35776         <bp-checks.h> and <bp-semctl.h>.
35777         (__old_semctl): Don't use CHECK_SEMCTL.
35778         (__new_semctl): Likewise.
35779         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35780         and <bp-semctl.h>.
35781         (__old_semctl): Don't use CHECK_SEMCTL.
35782         (__new_semctl): Likewise.
35783         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35784         <bp-checks.h> and <bp-semctl.h>.
35785         (__old_semctl): Don't use CHECK_SEMCTL.
35786         (__new_semctl): Likewise.
35787         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35788         <bp-checks.h> and <bp-semctl.h>.
35789         (semctl): Don't use CHECK_SEMCTL.
35791         [BZ #13550]
35792         * Makerules (elide-bp-thunks): Remove variable.
35793         (elide-routines.oS): Don't use $(elide-bp-thunks).
35794         (elide-routines.os): Likewise.
35795         (elide-routines.o): Likewise.
35796         (elide-routines.op): Likewise.
35797         (elide-routines.og): Likewise.
35798         (objects): Don't use $(bp-thunks).
35799         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35800         include.
35801         (common-generated): Do not add s-proto-bp.d.
35802         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35803         (int): Likewise.
35804         (typ): Likewise.
35805         Do not generate makefile rules for bounded-pointer thunks.
35806         * sysdeps/generic/bp-thunks.h: Remove file.
35807         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35808         * sysdeps/unix/s-proto-bp.S: Likewise.
35810         [BZ #15062]
35811         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35812         parts of result separately when argument is not close to line from
35813         -i to i and one part of argument is small.
35814         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35815         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35816         * math/libm-test.inc (cacos_test): Add more tests.
35817         (casin_test): Likewise.
35818         (casinh_test): Likewise.
35819         * sysdeps/i386/fpu/libm-test-ulps: Update.
35820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35822 2013-01-31  David S. Miller  <davem@davemloft.net>
35824         * po/de.po: Update from translation team.
35826 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35828         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35830 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35832         * configure.in (_AC_PROG_CC_C89): New definition.
35833         * configure: Regenerate.
35835         * configure.in (AC_PROG_CPP): New definition.
35836         * configure: Regenerate.
35838 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35840         * debug/tst-backtrace.h: New file.
35841         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35842         (ret): Remove variable.
35843         (x): Likewise.
35844         (FAIL): Remove macro.
35845         (NO_INLINE): Likewise.
35846         (fn1): Use match function instead of strstr.
35847         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35848         (ret): Remove variable.
35849         (x): Likewise.
35850         (FAIL): Remove macro.
35851         (NO_INLINE): Likewise.
35852         (fn): Use match function instead of strstr.
35853         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35854         (ret): Remove variable.
35855         (x): Likewise.
35856         (FAIL): Remove macro.
35857         (NO_INLINE): Likewise.
35858         (handle_signal): Use match function instead of strstr.
35859         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35860         (ret): Remove variable.
35861         (x): Likewise.
35862         (FAIL): Remove macro.
35863         (NO_INLINE): Likewise.
35864         (handle_signal): Use match function instead of strstr.
35866 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35868         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35870 2013-01-23  David S. Miller  <davem@davemloft.net>
35872         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35873         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35874         argument of CAS if possible.
35875         * sysdeps/sparc/sparc64/bits/atomic.h
35876         (__arch_compare_and_exchange_val_32_acq): Likewise.
35877         (__arch_compare_and_exchange_val_64_acq): Likewise.
35879 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35881         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35882         * sysdeps/posix/ulimit.c: ... this.
35883         Include <limits.h>.
35884         * sysdeps/unix/bsd/ulimit.c: Remove file.
35886 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35888         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35889         (LDFLAGS-tst-array5): Likewise.
35891 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35893         [BZ #15036]
35894         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35895         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35896         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35897         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35899 2013-01-21  David S. Miller  <davem@davemloft.net>
35901         * sysdeps/sparc/backtrace.c: New file.
35902         * sysdeps/sparc/sparc32/backtrace.h: New file.
35903         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35904         * sysdeps/sparc/sparc64/backtrace.h: New file.
35905         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35906         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35907         -funwind-tables.
35909 2013-01-21  Andreas Schwab  <schwab@suse.de>
35911         [BZ #15020]
35912         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35913         closed its stdout.
35915 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35918         "mpa2.h".
35919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35921 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35922             Mark Mitchell  <mark@codesourcery.com>
35923             Tom de Vries  <tom@codesourcery.com>
35924             Paul Pluzhnikov  <ppluzhnikov@google.com>
35926         * debug/tst-backtrace2.c: New file.
35927         * debug/tst-backtrace3.c: Likewise.
35928         * debug/tst-backtrace4.c: Likewise.
35929         * debug/tst-backtrace5.c: Likewise.
35930         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35931         (CFLAGS-tst-backtrace3.c): Likewise.
35932         (CFLAGS-tst-backtrace4.c): Likewise.
35933         (CFLAGS-tst-backtrace5.c): Likewise.
35934         (LDFLAGS-tst-backtrace2): Likewise.
35935         (LDFLAGS-tst-backtrace3): Likewise.
35936         (LDFLAGS-tst-backtrace4): Likewise.
35937         (LDFLAGS-tst-backtrace5): Likewise.
35938         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35939         tst-backtrace4 and tst-backtrace5.
35941 2013-01-18  Anton Blanchard  <anton@samba.org>
35942             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35944         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35945         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35946         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35947         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35949         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35950         "+r" and remove output regs list as redundant.  Add explicit inline
35951         asm to specify register of return val to work around compiler codegen
35952         bug.  Remove (int) cast on return value.  Add return type parameter to
35953         use in macro so that this macro does not truncate return value for
35954         64-bit values.
35955         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35956         pass to INTERNAL_VSYSCALL_NCS.
35957         (INLINE_VSYSCALL): Add 'long int' as return type to
35958         INTERNAL_VSYSCALL_NCS macro invocation.
35959         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35960         INTERNAL_VSYSCALL_NCS macro invocation.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35963 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35965         [BZ #14496]
35966         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35967         Fix application of SIMD FP exception mask.
35969         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35970         mp_no from a power of two.
35971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35972         __mpexp_twomm1.  Use __pow_mp.
35974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35975         multiplication.
35977 2013-01-17  David S. Miller  <davem@davemloft.net>
35979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35981 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35983         [BZ #15023]
35984         * include/complex.h: Condition contents on [!_COMPLEX_H].
35985         (__kernel_casinhf): New prototype.
35986         (__kernel_casinh): Likewise.
35987         (__kernel_casinhl): Likewise.
35988         * math/Makefile (libm_calls): Add k_casinh.
35989         * math/k_casinh.c: New file.
35990         * math/k_casinhf.c: Likewise.
35991         * math/k_casinhl.c: Likewise.
35992         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35993         finite nonzero arguments.
35994         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35995         finite nonzero arguments.
35996         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35997         finite nonzero arguments.
35998         * math/s_casinh.c: Do not include <float.h>.
35999         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36000         * math/s_casinhf.c: Do not include <float.h>.
36001         (__casinhf): Move code for finite nonzero arguments to
36002         k_casinhf.c.
36003         * math/s_casinhl.c: Do not include <float.h>.
36004         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36005         redefine.
36006         (__casinhl): Move code for finite nonzero arguments to
36007         k_casinhl.c.
36008         * math/libm-test.inc (cacos_test): Add more tests.
36009         * sysdeps/i386/fpu/libm-test-ulps: Update.
36010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36012 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36014         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36015         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36016         [!HAVE_MREMAP]: Remove [defined linux] case.
36017         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36019 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36021         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36023 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36025         * elf/elf.h (R_386_SIZE32): New relocation.
36026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36027         R_386_SIZE32.
36028         (elf_machine_rela): Likewise.
36029         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36030         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36032 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36034         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36035         (FP_FAST_FMA): Do not define.
36036         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36037         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36038         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36039         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36040         !_SOFT_FLOAT]: Likewise.
36041         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36042         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36043         value.
36044         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36045         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36046         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36048         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36049         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36050         file.
36052 2013-01-16  Andreas Schwab  <schwab@suse.de>
36054         [BZ #14327]
36055         * include/stdlib.h (__mktemp): Add declaration.
36056         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36057         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36059 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36061         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36062         definitions.
36063         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36064         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36065         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36066         definitions here.
36067         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36068         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36069         definitions.
36070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36071         and ONE.
36072         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36073         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36074         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36075         definitions.
36076         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36077         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36078         definitions.
36079         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36081         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36083 2013-01-15  David S. Miller  <davem@davemloft.net>
36085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36086         trunc{,f} to libm-sysdep_routes.
36087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36089         file.
36090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36092         file.
36093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36094         file.
36095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36097         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36098         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36099         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36100         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36101         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36102         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36105         nearbyint{,f} to libm-sysdep_routes.
36106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36108         New file.
36109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36110         file.
36111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36112         New file.
36113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36114         file.
36115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36117         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36118         file.
36119         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36120         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36121         file.
36122         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36123         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36124         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36126         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36127         libc_feholdexcept and libc_fesetenv.
36129 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36131         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36133 2013-01-14  David S. Miller  <davem@davemloft.net>
36135         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36136         (SPARC_ASM_VIS2_IFUNC): Likewise.
36137         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36139         use of 'siam' instruction.
36140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36141         Likewise.
36142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36143         Likewise.
36144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36145         Likewise.
36146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36151         file.
36152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36153         file.
36154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36155         file.
36156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36157         file.
36158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36163         new VIS2 routines.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36167         Likewise.
36168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36173         routines to libm-sysdep_routines.
36174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36177         fdim/fdimf to libm-sysdep_routines.
36178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36179         file.
36180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36182         file.
36183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36186         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36187         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36188         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36189         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36191 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36194         to optimize copies.
36196         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36201         local variable MPTWO.
36202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36203         Likewise.
36205 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36207         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36208         GLOB_NOESCAPE.
36210 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36212         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36214 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36216         * manual/pattern.texi (glob_t): Document gl_flags.
36217         (glob64_t): Likewise.
36219 2013-01-11  David S. Miller  <davem@davemloft.net>
36221         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36222         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36223         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36224         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36225         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36226         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36227         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36228         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36229         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36230         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36231         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36232         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36233         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36235         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36236         sparc V9 rather than using V8 code.
36237         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36238         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36240         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36241         Move to...
36242         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36243         Here.
36245 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36247         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36248         not in the main loop.
36249         * configure: Regenerated.
36251 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36253         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36254         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36255         to just #else.
36256         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36257         [!__GLIBC_HAVE_LONG_LONG] case.
36258         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36259         condition to just #else.
36260         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36261         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36262         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36263         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36264         unconditional.
36265         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36266         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36267         #elif condition to just #else.
36268         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36269         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36270         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36271         #elif condition to just #else.
36273 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36275         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36276         (EF_MIPS_ARCH_64): Fix value.
36277         (EF_MIPS_ARCH_32R2): New.
36278         (EF_MIPS_ARCH_64R2): New.
36280 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36282         * Makeconfig (+link-pie-before-libc): New.
36283         (+link-pie-after-libc): Likewise.
36284         (+link-pie-tests): Likewise.
36285         (+link-pie): Rewritten.
36286         (link-before-libc): Remove $(config-LDFLAGS).
36287         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36288         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36289         (config-LDFLAGS): Renamed to ...
36290         (rtld-LDFLAGS): This.
36291         (rtld-tests-LDFLAGS): New macro.
36292         (link-libc-rpath-link): Likewise.
36293         (link-libc-tests-rpath-link): Likewise.
36294         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36295         (link-libc): Prepand $(link-libc-rpath-link).
36296         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36297         (test-program-prefix): New macro.
36298         (test-via-rtld-prefix): Likewise.
36299         (test-program-cmd): Likewise.
36300         (host-test-program-cmd): Likewise.
36301         * Makefile ($(common-objpfx)testrun.sh): Replace
36302         $(run-program-prefix) with $(test-program-prefix).
36303         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36304         $(rtld-LDFLAGS).
36305         ($(common-objpfx)shlib.lds): Likewise.
36306         (build-module-helper): Likewise.
36307         ($(common-objpfx)format.lds): Likewise.
36308         * Rules (binaries-pie-tests): New.
36309         (binaries-pie-notests): Likewise.
36310         (binaries-pie): Rewritten.
36311         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36312         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36313         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36314         (make-test-out): Replace $(host-built-program-cmd) with
36315         $(host-test-program-cmd).
36316         * config.make.in (build-hardcoded-path-in-tests): New variable.
36317         * configure.in (--enable-hardcoded-path-in-tests): New configure
36318         option.
36319         (hardcoded_path_in_tests): New AC_SUBST.
36320         * configure: Regenerated.
36321         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36322         $(built-program-cmd) with $(test-program-cmd).
36323         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36324         (test_program_cmd): This.
36325         * elf/Makefile ($(objpfx)order.out): Run test with
36326         $(test-program-prefix).
36327         ($(objpfx)order2.out): Likewise.
36328         ($(objpfx)tst-initorder.out): Likewise.
36329         ($(objpfx)tst-initorder2.out): Likewise.
36330         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36331         $(test-program-cmd).
36332         ($(objpfx)tst-array1-static.out): Likewise.
36333         ($(objpfx)tst-array2.out): Likewise.
36334         ($(objpfx)tst-array3.out): Likewise.
36335         ($(objpfx)tst-array4.out): Likewise.
36336         ($(objpfx)tst-array5.out): Likewise.
36337         ($(objpfx)tst-array5-static.out): Likewise.
36338         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36339         $(test-program-cmd).
36340         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36341         $(run-program-prefix) with $(test-program-prefix).
36342         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36343         (test_program_prefix): This.
36344         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36345         $(run-program-prefix) with $(test-program-prefix).
36346         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36347         (test_program_prefix): This.
36348         * iconvdata/tst-tables.sh: Likewise.
36349         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36350         $(run-program-prefix) with $(test-program-prefix).
36351         ($(objpfx)tst-translit.out): Likewise.
36352         ($(objpfx)tst-gettext2.out): Likewise.
36353         ($(objpfx)tst-gettext4.out): Likewise.
36354         ($(objpfx)tst-gettext6.out): Likewise.
36355         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36356         (test_program_prefix): This.
36357         * intl/tst-gettext2.sh: Likewise.
36358         * intl/tst-gettext4.sh  Likewise.
36359         * intl/tst-gettext6.sh: Likewise.
36360         * intl/tst-translit.sh: Likewise.
36361         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36362         with $(test-program-cmd).
36363         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36364         $(run-program-prefix) with $(test-program-prefix).
36365         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36366         (test_program_prefix): This.
36367         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36368         $(run-program-prefix) with $(test-program-prefix).
36369         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36370         (test_program_prefix): This.
36371         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36372         * posix/Makefile ($(objpfx)globtest.out): Replace
36373         $(run-via-rtld-prefix) and $(test-wrapper) with
36374         $(test-program-prefix) and $(test-via-rtld-prefix).
36375         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36376         $(test-program-prefix).
36377         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36378         $(host-test-program-cmd).
36379         (tst-spawn-ARGS): Likewise.
36380         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36381         $(test-program-prefix).
36382         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36383         (test_via_rtld_prefix): This.
36384         (test_wrapper): Renamed to ...
36385         (test_program_prefix): This.
36386         (run_program_prefix): Replaced by test_program_prefix.
36387         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36388         (test_program_prefix): This.
36389         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36390         with $(host-test-program-cmd).
36391         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36392         $(run-program-prefix) with $(test-program-prefix).
36393         ($(objpfx)tst-printf.out): Likewise.
36394         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36395         $(test-program-cmd).
36396         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36397         (test_program_prefix): This.
36398         * stdio-common/tst-unbputc.sh: Likewise.
36399         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36400         $(run-program-prefix) with $(test-program-prefix).
36401         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36402         (test_program_prefix): This.
36403         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36404         $(built-program-cmd) with $(test-program-cmd).
36406 2013-01-11  Andreas Jaeger  <aj@suse.de>
36408         [BZ #15003]
36409         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36410         value. Sync with Linux 3.7.
36412 2013-01-10  David S. Miller  <davem@davemloft.net>
36414         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36415         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36416         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36418 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36420         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36421         never set.
36422         * configure: Regenerated.
36424 2013-01-10  David S. Miller  <davem@davemloft.net>
36426         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36427         sparc V9 rather than using V8 code.
36428         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36429         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36431 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36433         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36434         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36435         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36436         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36437         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36438         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36439         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36440         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36441         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36442         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36443         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36444         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36445         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36446         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36447         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36448         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36449         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36450         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36451         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36452         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36453         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36454         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36455         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36456         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36457         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36458         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36459         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36461 2013-01-10  David S. Miller  <davem@davemloft.net>
36463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36465 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36467         * posix/Makefile (tests-static): New variable.
36468         (tests): Add $(tests-static).
36469         (tst-exec-static-ARGS): New variable.
36470         (tst-spawn-static-ARGS): Likewise.
36471         * posix/tst-exec-static.c: New file.
36472         * posix/tst-spawn-static.c: Likewise.
36473         * posix/tst-exec.c: Support run directly.
36474         * posix/tst-spawn.c: Likewise.
36476 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36478         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36479         long.
36480         * math/bits/mathcalls.h (llrint): Likewise.
36481         (llround): Likewise.
36482         * stdlib/stdlib.h (struct drand48_data): Likewise.
36483         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36484         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36485         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36486         Likewise.
36487         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36488         Likewise.
36489         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36490         (elf_greg_t): Likewise.
36491         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36492         (__jmp_buf): Likewise.
36493         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36494         definitions.
36495         (llrint): Likewise, for all definitions.
36496         (llrintl): Likewise.
36498         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36499         Remove [__GNUC__] condition.
36500         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36501         condition to just [__USE_ISOC99].
36502         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36504 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36506         [BZ #14200]
36507         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36508         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36509         defined.
36510         (_POSIX_V6_ILP32_OFF32): Likewise.
36511         (_XBS5_ILP32_OFF32): Likewise.
36512         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36513         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36515 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36517         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36520         doubles __mpexp_twomm1.  Adjust usage.
36521         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36522         Remove.
36524 2013-01-10  Andreas Schwab  <schwab@suse.de>
36526         [BZ #14964]
36527         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36528         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36530 2013-01-09  David S. Miller  <davem@davemloft.net>
36532         [BZ #15003]
36533         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36534         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36535         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36536         (TCP_FASTOPEN): Define.
36537         (tcp_repair_opt): New structure.
36538         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36539         enum values.
36540         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36541         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36542         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36543         (tcp_cookie_transactions): New structure.
36545 2013-01-09  Anton Blanchard  <anton@samba.org>
36547         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36548         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36549         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36550         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36552 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
36554         * include/features.h (__USE_ANSI): Remove.
36556 2013-01-09  Roland McGrath  <roland@hack.frob.com>
36558         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36560         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36562 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36564         * sysdeps/s390/fpu/libm-test-ulps: Update.
36566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36568         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36569         (__acr): Likewise.
36570         (__cpy): Likewise.
36571         (norm): Likewise.
36572         (denorm): Likewise.
36573         (__mp_dbl): Likewise.
36574         (__dbl_mp): Likewise.
36575         (add_magnitudes): Likewise.
36576         (sub_magnitudes): Likewise.
36577         (__add): Likewise.
36578         (__sub): Likewise.
36579         (__mul): Likewise.
36580         (__inv): Likewise.
36581         (__dvd): Likewise.
36582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36583         (__acr): Likewise.
36584         (__cpy): Likewise.
36585         (norm): Likewise.
36586         (denorm): Likewise.
36587         (__mp_dbl): Likewise.
36588         (__dbl_mp): Likewise.
36589         (add_magnitudes): Likewise.
36590         (sub_magnitudes): Likewise.
36591         (__add): Likewise.
36592         (__sub): Likewise.
36593         (__mul): Likewise.
36594         (__inv): Likewise.
36595         (__dvd): Likewise.
36596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36597         (__acr): Likewise.
36598         (__cpy): Likewise.
36599         (norm): Likewise.
36600         (denorm): Likewise.
36601         (__mp_dbl): Likewise.
36602         (__dbl_mp): Likewise.
36603         (add_magnitudes): Likewise.
36604         (sub_magnitudes): Likewise.
36605         (__add): Likewise.
36606         (__sub): Likewise.
36607         (__mul): Likewise.
36608         (__inv): Likewise.
36609         (__dvd): Likewise.
36611 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
36613         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36614         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36615         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36616         2 && __USE_EXTERN_INLINES]: Likewise.
36618 2013-01-08  Andreas Jaeger  <aj@suse.de>
36620         [BZ# 14985]
36621         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36622         Remove.
36623         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36624         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36626 2013-01-07  Anton Blanchard  <anton@samba.org>
36628         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36629         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36630         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36631         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36632         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36633         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36634         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36635         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36637         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36638         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36639         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36641         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36642         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36643         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36644         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36645         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36646         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36647         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36648         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36649         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36650         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36651         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36652         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36653         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36654         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36655         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36656         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36657         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36658         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36660         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36661         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36662         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36663         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36664         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36665         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36666         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36667         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36668         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36669         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36670         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36672 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
36674         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36675         (__MALLOC_PMT): Likewise.
36676         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36677         [__GNUC__], only on [_LIBC].
36678         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36679         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36680         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36681         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36682         forward declaration.
36683         (realloc_hook_ini): Likewise.
36684         (memalign_hook_ini): Likewise.
36685         (__libc_memalign): Do not use __MALLOC_PMT in variable
36686         declaration.
36687         (__libc_valloc): Likewise.
36688         (__libc_pvalloc): Likewise.
36689         (__libc_calloc): Likewise.
36690         (__posix_memalign): Likewise.
36692         [BZ #14996]
36693         * math/s_casinh.c: Include <float.h>.
36694         (__casinh): Do not do computation with squaring and square root
36695         for large arguments.
36696         * math/s_casinhf.c: Include <float.h>.
36697         (__casinhf): Do not do computation with squaring and square root
36698         for large arguments.
36699         * math/s_casinhl.c: Include <float.h>.
36700         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36701         (__casinhl): Do not do computation with squaring and square root
36702         for large arguments.
36703         * math/libm-test.inc (casin_test): Add more tests.
36704         (casinh_test): Likewise.
36705         * sysdeps/i386/fpu/libm-test-ulps: Update.
36706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36708 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
36710         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36711         (__x86_64_raw_data_cache_size): Likewise.
36712         (__x86_64_data_cache_size_half): Likewise.
36713         (__x86_64_raw_data_cache_size_half): Likewise.
36714         (__x86_64_shared_cache_size): Likewise.
36715         (__x86_64_raw_shared_cache_size): Likewise.
36716         (__x86_64_shared_cache_size_half): Likewise.
36717         (__x86_64_raw_shared_cache_size_half): Likewise.
36718         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36719         to ...
36720         (__x86_data_cache_size): This.
36721         (__x86_64_raw_data_cache_size): Renamed to ...
36722         (__x86_raw_data_cache_size): This.
36723         (__x86_64_data_cache_size_half): Renamed to ...
36724         (__x86_data_cache_size_half): This.
36725         (__x86_64_raw_data_cache_size_half): Renamed to ...
36726         (__x86_raw_data_cache_size_half): This.
36727         (__x86_64_shared_cache_size): Renamed to ...
36728         (__x86_shared_cache_size): This.
36729         (__x86_64_raw_shared_cache_size): Renamed to ...
36730         (__x86_raw_shared_cache_size): This.
36731         (__x86_64_shared_cache_size_half): Renamed to ...
36732         (__x86_shared_cache_size_half): This.
36733         (__x86_64_raw_shared_cache_size_half): Renamed to ...
36734         (__x86_raw_shared_cache_size_half): This.
36735         * sysdeps/x86_64/memcpy.S: Updated.
36736         * sysdeps/x86_64/memset.S: Likewise.
36737         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36738         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36739         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36741 2013-01-04  David S. Miller  <davem@davemloft.net>
36743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36745 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
36747         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36748         1 to avoid redefinition warning.
36749         (__USE_GNU): Don't define.
36750         (init_signaling_nan): Protoize.
36752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36754 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36756         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36758         (__cpymn): Likewise.
36759         (norm): Remove commented code.
36760         (denorm): Likewise.
36761         (__mp_dbl): Likewise.
36762         (__inv): Likewise.
36763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36764         (__cpymn): Likewise.
36765         (norm): Remove commented code.
36766         (denorm): Likewise.
36767         (__mp_dbl): Likewise.
36768         (__inv): Likewise.
36770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36771         mp_no value for 1.0 and 2.0.
36772         (norm): Use RADIXI instead of radixi.d.
36773         (denorm): Likewise.
36774         (__mul): Use 0.0 instead of zero.d.
36775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36776         mp_no value for 1.0 and 2.0.
36777         (norm): Use RADIXI instead of radixi.d.
36778         (denorm): Likewise.
36779         (__mul): Use 0.0 instead of zero.d.
36781 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #14994]
36784         * math/s_casinh.c (__casinh): Reduce finite argument to first
36785         quadrant then set signs of results at the end.
36786         * math/s_casinhf.c (__casinhf): Likewise.
36787         * math/s_casinhl.c (__casinhl): Likewise.
36788         * math/libm-test.inc (casin_test): Add more tests.
36789         (casinh_test): Likewise.
36790         * sysdeps/i386/fpu/libm-test-ulps: Update.
36791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36793 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36795         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36797         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36799         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36800         declarations.
36801         (denorm): Likewise.
36802         (__mp_dbl): Likewise.
36803         (__inv): Likewise.
36805         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36806         and adjust the header comment.
36808         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36809         variable name from declaration.
36811 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36814         Initialize COMMON_CPUID_INDEX_7 element.
36815         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36816         (CPUID_RTM): Likewise.
36817         (HAS_RTM): Likewise.
36818         (COMMON_CPUID_INDEX_7): New enum.
36820 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36822         [BZ #14981]
36823         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36824         size is zero, record memory as freed.
36826 2013-01-03  Andreas Jaeger  <aj@suse.de>
36828         * po/ia.po: Add new Interlingua translation.
36830 2012-01-03  Allan McRae  <allan@archlinux.org>
36832         * locale/programs/localedef.c: Fix description of '--posix' flag.
36834 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36836         * NEWS: Update dates in second copyright notice.
36837         * README: Update copyright dates in example.
36838         * manual/libc.texinfo: Update copyright dates.
36839         * scripts/test-installation.pl: Update copyright date in --version
36840         output.
36842         * hurd/ctty-input.c: Fix copyright notice formatting.
36843         * hurd/ctty-output.c: Likewise.
36844         * hurd/dtable.c: Likewise.
36845         * hurd/hurd-raise.c: Likewise.
36846         * hurd/hurdprio.c: Likewise.
36847         * hurd/msgportdemux.c: Likewise.
36848         * misc/sys/file.h: Likewise.
36849         * misc/sys/ioctl.h: Likewise.
36850         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36851         * sysdeps/mach/hurd/chdir.c: Likewise.
36852         * sysdeps/mach/hurd/fchdir.c: Likewise.
36853         * sysdeps/mach/hurd/rename.c: Likewise.
36854         * sysdeps/mach/hurd/rmdir.c: Likewise.
36855         * sysdeps/mach/hurd/seekdir.c: Likewise.
36856         * sysdeps/mach/hurd/setsid.c: Likewise.
36857         * sysdeps/posix/wait3.c: Likewise.
36859         * All files with FSF copyright notices: Update copyright dates
36860         using scripts/update-copyrights.
36861         * intl/plural.c: Regenerated.
36862         * locale/programs/charmap-kw.h: Likewise.
36863         * locale/programs/locfile-kw.h: Likewise.
36865 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36867         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36868         four values.
36870         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36871         calculation loop and add branch prediction.
36873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36874         check access beyond bounds of m1np.
36876         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36877         MPTWO.
36878         (__inv): Remove local variable MPTWO to use the global
36879         constant.
36880         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36881         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36882         variable MPTWO.
36883         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36884         MP3HALFS static const.
36886 2013-01-01  David S. Miller  <davem@davemloft.net>
36888         * po/ca.po: Update from translation team.
36890 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36892         * scripts/update-copyrights: New file.
36893         * Makeconfig: Reformat copyright notice.
36894         * ctype/ctype.h: Likewise.
36895         * debug/swprintf_chk.c: Likewise.
36896         * elf/dl-cache.c: Likewise.
36897         * elf/dl-debug.c: Likewise.
36898         * elf/dl-object.c: Likewise.
36899         * grp/initgroups.c: Likewise.
36900         * hurd/Makefile: Likewise.
36901         * hurd/hurd/signal.h: Likewise.
36902         * hurd/hurdfault.c: Likewise.
36903         * hurd/hurdioctl.c: Likewise.
36904         * hurd/hurdlookup.c: Likewise.
36905         * hurd/intr-msg.c: Likewise.
36906         * iconv/gconv_open.c: Likewise.
36907         * libio/swprintf.c: Likewise.
36908         * locale/lc-ctype.c: Likewise.
36909         * locale/nl_langinfo.c: Likewise.
36910         * mach/Machrules: Likewise.
36911         * mach/Makefile: Likewise.
36912         * malloc/obstack.h: Likewise.
36913         * manual/Makefile: Likewise.
36914         * manual/tsort.awk: Likewise.
36915         * misc/bits/stab.def: Likewise.
36916         * nis/nis_print_group_entry.c: Likewise.
36917         * nis/nis_table.c: Likewise.
36918         * nis/nss_compat/compat-pwd.c: Likewise.
36919         * nis/nss_compat/compat-spwd.c: Likewise.
36920         * po/Makefile: Likewise.
36921         * posix/fnmatch.c: Likewise.
36922         * posix/regex.h: Likewise.
36923         * resolv/Makefile: Likewise.
36924         * resolv/nss_dns/dns-network.c: Likewise.
36925         * resolv/res_hconf.c: Likewise.
36926         * scripts/gen-sorted.awk: Likewise.
36927         * soft-fp/soft-fp.h: Likewise.
36928         * stdio-common/printf.h: Likewise.
36929         * stdlib/monetary.h: Likewise.
36930         * stdlib/random.c: Likewise.
36931         * stdlib/random_r.c: Likewise.
36932         * sysdeps/generic/Makefile: Likewise.
36933         * sysdeps/gnu/Makefile: Likewise.
36934         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36935         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36936         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36937         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36941         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36942         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36943         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36944         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36945         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36946         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36947         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36948         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36949         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36950         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36951         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36952         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36953         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36954         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36955         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36956         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36957         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36958         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36959         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36960         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36961         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36962         * sysdeps/mach/hurd/errnos.awk: Likewise.
36963         * sysdeps/mach/hurd/fork.c: Likewise.
36964         * sysdeps/mach/hurd/getcwd.c: Likewise.
36965         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36966         * sysdeps/mach/hurd/mmap.c: Likewise.
36967         * sysdeps/mach/hurd/utimes.c: Likewise.
36968         * sysdeps/mach/hurd/xmknod.c: Likewise.
36969         * sysdeps/posix/profil.c: Likewise.
36970         * sysdeps/posix/readdir_r.c: Likewise.
36971         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36972         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36973         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36974         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36976         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36977         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36978         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36980         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36981         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36982         * sysdeps/pthread/lio_listio.c: Likewise.
36983         * sysdeps/sparc/dl-procinfo.h: Likewise.
36984         * sysdeps/unix/i386/sysdep.S: Likewise.
36985         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36986         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36987         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36988         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36990         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36991         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36992         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36993         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36994         * sysdeps/wordsize-32/divdi3.c: Likewise.
36995         * time/sys/time.h: Likewise.
36996         * wcsmbs/Makefile: Likewise.
36998 2013-01-01  David S. Miller  <davem@davemloft.net>
37000         * po/fr.po: Update from translation team.
37002         * catgets/gencat.c: Update copyright year.
37003         * csu/version.c: Likewise.
37004         * debug/catchsegv.sh: Likewise.
37005         * debug/pcprofiledump.c: Likewise.
37006         * debug/xtrace.sh: Likewise.
37007         * elf/ldconfig.c: Likewise.
37008         * elf/ldd.bash.in: Likewise.
37009         * elf/pldd.c: Likewise.
37010         * elf/sotruss.ksh: Likewise.
37011         * elf/sprof.c: Likewise.
37012         * iconv/iconv_prog.c: Likewise.
37013         * iconv/iconvconfig.c: Likewise.
37014         * locale/programs/locale.c: Likewise.
37015         * locale/programs/localedef.c: Likewise.
37016         * login/programs/pt_chown.c: Likewise.
37017         * malloc/memusage.sh: Likewise.
37018         * malloc/memusagestat.c: Likewise.
37019         * malloc/mtrace.pl: Likewise.
37020         * nscd/nscd.c: Likewise.
37021         * nss/getent.c: Likewise.
37022         * nss/makedb.c: Likewise.
37023         * posix/getconf.c: Likewise.
37025 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37027         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37028         numbers.
37030 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37032         * math/bits/mathcalls.h (modf): Use __nonnull.
37034 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37036         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37037         (split): Use macro CN instead of the bare value.
37038         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37039         could be used.
37040         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37041         instead of the bare value.
37042         (power1): Likewise.
37044 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37046         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37047         __ATAN_TWOM.
37048         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37050         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37051         their values.
37052         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37053         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37054         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37055         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37057 2012-12-28  Andreas Jaeger  <aj@suse.de>
37059         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37060         values are from Linux 3.7.
37062         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37063         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37065 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37067         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37068         TRUE case.
37070         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37071         (norm): Likewise.
37072         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37073         variables with preprocessor constants.
37074         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37075         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37076         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37078 2012-12-27  Bruno Haible  <bruno@clisp.org>
37080         [BZ #14317]
37081         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37082         only if needed.
37084 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37087         and use variable directly.
37088         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37090         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37091         MPONE.
37092         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37093         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37094         variable MPONE.
37095         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37097         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37098         include directive.  Remove local variable MPONE.
37099         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37100         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37101         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37103 2012-12-25  David S. Miller  <davem@davemloft.net>
37105         * version.h (RELEASE): Set to "development".
37106         (VERSION): Set to "2.17.90".
37107         * NEWS: Add 2.18 section.
37109 2012-12-21  David S. Miller  <davem@davemloft.net>
37111         * po/hr.po: Update from translation team.
37113 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37115         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37117 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37119         * NEWS:  Mention new memcpy for MIPS.
37121 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37123         * manual/contrib.texi (Contributors): Spelling correction.
37125 2012-12-15  David S. Miller  <davem@davemloft.net>
37127         * po/ru.po: Update from translation team.
37129 2012-12-13  David S. Miller  <davem@davemloft.net>
37131         * NEWS: Mention IFUNC testsuite enhancements.
37133         * po/pl.po: Update from translation team.
37134         * po/bg.po: Likewise.
37136         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37137         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37139 2012-12-11  David S. Miller  <davem@davemloft.net>
37141         * po/sv.po: Update from translation team.
37143         * po/vi.po: Update from translation team.
37145         * po/cs.po: Update from translation team.
37147         * po/de.po: Update from translation team.
37148         * po/eo.po: Likewise.
37149         * po/nl.po: Likewise.
37151 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37153         [BZ #14246]
37154         * manual/argp.texi (Argp Helper Functions): Move node to follow
37155         Argp Parsing State.
37157         [BZ #14872]
37158         * manual/conf.texi (Limits on File System Capacity): Mention if
37159         terminating null is included in the max size.
37161 2012-12-10  Andreas Jaeger  <aj@suse.de>
37163         * po/cs.po: Update from translation team.
37165 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37167         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37168         void pointer and cast to uintptr_t.
37169         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37170         path.
37171         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37172         * sysdeps/s390/s390-64/memset.S: Likewise.
37174 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37176         [BZ #14833]
37177         * menual/message.texi (Message Translation): Fix typos.
37178         (Helper programs for gettext): Likewise.
37180 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37182         [BZ #14898]
37183         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37184         Change to -1.
37186 2012-12-07  David S. Miller  <davem@davemloft.net>
37188         * po/libc.pot: Update.
37190 2012-12-07  Richard Henderson  <rth@redhat.com>
37192         [BZ #10114]
37193         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37194         normal/normal case to before the switch.
37195         (_FP_DIV): Likewise.
37197 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37198             Mike Frysinger  <vapier@gentoo.org>
37200         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37201         check for __NR_fadvise64_64.
37203 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37205         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37206         0, not just to plain "0" as a statement.
37207         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37208         with cw.
37210 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37212         * NEWS: Use sourceware.org in Bugzilla URL.
37214 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37217         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37219         * stdio-common/tst-put-error.c (do_test): Add newline to the
37220         padded test to ensure flush.
37222 2012-12-05  Jeff Law  <law@redhat.com>
37224         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37226 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37228         * README: Don't refer to ports add-on as distributed separately.
37229         Mention AArch64 in list of systems supported in the ports add-on.
37231         * LICENSES: Add more non-FSF copyright and license notices.
37233         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37234         ((unused)).
37236         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37238         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37239         10000 as width of padded output.
37241 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37243         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37245         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37246         variable LX with __attribute__ ((unused)).
37247         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37248         Likewise.
37249         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37250         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37251         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37252         with __attribute__ ((unused)).
37254 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37256         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37258 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37260         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37261         (CFLAGS-nldbl-acos.c): New variable.
37262         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37263         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37264         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37265         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37266         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37267         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37268         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37269         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37270         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37271         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37272         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37273         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37274         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37275         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37276         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37277         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37278         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37279         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37280         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37281         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37282         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37283         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37284         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37285         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37286         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37287         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37288         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37289         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37290         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37291         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37292         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37293         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37294         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37295         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37296         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37297         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37298         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37299         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37300         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37301         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37302         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37303         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37304         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37305         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37306         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37307         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37308         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37309         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37310         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37311         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37312         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37313         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37314         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37315         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37316         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37317         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37318         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37319         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37320         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37321         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37322         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37323         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37324         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37325         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37326         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37327         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37328         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37329         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37330         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37331         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37332         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37333         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37334         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37335         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37336         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37337         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37338         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37339         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37340         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37341         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37342         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37343         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37344         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37345         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37346         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37347         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37348         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37349         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37350         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37351         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37352         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37353         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37354         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37355         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37356         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37357         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37358         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37361         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37363         [BZ #14914]
37364         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37365         whole low double instead of just low 47 bits when splitting values
37366         into two parts.
37368 2012-12-03  Allan McRae  <allan@archlinux.org>
37370         * manual/stdio.texi (Predefined Printf Handlers): Remove
37371         @hsep and @vsep usage.
37373 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37375         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37376         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37378 2012-12-03  Jeff Law  <law@redhat.com>
37380         * time/sys/time.h (settimeofday): Do not mark TV argument
37381         as __nonnull.
37383 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37385         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37386         when currently writing and seek to current position when not.
37387         * libio/Makefile (tests): Remove bug-fclose1.
37388         * libio/bug-fclose1.c: Delete.
37390 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37392         * manual/arith.texi (feenableexcept): Fix typo.
37393         (fedisableexcept): Likewise.
37395 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37397         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37398         second, differently-typed declaration, rather than a cast.
37400 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37402         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37403         * include/rpc/svc.h: ... here.
37405 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37407         [BZ #13013]
37408         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37409         depending n and resplen2 to catch cases where answer
37410         equals answerp2.
37412 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37414         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37415         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37417 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37421 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37423         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37425 2012-11-28  Jeff Law  <law@redhat.com>
37427         [BZ #13761]
37428         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37429         dataset_temporary.  Track alloca usage into alloca_used.
37430         If dataset is large allocate and release it via malloc/free.
37432 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37434         [BZ #14197]
37435         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37437 2012-11-28  David S. Miller  <davem@davemloft.net>
37439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37441 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37443         [BZ #14803]
37444         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37445         of pi/2 rounded to nearest to 64 bits.
37446         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37447         nearest to 64 bits.
37448         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37449         bits.
37451 2012-11-28  Jeff Law <law@redhat.com>
37452             Martin Osvald <mosvald@redhat.com>
37454         [BZ #14889]
37455         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37456         * sunrpc/svc.c: Include time.h.
37457         (__svc_accept_failed): New function.
37458         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37459         any reason other than EINTR, call __svc_accept_failed.
37460         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37461         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37463 2012-11-28  Andreas Schwab  <schwab@suse.de>
37465         * scripts/abilist.awk: Also handle indirect functions in .opd
37466         section.
37468 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37470         [BZ #13881]
37471         * sysdeps/x86/fpu/powl_helper.c: New file.
37472         * sysdeps/x86/fpu/Makefile: Likewise.
37473         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37474         (p3): New object.
37475         (__ieee754_powl): Use __powl_helper for finite arguments except
37476         integer exponents below 8.
37477         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37478         (p3): New object.
37479         (__ieee754_powl): Use __powl_helper for finite arguments except
37480         integer exponents below 8.
37481         * math/libm-test.inc (pow_test): Add more tests and enable some
37482         previously disabled tests.
37483         * sysdeps/i386/fpu/libm-test-ulps: Update.
37484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37486 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37487             Carlos O'Donell  <carlos_odonell@mentor.com>
37489         * nss/makedb.c (is_prime): Assert that input is odd and greater
37490         than 4.  Note that fact in a comment too.
37491         (next_prime): Add 4 to input.
37493 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37495         [BZ #11741]
37496         * libio/Makefile (tests): Add test case tst-fwrite-error.
37497         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37498         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37499         * libio/tst-fwrite-error.c: New test case.
37501 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37503         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37504         before casting to void *.
37505         * include/libc-internal.h (__pointer_type): New macro.
37506         (__integer_if_pointer_type_sub): Likewise.
37507         (__integer_if_pointer_type): Likewise.
37508         (cast_to_integer): Likewise.
37509         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37510         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37511         before casting to atomic64_t.
37512         (atomic_exchange_acq): Likewise.
37513         (__arch_exchange_and_add_body): Likewise.
37514         (__arch_add_body): Likewise.
37515         (atomic_add_negative): Likewise.
37516         (atomic_add_zero): Likewise.
37518 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37520         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37521         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37522         (add_fdes): Likewise.
37523         (linear_search_fdes): Likewise.
37524         (binary_search_unencoded_fdes): Likewise.
37526 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37528         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37530 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37532         * configure.in: Autodetect C++ header directories.
37533         * configure: Regenerated.
37535 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37537         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37539 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37543 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37545         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37546         LDBL_MANT_DIG == 106]: Disable some tests.
37547         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37548         Likewise.
37549         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37550         Likewise.
37552         [BZ #14871]
37553         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37554         input for small inputs.  Return +/- pi/2 for large inputs.
37555         * math/libm-test.inc (atan_test): Add more tests.
37557         * sysdeps/generic/unwind-dw2-fde-glibc.c
37558         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37559         __attribute__ ((unused)).
37561         [BZ #14645]
37562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37563         x * y if x and y are nonzero and z is zero.
37565         [BZ #14811]
37566         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37567         nonzero exponents with absolute value below 0x1p-117 to +/-
37568         0x1p-117.
37570         [BZ #14869]
37571         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37572         up arguments below 2**-450, not just those below 2**-500.
37573         * math/libm-test.inc (hypot_test): Add another test.
37575         [BZ #14868]
37576         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37577         Return a+b for ratio over 2**120, not 2**60.
37578         * math/libm-test.inc (hypot_test): Add another test.
37580         * math/libm-test.inc (clog_test): Use
37581         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37582         (clog10_test): Likewise.
37584         [BZ #6778]
37585         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37587 2012-11-22  Andreas Schwab  <schwab@suse.de>
37589         * sysdeps/i386/fpu/libm-test-ulps: Update.
37591 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
37593         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37594         printf output with newline.
37596 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
37598         [BZ #14865]
37599         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37600         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37601         -z nodlopen, -z initfirst and -z execstack support.
37602         * configure: Regenerated.
37604         * elf/elf.h (DF_1_NODIRECT): New macro.
37605         (DF_1_IGNMULDEF): Likewise.
37606         (DF_1_NOKSYMS): Likewise.
37607         (DF_1_NOHDR): Likewise.
37608         (DF_1_EDITED): Likewise.
37609         (DF_1_NORELOC): Likewise.
37610         (DF_1_SYMINTPOSE): Likewise.
37611         (DF_1_GLOBAUDIT): Likewise.
37612         (DF_1_SINGLETON): Likewise.
37613         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37614         DT_1_SUPPORTED_MASK bits.
37615         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37617 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
37619         * sysdeps/unix/make-syscalls.sh: Document prefixes.
37621 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
37623         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37624         macro.
37626         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37627         (sendmmsg): Move declarations...
37628         * socket/sys/socket.h: ... here.
37629         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37630         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37631         include it from...
37632         * socket/recvmmsg.c: ... this new file.
37633         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37634         (sendmmsg): Rename to __sendmmsg, create weak alias and make
37635         definition of __sendmmsg hidden.
37636         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37637         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37638         Move ENOSYS stub into and include it from...
37639         * socket/sendmmsg.c: ... this new file.
37640         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37641         (sysdep_routines): Move recvmmsg and sendmmsg...
37642         * socket/Makefile (routines): ... here.
37643         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37644         (GLIBC_PRIVATE): Add __sendmmsg.
37645         * include/sys/socket.h (__sendmmsg): Add declarations.
37646         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37647         sendmmsg.
37649 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
37651         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37652         variable I1 with __attribute__ ((unused)).
37653         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37655 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37657         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37658         DUMMY variables with __attribute__ ((unused)).
37660         * bits/byteswap.h: Include <bits/types.h>.
37661         (__bswap_64): Use __uint64_t instead of unsigned long long int.
37663 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37665         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37666         string_t.  Do not manually set errno.
37667         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37668         length with __strnlen.  Make sure to both set errno and return it on
37669         failure.
37671 2012-11-19  David S. Miller  <davem@davemloft.net>
37673         With help from Joseph Myers.
37674         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37675         very large arguments properly.
37676         * math/libm-test.inc (atan_test): New tests.
37677         (atan2_test): New tests.
37678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37681 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37683         [BZ #14856]
37684         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37685         Define to 3.
37687         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37688         [POSIX] (EADDRNOTAVAIL): Likewise.
37689         [POSIX] (EAFNOSUPPORT): Likewise.
37690         [POSIX] (EALREADY): Likewise.
37691         [POSIX] (ECONNABORTED): Likewise.
37692         [POSIX] (ECONNREFUSED): Likewise.
37693         [POSIX] (ECONNRESET): Likewise.
37694         [POSIX] (EDESTADDRREQ): Likewise.
37695         [POSIX] (EDQUOT): Likewise.
37696         [POSIX] (EHOSTUNREACH): Likewise.
37697         [POSIX] (EIDRM): Likewise.
37698         [POSIX] (EISCONN): Likewise.
37699         [POSIX] (ELOOP): Likewise.
37700         [POSIX] (EMULTIHOP): Likewise.
37701         [POSIX] (ENETDOWN): Likewise.
37702         [POSIX] (ENETUNREACH): Likewise.
37703         [POSIX] (ENOBUFS): Likewise.
37704         [POSIX] (ENODATA): Likewise.
37705         [POSIX] (ENOLINK): Likewise.
37706         [POSIX] (ENOMSG): Likewise.
37707         [POSIX] (ENOPROTOOPT): Likewise.
37708         [POSIX] (ENOSR): Likewise.
37709         [POSIX] (ENOSTR): Likewise.
37710         [POSIX] (ENOTCONN): Likewise.
37711         [POSIX] (ENOTSOCK): Likewise.
37712         [POSIX] (EOPNOTSUPP): Likewise.
37713         [POSIX] (EOVERFLOW): Likewise.
37714         [POSIX] (EPROTO): Likewise.
37715         [POSIX] (EPROTONOSUPPORT): Likewise.
37716         [POSIX] (EPROTOTYPE): Likewise.
37717         [POSIX] (ESTALE): Likewise.
37718         [POSIX] (ETIME): Likewise.
37719         [POSIX] (ETXTBSY): Likewise.
37720         [POSIX] (EWOULDBLOCK): Likewise.
37721         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37722         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37723         [POSIX] (SEEK_CUR): Likewise.
37724         [POSIX] (SEEK_END): Likewise.
37725         [POSIX || UNIX98] (mode_t): Do not require.
37726         [POSIX] (off_t): Likewise.
37727         [POSIX] (pid_t): Likewise.
37728         [POSIX] (sys/stat.h): Do not allow header.
37729         [POSIX] (unistd.h): Likewise.
37730         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37731         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37732         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37733         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37734         require.
37735         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37736         sigevent): Specify elements.
37737         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37738         entry.
37739         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37740         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37742         * conform/data/cpio.h-data [POSIX]: Disable whole file.
37743         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37744         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37745         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37746         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37747         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37748         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37749         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37750         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37751         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37752         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37753         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37754         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37755         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37756         Likewise.
37757         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37758         Likewise.
37759         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37760         Likewise.
37761         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37762         Likewise.
37763         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37764         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37765         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37766         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37767         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37768         Specify lower bound on value.
37769         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37770         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37771         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37772         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37773         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37774         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37775         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37776         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37777         value.
37778         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37779         as optional.
37780         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37781         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37782         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37784         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37785         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37786         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37787         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37788         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37789         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37790         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37791         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37792         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37793         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37794         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37795         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37796         entry.
37797         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37798         optional.
37799         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37800         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37801         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37802         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37803         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37804         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37805         Likewise.
37806         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37807         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37808         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37809         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37810         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37811         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37812         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37813         as optional.
37814         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37815         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37816         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37817         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37818         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37819         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37820         specify as optional.
37821         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37822         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37823         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37824         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37825         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37826         [XPG3] (NL_LANGMAX): Likewise.
37827         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37828         [POSIX || XPG3] (NL_NMAX): Likewise.
37829         [POSIX || XPG3] (NL_SETMAX): Likewise.
37830         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37831         [XPG3] (NZERO): Likewise.
37832         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37833         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37834         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37835         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37836         (REG_ERANGE): Expect.
37837         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37838         optional-constant.
37839         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37840         Use (void) in prototype.
37841         [POSIX] (*_t): Allow.
37842         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37843         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37844         (WRDE_BADVAL): Expect.
37846         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37847         expect.
37848         [XPG3 || XPG4] (O_RSYNC): Likewise.
37849         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37850         Likewise.
37851         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37852         [XPG3 || XPG4] (sigqueue): Likewise.
37853         [XPG3 || XPG4] (sigtimedwait): Likewise.
37854         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37855         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37856         [XPG3 || XPG4] (vsnprintf): Likewise.
37857         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37858         Likewise.
37859         [XPG3 || XPG4] (blksize_t): Likewise.
37860         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37861         Likewise.
37862         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37863         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37864         [XPG3 || XPG4] (struct itimerspec): Likewise.
37865         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37866         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37867         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37868         [XPG3 || XPG4] (clockid_t): Likewise.
37869         [XPG3 || XPG4] (timer_t): Likewise.
37870         [XPG3 || XPG4] (clock_getres): Likewise.
37871         [XPG3 || XPG4] (clock_gettime): Likewise.
37872         [XPG3 || XPG4] (clock_settime): Likewise.
37873         [XPG3 || XPG4] (nanosleep): Likewise.
37874         [XPG3 || XPG4] (timer_create): Likewise.
37875         [XPG3 || XPG4] (timer_delete): Likewise.
37876         [XPG3 || XPG4] (timer_gettime): Likewise.
37877         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37878         [XPG3 || XPG4] (timer_settime): Likewise.
37879         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37880         [XPG3 || XPG4] (getlogin_r): Likewise.
37881         [XPG3 || XPG4] (pread): Likewise.
37882         [XPG3 || XPG4] (pthread_atfork): Likewise.
37883         [XPG3 || XPG4] (pwrite): Likewise.
37885         [BZ #14835]
37886         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37887         <bits/siginfo.h>.
37889 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37891         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37892         finalizing MALLSTREAM.
37894         * sysdeps/mach/hurd/syncfs.c: New file.
37896 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37898         [BZ #14719]
37899         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37900         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37901         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37902         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37903         (_nss_dns_gethostbyname4_r): Likewise.
37904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37905         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37907 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37909         [BZ #13763]
37910         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37912 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37914         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37915         * elf/cache.c (print_entry): Print ",AArch64" for
37916         FLAG_AARCH64_LIB64
37918         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37919         * elf/cache.c (print_entry): Print ",hard-float" for
37920         FLAG_ARM_LIBHF.
37922 2012-11-18  David S. Miller  <davem@davemloft.net>
37924         With help from Joseph Myers.
37925         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37926         cutoff to 2**-13.
37927         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37928         cutoff to 2**-25.
37929         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37930         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37931         small.
37932         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37933         * math/libm-test.inc (y0_test): New tests.
37934         (y1_test): New tests.
37935         * sysdeps/i386/fpu/libm-test-ulps: Update.
37936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37939 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37941         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37942         64-bit targets.
37943         * configure: Regenerated.
37945 2012-11-17  David S. Miller  <davem@davemloft.net>
37947         [BZ #14811]
37948         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37949         nonzero exponents with absolute value below 0x1p-128 to +/-
37950         0x1p-128.
37952 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37954         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37956         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37958         * posix/getconf-speclist.c: New file.
37959         * posix/posix-envs.def: Likewise.
37960         * posix/confstr.c (START_ENV_GROUP): New macro.
37961         (END_ENV_GROUP): Likewise.
37962         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37963         (KNOWN_PRESENT_ENV_STRING): Likewise.
37964         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37965         (UNKNOWN_ENVIRONMENT): Likewise.
37966         (confstr): Include posix-envs.def instead of handling
37967         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37968         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37969         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37970         (END_ENV_GROUP): Likewise.
37971         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37972         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37973         (UNKNOWN_ENVIRONMENT): Likewise.
37974         (__sysconf): Include posix-envs.def instead of handling associated
37975         cases directly here.
37976         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37977         preprocessing getconf-speclist.c rather than running getconf or
37978         generating empty file.
37980 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37982         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37984 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37986         [BZ #14672]
37987         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37989 2012-11-16  David S. Miller  <davem@davemloft.net>
37991         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37992         smaller than LDBL_EPSILON/2.0L, just return xm1.
37994 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37996         * elf/tst-array1.c (init): Set constructor priority to 1000.
37997         (fini): Set destructor priority to 1000.
37998         * elf/tst-array2dep.c: Likewise.
38000 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38002         [BZ #11741]
38003         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38004         (_IO_new_file_xsputn): Also return EOF if none of the input
38005         data was written when overflow failed.
38006         * libio/iopadn.c (_IO_padn): Likewise.
38007         * libio/iowpadn.c (_IO_wpadn): Likewise.
38008         * stdio-common/tst-put-error.c: Add copyright notice.
38009         (do_test): Add case for printing padded string.
38010         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38011         _IO_padn returned error.
38012         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38013         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38014         return EOF.
38016 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38018         * libio/libioP.h: Add comment note that the references to C++
38019         bits are now obsolete.
38021 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38023         * math/libm-test.inc (check_complex): Use asprintf.
38025 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38027         * debug/pcprofiledump.c (print_version): Update copyright year.
38028         * malloc/memusagestat.c (print_version): Likewise.
38030 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38032         [BZ #14831]
38033         * elf/Makefile (tests): Add tst-audit8.
38034         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38035         ($(objpfx)tst-audit8.out): New target.
38036         (tst-audit8-ENV): New variable.
38037         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38038         audit if l_reloc_result is NULL.
38039         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38040         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38041         * elf/tst-audit8.c: New file.
38043 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38045         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38046         * misc/Makefile (CFLAGS-select.c): Define.
38047         * posix/Makefile (CFLAGS-pause.c): Define.
38049 2012-11-13  David S. Miller  <davem@davemloft.net>
38051         * crypt/Makefile: Move test targets after toplevel Rules
38052         inclusion.  Grab any necessary sysdep routines when linking.
38053         * crypt/md5.c (md5_process_block): Remove define, we will always
38054         name it __md5_process_block.
38055         (md5_finish_ctx): Update md5_process_block call.
38056         (md5_stream): Likewise.
38057         (md5_process_bytes): Likewise.
38058         (md5_process_block): Rename to __md5_process_block and move to ...
38059         * crypt/md5-block.c: ... here.
38060         * crypt/sha256.c (sha256_process_block): Move to ...
38061         * crypt/sha256-block.c: ... here.
38062         * crypt/sha512.c (sha512_process_block): Move to ...
38063         * crypt/sha512-block.c: ... here.
38064         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38065         path.
38066         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38067         * sysdeps/sparc/sparc64/multiarch/Makefile
38068         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38069         crypt subdir.
38070         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38071         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38072         multiarch changes.
38073         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38074         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38075         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38076         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38077         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38078         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38079         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38080         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38081         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38082         file.
38083         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38084         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38085         file.
38086         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38088 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38090         * timezone/tzselect.ksh: Update from tzcode git revision
38091         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38092         * timezone/zdump.c: Likewise.
38093         * timezone/zic.c: Likewise.
38094         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38095         in TZVERSION setting, not $(PKGVERSION).
38096         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38097         REPORT_BUGS_TO settings.
38099         [BZ #14838]
38100         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38101         macro.
38103 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38105         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38106         detection to immediately after _FP_ROUND().
38107         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38108         bits are 0.
38110 2012-11-11  David S. Miller  <davem@davemloft.net>
38112         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38113         inttypes.h
38114         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38115         __close rather than their public counterparts.
38117 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38119         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38120         file.
38121         [UNIX98] (sem_timedwait): Do not expect.
38122         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38123         [XPG4 || UNIX98] (sockatmark): Do not expect.
38124         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38125         (clock_getcpuclockid): Do not expect.
38126         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38127         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38128         Do not expect.
38129         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38130         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38131         [UNIX98] (vwscanf): Likewise.
38132         [UNIX98] (vswscanf): Likewise.
38134 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38136         * timezone/version.h: Remove file.
38137         * timezone/README: Do not refer to version.h.
38138         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38139         $(objpfx)version.h.
38140         ($(objpfx)zdump.o): Likewise.
38141         ($(objpfx)version.h): New target.
38143         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38144         2012i.
38145         * timezone/README: Don't mention modification to tzselect.ksh.
38146         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38147         work on unmodified tzselect.ksh.  Substitute version numbers in
38148         tzselect.ksh.
38150         * Makefile (format-me): Remove.
38151         (INSTALL): Adjust indentation.  Use commands directly instead of
38152         using $(format-me).
38154         * aclocal.m4 (ACX_PKGVERSION): New macro.
38155         (ACX_BUGURL): Likewise.
38156         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38157         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38158         (REPORT_BUGS_TO): Likewise.
38159         * configure: Regenerated.
38160         * config.h.in (PKGVERSION): New macro.
38161         (REPORT_BUGS_TO): Likewise.
38162         * config.make.in (PKGVERSION): New variable.
38163         (PKGVERSION_TEXI): Likewise.
38164         (REPORT_BUGS_TO): Likewise.
38165         (REPORT_BUGS_TEXI): Likewise.
38166         * Makefile (format-me): Use -I$(common-objpfx)manual.
38167         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38168         ($(common-objpfx)manual/%): New target.
38169         (manual/%): Remove target.
38170         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38171         (print_version): Use PKGVERSION.
38172         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38173         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38174         and REPORT_BUGS_TO.
38175         ($(objpfx)xtrace): Likewise.
38176         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38177         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38178         (print_version): Use PKGVERSION.
38179         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38180         (do_version): Use PKGVERSION.
38181         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38182         REPORT_BUGS_TO.
38183         (common-ldd-rewrite): Likewise.
38184         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38185         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38186         (print_version): Use PKGVERSION.
38187         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38188         * elf/pldd.c (argp_program_bug_address): Remove variable.
38189         (more_help): New function.
38190         (argp): Use more_help.
38191         (print_version): Use PKGVERSION.
38192         * elf/sln.c (main): Use PKGVERSION.
38193         (usage): Use REPORT_BUGS_TO.
38194         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38195         (top level): Use PKGVERSION.
38196         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38197         (print_version): Use PKGVERSION.
38198         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38199         (print_version): Use PKGVERSION.
38200         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38201         (print_version): Use PKGVERSION.
38202         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38203         (print_version): Use PKGVERSION.
38204         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38205         (print_version): Use PKGVERSION.
38206         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38207         (print_version): Use PKGVERSION.
38208         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38209         and BUGURL.
38210         ($(objpfx)memusage): Likewise.
38211         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38212         (do_version): Use PKGVERSION.
38213         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38214         (print_version): Use PKGVERSION.
38215         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38216         ($PKGVERSION): New variable.
38217         ($REPORT_BUGS_TO): Likewise.
38218         (usage): Use $REPORT_BUGS_TO.
38219         (top level): Use $PKGVERSION.
38220         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38221         ($(objpfx)pkgvers.texi): New rule.
38222         ($(objpfx)stamp-pkgvers): Likewise.
38223         * manual/install.texi: Include pkgvers.texi.
38224         (--with-pkgversion): Document new configure option.
38225         (--with-bugurl): Likewise.
38226         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38227         than necessarily for this particular distribution.  Use
38228         REPORT_BUGS_TO for where to report bugs.
38229         * INSTALL: Regenerated.
38230         * manual/libc.texinfo: Include pkgvers.texi.
38231         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38232         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38233         (print_version): Use PKGVERSION.
38234         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38235         (print_version): Use PKGVERSION.
38236         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38237         (print_version): Use PKGVERSION.
38238         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38239         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38240         macro.
38241         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38242         (print_version): Use PKGVERSION.
38243         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38244         (print_version): Use PKGVERSION.
38245         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38246         and PKGVERSION.
38248         * timezone/checktab.awk: Update from tzcode 2012i.
38249         * timezone/ialloc.c: Likewise.
38250         * timezone/private.h: Likewise.
38251         * timezone/scheck.c: Likewise.
38252         * timezone/tzfile.h: Likewise.
38253         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38254         (TZVERSION): Hardcode tzcode version number.
38255         * timezone/zdump.c: Update from tzcode 2012i.
38256         * timezone/zic.c: Likewise.
38257         * timezone/version.h: New file.
38258         * timezone/README: Describe version.h.  Update upstream location.
38260         [BZ #14824]
38261         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38262         (mktemp): Enable declaration.
38263         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38265         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38267         Likewise.
38268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38269         Likewise.
38270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38271         Likewise.
38272         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38273         Likewise.
38274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38275         Likewise.
38276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38277         Likewise.
38279         [BZ #14821]
38280         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38281         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38282         for copies of such integer values.
38283         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38284         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38286 2012-11-09  Andreas Jaeger  <aj@suse.de>
38288         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38289         definitions and declarations that are provided by
38290         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38292 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38294         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38295         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38296         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38297         definition.
38299 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38301         * elf/elf.h: Update comment before AArch64 relocations.
38303 2012-11-07  David S. Miller  <davem@davemloft.net>
38305         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38306         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38307         (__start_context): Declare.
38308         (__makecontext_ret): Delete.
38309         (__makecontext): Hook up __start_context instead of
38310         __makecontext_ret.
38311         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38312         (sysdep_routines): Add __start_context when in stdlib.
38314 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38316         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38317         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38318         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38319         hardcoded "nm".
38320         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38321         (READELF): New variable.  Use it instead of hardcoded "readelf".
38323 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38325         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38326         * sysdeps/x86/Makefile: Here.
38327         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38328         * sysdeps/x86/tst-xmmymm.sh: This.
38330 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38332         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38333         expectations.
38334         [UNIX98] (pthread_barrier_t): Do not expect.
38335         [UNIX98] (pthread_barrierattr_t): Likewise.
38336         [UNIX98] (pthread_spinlock_t): Likewise.
38337         [UNIX98] (pthread_barrier_destroy): Likewise.
38338         [UNIX98] (pthread_barrier_init): Likewise.
38339         [UNIX98] (pthread_barrier_wait): Likewise.
38340         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38341         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38342         [UNIX98] (pthread_barrierattr_init): Likewise.
38343         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38344         [UNIX98] (pthread_getcpuclockid): Likewise.
38345         [UNIX98] (pthread_mutex_timedlock): Likewise.
38346         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38347         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38348         [UNIX98] (pthread_sigmask): Likewise.
38349         [UNIX98] (pthread_spin_destroy): Likewise.
38350         [UNIX98] (pthread_spin_init): Likewise.
38351         [UNIX98] (pthread_spin_lock): Likewise.
38352         [UNIX98] (pthread_spin_trylock): Likewise.
38353         [UNIX98] (pthread_spin_unlock): Likewise.
38354         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38355         Do not expect.
38356         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38357         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38358         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38359         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38360         [XPG3 || XPG4] (pthread_key_t): Likewise.
38361         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38362         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38363         [XPG3 || XPG4] (pthread_once_t): Likewise.
38364         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38365         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38366         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38367         [XPG3 || XPG4] (pthread_t): Likewise.
38369         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38370         not expect.
38371         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38373         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38374         Change function return type to int.
38376         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38377         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38378         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38379         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38380         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38381         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38382         [!POSIX] (posix_madvise): Likewise.
38383         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38384         && !UNIX98].
38385         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38386         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38387         (mode_t): Likewise.
38388         (posix_mem_offset): Likewise.
38389         (posix_typed_mem_get_info): Likewise.
38390         (posix_typed_mem_open): Likewise.
38392         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38393         Change condition to [XOPEN2K8].
38395         * conform/conformtest.pl: Preprocess allow-header data with -x c
38396         instead of from stdin.
38397         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38398         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38399         [C99-based standards] (cerfc): Likewise.
38400         [C99-based standards] (cexp2): Likewise.
38401         [C99-based standards] (cexpm1): Likewise.
38402         [C99-based standards] (clog10): Likewise.
38403         [C99-based standards] (clog1p): Likewise.
38404         [C99-based standards] (clog2): Likewise.
38405         [C99-based standards] (clgamma): Likewise.
38406         [C99-based standards] (ctgamma): Likewise.
38407         [C99-based standards] (cerff): Likewise.
38408         [C99-based standards] (cerfcf): Likewise.
38409         [C99-based standards] (cexp2f): Likewise.
38410         [C99-based standards] (cexpm1f): Likewise.
38411         [C99-based standards] (clog10f): Likewise.
38412         [C99-based standards] (clog1pf): Likewise.
38413         [C99-based standards] (clog2f): Likewise.
38414         [C99-based standards] (clgammaf): Likewise.
38415         [C99-based standards] (ctgammaf): Likewise.
38416         [C99-based standards] (cerfl): Likewise.
38417         [C99-based standards] (cerfcl): Likewise.
38418         [C99-based standards] (cexp2l): Likewise.
38419         [C99-based standards] (cexpm1l): Likewise.
38420         [C99-based standards] (clog10l): Likewise.
38421         [C99-based standards] (clog1pl): Likewise.
38422         [C99-based standards] (clog2l): Likewise.
38423         [C99-based standards] (clgammal): Likewise.
38424         [C99-based standards] (ctgammal): Likewise.
38425         * conform/data/inttypes.h-data [C99-based standards]: Include
38426         stdint.h-data.  Remove all expectations for stdint.h contents.
38427         [C99-based standards] (PRI*): Do not allow.
38428         [C99-based standards] (SCN*): Likewise.
38429         [C99-based standards] (*_t): Likewise.
38430         [C99-based-standards] (PRId8): Expect macro.
38431         [C99-based-standards] (PRIi8): Likewise.
38432         [C99-based-standards] (PRIo8): Likewise.
38433         [C99-based-standards] (PRIu8): Likewise.
38434         [C99-based-standards] (PRIx8): Likewise.
38435         [C99-based-standards] (PRIX8): Likewise.
38436         [C99-based-standards] (SCNd8): Likewise.
38437         [C99-based-standards] (SCNi8): Likewise.
38438         [C99-based-standards] (SCNo8): Likewise.
38439         [C99-based-standards] (SCNu8): Likewise.
38440         [C99-based-standards] (SCNx8): Likewise.
38441         [C99-based-standards] (PRIdLEAST8): Likewise.
38442         [C99-based-standards] (PRIiLEAST8): Likewise.
38443         [C99-based-standards] (PRIoLEAST8): Likewise.
38444         [C99-based-standards] (PRIuLEAST8): Likewise.
38445         [C99-based-standards] (PRIxLEAST8): Likewise.
38446         [C99-based-standards] (PRIXLEAST8): Likewise.
38447         [C99-based-standards] (SCNdLEAST8): Likewise.
38448         [C99-based-standards] (SCNiLEAST8): Likewise.
38449         [C99-based-standards] (SCNoLEAST8): Likewise.
38450         [C99-based-standards] (SCNuLEAST8): Likewise.
38451         [C99-based-standards] (SCNxLEAST8): Likewise.
38452         [C99-based-standards] (PRIdFAST8): Likewise.
38453         [C99-based-standards] (PRIiFAST8): Likewise.
38454         [C99-based-standards] (PRIoFAST8): Likewise.
38455         [C99-based-standards] (PRIuFAST8): Likewise.
38456         [C99-based-standards] (PRIxFAST8): Likewise.
38457         [C99-based-standards] (PRIXFAST8): Likewise.
38458         [C99-based-standards] (SCNdFAST8): Likewise.
38459         [C99-based-standards] (SCNiFAST8): Likewise.
38460         [C99-based-standards] (SCNoFAST8): Likewise.
38461         [C99-based-standards] (SCNuFAST8): Likewise.
38462         [C99-based-standards] (SCNxFAST8): Likewise.
38463         [C99-based-standards] (PRId16): Likewise.
38464         [C99-based-standards] (PRIi16): Likewise.
38465         [C99-based-standards] (PRIo16): Likewise.
38466         [C99-based-standards] (PRIu16): Likewise.
38467         [C99-based-standards] (PRIx16): Likewise.
38468         [C99-based-standards] (PRIX16): Likewise.
38469         [C99-based-standards] (SCNd16): Likewise.
38470         [C99-based-standards] (SCNi16): Likewise.
38471         [C99-based-standards] (SCNo16): Likewise.
38472         [C99-based-standards] (SCNu16): Likewise.
38473         [C99-based-standards] (SCNx16): Likewise.
38474         [C99-based-standards] (PRIdLEAST16): Likewise.
38475         [C99-based-standards] (PRIiLEAST16): Likewise.
38476         [C99-based-standards] (PRIoLEAST16): Likewise.
38477         [C99-based-standards] (PRIuLEAST16): Likewise.
38478         [C99-based-standards] (PRIxLEAST16): Likewise.
38479         [C99-based-standards] (PRIXLEAST16): Likewise.
38480         [C99-based-standards] (SCNdLEAST16): Likewise.
38481         [C99-based-standards] (SCNiLEAST16): Likewise.
38482         [C99-based-standards] (SCNoLEAST16): Likewise.
38483         [C99-based-standards] (SCNuLEAST16): Likewise.
38484         [C99-based-standards] (SCNxLEAST16): Likewise.
38485         [C99-based-standards] (PRIdFAST16): Likewise.
38486         [C99-based-standards] (PRIiFAST16): Likewise.
38487         [C99-based-standards] (PRIoFAST16): Likewise.
38488         [C99-based-standards] (PRIuFAST16): Likewise.
38489         [C99-based-standards] (PRIxFAST16): Likewise.
38490         [C99-based-standards] (PRIXFAST16): Likewise.
38491         [C99-based-standards] (SCNdFAST16): Likewise.
38492         [C99-based-standards] (SCNiFAST16): Likewise.
38493         [C99-based-standards] (SCNoFAST16): Likewise.
38494         [C99-based-standards] (SCNuFAST16): Likewise.
38495         [C99-based-standards] (SCNxFAST16): Likewise.
38496         [C99-based-standards] (PRId32): Likewise.
38497         [C99-based-standards] (PRIi32): Likewise.
38498         [C99-based-standards] (PRIo32): Likewise.
38499         [C99-based-standards] (PRIu32): Likewise.
38500         [C99-based-standards] (PRIx32): Likewise.
38501         [C99-based-standards] (PRIX32): Likewise.
38502         [C99-based-standards] (SCNd32): Likewise.
38503         [C99-based-standards] (SCNi32): Likewise.
38504         [C99-based-standards] (SCNo32): Likewise.
38505         [C99-based-standards] (SCNu32): Likewise.
38506         [C99-based-standards] (SCNx32): Likewise.
38507         [C99-based-standards] (PRIdLEAST32): Likewise.
38508         [C99-based-standards] (PRIiLEAST32): Likewise.
38509         [C99-based-standards] (PRIoLEAST32): Likewise.
38510         [C99-based-standards] (PRIuLEAST32): Likewise.
38511         [C99-based-standards] (PRIxLEAST32): Likewise.
38512         [C99-based-standards] (PRIXLEAST32): Likewise.
38513         [C99-based-standards] (SCNdLEAST32): Likewise.
38514         [C99-based-standards] (SCNiLEAST32): Likewise.
38515         [C99-based-standards] (SCNoLEAST32): Likewise.
38516         [C99-based-standards] (SCNuLEAST32): Likewise.
38517         [C99-based-standards] (SCNxLEAST32): Likewise.
38518         [C99-based-standards] (PRIdFAST32): Likewise.
38519         [C99-based-standards] (PRIiFAST32): Likewise.
38520         [C99-based-standards] (PRIoFAST32): Likewise.
38521         [C99-based-standards] (PRIuFAST32): Likewise.
38522         [C99-based-standards] (PRIxFAST32): Likewise.
38523         [C99-based-standards] (PRIXFAST32): Likewise.
38524         [C99-based-standards] (SCNdFAST32): Likewise.
38525         [C99-based-standards] (SCNiFAST32): Likewise.
38526         [C99-based-standards] (SCNoFAST32): Likewise.
38527         [C99-based-standards] (SCNuFAST32): Likewise.
38528         [C99-based-standards] (SCNxFAST32): Likewise.
38529         [C99-based-standards] (PRId64): Likewise.
38530         [C99-based-standards] (PRIi64): Likewise.
38531         [C99-based-standards] (PRIo64): Likewise.
38532         [C99-based-standards] (PRIu64): Likewise.
38533         [C99-based-standards] (PRIx64): Likewise.
38534         [C99-based-standards] (PRIX64): Likewise.
38535         [C99-based-standards] (SCNd64): Likewise.
38536         [C99-based-standards] (SCNi64): Likewise.
38537         [C99-based-standards] (SCNo64): Likewise.
38538         [C99-based-standards] (SCNu64): Likewise.
38539         [C99-based-standards] (SCNx64): Likewise.
38540         [C99-based-standards] (PRIdLEAST64): Likewise.
38541         [C99-based-standards] (PRIiLEAST64): Likewise.
38542         [C99-based-standards] (PRIoLEAST64): Likewise.
38543         [C99-based-standards] (PRIuLEAST64): Likewise.
38544         [C99-based-standards] (PRIxLEAST64): Likewise.
38545         [C99-based-standards] (PRIXLEAST64): Likewise.
38546         [C99-based-standards] (SCNdLEAST64): Likewise.
38547         [C99-based-standards] (SCNiLEAST64): Likewise.
38548         [C99-based-standards] (SCNoLEAST64): Likewise.
38549         [C99-based-standards] (SCNuLEAST64): Likewise.
38550         [C99-based-standards] (SCNxLEAST64): Likewise.
38551         [C99-based-standards] (PRIdFAST64): Likewise.
38552         [C99-based-standards] (PRIiFAST64): Likewise.
38553         [C99-based-standards] (PRIoFAST64): Likewise.
38554         [C99-based-standards] (PRIuFAST64): Likewise.
38555         [C99-based-standards] (PRIxFAST64): Likewise.
38556         [C99-based-standards] (PRIXFAST64): Likewise.
38557         [C99-based-standards] (SCNdFAST64): Likewise.
38558         [C99-based-standards] (SCNiFAST64): Likewise.
38559         [C99-based-standards] (SCNoFAST64): Likewise.
38560         [C99-based-standards] (SCNuFAST64): Likewise.
38561         [C99-based-standards] (SCNxFAST64): Likewise.
38562         [C99-based-standards] (PRIdMAX): Likewise.
38563         [C99-based-standards] (PRIiMAX): Likewise.
38564         [C99-based-standards] (PRIoMAX): Likewise.
38565         [C99-based-standards] (PRIuMAX): Likewise.
38566         [C99-based-standards] (PRIxMAX): Likewise.
38567         [C99-based-standards] (PRIXMAX): Likewise.
38568         [C99-based-standards] (SCNdMAX): Likewise.
38569         [C99-based-standards] (SCNiMAX): Likewise.
38570         [C99-based-standards] (SCNoMAX): Likewise.
38571         [C99-based-standards] (SCNuMAX): Likewise.
38572         [C99-based-standards] (SCNxMAX): Likewise.
38573         [C99-based-standards] (PRIdPTR): Likewise.
38574         [C99-based-standards] (PRIiPTR): Likewise.
38575         [C99-based-standards] (PRIoPTR): Likewise.
38576         [C99-based-standards] (PRIuPTR): Likewise.
38577         [C99-based-standards] (PRIxPTR): Likewise.
38578         [C99-based-standards] (PRIXPTR): Likewise.
38579         [C99-based-standards] (SCNdPTR): Likewise.
38580         [C99-based-standards] (SCNiPTR): Likewise.
38581         [C99-based-standards] (SCNoPTR): Likewise.
38582         [C99-based-standards] (SCNuPTR): Likewise.
38583         [C99-based-standards] (SCNxPTR): Likewise.
38584         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38585         allow.
38586         * conform/data/stdint.h-data: Update comments to clarify
38587         requirements.
38588         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
38589         type.
38590         [C99-based standards] (INT8_MAX): Likewise.
38591         [C99-based standards] (INT16_MIN): Likewise.
38592         [C99-based standards] (INT16_MAX): Likewise.
38593         [C99-based standards] (INT32_MIN): Likewise.
38594         [C99-based standards] (INT32_MAX): Likewise.
38595         [C99-based standards] (INT64_MIN): Likewise.
38596         [C99-based standards] (INT64_MAX): Likewise.
38597         [C99-based standards] (UINT8_MAX): Likewise.
38598         [C99-based standards] (UINT16_MAX): Likewise.
38599         [C99-based standards] (UINT32_MAX): Likewise.
38600         [C99-based standards] (UINT64_MAX): Likewise.
38601         [C99-based standards] (INT_LEAST8_MIN): Likewise.
38602         [C99-based standards] (INT_LEAST8_MAX): Likewise.
38603         [C99-based standards] (INT_LEAST16_MIN): Likewise.
38604         [C99-based standards] (INT_LEAST16_MAX): Likewise.
38605         [C99-based standards] (INT_LEAST32_MIN): Likewise.
38606         [C99-based standards] (INT_LEAST32_MAX): Likewise.
38607         [C99-based standards] (INT_LEAST64_MIN): Likewise.
38608         [C99-based standards] (INT_LEAST64_MAX): Likewise.
38609         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38610         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38611         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38612         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38613         [C99-based standards] (INT_FAST8_MIN): Likewise.
38614         [C99-based standards] (INT_FAST8_MAX): Likewise.
38615         [C99-based standards] (INT_FAST16_MIN): Likewise.
38616         [C99-based standards] (INT_FAST16_MAX): Likewise.
38617         [C99-based standards] (INT_FAST32_MIN): Likewise.
38618         [C99-based standards] (INT_FAST32_MAX): Likewise.
38619         [C99-based standards] (INT_FAST64_MIN): Likewise.
38620         [C99-based standards] (INT_FAST64_MAX): Likewise.
38621         [C99-based standards] (UINT_FAST8_MAX): Likewise.
38622         [C99-based standards] (UINT_FAST16_MAX): Likewise.
38623         [C99-based standards] (UINT_FAST32_MAX): Likewise.
38624         [C99-based standards] (UINT_FAST64_MAX): Likewise.
38625         [C99-based standards] (INTPTR_MIN): Likewise.
38626         [C99-based standards] (INTPTR_MAX): Likewise.
38627         [C99-based standards] (UINTPTR_MAX): Likewise.
38628         [C99-based standards] (INTMAX_MIN): Likewise.
38629         [C99-based standards] (INTMAX_MAX): Likewise.
38630         [C99-based standards] (UINTMAX_MAX): Likewise.
38631         [C99-based standards] (PTRDIFF_MIN): Likewise.
38632         [C99-based standards] (PTRDIFF_MAX): Likewise.
38633         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38634         [C99-based standards] (SIZE_MAX): Likewise.
38635         [C99-based standards] (WCHAR_MAX): Likewise.
38636         [C99-based standards] (WINT_MAX): Likewise.
38637         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
38638         constraint on value.
38639         [C99-based standards] (WCHAR_MIN): Likewise.
38640         [C99-based standards] (WINT_MIN): Likewise.
38641         [C99-based standards] (*_t): Allow.
38642         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38643         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38644         Include math.h-data and complex.h-data.  Remove all expectations
38645         of math.h and complex.h contents.
38646         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38647         at end of line.
38648         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38649         (struct tm): Expect tag.
38650         [C99-based-standards] (wcstof): Expect function.
38651         [C99-based-standards] (wcstold): Likewise.
38652         [C99-based-standards] (wcstoll): Likewise.
38653         [C99-based-standards] (wcstoull): Likewise.
38654         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38655         macro-int-constant.  Specify type.
38656         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
38657         constraint on value.
38658         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38659         Specify type.
38660         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38661         Specify value.
38662         [ISO C standards]: Do not allow headers.
38663         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38664         wcs[abcdefghijklmnopqrstuvwxyz]*.
38665         [ISO C standards] (*_t): Do not allow.
38666         * conform/data/wctype.h-data [C99-based standards] (iswblank):
38667         Expect function.
38668         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38669         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38670         Specify type.
38671         [ISO C standards]: Do not allow headers.
38672         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38673         is[abcdefghijklmnopqrstuvwxyz]*.
38674         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38675         to[abcdefghijklmnopqrstuvwxyz]*.
38676         [ISO C standards] (*_t): Do not allow.
38677         * conform/data/stdalign.h-data: New file.
38678         * conform/data/stdbool.h-data: Likewise.
38679         * conform/data/stdnoreturn.h-data: Likewise.
38681 2012-11-07  Roland McGrath  <roland@hack.frob.com>
38683         [BZ #14815]
38684         * manual/filesys.texi (Directory Entries): Typo fix.
38685         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38687 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38689         * elf/elf.h (EM_AARCH64): New macro.
38690         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38691         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38692         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38693         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38694         (R_AARCH64_TLSDESC): Likewise.
38695         (NT_ARM_TLS): Likewise.
38696         (NT_ARM_HW_BREAK): Likewise.
38697         (NT_ARM_HW_WATCH): Likewise.
38699 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38701         [BZ #14811]
38702         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38703         (__ieee754_powl): Saturate nonzero exponents with absolute value
38704         below 0x1p-79 to +/- 0x1p-79.
38705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38706         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38707         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38708         nonzero exponents with absolute value below 0x1p-32 to +/-
38709         0x1p-32.
38710         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38711         (__ieee754_powl): Saturate nonzero exponents with absolute value
38712         below 0x1p-79 to +/- 0x1p-79.
38713         * math/libm-test.inc (pow_test): Add more tests.
38715 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38717         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38718         _dl_s390_cap_flags with kernel. Increase string length.
38719         (_dl_s390_platforms): Add z196 and zEC12.
38721 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38723         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38724         Change XOPEN21K to XOPEN2K.
38726 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
38728         * string/memmove.c: Use memcpy when possible.
38730 2012-11-06  Andreas Jaeger  <aj@suse.de>
38732         * po/eo.po: Update from translation team.
38734 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
38736         [BZ #14793]
38737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38738         exponent and small x and y exponents, scale x or y up.  Increase
38739         by 2 the exponent used in scaling up.
38740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38742         * math/libm-test.inc (fma_test): Add more tests.
38743         (fma_test_towardzero): Likewise.
38744         (fma_test_downward): Likewise.
38745         (fma_test_upward): Likewise.
38747 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
38749         [BZ #14805]
38750         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38751         fenv_t *.
38753         [BZ #14801]
38754         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38755         namespace for names of struct fields.
38756         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38757         fenv_t fields.
38758         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38759         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38761 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38763         [BZ #3665]
38764         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38766 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38768         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38769         PTR_DEMANGLE.
38771         [BZ #5246]
38772         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38773         PTR_DEMANGLE.
38775 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #14797]
38778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38779         definitely overflow as x * y not x * y + z.
38780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38782         * math/libm-test.inc (fma_test): Add more tests.
38783         (fma_test_towardzero): Likewise.
38784         (fma_test_downward): Likewise.
38785         (fma_test_upward): Likewise.
38787 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38789         [BZ #157]
38791         * include/stub-tag.h: Remove file.
38792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38793         '#include' of it.
38794         * manual/maint.texi (Porting): Don't reference it.
38795         * Makerules ($(objpfx)stubs): Likewise.
38796         * dirent/closedir.c: Don't include <stub-tag.h>.
38797         * dirent/dirfd.c: Likewise.
38798         * dirent/fdopendir.c: Likewise.
38799         * dirent/getdents.c: Likewise.
38800         * dirent/getdents64.c: Likewise.
38801         * dirent/opendir.c: Likewise.
38802         * dirent/readdir.c: Likewise.
38803         * dirent/readdir64.c: Likewise.
38804         * dirent/readdir64_r.c: Likewise.
38805         * dirent/readdir_r.c: Likewise.
38806         * dirent/rewinddir.c: Likewise.
38807         * dirent/seekdir.c: Likewise.
38808         * dirent/telldir.c: Likewise.
38809         * gmon/profil.c: Likewise.
38810         * grp/setgroups.c: Likewise.
38811         * inet/if_index.c: Likewise.
38812         * io/access.c: Likewise.
38813         * io/chdir.c: Likewise.
38814         * io/chmod.c: Likewise.
38815         * io/chown.c: Likewise.
38816         * io/close.c: Likewise.
38817         * io/dup.c: Likewise.
38818         * io/dup2.c: Likewise.
38819         * io/dup3.c: Likewise.
38820         * io/euidaccess.c: Likewise.
38821         * io/faccessat.c: Likewise.
38822         * io/fchdir.c: Likewise.
38823         * io/fchmod.c: Likewise.
38824         * io/fchmodat.c: Likewise.
38825         * io/fchown.c: Likewise.
38826         * io/fchownat.c: Likewise.
38827         * io/fcntl.c: Likewise.
38828         * io/flock.c: Likewise.
38829         * io/fstatfs.c: Likewise.
38830         * io/fstatfs64.c: Likewise.
38831         * io/fstatvfs.c: Likewise.
38832         * io/fstatvfs64.c: Likewise.
38833         * io/futimens.c: Likewise.
38834         * io/fxstat.c: Likewise.
38835         * io/fxstat64.c: Likewise.
38836         * io/fxstatat.c: Likewise.
38837         * io/fxstatat64.c: Likewise.
38838         * io/getcwd.c: Likewise.
38839         * io/isatty.c: Likewise.
38840         * io/lchmod.c: Likewise.
38841         * io/lchown.c: Likewise.
38842         * io/link.c: Likewise.
38843         * io/linkat.c: Likewise.
38844         * io/lseek.c: Likewise.
38845         * io/lseek64.c: Likewise.
38846         * io/lxstat64.c: Likewise.
38847         * io/mkdir.c: Likewise.
38848         * io/mkdirat.c: Likewise.
38849         * io/mkfifo.c: Likewise.
38850         * io/mkfifoat.c: Likewise.
38851         * io/open.c: Likewise.
38852         * io/open64.c: Likewise.
38853         * io/openat.c: Likewise.
38854         * io/openat64.c: Likewise.
38855         * io/pipe.c: Likewise.
38856         * io/pipe2.c: Likewise.
38857         * io/poll.c: Likewise.
38858         * io/posix_fadvise.c: Likewise.
38859         * io/posix_fadvise64.c: Likewise.
38860         * io/posix_fallocate.c: Likewise.
38861         * io/posix_fallocate64.c: Likewise.
38862         * io/read.c: Likewise.
38863         * io/readlink.c: Likewise.
38864         * io/readlinkat.c: Likewise.
38865         * io/rmdir.c: Likewise.
38866         * io/sendfile.c: Likewise.
38867         * io/sendfile64.c: Likewise.
38868         * io/statfs.c: Likewise.
38869         * io/statfs64.c: Likewise.
38870         * io/statvfs.c: Likewise.
38871         * io/statvfs64.c: Likewise.
38872         * io/symlink.c: Likewise.
38873         * io/symlinkat.c: Likewise.
38874         * io/ttyname.c: Likewise.
38875         * io/ttyname_r.c: Likewise.
38876         * io/umask.c: Likewise.
38877         * io/unlink.c: Likewise.
38878         * io/unlinkat.c: Likewise.
38879         * io/utime.c: Likewise.
38880         * io/utimensat.c: Likewise.
38881         * io/write.c: Likewise.
38882         * io/xmknod.c: Likewise.
38883         * io/xmknodat.c: Likewise.
38884         * io/xstat.c: Likewise.
38885         * io/xstat64.c: Likewise.
38886         * login/getpt.c: Likewise.
38887         * login/grantpt.c: Likewise.
38888         * login/unlockpt.c: Likewise.
38889         * math/e_acoshl.c: Likewise.
38890         * math/e_acosl.c: Likewise.
38891         * math/e_asinl.c: Likewise.
38892         * math/e_atan2l.c: Likewise.
38893         * math/e_atanhl.c: Likewise.
38894         * math/e_coshl.c: Likewise.
38895         * math/e_expl.c: Likewise.
38896         * math/e_fmodl.c: Likewise.
38897         * math/e_gammal_r.c: Likewise.
38898         * math/e_hypotl.c: Likewise.
38899         * math/e_j0l.c: Likewise.
38900         * math/e_j1l.c: Likewise.
38901         * math/e_jnl.c: Likewise.
38902         * math/e_lgammal_r.c: Likewise.
38903         * math/e_log10l.c: Likewise.
38904         * math/e_log2l.c: Likewise.
38905         * math/e_logl.c: Likewise.
38906         * math/e_powl.c: Likewise.
38907         * math/e_rem_pio2l.c: Likewise.
38908         * math/e_sinhl.c: Likewise.
38909         * math/e_sqrtl.c: Likewise.
38910         * math/fclrexcpt.c: Likewise.
38911         * math/fedisblxcpt.c: Likewise.
38912         * math/feenablxcpt.c: Likewise.
38913         * math/fegetenv.c: Likewise.
38914         * math/fegetexcept.c: Likewise.
38915         * math/fegetround.c: Likewise.
38916         * math/feholdexcpt.c: Likewise.
38917         * math/fesetenv.c: Likewise.
38918         * math/fesetround.c: Likewise.
38919         * math/feupdateenv.c: Likewise.
38920         * math/fgetexcptflg.c: Likewise.
38921         * math/fraiseexcpt.c: Likewise.
38922         * math/fsetexcptflg.c: Likewise.
38923         * math/ftestexcept.c: Likewise.
38924         * math/k_cosl.c: Likewise.
38925         * math/k_rem_pio2l.c: Likewise.
38926         * math/k_sinl.c: Likewise.
38927         * math/k_tanl.c: Likewise.
38928         * math/s_asinhl.c: Likewise.
38929         * math/s_atanl.c: Likewise.
38930         * math/s_cbrtl.c: Likewise.
38931         * math/s_erfl.c: Likewise.
38932         * math/s_expm1l.c: Likewise.
38933         * math/s_log1pl.c: Likewise.
38934         * math/s_tanhl.c: Likewise.
38935         * misc/acct.c: Likewise.
38936         * misc/brk.c: Likewise.
38937         * misc/chflags.c: Likewise.
38938         * misc/chroot.c: Likewise.
38939         * misc/fchflags.c: Likewise.
38940         * misc/fgetxattr.c: Likewise.
38941         * misc/flistxattr.c: Likewise.
38942         * misc/fremovexattr.c: Likewise.
38943         * misc/fsetxattr.c: Likewise.
38944         * misc/fsync.c: Likewise.
38945         * misc/ftruncate.c: Likewise.
38946         * misc/futimes.c: Likewise.
38947         * misc/futimesat.c: Likewise.
38948         * misc/getdomain.c: Likewise.
38949         * misc/getdtsz.c: Likewise.
38950         * misc/gethostid.c: Likewise.
38951         * misc/gethostname.c: Likewise.
38952         * misc/getloadavg.c: Likewise.
38953         * misc/getpagesize.c: Likewise.
38954         * misc/getsysstats.c: Likewise.
38955         * misc/getxattr.c: Likewise.
38956         * misc/gtty.c: Likewise.
38957         * misc/ioctl.c: Likewise.
38958         * misc/lgetxattr.c: Likewise.
38959         * misc/listxattr.c: Likewise.
38960         * misc/llistxattr.c: Likewise.
38961         * misc/lremovexattr.c: Likewise.
38962         * misc/lsetxattr.c: Likewise.
38963         * misc/lutimes.c: Likewise.
38964         * misc/madvise.c: Likewise.
38965         * misc/mincore.c: Likewise.
38966         * misc/mlock.c: Likewise.
38967         * misc/mlockall.c: Likewise.
38968         * misc/mmap.c: Likewise.
38969         * misc/mprotect.c: Likewise.
38970         * misc/msync.c: Likewise.
38971         * misc/munlock.c: Likewise.
38972         * misc/munlockall.c: Likewise.
38973         * misc/munmap.c: Likewise.
38974         * misc/preadv.c: Likewise.
38975         * misc/preadv64.c: Likewise.
38976         * misc/ptrace.c: Likewise.
38977         * misc/pwritev.c: Likewise.
38978         * misc/pwritev64.c: Likewise.
38979         * misc/readv.c: Likewise.
38980         * misc/reboot.c: Likewise.
38981         * misc/remap_file_pages.c: Likewise.
38982         * misc/removexattr.c: Likewise.
38983         * misc/revoke.c: Likewise.
38984         * misc/select.c: Likewise.
38985         * misc/setdomain.c: Likewise.
38986         * misc/setegid.c: Likewise.
38987         * misc/seteuid.c: Likewise.
38988         * misc/sethostid.c: Likewise.
38989         * misc/sethostname.c: Likewise.
38990         * misc/setregid.c: Likewise.
38991         * misc/setreuid.c: Likewise.
38992         * misc/setxattr.c: Likewise.
38993         * misc/sstk.c: Likewise.
38994         * misc/stty.c: Likewise.
38995         * misc/swapoff.c: Likewise.
38996         * misc/swapon.c: Likewise.
38997         * misc/sync.c: Likewise.
38998         * misc/syncfs.c: Likewise.
38999         * misc/syscall.c: Likewise.
39000         * misc/truncate.c: Likewise.
39001         * misc/ualarm.c: Likewise.
39002         * misc/usleep.c: Likewise.
39003         * misc/ustat.c: Likewise.
39004         * misc/utimes.c: Likewise.
39005         * misc/vhangup.c: Likewise.
39006         * misc/writev.c: Likewise.
39007         * posix/_exit.c: Likewise.
39008         * posix/alarm.c: Likewise.
39009         * posix/execve.c: Likewise.
39010         * posix/fexecve.c: Likewise.
39011         * posix/fork.c: Likewise.
39012         * posix/fpathconf.c: Likewise.
39013         * posix/getaddrinfo.c: Likewise.
39014         * posix/getegid.c: Likewise.
39015         * posix/geteuid.c: Likewise.
39016         * posix/getgid.c: Likewise.
39017         * posix/getgroups.c: Likewise.
39018         * posix/getlogin.c: Likewise.
39019         * posix/getlogin_r.c: Likewise.
39020         * posix/getpgid.c: Likewise.
39021         * posix/getpid.c: Likewise.
39022         * posix/getppid.c: Likewise.
39023         * posix/getresgid.c: Likewise.
39024         * posix/getresuid.c: Likewise.
39025         * posix/getsid.c: Likewise.
39026         * posix/getuid.c: Likewise.
39027         * posix/glob64.c: Likewise.
39028         * posix/nanosleep.c: Likewise.
39029         * posix/pathconf.c: Likewise.
39030         * posix/pause.c: Likewise.
39031         * posix/posix_madvise.c: Likewise.
39032         * posix/pread.c: Likewise.
39033         * posix/pread64.c: Likewise.
39034         * posix/pwrite.c: Likewise.
39035         * posix/pwrite64.c: Likewise.
39036         * posix/sched_getaffinity.c: Likewise.
39037         * posix/sched_getp.c: Likewise.
39038         * posix/sched_gets.c: Likewise.
39039         * posix/sched_primax.c: Likewise.
39040         * posix/sched_primin.c: Likewise.
39041         * posix/sched_rr_gi.c: Likewise.
39042         * posix/sched_setaffinity.c: Likewise.
39043         * posix/sched_setp.c: Likewise.
39044         * posix/sched_sets.c: Likewise.
39045         * posix/sched_yield.c: Likewise.
39046         * posix/setgid.c: Likewise.
39047         * posix/setlogin.c: Likewise.
39048         * posix/setpgid.c: Likewise.
39049         * posix/setresgid.c: Likewise.
39050         * posix/setresuid.c: Likewise.
39051         * posix/setsid.c: Likewise.
39052         * posix/setuid.c: Likewise.
39053         * posix/sleep.c: Likewise.
39054         * posix/spawni.c: Likewise.
39055         * posix/sysconf.c: Likewise.
39056         * posix/times.c: Likewise.
39057         * posix/wait.c: Likewise.
39058         * posix/wait3.c: Likewise.
39059         * posix/wait4.c: Likewise.
39060         * posix/waitpid.c: Likewise.
39061         * resolv/gai_sigqueue.c: Likewise.
39062         * resource/getpriority.c: Likewise.
39063         * resource/getrlimit.c: Likewise.
39064         * resource/getrusage.c: Likewise.
39065         * resource/nice.c: Likewise.
39066         * resource/setpriority.c: Likewise.
39067         * resource/setrlimit.c: Likewise.
39068         * resource/ulimit.c: Likewise.
39069         * rt/aio_cancel.c: Likewise.
39070         * rt/aio_fsync.c: Likewise.
39071         * rt/aio_read.c: Likewise.
39072         * rt/aio_sigqueue.c: Likewise.
39073         * rt/aio_suspend.c: Likewise.
39074         * rt/aio_write.c: Likewise.
39075         * rt/clock_getres.c: Likewise.
39076         * rt/clock_gettime.c: Likewise.
39077         * rt/clock_nanosleep.c: Likewise.
39078         * rt/clock_settime.c: Likewise.
39079         * rt/lio_listio.c: Likewise.
39080         * rt/mq_close.c: Likewise.
39081         * rt/mq_getattr.c: Likewise.
39082         * rt/mq_notify.c: Likewise.
39083         * rt/mq_open.c: Likewise.
39084         * rt/mq_receive.c: Likewise.
39085         * rt/mq_send.c: Likewise.
39086         * rt/mq_setattr.c: Likewise.
39087         * rt/mq_timedreceive.c: Likewise.
39088         * rt/mq_timedsend.c: Likewise.
39089         * rt/mq_unlink.c: Likewise.
39090         * rt/shm_open.c: Likewise.
39091         * rt/shm_unlink.c: Likewise.
39092         * rt/timer_create.c: Likewise.
39093         * rt/timer_delete.c: Likewise.
39094         * rt/timer_getoverr.c: Likewise.
39095         * rt/timer_gettime.c: Likewise.
39096         * rt/timer_settime.c: Likewise.
39097         * setjmp/__longjmp.c: Likewise.
39098         * setjmp/setjmp.c: Likewise.
39099         * signal/kill.c: Likewise.
39100         * signal/killpg.c: Likewise.
39101         * signal/raise.c: Likewise.
39102         * signal/sigaction.c: Likewise.
39103         * signal/sigaltstack.c: Likewise.
39104         * signal/sigblock.c: Likewise.
39105         * signal/sigignore.c: Likewise.
39106         * signal/sigintr.c: Likewise.
39107         * signal/signal.c: Likewise.
39108         * signal/sigpause.c: Likewise.
39109         * signal/sigpending.c: Likewise.
39110         * signal/sigqueue.c: Likewise.
39111         * signal/sigreturn.c: Likewise.
39112         * signal/sigset.c: Likewise.
39113         * signal/sigsetmask.c: Likewise.
39114         * signal/sigstack.c: Likewise.
39115         * signal/sigsuspend.c: Likewise.
39116         * signal/sigtimedwait.c: Likewise.
39117         * signal/sigvec.c: Likewise.
39118         * signal/sigwait.c: Likewise.
39119         * signal/sigwaitinfo.c: Likewise.
39120         * signal/sysv_signal.c: Likewise.
39121         * socket/accept.c: Likewise.
39122         * socket/accept4.c: Likewise.
39123         * socket/bind.c: Likewise.
39124         * socket/connect.c: Likewise.
39125         * socket/getpeername.c: Likewise.
39126         * socket/getsockname.c: Likewise.
39127         * socket/getsockopt.c: Likewise.
39128         * socket/isfdtype.c: Likewise.
39129         * socket/listen.c: Likewise.
39130         * socket/recv.c: Likewise.
39131         * socket/recvfrom.c: Likewise.
39132         * socket/recvmsg.c: Likewise.
39133         * socket/send.c: Likewise.
39134         * socket/sendmsg.c: Likewise.
39135         * socket/sendto.c: Likewise.
39136         * socket/setsockopt.c: Likewise.
39137         * socket/shutdown.c: Likewise.
39138         * socket/sockatmark.c: Likewise.
39139         * socket/socket.c: Likewise.
39140         * socket/socketpair.c: Likewise.
39141         * stdio-common/ctermid.c: Likewise.
39142         * stdio-common/cuserid.c: Likewise.
39143         * stdio-common/remove.c: Likewise.
39144         * stdio-common/rename.c: Likewise.
39145         * stdio-common/renameat.c: Likewise.
39146         * stdio-common/tempname.c: Likewise.
39147         * stdlib/getcontext.c: Likewise.
39148         * stdlib/makecontext.c: Likewise.
39149         * stdlib/setcontext.c: Likewise.
39150         * stdlib/swapcontext.c: Likewise.
39151         * stdlib/system.c: Likewise.
39152         * streams/fattach.c: Likewise.
39153         * streams/fdetach.c: Likewise.
39154         * streams/getmsg.c: Likewise.
39155         * streams/getpmsg.c: Likewise.
39156         * streams/putmsg.c: Likewise.
39157         * streams/putpmsg.c: Likewise.
39158         * sysdeps/unix/bsd/getpt.c: Likewise.
39159         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39160         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39161         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39163         Likewise.
39164         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39165         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39166         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39167         * sysvipc/msgctl.c: Likewise.
39168         * sysvipc/msgget.c: Likewise.
39169         * sysvipc/msgrcv.c: Likewise.
39170         * sysvipc/msgsnd.c: Likewise.
39171         * sysvipc/semctl.c: Likewise.
39172         * sysvipc/semget.c: Likewise.
39173         * sysvipc/semop.c: Likewise.
39174         * sysvipc/semtimedop.c: Likewise.
39175         * sysvipc/shmat.c: Likewise.
39176         * sysvipc/shmctl.c: Likewise.
39177         * sysvipc/shmdt.c: Likewise.
39178         * sysvipc/shmget.c: Likewise.
39179         * termios/tcdrain.c: Likewise.
39180         * termios/tcflow.c: Likewise.
39181         * termios/tcflush.c: Likewise.
39182         * termios/tcgetattr.c: Likewise.
39183         * termios/tcgetpgrp.c: Likewise.
39184         * termios/tcsendbrk.c: Likewise.
39185         * termios/tcsetattr.c: Likewise.
39186         * termios/tcsetpgrp.c: Likewise.
39187         * time/adjtime.c: Likewise.
39188         * time/clock.c: Likewise.
39189         * time/getitimer.c: Likewise.
39190         * time/gettimeofday.c: Likewise.
39191         * time/setitimer.c: Likewise.
39192         * time/settimeofday.c: Likewise.
39193         * time/stime.c: Likewise.
39194         * time/time.c: Likewise.
39196 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39198         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39199         /usr/old/bin.
39201         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39202         instead of spaces.
39203         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39205 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39207         [BZ #14796]
39208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39209         FE_TONEAREST before applying Dekker multiplication and Knuth
39210         addition.  Clear inexact exceptions and check for exact zero
39211         results afterwards.
39212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39215         * math/libm-test.inc (fma_test): Add more tests.
39216         (fma_test_towardzero): Likewise.
39217         (fma_test_downward): Likewise.
39218         (fma_test_upward): Likewise.
39219         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39220         function.
39221         (libc_fesetround): New macro.
39222         (libc_fesetroundf): Likewise.
39223         (libc_fesetroundl): Likewise.
39224         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39225         function.
39226         (libc_fesetround_387): Likewise.
39227         (libc_fesetroundf): New macro.
39228         (libc_fesetround): Likewise.
39229         (libc_fesetroundl): Likewise.
39230         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39231         function.
39232         (libc_fesetroundf): New macro.
39233         (libc_fesetround): Likewise.
39234         (libc_fesetroundl): Likewise.
39235         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39236         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39237         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39238         libm_hidden_ver.
39239         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39240         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39241         libm_hidden_def.
39242         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39243         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39244         libm_hidden_ver.
39245         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39246         libm_hidden_def.
39248         [BZ #3439]
39249         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39250         integer constant usable in #if and use that to give value to enum
39251         constant.
39252         (FE_DIVBYZERO): Likewise.
39253         (FE_UNDERFLOW): Likewise.
39254         (FE_OVERFLOW): Likewise.
39255         (FE_INVALID): Likewise.
39256         (FE_INVALID_SNAN): Likewise.
39257         (FE_INVALID_ISI): Likewise.
39258         (FE_INVALID_IDI): Likewise.
39259         (FE_INVALID_ZDZ): Likewise.
39260         (FE_INVALID_IMZ): Likewise.
39261         (FE_INVALID_COMPARE): Likewise.
39262         (FE_INVALID_SOFTWARE): Likewise.
39263         (FE_INVALID_SQRT): Likewise.
39264         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39265         (FE_TONEAREST): Likewise.
39266         (FE_TOWARDZERO): Likewise.
39267         (FE_UPWARD): Likewise.
39268         (FE_DOWNWARD): Likewise.
39269         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39270         (FE_DIVBYZERO): Likewise.
39271         (FE_OVERFLOW): Likewise.
39272         (FE_UNDERFLOW): Likewise.
39273         (FE_INEXACT): Likewise.
39274         (FE_TONEAREST): Likewise.
39275         (FE_DOWNWARD): Likewise.
39276         (FE_UPWARD): Likewise.
39277         (FE_TOWARDZERO): Likewise.
39278         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39279         (FE_UNDERFLOW): Likewise.
39280         (FE_OVERFLOW): Likewise.
39281         (FE_DIVBYZERO): Likewise.
39282         (FE_INVALID): Likewise.
39283         (FE_TONEAREST): Likewise.
39284         (FE_TOWARDZERO): Likewise.
39285         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39286         (FE_OVERFLOW): Likewise.
39287         (FE_UNDERFLOW): Likewise.
39288         (FE_DIVBYZERO): Likewise.
39289         (FE_INEXACT): Likewise.
39290         (FE_TONEAREST): Likewise.
39291         (FE_TOWARDZERO): Likewise.
39292         (FE_UPWARD): Likewise.
39293         (FE_DOWNWARD): Likewise.
39294         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39295         (FE_DIVBYZERO): Likewise.
39296         (FE_OVERFLOW): Likewise.
39297         (FE_UNDERFLOW): Likewise.
39298         (FE_INEXACT): Likewise.
39299         (FE_TONEAREST): Likewise.
39300         (FE_DOWNWARD): Likewise.
39301         (FE_UPWARD): Likewise.
39302         (FE_TOWARDZERO): Likewise.
39304 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39306         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39308 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39310         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39311         commands.  Quote $PWD.
39312         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39313         -x" by "export".
39314         (remove_newlines): Remove.
39316 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39318         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39319         * stdlib/stdlib.h (atof): Moved to ...
39320         * include/bits/stdlib-float.h: Here.  New file.
39321         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39322         * stdlib/bits/stdlib-float.h: New file.
39323         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39324         -mno-sse -mno-mmx.
39325         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39326         <xmmintrin.h>.
39328 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39330         * conform/conformtest.pl (@headers): Add fenv.h.
39331         * conform/data/fenv.h-data: New file.
39332         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39333         include of <math/fenv.h>.
39335         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39336         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39337         && !UNIX98].  Enables tests for XOPEN2K8.
39338         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39339         POSIX2008]: Likewise.
39341         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39342         (struct rusage): Do not expect type or its members.
39344         [BZ #3439]
39345         * math/math.h (FP_NAN): Define macro to integer constant usable in
39346         #if and use that to give value to enum constant.
39347         (FP_INFINITE): Likewise.
39348         (FP_ZERO): Likewise.
39349         (FP_SUBNORMAL): Likewise.
39350         (FP_NORMAL): Likewise.
39352 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39354         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39355         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39356         arguments.
39358 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39360         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39361         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39362         autoconf-time if not.
39363         * configure.in: Remove AC_PREREQ.
39365 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39367         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39368         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39369         of the internal implementation.
39371 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39373         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39374         except include of <misc/sys/syslog.h>.
39376 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39379         function returns with a NULL context exit with zero.
39381 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39383         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39385 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39387         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39388         (run_program_cmd): This.
39389         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39390         (tst_langinfo): New variable.  Use it.
39392 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39394         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39395         floating point opcodes.
39397 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39399         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39400         variable.
39402         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39404         * sysdeps/mach/hurd/powerpc: Remove directory.
39405         * sysdeps/mach/powerpc: Likewise.
39407 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39409         * scripts/check-local-headers.sh: Ignore c++ headers.
39411 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39413         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39414         __libc_cleanup_region_start argument.
39416 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39418         [BZ #14784]
39419         [BZ #14785]
39420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39421         x * y using scaling, not as x * y + z.
39422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39423         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39424         * math/libm-test.inc (fma_test): Add more tests.
39425         (fma_test_towardzero): Likewise.
39426         (fma_test_downward): Likewise.
39427         (fma_test_upward): Likewise.
39429 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39431         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39433 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39435         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39436         New variable.
39438 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39440         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39442 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39445         Fix sort order.
39446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39447         Likewise.
39449 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39452         Fix the order of the list for glibc 2.17.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39454         Likewise.
39456 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39460 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39462         [BZ #14610]
39463         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39464         for low part of x being zero before using __atanl (y).
39465         * math/libm-test.inc (atan2_test): Add another test.
39467         * manual/install.texi (Configuring and compiling): Document
39468         general use of test-wrapper and test-wrapper-env.
39469         * INSTALL: Regenerated.
39471         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39472         (__fma): Do not extract and scale down low bits on after-rounding
39473         systems when result rounded to normal precision would have normal
39474         exponent.
39475         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39476         (__fmal): Do not extract and scale down low bits on after-rounding
39477         systems when result rounded to normal precision would have normal
39478         exponent.
39479         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39480         (__fmal): Do not extract and scale down low bits on after-rounding
39481         systems when result rounded to normal precision would have normal
39482         exponent.
39483         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39484         macro.
39485         (fma_test): Add more tests.
39486         (fma_test_towardzero): Likewise.
39487         (fma_test_downward): Likewise.
39488         (fma_test_upward): Likewise.
39490 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39492         * sysdeps/i386/tininess.h: Renamed to ...
39493         * sysdeps/x86/tininess.h: This.
39494         * sysdeps/x86_64/tininess.h: Removed.
39496 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39498         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39499         input.  Use $(build-program-cmd).
39500         ($(objpfx)tst-array1-static.out): Likewise.
39501         ($(objpfx)tst-array2.out): Likewise.
39502         ($(objpfx)tst-array3.out): Likewise.
39503         ($(objpfx)tst-array4.out): Likewise.
39504         ($(objpfx)tst-array5.out): Likewise.
39505         ($(objpfx)tst-array5-static.out): Likewise.
39507 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39509         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39510         if defined.
39512         * nss/nsswitch.h (nss_interface_function): Provide new
39513         macro for use with NSS functions.
39514         * grp/initgroups.c: Use new macro.
39515         * nss/getXXbyYY.c: Likewise.
39516         * nss/getXXbyYY_r.c: Likewise.
39517         * nss/getXXent.c: Likewise.
39518         * nss/getXXent_r.c: Likewise.
39519         * sysdeps/posix/getaddrinfo.c: Likewise.
39521 2012-10-30  Andreas Jaeger  <aj@suse.de>
39523         * po/ru.po: Update Russion translation from translation project.
39525 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39527         [BZ #14152]
39528         [BZ #14783]
39529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39530         result and shift together with sticky bit instead of replicating
39531         round-to-nearest rounding.
39532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39534         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39535         missing underflow exceptions.
39536         (fma_test_towardzero): Add more tests.
39537         (fma_test_downward): Likewise.
39538         (fma_test_upward): Likewise.
39540         [BZ #14047]
39541         * sysdeps/generic/tininess.h: New file.
39542         * sysdeps/i386/tininess.h: Likewise.
39543         * sysdeps/sh/tininess.h: Likewise.
39544         * sysdeps/x86_64/tininess.h: Likewise.
39545         * stdlib/tst-strtod-underflow.c: Likewise.
39546         * stdlib/tst-tininess.c: Likewise.
39547         * stdlib/strtod_l.c: Include <tininess.h>.
39548         (round_and_return): Do not set errno for exact underflow cases.
39549         Force an underflow exception when setting errno for underflow.
39550         Determine underflow based on rounding to normal precision if
39551         TININESS_AFTER_ROUNDING.
39552         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39553         ERANGE for exact underflow cases.
39554         * stdlib/Makefile (tests): Add tst-tininess and
39555         tst-strtod-underflow.
39556         ($(objpfx)tst-tininess): Use $(link-libm).
39557         ($(objpfx)tst-strtod-underflow): Likewise.
39559 2012-10-30  Andreas Jaeger  <aj@suse.de>
39561         [BZ#14767]
39562         * elf/Makefile (tests): Remove conditional for have-initfini-array
39563         since this is now always required and the variable does not exist
39564         anymore.
39565         (tests-static): Likewise.
39566         (modules-names): Likewise.
39568         * po/eo.po: Add Esperanto translation from translation project.
39570         * elf/tst-array1.c (fini_array): Make writeable so that it can be
39571         merged with constructor/destructor.
39572         (init_array): Likewise.
39573         * elf/tst-array2dep.c (fini_array): Likewise.
39574         (init_array): Likewise.
39576 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
39578         * manual/message.texi: Delete @cartouche tags.
39580 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
39582         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39583         EOPNOTSUPP.
39584         * sysdeps/mach/hurd/fsync.c: Likewise.
39586         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39587         [_POSIX_REALTIME_SIGNALS]: Change condition to
39588         [_POSIX_REALTIME_SIGNALS > 0].
39590 2012-10-27  Andreas Jaeger  <aj@suse.de>
39592         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39593         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39595         [__WORDSIZE != 64]: Likewise.
39597 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
39599         *  iconvdata/tst-table.sh: Remove ${SHELL}.
39600         *  iconvdata/tst-tables.sh: Likewise.
39602 2012-10-25  David S. Miller  <davem@davemloft.net>
39604         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39605         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39606         of strtoull.
39608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39609         ifunc-impl-list.c
39610         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39611         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39612         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39613         file.
39615 2012-10-25  Roland McGrath  <roland@hack.frob.com>
39617         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39618         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39619         __getdirentries.
39621 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39622             Jim Blandy  <jimb@codesourcery.com>
39624         * scripts/cross-test-ssh.sh: New file.
39625         * manual/install.texi (Configuring and compiling): Document use of
39626         cross-test-ssh.sh.
39627         * INSTALL: Regenerated.
39629 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
39631         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39632         EOPNOTSUPP.
39634 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39636         * Makeconfig (run-program-prefix): Fix comment.
39638 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39639             Jim Blandy  <jimb@codesourcery.com>
39641         * Makeconfig (test-wrapper): New variable,
39642         (test-wrapper-env): Likewise.
39643         [$(cross-compiling) = yes && $(test-wrapper) != ""]
39644         (run-built-tests): Define to yes.
39645         (run-program-prefix): Use $(test-wrapper).
39646         (built-program-cmd): Likewise.
39647         * Rules (make-test-out): Use $(test-wrapper-env) and
39648         $(host-built-program-cmd).
39649         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39650         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39651         tst-pathopt.sh.
39652         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39653         $(test-wrapper-env) to tst-rtld-load-self.sh.
39654         ($(objpfx)order2.out): Use $(test-wrapper).
39655         ($(objpfx)tst-initorder.out): Likewise.
39656         ($(objpfx)tst-initorder2.out): Likewise.
39657         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39658         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39659         (test_wrapper_env): New variable.  Use it to run ld.so.
39660         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39661         Use it to run ld.so.
39662         (test_wrapper_env): Likewise.
39663         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39664         $(test-wrapper) to run-iconv-test.sh.
39665         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39666         (ICONV): Use $test_wrapper.
39667         * posix/Makefile ($(objpfx)globtest.out): Pass
39668         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39669         globtest.sh, not $(run-program-prefix).
39670         * posix/globtest.sh (run_via_rtld_prefix): New variable.
39671         (test_wrapper): Likewise.
39672         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
39673         set together with run_via_rtld_prefix.
39674         (run_program_prefix): Define in terms of test_wrapper and
39675         run_via_rtld_prefix.
39677 2012-10-24  Roland McGrath  <roland@hack.frob.com>
39679         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39680         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39681         Targets removed.
39683         [BZ #14743]
39684         * include/time.h: Remove librt_hidden_proto (clock_gettime).
39685         Declare __clock_getres, __clock_gettime, __clock_settime,
39686         __clock_nanosleep, and __clock_getcpuclockid.
39687         * rt/clock_gettime.c: Define __clock_gettime as an alias.
39688         Remove librt_hidden_def (clock_gettime).
39689         * sysdeps/unix/clock_gettime.c: Likewise.
39690         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39692         * rt/clock_getres.c: Define __clock_getres as an alias.
39693         * sysdeps/posix/clock_getres.c: Likewise.
39694         * rt/clock_settime.c: Define __clock_settime as an alias.
39695         * sysdeps/unix/clock_settime.c: Likewise.
39696         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39697         * sysdeps/unix/clock_nanosleep.c: Likewise.
39698         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39699         * rt/clock-compat.c: New file.
39700         * rt/Makefile (librt-routines): Add clock-compat and move
39701         $(clock-routines) to ...
39702         (routines): ... here, new variable.
39703         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39704         Don't add get_clockfreq here.
39705         * rt/Versions (libc: GLIBC_2.17): New version set.
39706         Add clock_* symbols here.
39707         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
39708         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39709         (GLIBC_2.17): Add clock_* symbols.
39710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39712         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39714         Likewise.
39715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39716         Likewise.
39717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39721         * NEWS: Mention the move.
39723         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39724         Use __open, __read, __close rather than their public counterparts.
39725         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39726         (__get_clockfreq_via_cpuinfo): Likewise.
39727         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39728         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39730         * config.h.in (HAVE_IFUNC): New #undef.
39731         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39732         was successful.
39733         * configure: Regenerated.
39735 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39737         * configure.in: Move READELF check to start of file.
39738         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39739         libc_cv_asm_gnu_indirect_function in the process.
39740         * configure: Regenerated.
39742 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39744         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39745         send the output to /dev/null.
39746         (libc_cv_cc_with_libunwind): Likewise.
39747         (libc_cv_as_noexecstack): Likewise.
39748         * configure: Regenerate.
39750 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39752         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39754         * posix/globtest.sh (TMPDIR): Do not set.
39755         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39756         (testout): Likewise.
39758 2012-10-24  Andreas Jaeger  <aj@suse.de>
39760         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39761         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39762         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39763         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39764         posix_fadvise64, posix_fallocate64.
39766         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39767         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39768         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39769         Likewise.
39770         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39771         Likewise.
39772         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39774         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39775         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39776         <bits/fcntl-linux.h>.
39777         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39779         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39780         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39781         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39782         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39783         [__WORDSIZE != 64]: Likewise.
39785 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39787         * Makeconfig (run-built-tests): New variable.
39788         * Rules [$(cross-compiling) = yes]: Change condition to
39789         [$(run-built-tests) = no].
39790         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39791         to [$(run-built-tests) = yes].
39792         * elf/Makefile [$(cross-compiling) = no]: Likewise
39793         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39794         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39795         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39796         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39797         * io/Makefile [$(cross-compiling) = no]: Likewise.
39798         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39799         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39800         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39801         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39802         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39803         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39804         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39805         * string/Makefile [$(cross-compiling) = no]: Likewise.
39807         * posix/Makefile ($(objpfx)globtest.out): Pass
39808         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39809         $(rtld-installed-name).
39810         * posix/globtest.sh (elf_objpfx): Remove variable.
39811         (rtld_installed_name): Likewise.
39812         (library_path): Likewise.
39813         (run_program_prefix): New variable.  Use for running globtest
39814         binary.
39816 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39817             Joseph Myers  <joseph@codesourcery.com>
39819         * Makeconfig (host-built-program-cmd): New variable.
39820         * elf/Makefile (tst-stackguard1-ARGS): Use
39821         $(host-built-program-cmd).
39822         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39823         (tst-spawn-ARGS): Likewise.
39824         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39826 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39827             Jim Blandy  <jimb@codesourcery.com>
39829         * Makeconfig (run-via-rtld-prefix): New variable.
39830         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39831         (built-program-cmd): Likewise.
39833 2012-10-22  Andreas Jaeger  <aj@suse.de>
39835         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39836         __O_RSYNC if it exists, otherwise to O_SYNC.
39838 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39839             Joseph Myers  <joseph@codesourcery.com>
39841         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39842         /dev/null.
39843         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39844         from /dev/null
39845         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39846         /dev/null.
39848 2012-10-22  Andreas Jaeger  <aj@suse.de>
39850         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39851         Define always.
39852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39855         bits/fcntl-linux.h.
39857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39858         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39860         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39861         to __O_LARGEFILE.
39862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39863         to __O_LARGEFILE.
39865 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39866             Joseph Myers  <joseph@codesourcery.com>
39868         * config.make.in (NM): New variable.
39870 2012-10-21  Andreas Jaeger  <aj@suse.de>
39872         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39873         definitions and declarations that are provided by
39874         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39876 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39878         [BZ #14683]
39879         * elf/Makefile (tests-static): Add tst-leaks1-static.
39880         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39881         ($(objpfx)tst-leaks1-static): New rule.
39882         ($(objpfx)tst-leaks1-static-mem): Likewise.
39883         (tst-leaks1-static-ENV): New macro.
39884         * elf/dl-open.c (dl_open_worker): Check the main application
39885         only if SHARED is defined.
39886         * elf/tst-leaks1-static.c: New file.
39888 2012-10-20  Andreas Jaeger  <aj@suse.de>
39890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39891         generic values for Linux.
39892         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39893         and declarations that are provided by <bits/fcntl-linux.h> and
39894         include <bits/fcntl-linux.h>.
39895         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39898 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39900         * io/fcntl.h: Move include of <bits/types.h> to the top and
39901         include it unconditionally.
39903 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39905         * wcsmbs/Makefile (tests-ifunc): New variable.
39906         (tests): Add $(tests-ifunc).
39907         * wcsmbs/test-wcschr-ifunc.c: New file.
39908         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39909         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39910         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39911         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39912         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39914         * string/Makefile (tests-ifunc): New variable.
39915         (tests): Add $(tests-ifunc).
39916         * string/test-memccpy.c (TEST_NAME): New macro.
39917         * string/test-memchr.c (TEST_NAME): Likewise.
39918         * string/test-memcmp.c (TEST_NAME): Likewise.
39919         * string/test-memcpy.c (TEST_NAME): Likewise.
39920         * string/test-memmem.c (TEST_NAME): Likewise.
39921         * string/test-memmove.c (TEST_NAME): Likewise.
39922         * string/test-memset.c (TEST_NAME): Likewise.
39923         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39924         * string/test-stpcpy.c (TEST_NAME): Likewise.
39925         * string/test-stpncpy.c (TEST_NAME): Likewise.
39926         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39927         * string/test-strcasestr.c (TEST_NAME): Likewise.
39928         * string/test-strcat.c (TEST_NAME): Likewise.
39929         * string/test-strchr.c (TEST_NAME): Likewise.
39930         * string/test-strcmp.c(TEST_NAME): Likewise.
39931         * string/test-strcpy.c (TEST_NAME): Likewise.
39932         * string/test-strcspn.c (TEST_NAME): Likewise.
39933         * string/test-strlen.c (TEST_NAME): Likewise.
39934         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39935         * string/test-strncmp.c (TEST_NAME): Likewise.
39936         * string/test-strncpy.c (TEST_NAME): Likewise.
39937         * string/test-strnlen.c (TEST_NAME): Likewise.
39938         * string/test-strpbrk.c (TEST_NAME): Likewise.
39939         * string/test-strrchr.c (TEST_NAME): Likewise.
39940         * string/test-strspn.c (TEST_NAME): Likewise.
39941         * string/test-strstr.c (TEST_NAME): Likewise.
39942         * string/test-bcopy-ifunc.c: New file.
39943         * string/test-bzero-ifunc.c: Likewise.
39944         * string/test-memccpy-ifunc.c: Likewise.
39945         * string/test-memchr-ifunc.c: Likewise.
39946         * string/test-memcmp-ifunc.c: Likewise.
39947         * string/test-memcpy-ifunc.c: Likewise.
39948         * string/test-memmem-ifunc.c: Likewise.
39949         * string/test-memmove-ifunc.c: Likewise.
39950         * string/test-mempcpy-ifunc.c: Likewise.
39951         * string/test-memset-ifunc.c: Likewise.
39952         * string/test-rawmemchr-ifunc.c: Likewise.
39953         * string/test-stpcpy-ifunc.c: Likewise.
39954         * string/test-stpncpy-ifunc.c: Likewise.
39955         * string/test-strcasecmp-ifunc.c: Likewise.
39956         * string/test-strcasestr-ifunc.c: Likewise.
39957         * string/test-strcat-ifunc.c: Likewise.
39958         * string/test-strchr-ifunc.c: Likewise.
39959         * string/test-strchrnul-ifunc.c: Likewise.
39960         * string/test-strcmp-ifunc.c: Likewise.
39961         * string/test-strcpy-ifunc.c: Likewise.
39962         * string/test-strcspn-ifunc.c: Likewise.
39963         * string/test-strlen-ifunc.c: Likewise.
39964         * string/test-strncasecmp-ifunc.c: Likewise.
39965         * string/test-strncat-ifunc.c: Likewise.
39966         * string/test-strncmp-ifunc.c: Likewise.
39967         * string/test-strncpy-ifunc.c: Likewise.
39968         * string/test-strnlen-ifunc.c: Likewise.
39969         * string/test-strpbrk-ifunc.c: Likewise.
39970         * string/test-strrchr-ifunc.c: Likewise.
39971         * string/test-strspn-ifunc.c: Likewise.
39972         * string/test-strstr-ifunc.c: Likewise.
39974         * debug/Makefile (tests-ifunc): New variable.
39975         (tests): Add $(tests-ifunc).
39976         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39977         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39978         * debug/test-stpcpy_chk-ifunc.c: New file.
39979         * debug/test-strcpy_chk-ifunc.c: Likewise.
39981 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39983         [BZ #13601]
39984         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39985         header is not read in.
39987 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39989         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39990         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39991         directly.  Pass built executable to script as
39992         $(built-program-cmd).
39993         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39994         $testprogram without using LD_LIBRARY_PATH and $ldso.
39996         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39997         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39998         $(rtld-installed-name).
39999         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40000         (rtld_installed_name): Likewise.
40001         (library_path): Likewise.
40002         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40003         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40004         $(run-program-prefix) to tst-tables.sh.
40005         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40006         it to run tst-table-from and tst-table-to.
40007         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40008         Pass it to tst-table.sh.
40009         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40010         $(run-program-prefix) to tst-gettext.sh.
40011         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40012         tst-translit.sh.
40013         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40014         tst-gettext2.sh.
40015         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40016         to run tst-gettext.
40017         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40018         to run tst-gettext2.
40019         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40020         to run tst-translit.
40021         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40022         $(run-program-prefix) to tst-mtrace.sh.
40023         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40024         to run tst-mtrace.
40025         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40026         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40027         $(rtld-installed-name).
40028         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40029         (rtld_installed_name): Likewise.
40030         (run_program_prefix): New variable.  Use it to run wordexp-test.
40032         * Makeconfig (ARCH): Remove all definitions.
40033         (machine): Likewise.
40034         [ARCH]: Remove conditional code.
40035         [!objdir]: Give error.
40036         [!objdir] (objpfx): Remove.
40037         [!objdir] (common-objpfx): Likewise.
40038         [!objdir] (common-objdir): Likewise.
40039         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40040         AC_CONFIG_FILES call.
40041         * configure: Regenerated.
40043         [BZ #13888]
40044         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40045         or TMPDIR.
40046         (testout): Likewise.
40048         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40049         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40050         $(rtld-installed-name).
40051         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40052         (rtld_installed_name): Likwise.
40053         (runit): Remove function.
40054         (run_getconf): New variable,  Use it for running getconf binary.
40056 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40058         [BZ #14716]
40059         * string/test-memmem.c (check_result): New function.
40060         (do_one_test): Use it.
40061         (check1): New function.
40062         (test_main): Use it.
40064 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40066         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40068 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40070         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40071         (_G_LSEEK64): Likewise.
40072         (_G_MMAP64): Likewise.
40073         (_G_FSTAT64): Likewise.
40074         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40075         (_G_LSEEK64): Likewise.
40076         (_G_MMAP64): Likewise.
40077         (_G_FSTAT64): Likewise.
40078         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40079         unconditional.  Call __mmap64 directly.
40080         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40081         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40082         __lseek64 directly.
40083         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40084         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40085         __mmap64 directly.
40086         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40087         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40088         __lseek64 directly.
40089         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40090         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40091         __lseek64 directly.
40092         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40093         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40094         __lseek64 directly.
40095         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40096         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40097         __fxstat64 directly.
40098         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40099         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40100         unconditional.
40101         (freopen64) [!_G_OPEN64]: Remove conditional code.
40102         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40103         unconditional.
40104         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40105         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40106         unconditional.
40107         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40108         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40109         unconditional.
40110         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40111         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40112         unconditional.
40113         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40114         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40115         unconditional.
40116         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40117         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40118         unconditional.
40119         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40120         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40121         unconditional.
40122         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40124 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40126         [BZ #12140]
40127         * manual/memory.texi (Malloc Tunable Parameters): Add note
40128         about free list pointers overwriting some perturb bytes.
40129         Wording suggested by Roland McGrath.
40131 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40133         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40134         (lgamma_test): Likewise.
40135         (tgamma_test): Likewise.
40137 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40139         [BZ #14700]
40140         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40141         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40143 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40145         * NEWS: Mention BZ #14716.
40146         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40147         when removing AVAILABLE1_USES_J macro.
40149 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40151         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40152         (__bswap_64): __uint64_t for unsigned 64-bit int.
40154 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40156         * include/string.h (memmem): Declare libc hidden alias.
40157         * string/memmem.c (memmem): Define libc hidden alias.
40158         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40159         __read, __close instead of open, read, close.
40161 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40164         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40165         global and hidden.
40166         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40167         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40168         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40169         Likewise.
40170         (__rawmemchr_sse2): Likewise.
40171         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40172         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40173         (__strchr_sse2): Likewise.
40174         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40175         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40176         (__strcasecmp_sse2): Likewise.
40177         (__strncasecmp_sse2): Likewise.
40178         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40179         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40180         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40181         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40182         (__strrchr_sse2): Likewise.
40183         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40184         ifunc-impl-list.c.
40185         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40186         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40187         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40188         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40189         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40190         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40191         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40193         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40194         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40195         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40196         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40197         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40198         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40199         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40200         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40201         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40202         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40203         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40204         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40205         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40206         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40207         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40208         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40209         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40210         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40211         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40212         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40213         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40214         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40216         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40217         global and hidden.
40218         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40219         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40220         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40221         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40222         Likewise.
40223         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40224         Likewise.
40225         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40226         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40227         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40228         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40229         ifunc-impl-list.c.
40230         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40231         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40232         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40233         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40234         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40235         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40236         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40237         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40238         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40239         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40240         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40241         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40242         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40243         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40244         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40245         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40246         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40247         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40248         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40249         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40250         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40251         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40252         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40253         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40254         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40255         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40256         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40257         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40258         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40259         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40260         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40261         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40262         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40263         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40264         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40265         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40266         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40267         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40272         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40273         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40274         * include/ifunc-impl-list.h: New file.
40275         * misc/ifunc-impl-list.c: Likewise.
40276         * misc/Makefile (routines): Add ifunc-impl-list.
40277         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40278         * string/test-string.h: Include <ifunc-impl-list.h>.
40279         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40280         TEST_NAME]: New variables.
40281         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40282         are defined.
40283         (test_init): Call __libc_ifunc_impl_list to initialize
40284         func_list if TEST_IFUNC and TEST_NAME are defined.
40286         * string/Makefile (strop-tests): Add bcopy and bzero.
40287         * string/test-bcopy.c: New file.
40288         * string/test-bzero.c: Likewise.
40289         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40290         defined.
40291         * string/test-memset.c: Support bzero test if TEST_BZERO is
40292         defined.
40293         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40294         __libc_memmove.
40295         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40296         __libc_memset.
40297         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40298         of memset.
40300 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40302         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40303         * configure: Regenerated.
40305         * Makeconfig (+link-static-before-libc): Don't include
40306         $(link-static-libc).
40308         * libio/libio.h (_IO_pos_t): Remove.
40310 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40312         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40313         McGrath.
40315 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40317         * crypt/crypt-entry.c: Include fips-private.h.
40318         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40319         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40320         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40321         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40323 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40325         * crypt/crypt-private.h: Include stdbool.h.
40326         (_ufc_setup_salt_r): Return bool.
40327         * crypt/crypt-entry.c: Include errno.h.
40328         (__crypt_r): Return NULL with EINVAL for bad salt.
40329         * crypt/crypt_util.c (bad_for_salt): New.
40330         (_ufc_setup_salt_r): Check that salt is long enough and within
40331         the specified alphabet.
40332         * crypt/badsalttest.c: New file.
40333         * crypt/Makefile (tests): Add it.
40334         ($(objpfx)badsalttest): New.
40336 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40338         * NEWS: Add entry for BZ #14602.
40340 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40342         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40343         type-generic.
40344         * math/libm-test.inc: Update comment listing what functions and
40345         macros are tested.
40346         (isgreater_test): New function.
40347         (isgreaterequal_test): Likewise.
40348         (isless_test): Likewise.
40349         (islessequal_test): Likewise.
40350         (islessgreater_test): Likewise.
40351         (isunordered_test): Likewise.
40352         (main): Call the new functions.
40354 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40356         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40357         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40358         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40359         * sysdeps/i386/configure: Regenerated.
40360         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40361         * sysdeps/mach/configure: Regenerated.
40362         * sysdeps/mach/hurd/configure: Regenerated.
40363         * sysdeps/powerpc/configure: Regenerated.
40364         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40365         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40366         * sysdeps/s390/s390-32/configure: Regenerated.
40367         * sysdeps/s390/s390-64/configure: Regenerated.
40368         * sysdeps/sh/configure: Regenerated.
40369         * sysdeps/sparc/configure: Regenerated.
40370         * sysdeps/unix/sysv/linux/configure: Regenerated.
40371         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40372         * sysdeps/x86_64/configure: Regenerated.
40374         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40375         defined.  Don't check if MAP is NULL.
40377 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40379         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40380         (_G_stat64): Likewise.
40381         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40382         (_G_stat64): Likewise.
40383         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40384         instead of struct _G_stat64.
40385         * libio/fileops.c (mmap_remap_check): Likewise.
40386         (decide_maybe_mmap): Likewise.
40387         (_IO_new_file_seekoff): Likewise.
40388         (_IO_file_stat): Likewise.
40389         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40390         _G_off64_t.
40391         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40392         instead of struct _G_stat64.
40393         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40395 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40397         [BZ #14602]
40398         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40399         Replace with ...
40400         (CHECK_EOL): New macro.
40401         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40402         CHECK_EOL.
40403         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40404         Replace with CHECK_EOL.
40405         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40406         Replace with CHECK_EOL.
40408 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40410         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40411         type-generic.
40412         * math/libm-test.inc: Update comment listing what functions and
40413         macros are tested.
40414         (finite_test): New function.
40415         (isinf_test): Likewise.
40416         (isnan_test): Likewise.
40417         (fpclassify_test): Test subnormal input.
40418         (isfinite_test): Likewise.
40419         (isnormal_test): Likewise.
40420         (main): Call the new functions.
40422 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40424         [BZ #14660]
40425         * Makerules (%.dynsym): Force C locale when running
40426         $(OBJDUMP) --dynamic-syms.
40428 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40430         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40431         <stdint.h>.
40433 2012-10-06  David S. Miller  <davem@davemloft.net>
40435         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40436         upper 32-bits of the length value in %o2 since we use branch-on-register
40437         tests which consider the entire 64-bit register.
40439 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40441         * string/test-strstr.c (check2): Add a test for page boundary.
40443 2012-10-05  David S. Miller  <davem@davemloft.net>
40445         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40446         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40447         file.
40448         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40449         sysdep_routines.
40450         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40451         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40452         and bzero when HWCAP_SPARC_CRYPTO is present.
40454 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40456         [BZ #14602]
40457         * string/test-strstr.c (check2): New function.
40458         (test_main): Call check2.
40460         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40461         and bug-strchr1.
40462         * string/bug-strcasestr1.c (do_test): Moved to ...
40463         * string/test-strcasestr.c (check1): Here.  New function.
40464         (do_one_test): Break out result checking code into ...
40465         (check_result): This.  New function.
40466         (do_one_test): Call check_result.
40467         (test_main): Call check1.
40468         * string/bug-strchr1.c (do_test): Moved to ...
40469         * string/test-strchr.c (check1): Here.  New function.
40470         (do_one_test): Break out result checking code into ...
40471         (check_result): This.  New function.
40472         (do_one_test): Call check_result.
40473         (test_main): Call check1.
40474         * string/bug-strstr1.c (main): Moved to ...
40475         * string/test-strstr.c (check1): Here.  New function.
40476         (do_one_test): Break out result checking code into ...
40477         (check_result): This.  New function.
40478         (do_one_test): Call check_result.
40479         (test_main): Call check1.
40480         * string/bug-strcasestr1.c: Removed.
40481         * string/bug-strchr1.c: Likewise.
40482         * string/bug-strstr1.c: Likewise.
40484         * elf/Makefile (dl-routines): Add hwcaps.
40485         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40486         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40487         (_dl_important_hwcaps): Moved to ...
40488         * elf/dl-hwcaps.c: Here.  New file.
40489         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40491         [BZ #14557]
40492         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40493         if IS_IN_rtld isn't defined.
40495         * elf/dl-support.c (_dl_sysinfo_map): New.
40496         Include "get-dynamic-info.h" and "setup-vdso.h".
40497         (_dl_non_dynamic_init): Call setup_vdso.
40498         * elf/dynamic-link.h: Don't include <assert.h>.
40499         (elf_get_dynamic_info): Moved to ...
40500         * elf/get-dynamic-info.h: Here.  New file.
40501         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40502         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40503         * elf/setup-vdso.h: Here.  New file.
40504         * elf/rtld.c: Include "setup-vdso.h".
40505         (dl_main): Call setup_vdso.
40507 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40509         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40510         creal in comment listing functions tested.  List finite, isinf,
40511         isnan, isless, islessequal, isgreater, isgreaterequal,
40512         islessgreater, isunordered, lgamma_r and pow10 as functions and
40513         macros not tested.  Mention which functions not tested are aliases
40514         for other functions.  Fix typo.  Note that signs of NaNs are not
40515         tested.
40517         * scripts/config.guess: Update from config.git.
40518         * scripts/config.sub: Likewise.
40520 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40522         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40523         * misc/madvise.c (madvise): Renamed to __madvise.
40524         Make madvise a weak alias.
40525         * include/sys/mman.h: Declare __madvise.
40526         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40527         * sysdeps/unix/syscalls.list
40528         (madvise): Make __madvise the strong name, and madvise a weak alias.
40529         * sysdeps/unix/sysv/linux/syscalls.list
40530         (madvise, mmap): Remove redundant entries.
40531         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40532         * malloc/malloc.c (mtrim): Likewise.
40533         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40535 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40537         * sysdeps/mach/hurd/dl-cache.c: File removed.
40538         * config.h.in (USE_LDCONFIG): New #undef.
40539         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40540         * configure: Regenerated.
40541         * elf/Makefile (dl-routines): Add dl-cache only under
40542         [$(use-ldconfig) = yes].
40543         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40544         cache on [USE_LDCONFIG].
40545         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40546         [USE_LDCONFIG].
40547         * elf/rtld.c (dl_main): Likewise.
40549 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40551         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40552         _SC_LEVEL4_CACHE_LINESIZE.
40554 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40556         * sysdeps/unix/bsd/confstr.h: File removed.
40558 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
40560         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40561         sys/sdt-config.h.
40563 2012-10-02  Roland McGrath  <roland@hack.frob.com>
40565         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40566         Make 'mapoff' field ElfW(Off) rather than off_t.
40568 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
40570         * nscd/Makefile: Remove nscd-cflags and all its users.
40571         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40572         (CFLAGS-nonlib): Add compiler flags for nscd modules.
40574         [BZ #10631]
40575         * malloc.c (malloc_printerr): Clarify error message.
40577 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
40579         [BZ #14648]
40580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40581         Set bit_FMA_Usable if FMA is supported.
40582         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40583         macro.
40584         (bit_FMA4_Usable): Updated.
40585         (index_FMA_Usable): New macro.
40586         (CPUID_FMA): Likewise
40587         (HAS_FMA): Defined with bit_FMA_Usable.
40589 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40591         * bits/types.h (__swblk_t): Type removed.
40592         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40593         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40595         (__SWBLK_T_TYPE): Likewise.
40596         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40597         (__SWBLK_T_TYPE): Likewise.
40598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40599         (__SWBLK_T_TYPE): Likewise.
40600         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40601         (__SWBLK_T_TYPE): Likewise.
40603 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
40604             Honza Horak <hhorak@redhat.com>
40606         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40607         (xdr_mapname): Use YPMAXMAP as maxsize.
40608         (xdr_peername): Use YPMAXPEER as maxsize.
40609         (xdr_keydat): Use YPAXRECORD as maxsize.
40610         (xdr_valdat): Use YPMAXRECORD as maxsize.
40612 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40614         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40616         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40617         * csu/init-first.c: ... here.
40618         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40619         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40620         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40621         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40622         * sysdeps/i386/init-first.c: File removed.
40623         * sysdeps/sh/init-first.c: File removed.
40625 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
40627         [BZ #14645]
40628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40629         if x * y might underflow to zero and z is zero.
40630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40632         * math/libm-test.inc (min_subnorm_value): New variable.
40633         (fma_test): Add more tests.
40634         (fma_test_towardzero): Likewise.
40635         (fma_test_downward): Likewise
40636         (fma_test_upward): Likewise.
40637         (initialize): Set min_subnorm_value.
40639 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
40641         [BZ #14638]
40642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40643         0 + 0.
40644         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40645         mode for addition resulting in exact zero.
40646         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40648         exact 0 + 0.
40649         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40651         * math/libm-test.inc (fma_test): Add more tests.
40652         (fma_test_towardzero): New function.
40653         (fma_test_downward): Likewise.
40654         (fma_test_upward): Likewise.
40655         (main): Call the new functions.
40657 2012-09-28  David S. Miller  <davem@davemloft.net>
40659         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40661 2012-09-28  Roland McGrath  <roland@hack.frob.com>
40663         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40664         instead of SIGALRM.
40666         * sysdeps/gnu/_G_config.h: Moved to ...
40667         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40668         * sysdeps/mach/hurd/_G_config.h: Moved to ...
40669         * sysdeps/generic/_G_config.h: ... here.
40671         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
40673         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40675         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40676         Conditionalize target on [libnss_test1.so-version].
40678         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40680         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40681         (elfobjdir): Move out of conditionals.
40683         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40684         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40685         (__nss_lookup_function): Conditionalize label remove_from_tree on
40686         [!DO_STATIC_NSS || SHARED], matching its only use.
40688 2012-09-28  David S. Miller  <davem@davemloft.net>
40690         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40691         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40692         file.
40693         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40694         sysdep_routines.
40695         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40696         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40697         when HWCAP_SPARC_CRYPTO is present.
40699 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40701         * io/tst-mknodat.c: Create a FIFO instead of a socket.
40703 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
40705         [BZ #6530]
40706         * stdio-common/vfprintf.c (process_string_arg): Revert
40707         2000-07-22 change.
40709 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
40711         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40712         for testcase.
40713         * stdio-common/tst-sprintf.c: Include <locale.h>
40714         (main): Test sprintf's handling of incomplete multibyte
40715         characters.
40717 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
40719         * elf/dl-runtime.c (VERSYMIDX): Removed.
40720         * elf/dl-version.c (VERSYMIDX): Likewise.
40721         * elf/do-rel.h (VERSYMIDX): Likewise.
40722         (VALIDX): Likewise.
40723         * elf/dynamic-link.h (VERSYMIDX): Likewise.
40724         * elf/rtld.c (VALIDX): Likewise.
40725         (ADDRIDX): Likewise.
40726         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40727         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40728         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40729         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40730         (VALIDX): Likewise.
40731         (ADDRIDX): Likewise.
40733 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40735         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40737 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
40739         [BZ #11438]
40740         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40741         to global scope.
40742         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40743         addresses are in the same scope as 192.0.2/24.
40744         * posix/gai.conf: Document new scope table defaults.
40746 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40748         [BZ #5298]
40749         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40750         for ftell.  Compute offsets from write pointers instead.
40751         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40753 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40755         [BZ #14543]
40756         * libio/Makefile (tests): New test case tst-fseek.
40757         * libio/tst-fseek.c: New test case to verify that fseek/ftell
40758         combination works in wide mode.
40759         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40760         state when the external buffer state changes.
40762 2012-09-27  David S. Miller  <davem@davemloft.net>
40764         [BZ #14376]
40765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40766         pass reloc->r_addend in as the 'high' argument to
40767         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40771 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40773         * rt/tst-aio2.c: Include <pthread.h>.
40774         * rt/tst-aio3.c: Likewise.
40776 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40778         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40780 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40782         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40783         contents on [SHARED].
40785 2012-09-26  Marek Polacek  <polacek@redhat.com>
40787         [BZ #14530]
40788         [BZ #13741]
40789         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40790         for C++ and GCC <4.3 as well as for non GCC compilers.
40792 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40796 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40798         * Makefile.in (all, install): Declare with .PHONY.
40799         Reported by Michael Hope <michael.hope@linaro.org>.
40801 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40803         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40804         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40805         system header.
40806         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40807         Likewise.
40808         (sydep_routines): Add the new and the internal functions.
40809         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40810         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40812         (GLIBC_2.17): Add the new function.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40814         (GLIBC_2.17): Likewise.
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40816         (GLIBC_2.17): Likewise.
40817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40818         (GLIBC_2.17): Likewise.
40819         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40821 2012-09-25  Alan Modra  <amodra@gmail.com>
40823         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40824         Add release barrier before setting once_control to say
40825         initialisation is done.  Add hints on lwarx.  Use macro in
40826         place of isync.
40827         (clear_once_control): Add release barrier.
40829 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40831         [BZ #13629]
40832         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40833         specially.
40834         * math/s_clog10.c (__clog10): Likewise.
40835         * math/s_clog10f.c (__clog10f): Likewise.
40836         * math/s_clog10l.c (__clog10l): Likewise.
40837         * math/s_clogf.c (__clogf): Likewise.
40838         * math/s_clogl.c (__clogl): Likewise.
40839         * math/Makefile (libm-calls): Add x2y2m1.
40840         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40841         (__x2y2m1): Likewise.
40842         (__x2y2m1l): Likewise.
40843         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40844         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40845         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40846         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40847         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40848         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40849         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40850         * sysdeps/i386/fpu/libm-test-ulps: Update.
40851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40853         [BZ #14621]
40854         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40855         int as type of variable DEPTH.
40856         (glob): Use size_t instead of int as type of variables NEWCOUNT
40857         and OLD_PATHC.
40859 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40861         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40862         Add s_sincosf-sse2.
40863         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40864         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40865         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40866         macros for using routine as __sincosf_ia32.
40867         Use macro for function declaration and weak_alias.
40868         * sysdeps/i386/fpu/libm-test-ulps: Update.
40870         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40873         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40874         subnormal argument.
40875         * math/s_cexpf.c (__cexpf): Likewise.
40876         * math/s_csinf.c (__csinf): Likewise.
40877         * math/s_csinhf.c (__csinhf): Likewise.
40878         * math/s_ctanf.c (__ctanf): Likewise.
40879         * math/s_ctanhf.c (__ctanhf): Likewise.
40880         * math/s_ccosh.c (__ccoshf): Likewise.
40881         * math/s_cexp.c (__cexpl): Likewise.
40882         * math/s_csin.c (__csin): Likewise.
40883         * math/s_csinh.c (__csinh): Likewise.
40884         * math/s_ctan.c (__ctan): Likewise.
40885         * math/s_ctanh.c (ctanh): Likewise.
40886         * math/s_ccoshl.c (__ccoshl): Likewise.
40887         * math/s_cexpl.c (__cexpl): Likewise.
40888         * math/s_csinl.c (__csinl): Likewise.
40889         * math/s_csinhl.c (__csinhl): Likewise.
40890         * math/s_ctanl.c (__ctanl): Likewise.
40891         * math/s_ctanhl.c (__ctanhl): Likewise.
40893 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40895         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40896         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40897         (_IO_off_t): Define to __off_t, not _G_off_t.
40898         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40899         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40900         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40901         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40902         type of __dummy and __dummy2 fields.
40903         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40904         (_G_ssize_t): Likewise.
40905         (_G_off_t): Likewise.
40906         (_G_pid_t): Likewise.
40907         (_G_uid_t): Likewise.
40908         (_G_wchar_t): Likewise.
40909         (_G_wint_t): Likewise.
40910         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40911         (_G_ssize_t): Likewise.
40912         (_G_off_t): Likewise.
40913         (_G_pid_t): Likewise.
40914         (_G_uid_t): Likewise.
40915         (_G_wchar_t): Likewise.
40916         (_G_wint_t): Likewise.
40917         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40918         (_G_ssize_t): Likewise.
40919         (_G_off_t): Likewise.
40920         (_G_pid_t): Likewise.
40921         (_G_uid_t): Likewise.
40922         (_G_wchar_t): Likewise.
40923         (_G_wint_t): Likewise.
40925 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40927         * malloc/arena.c: Include malloc-sysdep.h.
40928         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40929         is sufficient to shrink the heap or an unmap is needed.
40930         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40931         new function check_may_shrink_heap.
40932         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40933         new function check_may_shrink_heap.
40935 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40937         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40938         comments.
40940 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40942         * catgets/test-gencat.sh: Add "set -e".
40943         * elf/tst-pathopt.sh: Likewise.
40944         * grp/tst_fgetgrent.sh: Likewise.
40945         * iconvdata/run-iconv-test.sh: Likewise.
40946         * intl/tst-gettext.sh: Likewise.
40947         * intl/tst-gettext2.sh: Likewise.
40948         * intl/tst-gettext4.sh: Likewise.
40949         * intl/tst-gettext6.sh: Likewise.
40950         * intl/tst-translit.sh: Likewise.
40951         * io/ftwtest-sh: Likewise.
40952         * libio/test-freopen.sh: Likewise.
40953         * malloc/tst-mtrace.sh: Likewise.
40954         * posix/globtest.sh: Likewise.
40955         * posix/tst-getconf.sh: Likewise.
40956         * posix/wordexp-tst.sh: Likewise.
40957         * stdio-common/tst-printf.sh: Likewise.
40958         * stdio-common/tst-unbputc.sh: Likewise.
40959         * stdlib/tst-fmtmsg.sh: Likewise.
40960         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40961         * catgets/Makefile: Do not specify -e option when running
40962         testsuite shell scripts.
40963         * elf/Makefile: Likewise.
40964         * grp/Makefile: Likewise.
40965         * iconvdata/Makefile: Likewise.
40966         * intl/Makefile: Likewise.
40967         * io/Makefile: Likewise.
40968         * libio/Makefile: Likewise.
40969         * malloc/Makefile: Likewise.
40970         * posix/Makefile: Likewise.
40971         * stdio-common/Makefile: Likewise.
40972         * stdlib/Makefile: Likewise.
40973         * sysdeps/x86_64/Makefile: Likewise.
40975         * io/ftwtest-sh: Add copyright header.
40976         * posix/globtest.sh: Likewise.
40977         * posix/tst-getconf.sh: Likewise.
40978         * posix/wordexp-tst.sh: Likewise.
40979         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40981 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40983         [BZ #13679]
40984         * Makeconfig (+link): Defined as $(+link-static) if
40985         $(build-shared) isn't yes.
40986         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40987         isn't yes.
40988         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40990         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40992         [BZ #14562]
40993         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40994         new chunk size with MALLOC_ALIGN_MASK.
40996 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40998         [BZ #5044]
40999         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41000         <rounding-mode.h>.
41001         (__printf_fphex): Determine rounding using get_rounding_mode and
41002         round_away.
41003         * stdio-common/tst-printf-round.c (struct hex_test): New
41004         structure.
41005         (hex_tests): New variable.
41006         (test_hex_in_one_mode): New function.
41007         (do_test): Also run tests for hex float output.
41009 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41011         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41012         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41013         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41014         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41015         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41016         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41017         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41018         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41020 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41022         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41023         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41024         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41025         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41027 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41029         [BZ #14579]
41030         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41031         mode only.
41032         * elf/tst-rtld-load-self.sh: New test.
41033         * elf/Makefile: Run it.
41035 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41037         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41038         (tst-writev-ENV): Remove.
41039         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41041 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41043         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41045 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41047         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41048         unconditional.
41049         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41050         Likewise.
41051         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41052         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41053         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41054         Likewise.
41056 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41058         [BZ #14587]
41059         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41060         * config.make.in (have-cpp-asm-debuginfo): Removed.
41061         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41062         * configure: Regenerated.
41064 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41066         [BZ #5044]
41067         * stdio-common/printf_fp.c: Include <stdbool.h> and
41068         <rounding-mode.h>.
41069         (___printf_fp): Determine rounding using get_rounding_mode and
41070         round_away.
41071         * stdio-common/tst-printf-round.c: New file.
41072         * stdio-common/Makefile (tests): Add tst-printf-round.
41073         (link-libm): New variable.
41074         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41076 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41078         [BZ #14576]
41079         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41080         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41081         Likewise.
41082         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41083         Likewise.
41085 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41087         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41088         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41089         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41090         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41092 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41094         [BZ #14518]
41095         * include/rounding-mode.h: New file.
41096         * sysdeps/generic/get-rounding-mode.h: Likewise.
41097         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41098         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41099         (MAX_VALUE): New macro.
41100         (MIN_VALUE): Likewise.
41101         (overflow_value): New function.
41102         (underflow_value): Likewise.
41103         (round_and_return): Use overflow_value and underflow_value to
41104         determine return values in overflow and underflow cases.  Use
41105         round_away to determine rounding depending on rounding mode.
41106         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41107         determine return values in overflow and underflow cases.
41108         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41109         (struct test_results): New structure.
41110         (struct test): Use struct test_results to store expected results
41111         for all rounding modes.
41112         (TEST): Include expected results for all rounding modes.
41113         (test_in_one_mode): New function.
41114         (do_test): Use test_in_one_mode to compute and check results.
41115         Check results for all rounding modes.
41116         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41117         $(link-libm).
41119 2012-12-09  Allan McRae  <allan@archlinux.org>
41121         * sysdeps/i386/fpu/libm-test-ulps: Update
41123 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41125         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41126         (_G_int32_t): Likewise.
41127         (_G_uint16_t): Likewise.
41128         (_G_uint32_t): Likewise.
41129         (_G_HAVE_BOOL): Likewise.
41130         (_G_HAVE_ATEXIT): Likewise.
41131         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41132         (_G_HAVE_IO_FILE_OPEN): Likewise.
41133         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41134         (_G_int32_t): Likewise.
41135         (_G_uint16_t): Likewise.
41136         (_G_uint32_t): Likewise.
41137         (_G_HAVE_BOOL): Likewise.
41138         (_G_HAVE_ATEXIT): Likewise.
41139         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41140         (_G_HAVE_IO_FILE_OPEN): Likewise.
41141         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41142         (_G_int32_t): Likewise.
41143         (_G_uint16_t): Likewise.
41144         (_G_uint32_t): Likewise.
41145         (_G_HAVE_BOOL): Likewise.
41146         (_G_HAVE_ATEXIT): Likewise.
41147         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41148         (_G_HAVE_IO_FILE_OPEN): Likewise.
41150 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41152         * csu/libc-tls.c: Update copyright years.
41154 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41156         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41157         [!_G_USING_THUNKS]: Remove conditional code.
41158         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41159         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41161         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41162         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41163         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41164         (_G_VTABLE_LABEL_PREFIX): Likewise.
41165         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41166         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41167         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41168         (_G_VTABLE_LABEL_PREFIX): Likewise.
41169         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41170         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41171         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41172         (_G_VTABLE_LABEL_PREFIX): Likewise.
41173         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41175 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41177         * libio/Makefile: Include ../Makeconfig before tests.
41178         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41179         only if $(build-shared) is yes.
41181         * iconv/gconv_db.c: Update copyright years.
41183 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41185         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41186         unwind info if defined PIC. Fix special cases description.
41187         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41189         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41190         DP_HI_MASK entry.
41191         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41193 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41195         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41197         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41198         is NULL.
41200         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41201         (LDLIBS-tst-chk4): This.
41202         (LDFLAGS-tst-chk5): Renamed to ...
41203         (LDLIBS-tst-chk5): This.
41204         (LDFLAGS-tst-chk6): Renamed to ...
41205         (LDLIBS-tst-chk6): This.
41206         (LDFLAGS-tst-lfschk4): Renamed to ...
41207         (LDLIBS-tst-lfschk4): This.
41208         (LDFLAGS-tst-lfschk5): Renamed to ...
41209         (LDLIBS-tst-lfschk5): This.
41210         (LDFLAGS-tst-lfschk6): Renamed to ...
41211         (LDLIBS-tst-lfschk6): This.
41213         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41214         on $(common-objpfx)soversions.mk.
41216 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41218         [BZ #10014]
41219         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41220         example host name.
41222 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41224         * malloc/arena.c (arena_get_retry): New function that gets
41225         another arena for the caller to try its request on.
41226         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41227         current arena cannot fulfill the request.
41228         (__libc_memalign): Likewise.
41229         (__libc_memalign): Likewise.
41230         (__libc_pvalloc): Likewise.
41231         (__libc_calloc): Likewise.
41233 2012-09-05  John Tobey  <john.tobey@gmail.com>
41235         [BZ #13542]
41236         * manual/arith.texi (Operations on Complex): Fix description
41237         of carg branch cut.
41239 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41241         [BZ #10014]
41242         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41243         host name.
41245         [BZ #10038]
41246         * manual/memory.texi (Memory): Make order of menu items match
41247         order of sections.
41249 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41251         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41252         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41253         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41255 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41257         * csu/libc-tls.c (static_dtv): Renamed to ...
41258         (_dl_static_dtv): This.  Make it global.
41259         (_dl_initial_dtv): Removed.
41260         (__libc_setup_tls): Updated.
41261         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41262         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41263         DL_INITIAL_DTV.
41265 2012-09-06  Petr Machata  <pmachata@redhat.com>
41267         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41268         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41269         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41270         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41272 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41274         [BZ #14545]
41275         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41276         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41277         freeing dtv[-1].
41279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41281         [BZ #14544]
41282         * Makeconfig (link-static-before-libc): Replace $(+prector)
41283         with $(+prectorT).
41284         (link-static-after-libc): Replace $(+postctor) with
41285         $(+postctorT).
41286         (link-bounded): Replace $(+prector)/$(+postctor) with
41287         $(+prectorT)/$(+postctorT).
41288         (+prectorT): New macro.
41289         (+postctorT): Likewise.
41291 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41293         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41294         (round_str): Handle values above the maximum for IBM long double
41295         as inexact.
41296         * stdlib/tst-strtod-round.c (tests): Regenerated.
41298 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41300         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41301         assembler flag.
41302         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41303         zarch_nohighgprs around the zarch optimized routines.
41304         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41305         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41306         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41307         for zarch.
41309 2012-09-05  David S. Miller  <davem@davemloft.net>
41311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41313         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41314         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41315         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41316         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41317         entries.
41319 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41321         * malloc/arena.c: Fold copyright years.
41322         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41326         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41328 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41330         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41332 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41334         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41335         change internal state upon failure.
41337 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41339         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41340         * malloc/memusage.c (mmap): Likewise.
41341         (mmap64, mremap): Likewise.  Adjust name in comment.
41343 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41345         * libio/fileops.c: Fix typos in comments.
41346         * libio/oldfileops.c: Likewise.
41347         * libio/wfileops.c: Likewise.
41349 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41351         [BZ #1349]
41352         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41353         (tst-malloc-usable-ENV): Set environment for test case.
41354         * malloc/hooks.c (malloc_check_get_size): New function to get
41355         requested size.
41356         * malloc/malloc.c (musable): Use malloc_check_get_size.
41357         * malloc/tst-malloc-usable.c: New test case.
41359 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41361         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41363 2012-09-05  Allan McRae  <allan@archlinux.org>
41365         [BZ #13966]
41366         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41367         determine header location.
41368         * configure: Regenerated.
41370 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41372         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41373         float format.
41374         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41375         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41376         format.
41377         (test): Regenerate.
41379 2012-09-04  David S. Miller  <davem@davemloft.net>
41381         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41382         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41383         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41385 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41387         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41388         failures.
41390         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41392 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41394         [BZ #9914]
41395         * libio/iogetdelim.c: Include <limits.h>.
41396         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41397         + len + 1 would overflow.
41399 2012-09-03  Andreas Jaeger  <aj@suse.de>
41401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41402         * sysdeps/i386/fpu/libm-test-ulps: Update.
41404 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41406         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41407         Add s_sinf-sse2, s_conf-sse2.
41409         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41410         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41411         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41412         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41414         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41415         for using routine as __sinf_ia32.
41416         Use macro for function declaration and weak_alias.
41417         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41418         for using routine as __cosf_ia32.
41419         Use macro for function declaration and weak_alias.
41421         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41422         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41424         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41425         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41428         * math/libm-test.inc (cos_test): Add more test cases.
41429         (sin_test): Likewise.
41430         (sincos_test): Likewise.
41432 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41434         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41435         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41436         hidden.
41437         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41439 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41441         [BZ #14538]
41442         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41443         first element of the GOT.
41444         (elf_machine_load_address): Return the difference between
41445         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41447 2012-09-01  Allan McRae  <allan@archlinux.org>
41449         [BZ #13412]
41450         * configure.in (AWK): Require gawk version 3.0 or later.
41451         * configure: Regenerated.
41453 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41455         * sysdeps/unix/sysv/linux/kernel-features.h
41456         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41457         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41458         [__NR_clock_getres]: Make code unconditional.
41459         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41460         (clock_getcpuclockid): Remove code left unreachable by removal of
41461         conditionals.
41462         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41463         code unconditional.
41464         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41465         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41466         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41467         Make code unconditional.
41468         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41469         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41470         * sysdeps/unix/sysv/linux/clock_settime.c
41471         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41472         conditional code.
41473         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41474         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41476 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41478         [BZ #14476]
41479         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41480         scripts/test-installation.pl.
41482         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41483         and $ld_so_version if it is set.
41485 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41487         [BZ #14516]
41488         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41489         failure if reading from procfs failed.
41490         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41492 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41494         * sysdeps/unix/sysv/linux/kernel-features.h
41495         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41496         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41497         Remove conditional code.
41498         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41499         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41500         Remove conditional code.
41501         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41502         * sysdeps/unix/sysv/linux/i386/fxstat.c
41503         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41505         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41506         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41508         * sysdeps/unix/sysv/linux/i386/lxstat.c
41509         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41511         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41512         Remove conditional code.
41513         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41514         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41515         Remove conditional code.
41516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41517         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41518         <kernel-features.h>.
41519         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41520         Remove.
41521         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41522         Remove conditional code.
41523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41524         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41525         Remove conditional.
41527 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41529         [BZ #5400]
41530         * NEWS: Add fixed bug number.
41532 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41534         [BZ #14519]
41535         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41536         underflowing exponent in case of negative sign.
41537         * stdlib/tst-strtod-round-data: Add more tests.
41538         * stdlib/tst-strtod-round.c (tests): Regenerated.
41540         [BZ #3479]
41541         * stdlib/strtod_l.c (NDIG): Remove.
41542         (HEXNDIG): Likewise.
41543         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41544         smallest representable value.
41545         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41546         lie within an exact representation of 1/2 ulp of the result.
41547         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41548         unconditionally.
41549         (TENS_P9_IDX): Define unconditionally.
41550         (TENS_P9_SIZE): Likewise.
41551         (TENS_P10_IDX): Likewise.
41552         (TENS_P10_SIZE): Likewise.
41553         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41554         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41555         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41556         entries for 10^2^13 and 10^2^14.
41557         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41558         (TENS_P13_IDX): Define.
41559         (TENS_P13_SIZE): Likewise.
41560         (TENS_P14_IDX): Likewise.
41561         (TENS_P14_SIZE): Likewise.
41562         (_fpioconst_pow10): Change array size to
41563         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
41564         unconditional.
41565         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41566         1024]: Add entries for 10^2^13 and 10^2^14.
41567         [LAST_POW10 > _LAST_POW10]: Remove #error.
41568         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41569         (_fpioconst_pow10): Change array size to
41570         FPIOCONST_POW10_ARRAY_SIZE.
41571         * stdlib/gen-fpioconst.c: New file.
41572         * stdlib/gen-tst-strtod-round.c: Likewise.
41573         * stdlib/tst-strtod-round-data: Likewise.
41574         * stdlib/tst-strtod-round.c: Likewise.
41575         * stdlib/Makefile (tests): Add tst-strtod-round.
41577         [BZ #14459]
41578         * stdlib/strtod_l.c: Include <stdint.h>.
41579         (NDEBUG): Do not define.
41580         (round_and_return): Change EXPONENT parameter to type intmax_t.
41581         Rearrange calculations to avoid internal overflow possibilities.
41582         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41583         Rearrange calculations to avoid internal overflow possibilities.
41584         Assert that number fits inside MPNSIZE limbs.
41585         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41586         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
41587         calculations and add assertions to avoid internal overflow
41588         possibilities.  Add casts to avoid signed/unsigned operations.
41589         * stdlib/tst-strtod-overflow.c: New file.
41590         * stdlib/Makefile (tests): Add tst-strtod-overflow.
41592 2012-08-25  Marek Polacek  <polacek@redhat.com>
41594         * time/time.h: Fix some typos in comments.
41596 2012-08-23  Roland McGrath  <roland@hack.frob.com>
41598         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41599         * posix/tst-rfc3484-2.c: Likewise.
41600         * posix/tst-rfc3484-3.c: Likewise.
41602 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
41604         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41605         (EF_ARM_ABI_FLOAT_HARD): Likewise.
41607 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
41609         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41610         #include of fxstatat64.c.
41612 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41614         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41615         * shadow/getspent_r.c: Likewise.
41616         * shadow/getspnam.c: Likewise.
41617         * shadow/getspnam_r.c: Likewise.
41618         * gshadow/getsgent.c: Likewise.
41619         * gshadow/getsgent_r.c: Likewise.
41620         * gshadow/getsgnam.c: Likewise.
41621         * gshadow/getsgnam_r.c: Likewise.
41622         * inet/getnetbyad.c: Likewise.
41623         * inet/getnetbyad_r.c: Likewise.
41624         * inet/getnetbynm.c: Likewise.
41625         * inet/getnetbynm_r.c: Likewise.
41626         * inet/getnetent.c: Likewise.
41627         * inet/getnetent_r.c: Likewise.
41628         * inet/getproto.c: Likewise.
41629         * inet/getproto_r.c: Likewise.
41630         * inet/getprtent.c: Likewise.
41631         * inet/getprtent_r.c: Likewise.
41632         * inet/getprtname.c: Likewise.
41633         * inet/getprtname_r.c: Likewise.
41634         * inet/getrpcbyname.c: Likewise.
41635         * inet/getrpcbyname_r.c: Likewise.
41636         * inet/getrpcbynumber.c: Likewise.
41637         * inet/getrpcbynumber_r.c: Likewise.
41638         * inet/getrpcent.c: Likewise.
41639         * inet/getrpcent_r.c: Likewise.
41640         * inet/getaliasent.c: Likewise.
41641         * inet/getaliasent_r.c: Likewise.
41642         * inet/getaliasname.c: Likewise.
41643         * inet/getaliasname_r.c: Likewise.
41644         * nscd/getgrgid_r.c: Likewise.
41645         * nscd/getgrnam_r.c: Likewise.
41646         * nscd/gethstbyad_r.c: Likewise.
41647         * nscd/gethstbynm3_r.c: Likewise.
41648         * nscd/getpwnam_r.c: Likewise.
41649         * nscd/getpwuid_r.c: Likewise.
41650         * nscd/getsrvbynm_r.c: Likewise.
41651         * nscd/getsrvbypt_r.c: Likewise.
41652         * nscd/gai.c: Likewise.
41654         * configure.in (build_nscd): New substituted variable, set
41655         by --disable-build-nscd and defaults to $use_nscd.
41656         * configure: Regenerated.
41657         * config.make.in (build-nscd): New substituted variable.
41658         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41659         Change conditional to require [$(build-nscd) = yes] as well.
41660         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41662         [BZ# 13696]
41663         * configure.in (use_nscd): New substituted variable, set by
41664         --disable-nscd.  If enabled, define USE_NSCD.
41665         * configure: Regenerated.
41666         * config.h.in: Add USE_NSCD.
41667         * config.make.in (use-nscd): New substituted variable.
41668         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41669         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41670         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41671         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41672         (CFLAGS-getgrnam_r.c): Likewise.
41673         (CFLAGS-initgroups.c): Likewise.
41674         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41675         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41676         Variables removed.
41677         * inet/getnetgrent_r.c
41678         (nscd_setnetgrent): New function, broken out of ...
41679         (setnetgrent): ... here.  Call it.
41680         (innetgr): Conditionalize nscd bits on [USE_NSCD].
41681         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41682         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41683         * nscd/Makefile (routines, aux): Move definitions after include of
41684         Makeconfig.  Conditionalize on [$(use-nscd) != no].
41685         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41686         Conditionalize on [USE_NSCD].
41687         (is_nscd, nscd_init_cb): Likewise.
41688         (nss_load_library): Conditionalize init callback on [USE_NSCD].
41689         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41690         * nss/nss_db/db-init.c: Likewise.
41691         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41692         [USE_NSCD].
41693         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41694         (make_request): Use it.
41695         (cache_valid_p): New function.
41696         (__check_pf): Use it.
41697         * NEWS: Add item for --disable-nscd.
41699 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
41701         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41702         to support sed >= 4.2.1-20-ga9bf076.
41703         * configure: Regenerated.
41705 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41707         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41708         Conditionalize whole body on [IREL].
41710 2012-08-22  Jeff Law <law@redhat.com>
41712         [BZ #14505]
41713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41714         if the family is PF_UNSPEC.
41716 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
41718         * Makerules (lib-version): Rename from V.
41719         (install-lib-nosubdir): Change V to lib-version.
41721 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
41723         [BZ #14252]
41724         * powerpc32/power6/wcschr.c: New file.
41725         * powerpc32/power6/wcscpy.c: New file.
41726         * powerpc32/power6/wcsrchr.c: New file.
41727         * powerpc64/power6/wcschr.c: New file.
41728         * powerpc64/power6/wcscpy.c: New file.
41729         * powerpc64/power6/wcsrchr.c: New file.
41731 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41733         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41734         (two_way_short_needle): Use it.
41735         * string/strstr.c (AVAILABLE1_USES_J): Define.
41736         * string/strcasestr.c: Likewise.
41738         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41739         array references.
41740         * string/strcasestr.c (TOLOWER): Make side-effect safe.
41742         [BZ #11607]
41743         * NEWS: Add an entry.
41744         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41745         define their defaults.
41746         (two_way_short_needle): Detect end-of-string on-the-fly.
41747         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41748         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41749         * string/bug-strcasestr1.c: New test.
41750         * string/Makefile: Run it.
41752 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41754         [BZ #11607]
41755         * string/str-two-way.h (two_way_short_needle): Optimize matching of
41756         the first character.
41758 2012-08-21  Roland McGrath  <roland@hack.frob.com>
41760         * csu/elf-init.c (__libc_csu_irel): Function removed.
41761         * csu/libc-start.c (apply_irel): New function.
41762         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41764 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41766         * sysdeps/unix/sysv/linux/kernel-features.h
41767         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41768         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41769         <kernel-features.h>.
41770         [__NR_fadvise64_64]: Make code unconditional.
41771         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41772         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41773         !__NR_fadvise64_64)]: Likewise.
41774         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41775         !__NR_fadvise64_64))]: Likewise.
41776         [__NR_fadvise64]: Make code unconditional.
41777         [!__NR_fadvise64]: Remove conditional code.
41778         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41779         <kernel-features.h>.
41780         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41781         unconditional.
41782         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41783         conditional code.
41784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41785         not include <kernel-features.h>.
41786         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41787         unconditional.
41788         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41789         conditional code.
41790         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41791         include <kernel-features.h>.
41792         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41793         unconditional.
41794         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41795         conditional code.
41797 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41799         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41800         slight instruction rearrangements per scrollpipe analysis.
41801         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41803 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41805         * manual/syslog.texi (syslog; vsyslog, closelog):
41806         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41807         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41809         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41810         DSOCAPS to match condition on defining it.
41812 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41814         * sysdeps/unix/sysv/linux/kernel-features.h
41815         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41817         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41818         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41820         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41821         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41823         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41824         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41826         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41827         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41829         * sysdeps/unix/sysv/linux/kernel-features.h
41830         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41831         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41832         unconditional.
41833         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41834         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41835         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41836         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41837         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41838         Make code unconditional.
41839         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41840         (__mmap64) [!__NR_mmap2]: Likewise.
41841         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41842         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41843         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41844         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41845         [__NR_mmap2]: Make code unconditional.
41846         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41847         (__mmap64) [!__NR_mmap2]: Likewise.
41849 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41851         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41853 2012-08-18  Andreas Jaeger  <aj@suse.de>
41855         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41857 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41859         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41860         * include/unistd.h (__have_sock_cloexec): Likewise.
41861         (__have_pipe2): Likewise.
41862         (__have_dup3): Likewise.
41864 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41866         [BZ #9685]
41867         * include/unistd.h (__have_pipe2): Change define into an extern int.
41868         (__have_dup3): Likewise.
41869         * socket/have_sock_cloexec.c: Include fcntl.h.
41870         (__have_pipe2): New variable.
41871         (__have_dup3): Likewise.
41873 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41875         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41877 2012-08-17  Marek Polacek  <polacek@redhat.com>
41879         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41880         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41882 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41884         * configure.in: Add AC_SUBST for sysheaders.
41885         * configure: Regenerated.
41886         * config.make.in (sysheaders): New substituted variable.
41888         * sysdeps/unix/mkfifo.c: Moved ...
41889         * sysdeps/posix/mkfifo.c: ... here.
41890         * sysdeps/unix/mkfifoat.c: Moved ...
41891         * sysdeps/posix/mkfifoat.c: ... here.
41893         * sysdeps/unix/utime.c: Moved ...
41894         * sysdeps/posix/utime.c: ... here.
41896         * sysdeps/unix/time.c: Moved ...
41897         * sysdeps/posix/time.c: ... here.
41898         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41899         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41901         * sysdeps/unix/nice.c: Moved ...
41902         * sysdeps/posix/nice.c: ... here.
41904         * sysdeps/unix/alarm.c: Moved ...
41905         * sysdeps/posix/alarm.c: ... here.
41907         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41909 2012-08-17  Jeff Law <law@redhat.com>
41911         * intl/Makefile (codeset_mo): New variable.
41912         ($(codeset_mo)): New target.
41913         (tst-codeset.out): Depend on that.  Remove explicit rule.
41914         (tst-gettext3.out, tst-gettext5.out): Likewise.
41915         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41916         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41917         * intl/tst-codeset.sh: Remove.
41918         * intl/tst-gettext3.sh: Likewise.
41919         * intl/tst-gettext5.sh: Likewise.
41921 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41923         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41924         * sysdeps/unix/syscalls.list: ... here.
41926         * sysdeps/posix/getaddrinfo.c
41927         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41928         (gaiconf_init, gaiconf_reload): Use them.
41929         [!_STATBUF_ST_NSEC]
41930         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41931         Define using time_t rather than struct timespec.
41933         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41934         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41935         Macros removed.
41936         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41937         [!NO_THREADS].
41938         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41939         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41940         Likewise.
41942         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41943         __libc_cleanup_push argument.
41945         * bits/param.h: New file.
41946         * misc/sys/param.h: New file.
41947         * include/sys/param.h: New file.
41948         * misc/Makefile (headers): Add bits/param.h.
41949         * sysdeps/generic/sys/param.h: File removed.
41950         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41951         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41952         * sysdeps/mach/hurd/bits/param.h: New file.
41953         * sysdeps/mach/hurd/sys/param.h: File removed.
41955         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41956         last change.
41958         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41959         [_IO_MTSAFE_IO].
41960         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41961         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41962         New macros.
41964         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41965         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41966         rather than -D_IO_MTSAFE_IO conditionally.
41967         * stdio-common/Makefile (CPPFLAGS): Likewise.
41968         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41969         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41970         Use $(libio-mtsafe).
41971         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41972         of -D_IO_MTSAFE_IO.
41973         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41974         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41975         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41976         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41977         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41978         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41979         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41980         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41981         (CFLAGS-fread_u_chk.c): Likewise.
41982         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41983         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41984         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41985         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41986         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41987         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41988         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41989         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41990         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41992         * libio/Makefile: Test [$(libc-reentrant) = yes]
41993         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41995         * Makeconfig
41996         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41997         * sysdeps/pthread/configure: File removed.
41998         * sysdeps/pthread/Makeconfig: New file.
41999         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42000         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42002 2012-08-16  Gary Benson  <gbenson@redhat.com>
42004         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42005         unmapping the first object in a namespace.
42007 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42009         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42010         (__internal_setnetgrent): ... this.  Add internal_function to
42011         definition.  Add libc_hidden_def.
42012         (setnetgrent): Update caller.
42013         (internal_endnetgrent): Renamed to ...
42014         (__internal_endnetgrent): ... this.  Add internal_function to
42015         definition.  Add libc_hidden_def.
42016         (endnetgrent): Update caller.
42017         (internal_getnetgrent_r): Renamed to ...
42018         (__internal_getnetgrent_r): ... this.  Add internal_function to
42019         definition.  Add libc_hidden_def.
42020         (__getnetgrent_r): Update caller.
42021         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42023 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42025         * stdlib/longlong.h: Update from GCC.
42027 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42029         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42030         on _QL, which is set by umul_ppmm but never used.
42031         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42032         variables, which are set by GMP macros but never used.
42033         * stdio-common/_itowa.c (_itowa): Likewise.
42034         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42035         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42037 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42039         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42040         struct La_sh_regs is not constant.
42041         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42042         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42043         and struct La_sparc64_regs are not constant.
42045 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42047         * sysdeps/unix/sysv/linux/kernel-features.h
42048         (__ASSUME_POSIX_TIMERS): Remove.
42049         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42050         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42051         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42052         Make code unconditional.
42053         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42054         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42055         Make code unconditional.
42056         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42057         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42058         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42059         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42060         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42061         Make code unconditional.
42062         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42063         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42064         (__libc_missing_posix_timers): Remove.
42066 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42068         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42069         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42071         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42073         * elf/dl-sym.c: Include <stdlib.h>.
42075         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42076         constants, which avoids warnings in 32-bit builds.
42078         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42079         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42081         * misc/lseek.c: File moved to ...
42082         * io/lseek.c: ... here.
42084         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42086         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42087         shifting LEN more than 31 bits at once.
42089 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42091         [BZ #14195]
42092         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42093         segmentation fault for a case of two empty input strings.
42094         * string/test-strncasecmp.c (check1): Renamed to...
42095         (bz12205): ...this.
42096         (bz14195): Add new testcase for two empty input strings and N > 0.
42097         (test_main): Call new testcase, adapt for renamed function.
42099 2012-08-15  Andreas Jaeger  <aj@suse.de>
42101         [BZ #14090]
42102         * crypt/md5test2.c: New test, based on test supplied by Serge
42103         Belyshev <belyshev@depni.sinp.msu.ru>.
42104         * crypt/Makefile (xtests): Add md5test-giant..
42105         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42107 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42109         [BZ #14090]
42110         * crypt/md5.c (md5_process_block): Don't assume the buffer
42111         length is less than 2**32.
42112         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42113         length is less than 2**64.
42115 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42117         * string/str-two-way.h: Include <sys/param.h>.
42118         (MAX): Macro removed.
42120         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42121         Move #define and #undef of memmove to just before and after
42122         including <string.h>.
42124         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42125         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42126         and after including <string.h>.  Move declarations of
42127         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42128         to before #include "string/memmove.c".
42130         * include/dirent.h: Declare __getdirentries.
42132         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42133         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42135 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42137         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42138         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42139         * sysdeps/i386/configure: Regenerated.
42140         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42141         STABS_CURRENT_FILE, and STABS_FUN.
42142         (END): Remove call to STABS_FUN_END.
42143         (STABS_CURRENT_FILE1): Delete.
42144         (STABS_CURRENT_FILE): Likewise.
42145         (STABS_FUN): Likewise.
42146         (STABS_FUN_END): Likewise.
42147         (STABS_FUN2): Likewise.
42148         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42149         * sysdeps/x86_64/configure: Regenerated.
42151 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42153         * elf/dl-open.c: Include <atomic.h>.
42154         * elf/dl-lookup.c: Likewise.
42156 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42158         * sysdeps/unix/sysv/linux/kernel-features.h
42159         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42160         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42161         unconditionally.
42162         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42163         unconditionally.
42164         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42165         condition on __ASSUME_CLONE_THREAD_FLAGS.
42167 2012-08-14  Andreas Jaeger  <aj@suse.de>
42169         * sysdeps/i386/fpu/libm-test-ulps: Update.
42171 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42173         * include/atomic.h (atomic_exchange_and_add): Split into ...
42174         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42175         New atomic macros.
42177 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42181 2012-08-13  Jeff Law <law@redhat.com>
42183         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42184         null byte in the output string.
42186 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42188         * sysdeps/unix/sysv/linux/kernel-features.h
42189         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42190         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42191         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42192         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42193         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42194         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42195         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42197 2012-08-09  Jeff Law <law@redhat.com>
42199         [BZ #13939]
42200         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42201         When avoid_arena is set, don't retry in the that arena.  Pick the
42202         next one, whatever it might be.
42203         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42204         (arena_lock): Pass in new parameter to arena_get2.
42205         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42206         arena_get2.
42207         (__libc_malloc): Unify retrying after main arena failure with
42208         __libc_memalign version.
42209         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42211 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42213         [BZ #14166]
42214         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42215         to __redirect_strstr.
42216         (__strstr_sse42): Use typeof __redirect_strstr.
42217         (__strstr_ia32): Likewise.
42218         (__libc_strstr): New prototype.
42219         (strstr): Renamed to ...
42220         (__libc_strstr): This.
42221         (strstr): New strong alias of __libc_strstr.
42222         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42223         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42224         __redirect_time.
42225         Include <time.h>.
42226         (__libc_time): New prototype.
42227         (time_ifunc): Replace time with __libc_time.
42228         (time): New strong alias and hidden definition of __libc_time.
42229         (__GI_time): Remove strong alias.
42230         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42231         Include <stddef.h>.
42232         (memmove): Redefined to __redirect_memmove.
42233         (__memmove_sse2): Use typeof __redirect_memmove.
42234         (__memmove_ssse3): Likewise.
42235         (__memmove_ssse3_back): Likewise.
42236         (__libc_memmove): New prototype.
42237         (memmove): Renamed to ...
42238         (__libc_memmove): This.
42239         (memmove): New strong alias of __libc_memmove.
42241 2012-08-08  Mark Salter  <msalter@redhat.com>
42243         * elf/elf.h
42244         (R_MN10300_TLS_GD): Define.
42245         (R_MN10300_TLS_LD): Likewise.
42246         (R_MN10300_TLS_LDO): Likewise.
42247         (R_MN10300_TLS_GOTIE): Likewise.
42248         (R_MN10300_TLS_IE): Likewise.
42249         (R_MN10300_TLS_LE): Likewise.
42250         (R_MN10300_TLS_DTPMOD): Likewise.
42251         (R_MN10300_TLS_DTPOFF): Likewise.
42252         (R_MN10300_TLS_TPOFF): Likewise.
42253         (R_MN10300_SYM_DIFF): Likewise.
42254         (R_MN10300_ALIGN): Likewise.
42255         (R_MN10300_NUM): Update.
42257 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42259         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42260         Remove.
42262 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42264         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42266         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42267         sysdeps/unix -> sysdeps/posix move.
42268         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42270 2012-08-07      Allan McRae     <allan@archlinux.org>
42272         [BZ #14303]
42273         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42274         (SUNOS_CPP): Likewise.
42275         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42276         not found.
42277         (open_input): Call CPP using execvp.
42279 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42281         * sysdeps/unix/sysv/linux/kernel-features.h
42282         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42283         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42284         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42285         (__ASSUME_WAITID_SYSCALL): Likewise.
42286         * sysdeps/unix/sysv/linux/dl-execstack.c
42287         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42288         code unconditional.
42289         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42290         conditional code.
42291         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42292         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42293         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42294         code.
42295         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42296         unconditional.
42297         [__ASSUME_WAITID_SYSCALL]: Likewise.
42298         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42300 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42302         * sysdeps/unix/closedir.c: Renamed to ...
42303         * sysdeps/posix/closedir.c: ... here.
42304         * sysdeps/unix/dirfd.c: Renamed to ...
42305         * sysdeps/posix/dirfd.c: ... here.
42306         * sysdeps/unix/dirstream.h: Renamed to ...
42307         * sysdeps/posix/dirstream.h: ... here.
42308         * sysdeps/unix/fdopendir.c: Renamed to ...
42309         * sysdeps/posix/fdopendir.c: ... here.
42310         * sysdeps/unix/opendir.c: Renamed to ...
42311         * sysdeps/posix/opendir.c: ... here.
42312         * sysdeps/unix/readdir.c: Renamed to ...
42313         * sysdeps/posix/readdir.c: ... here.
42314         * sysdeps/unix/readdir_r.c: Renamed to ...
42315         * sysdeps/posix/readdir_r.c: ... here.
42316         * sysdeps/unix/rewinddir.c: Renamed to ...
42317         * sysdeps/posix/rewinddir.c: ... here.
42318         * sysdeps/unix/seekdir.c: Renamed to ...
42319         * sysdeps/posix/seekdir.c: ... here.
42320         * sysdeps/unix/telldir.c: Renamed to ...
42321         * sysdeps/posix/telldir.c: ... here.
42322         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42323         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42324         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42325         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42327         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42328         * bits/fcntl.h: ... here.
42330         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42331         not 0.
42332         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42333         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42334         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42335         (struct flock): Move l_start, l_len to the beginning.
42336         Use __pid_t for l_pid.
42337         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42338         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42339         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42340         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42341         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42342         [__USE_LARGEFILE64] (struct flock64): New type.
42343         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42345         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42346         * bits/dirent.h: ... here.
42348         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42349         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42351 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42353         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42354         Change from 2.6.0 to 2.6.16.
42355         * sysdeps/unix/sysv/linux/configure: Regenerated.
42356         * sysdeps/unix/sysv/linux/kernel-features.h
42357         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42358         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42359         version.
42360         (__ASSUME_UTIMES): Likewise.
42361         (__ASSUME_CLONE_STOPPED): Remove.
42362         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42363         architectures, not kernel version.
42364         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42365         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42366         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42367         (__ASSUME_WAITID_SYSCALL): Likewise.
42368         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42369         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42370         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42371         refer to older versions.
42373 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42375         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42376         Define alphasort64 as an alias.
42377         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42378         Define versionsort64 as an alias.
42379         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42380         Define scandir64 as an alias.
42381         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42382         Define scandirat64 as an alias.
42383         * dirent/alphasort64.c (alphasort64):
42384         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42385         * dirent/versionsort64.c: Likewise.
42386         * dirent/scandir64.c: Likewise.
42387         * dirent/scandirat64.c: Likewise.
42388         * sysdeps/wordsize-64/alphasort.c: File removed.
42389         * sysdeps/wordsize-64/alphasort64.c: File removed.
42390         * sysdeps/wordsize-64/scandir.c: File removed.
42391         * sysdeps/wordsize-64/scandir64.c: File removed.
42392         * sysdeps/wordsize-64/scandirat.c: File removed.
42393         * sysdeps/wordsize-64/scandirat64.c: File removed.
42394         * sysdeps/wordsize-64/versionsort.c: File removed.
42395         * sysdeps/wordsize-64/versionsort64.c: File removed.
42396         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42397         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42398         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42399         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42400         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42401         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42402         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42403         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42405         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42406         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42407         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42408         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42409         [defined __arch64__ || defined __sparcv9]
42410         (__INO_T_MATCHES_INO64_T): New macro.
42411         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42412         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42413         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42414         * sysdeps/unix/sysv/linux/bits/dirent.h
42415         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42416         (_DIRENT_MATCHES_DIRENT64): New macro.
42418         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42419         Define lockf64 as an alias.
42420         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42421         Define fseeko64 as an alias.
42422         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42423         Define ftello64 as an alias.
42424         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42425         Define _IO_fgetpos64 and fgetpos64 as aliases.
42426         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42427         Define _IO_fsetpos64 and fsetpos64 as aliases.
42428         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42429         Conditionalize body on this.
42430         * libio/fseeko64.c: Likewise.
42431         * libio/ftello64.c: Likewise.
42432         * libio/iofgetpos64.c: Likewise.
42433         * libio/iofsetpos64.c: Likewise.
42434         * sysdeps/wordsize-64/lockf.c: File removed.
42435         * sysdeps/wordsize-64/lockf64.c: File removed.
42436         * sysdeps/wordsize-64/fseeko.c: File removed.
42437         * sysdeps/wordsize-64/fseeko64.c: File removed.
42438         * sysdeps/wordsize-64/ftello.c: File removed.
42439         * sysdeps/wordsize-64/ftello64.c: File removed.
42440         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42441         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42442         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42443         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42444         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42445         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42446         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42447         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42448         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42449         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42450         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42451         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42452         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42453         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42455         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42457         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42459         [defined __arch64__ || defined __sparcv9]
42460         (__OFF_T_MATCHES_OFF64_T): New macro.
42461         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42462         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42464         (__OFF_T_MATCHES_OFF64_T): New macro.
42466 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42468         * stdlib/secure-getenv.c (__secure_getenv): Replace
42469         GLIBC_2_16 with GLIBC_2_17.
42471 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42473         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42476 2012-08-03  David S. Miller  <davem@davemloft.net>
42478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42480 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42482         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42483         Remove.
42484         (__ASSUME_CORRECT_SI_PID): Likewise.
42485         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42486         (__ASSUME_TMPFS_NAME): Likewise.
42487         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42488         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42489         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42490         (HAVE_AUX_SECURE): Make definition unconditional.
42491         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42492         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42494 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42496         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42497         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42498         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42499         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42500         __eloop_threshold instead of SYMLOOP_MAX.
42502         * sysdeps/generic/eloop-threshold.h: New file.
42503         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42504         of MAXSYMLINKS.
42505         * elf/chroot_canon.c (chroot_canon): Likewise.
42507 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42509         [BZ #13717]
42510         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42511         Change to 2.6.0 everywhere.
42512         * sysdeps/unix/sysv/linux/configure: Regenerated.
42513         * sysdeps/unix/sysv/linux/kernel-features.h
42514         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42515         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42516         kernel versions.
42517         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42518         (__ASSUME_FUTEX_REQUEUE): Remove.
42519         (__ASSUME_STATFS64): Define unconditionally.
42520         (__ASSUME_AT_SECURE): Likewise.
42521         (__ASSUME_CORRECT_SI_PID): Likewise.
42522         (__ASSUME_TGKILL): Define without depending on kernel version for
42523         i386.
42524         (__ASSUME_UTIMES): Likewise.
42525         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42526         kernel version.
42527         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42528         (__ASSUME_TMPFS_NAME): Likewise.
42529         * README: Update reference to Linux kernel versions.
42531 2012-08-02  Marek Polacek  <polacek@redhat.com>
42533         [BZ# 14150]
42534         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42535         libc_cv_asm_type_prefix with %.
42536         * configure: Regenerated.
42537         * include/libc-symbols.h: Remove comment about
42538         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42539         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42540         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42541         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42542         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42543         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42544         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42545         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42546         * elf/tst-unique2mod1.c: Likewise.
42547         * elf/tst-unique1mod2.c: Likewise.
42548         * elf/tst-unique1mod1.c: Likewise.
42549         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42550         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42551         Replace ASM_TYPE_DIRECTIVE with .type.
42552         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42553         * sysdeps/i386/sysdep.h: Likewise.
42554         * sysdeps/x86_64/sysdep.h: Likewise.
42555         * sysdeps/sh/sysdep.h: Likewise.
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42557         Do not define ASM_TYPE_DIRECTIVE.
42558         * sysdeps/powerpc/sysdep.h: Likewise.
42559         * sysdeps/powerpc/powerpc32/sysdep.h:
42560         Replace ASM_TYPE_DIRECTIVE with .type.
42561         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42562         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42563         * sysdeps/i386/fpu/e_powf.S: Likewise.
42564         * sysdeps/i386/fpu/e_expl.S: Likewise.
42565         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42566         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42567         * sysdeps/i386/fpu/e_pow.S: Likewise.
42568         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42569         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42570         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42571         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42572         * sysdeps/i386/fpu/e_log2.S: Likewise.
42573         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42574         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42575         * sysdeps/i386/fpu/e_powl.S: Likewise.
42576         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42577         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42578         * sysdeps/i386/fpu/e_logl.S: Likewise.
42579         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42580         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42581         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42582         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42583         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42584         * sysdeps/i386/fpu/e_log.S: Likewise.
42585         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42586         * sysdeps/i386/fpu/e_logf.S: Likewise.
42587         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42588         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42589         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42590         * sysdeps/i386/fpu/e_log10.S: Likewise.
42591         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42592         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42593         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42594         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42595         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42596         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42597         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42598         * sysdeps/i386/i686/strtok.S: Likewise.
42599         * sysdeps/i386/i386-mcount.S: Likewise.
42600         * sysdeps/i386/strtok.S: Likewise.
42601         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42602         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42603         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42604         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42605         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42606         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42607         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42608         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42609         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42610         * sysdeps/x86_64/_mcount.S: Likewise.
42611         * sysdeps/x86_64/strtok.S: Likewise.
42612         * sysdeps/sh/_mcount.S: Likewise.
42614 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42616         * libio/iofopen.c: Include <fcntl.h>.
42617         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42618         (_IO_fopen64, fopen64): Define as aliases.
42619         * libio/iofopen64.c: Include <fcntl.h>.
42620         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42621         Conditionalize body on this.
42622         * sysdeps/wordsize-64/iofopen.c: File removed.
42623         * sysdeps/wordsize-64/iofopen64.c: File removed.
42625 2012-08-01  Marek Polacek  <polacek@redhat.com>
42627         * libc/Makeconfig: Use elf in place of binfmt-subdir.
42628         Use dlfcn directly instead of a variable.
42629         (binfmt-subdir): Do not define.
42630         (dlfcn): Likewise.
42632 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
42634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42635         Remove all definitions.
42636         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42637         <kernel-features.h>.
42638         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42639         (miss_F_GETOWN_EX): Remove all definitions.
42640         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42641         macro definition.
42642         [!__ASSUME_FCNTL64]: Remove conditional code.
42643         [__ASSUME_FCNTL64]: Make code unconditional.
42644         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42645         <kernel-features.h>.
42646         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42647         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42648         (lockf64) [__NR_fcntl64]: Make code unconditional.
42649         (lockf64) [__ASSUME_FCNTL64]: Likewise.
42651         * sysdeps/unix/sysv/linux/kernel-features.h
42652         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42653         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42654         Make code unconditional.
42655         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42656         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42658         [__NR_vfork]: Make code unconditional.
42659         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42660         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42662         [__NR_vfork]: Make code unconditional.
42663         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42664         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42666 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42668         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42669         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42671         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42672         Define mkstemp64 as an alias.
42673         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42674         Define mkstemps64 as an alias.
42675         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42676         Define mkostemp64 as an alias.
42677         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42678         Define mkostemps64 as an alias.
42679         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42680         Conditionalize body on this.
42681         * misc/mkostemp64.c: Likewise.
42682         * misc/mkostemps64.c: Likewise.
42683         * misc/mkstemps64.c: Likewise.
42684         * sysdeps/wordsize-64/mkstemp64.c: File removed.
42685         * sysdeps/wordsize-64/mkostemp64.c: File removed.
42686         * sysdeps/wordsize-64/mkostemp.c: File removed.
42687         * sysdeps/wordsize-64/mkstemp.c: File removed.
42688         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42689         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42690         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42691         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42693         [BZ #14138]
42694         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42695         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42696         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42697         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42699         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42700         compat_symbol macros from <shlib-compat.h> rather than the underlying
42701         default_symbol_version and symbol_version macros, so that DEFAULT
42702         lines in shlib-versions are respected.
42703         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42705 2012-08-01  Florian Weimer  <fweimer@redhat.com>
42707         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42708         Declare with warn_unused_result.
42709         (setgid, setregid, setegid, setresgid): Likewise.
42710         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42711         Likewise.
42712         * WUR-REPORT: Remove set*id functions.
42714 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
42716         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42718 2012-07-31  Roland McGrath  <roland@hack.frob.com>
42720         [BZ #10191]
42721         * include/sys/socket.h (__libc_accept, __libc_accept4):
42722         Add attribute_hidden.
42723         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42725         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42726         use of PTR_MANGLE.
42727         * inet/getnetgrent_r.c (setup): Likewise.
42729         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42731 2012-07-31  David S. Miller  <davem@davemloft.net>
42733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42735 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
42737         [BZ #13629]
42738         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42739         value between 1.0 and 2.0 and smaller part has absolute value less
42740         than 1.0.
42741         * math/s_clog10.c (__clog10): Likewise.
42742         * math/s_clog10f.c (__clog10f): Likewise.
42743         * math/s_clog10l.c (__clog10l): Likewise.
42744         * math/s_clogf.c (__clogf): Likewise.
42745         * math/s_clogl.c (__clogl): Likewise.
42746         * math/libm-test.inc (clog_test): Add more tests.
42747         (clog10_test): Likewise.
42748         * sysdeps/i386/fpu/libm-test-ulps: Update.
42749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42751 2012-07-31  Florian Weimer  <fweimer@redhat.com>
42753         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42754         Exit with zero in case no suitable GID is found, and write a
42755         message to standard error.
42757 2012-07-30  Roland McGrath  <roland@hack.frob.com>
42759         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42760         rather than to 1.
42761         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42762         (MAXPATHLEN): Removed.
42763         (NOGROUP, NODEV): New macros.
42764         (setbit, clrbit, isset, isclr): New macros.
42765         (howmany, roundup, powerof2): New macros.
42766         (DEV_BSIZE): New macro.
42768         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42769         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42771         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42772         definition on [!__NO_LONG_DOUBLE_MATH].
42774         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42775         PTR_MANGLE and PTR_DEMANGLE.
42777         * socket/accept4.c (accept4): Rename to __libc_accept4.
42778         Define accept4 as a weak alias.
42780         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42781         on [_DIRENT_HAVE_D_TYPE].
42782         * io/ftw.c (ftw_dir): Likewise.
42784         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42786         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42788         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42789         Use the BSD numbers rather than the arbitrary ones we had.
42790         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42791         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42792         (SIGXCPU, SIGXFSZ): New macros.
42793         (_NSIG): Now 32.
42795         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42796         initializer on [_LIBC_REENTRANT].
42798         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42799         definitions inside [_POSIX_MAPPED_FILES].
42801         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42803         * dirent/opendir.c: Include <fcntl.h>.
42805         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42806         (__libc_getspecific): Likewise.
42807         (__libc_key_create): Likewise.
42809         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42810         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42811         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42812         (tmpfile64): Define as alias.
42813         * sysdeps/wordsize-64/tmpfile.c: File removed.
42814         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42818         * stdio-common/vfscanf.c: Include <stdbool.h>.
42819         * nss/makedb.c: Likewise.
42820         * stdio-common/_i18n_number.h: Likewise.
42821         * argp/argp-help.c: Likewise.
42822         * posix/wordexp.c: Likewise.
42823         * sysdeps/posix/spawni.c: Likewise.
42824         * nss/nss_files/files-initgroups.c: Likewise.
42825         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42826         * nss/nss_files/files-initgroups.c: Likewise.
42827         * nss/nss_db/db-netgrp.c: Likewise.
42828         * nss/nss_db/db-initgroups.c: Likewise.
42829         * io/fchmodat.c: Include <sys/stat.h>.
42831         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42832         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42834         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42835         [HAVE_MMAP].
42837         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42838         Add multiple inclusion protection.
42840 2012-07-27  David S. Miller  <davem@davemloft.net>
42842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42844 2012-07-27  Gary Benson  <gbenson@redhat.com>
42846         [BZ #14298]
42847         * elf/rtld.c: Include <stap-probe.h>.
42848         (dl_main): Added static probes "init_start" and "init_complete".
42849         * elf/dl-load.c: Include <stap-probe.h>.
42850         (lose): Take new parameter "nsid".
42851         Added static probe "map_failed".
42852         (_dl_map_object_from_fd): Pass namespace id to lose.
42853         Added static probe "map_start".
42854         (open_verify): Pass namespace id to lose.
42855         * elf/dl-open.c: Include <stap-probe.h>.
42856         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42857         and "reloc_complete".
42858         * elf/dl-close.c: Include <stap-probe.h>.
42859         (_dl_close_worker): Added static probes "unmap_start" and
42860         "unmap_complete".
42861         * elf/rtld-debugger-interface.txt: New file documenting the above.
42863 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42865         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42866         rather than a string variable.
42867         * sunrpc/rpc_main.c (h_output): Likewise.
42868         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42870 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42872         * inet/check_native.c: New file.
42874 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42876         [BZ #13629]
42877         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42878         if larger part has absolute value 1.0.
42879         * math/s_clog10.c (__clog10): Likewise.
42880         * math/s_clog10f.c (__clog10f): Likewise.
42881         * math/s_clog10l.c (__clog10l): Likewise.
42882         * math/s_clogf.c (__clogf): Likewise.
42883         * math/s_clogl.c (__clogl): Likewise.
42884         * math/libm-test.inc (clog_test): Add more tests.
42885         (clog10_test): Likewise.
42886         * sysdeps/i386/fpu/libm-test-ulps: Update.
42887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42889         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42890         (pltexit): Likewise.
42891         (La_regs): Likewise.
42892         (La_retval): Likewise.
42893         (int_retval): Likewise.
42894         Update #error for removed macros to refer only to definitions in
42895         tst-audit.h.
42896         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42897         macro.
42898         (pltexit): Likewise.
42899         (La_regs): Likewise.
42900         (La_retval): Likewise.
42901         (int_retval): Likewise.
42902         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42903         macro.
42904         (pltexit): Likewise.
42905         (La_regs): Likewise.
42906         (La_retval): Likewise.
42907         (int_retval): Likewise.
42908         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42909         macro.
42910         (pltexit): Likewise.
42911         (La_regs): Likewise.
42912         (La_retval): Likewise.
42913         (int_retval): Likewise.
42914         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42915         macro.
42916         (pltexit): Likewise.
42917         (La_regs): Likewise.
42918         (La_retval): Likewise.
42919         (int_retval): Likewise.
42920         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42921         macro.
42922         (pltexit): Likewise.
42923         (La_regs): Likewise.
42924         (La_retval): Likewise.
42925         (int_retval): Likewise.
42926         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42927         macro.
42928         (pltexit): Likewise.
42929         (La_regs): Likewise.
42930         (La_retval): Likewise.
42931         (int_retval): Likewise.
42932         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42933         macro definitions in tst-audit.h.
42934         * sysdeps/i386/tst-audit.h: New file.
42935         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42936         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42937         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42938         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42939         * sysdeps/sh/tst-audit.h: Likewise.
42940         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42941         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42942         * sysdeps/x86_64/tst-audit.h: Likewise.
42944 2012-07-26  Andreas Jaeger  <aj@suse.de>
42946         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42947         ptrace.
42949         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42950         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42951         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42952         PTRACE_O_MASK.
42953         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42954         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42955         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42957         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42958         value.
42960         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42961         _sigsys.
42962         (si_call_addr, si_syscall, si_arch): Define new macro.
42963         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42964         _sigsys.
42965         (si_call_addr, si_syscall, si_arch): Define new marcro.
42966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42967         _sigsys.
42968         (si_call_addr, si_syscall, si_arch): Define new macro.
42969         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42970         _sigsys.
42971         (si_call_addr, si_syscall, si_arch): Define new macro.
42973 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42975         [BZ #13717]
42976         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42977         Change to 2.4.21 where previously 2.4.1.
42978         * sysdeps/unix/sysv/linux/configure: Regenerated.
42979         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42980         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42981         Linux kernel version.
42982         (__ASSUME_STD_AUXV): Remove.
42983         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42984         kernel version.
42985         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42986         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42987         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42988         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42989         (__ASSUME_NETLINK_SUPPORT): Likewise.
42990         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42991         (__no_netlink_support): Remove conditional definition.
42992         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42993         Remove.
42994         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42995         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42996         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42997         (if_nameindex_ioctl): Remove.
42998         (if_nameindex_netlink): Do not handle __no_netlink_support.
42999         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43000         code.
43001         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43002         Remove conditional code.
43003         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43004         code.
43005         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43006         unconditional.
43007         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43008         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43009         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43010         Remove.
43011         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43012         [!__ASSUME_STD_AUXV]: Remove conditional code.
43013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43014         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43015         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43017         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43018         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43019         code.
43020         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43022         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43023         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43024         conditional code.
43025         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43027         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43028         code.
43029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43030         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43031         conditional code.
43032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43033         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43034         code unconditional.
43035         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43036         conditional code.
43037         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43038         unconditional.
43039         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43040         conditional code.
43041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43042         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43043         unconditional.
43044         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43045         conditional code.
43046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43047         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43048         code unconditional.
43049         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43050         conditional code.
43051         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43052         unconditional.
43053         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43054         conditional code.
43055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43056         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43057         code unconditional.
43058         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43059         conditional code.
43060         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43061         unconditional.
43062         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43063         conditional code.
43065 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43067         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43068         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43069         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43070         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43071         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43072         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43073         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43074         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43075         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43076         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43077         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43078         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43079         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43080         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43081         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43082         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43083         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43084         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43085         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43087         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43088         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43089         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43091 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43093         * Versions.def: Add GLIBC_2.17.
43094         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43095         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43096         Introduce __libc_secure_getenv.
43097         * stdlib/Versions (2.17): Add secure_getenv
43098         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43099         * stdlib/secure-getenv.c: Rename __secure_getenv to
43100         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43101         symbol __secure_getenv for GLIBC_2.0.
43102         * stdlib/tst-secure-getenv.c: New.
43103         * stdlib/Makefile (tests): Add testcase.
43104         * manual/startup.texi (Environment Access): Document
43105         secure_getenv.
43106         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43107         __libc_secure_getenv.
43108         * inet/ruserpass.c (ruserpass): Likewise.
43109         * malloc/mtrace.c (mtrace): Likewise.
43110         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43111         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43112         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43113         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43114         HAVE_SECURE_GETENV.
43115         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43116         __secure_getenv to __libc_secure_getenv.
43117         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43119         Likewise.
43120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43121         Likewise.
43122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43130 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43132         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43133         (struct La_i86_retval): Likewise.
43134         (struct La_x86_64_regs): Likewise.
43135         (struct La_x86_64_retval): Likewise.
43136         (struct La_x32_regs): Likewise.
43137         (struct La_x32_retval): Likewise.
43138         (struct La_ppc32_regs): Likewise.
43139         (struct La_ppc32_retval): Likewise.
43140         (struct La_ppc64_regs): Likewise.
43141         (struct La_ppc64_retval): Likewise.
43142         (struct La_sh_regs): Likewise.
43143         (struct La_sh_retval): Likewise.
43144         (struct La_s390_32_regs): Likewise.
43145         (struct La_s390_32_retval): Likewise.
43146         (struct La_s390_64_regs): Likewise.
43147         (struct La_s390_64_retval): Likewise.
43148         (struct La_sparc32_regs): Likewise.
43149         (struct La_sparc32_retval): Likewise.
43150         (struct La_sparc64_regs): Likewise.
43151         (struct La_sparc64_retval): Likewise.
43152         (struct audit_ifaces): Remove architecture-specific pltenter and
43153         pltexit members.
43154         * sysdeps/i386/ldsodefs.h: New file.
43155         * sysdeps/powerpc/ldsodefs.h: Likewise.
43156         * sysdeps/s390/ldsodefs.h: Likewise.
43157         * sysdeps/sh/ldsodefs.h: Likewise.
43158         * sysdeps/sparc/ldsodefs.h: Likewise.
43159         * sysdeps/x86_64/ldsodefs.h: Likewise.
43161 2012-07-25  Marek Polacek  <polacek@redhat.com>
43163         [BZ #6808]
43164         * math/libm-test.inc (yn_test): Add another test.
43165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43166         to ERANGE when the result is +-Inf.
43167         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43168         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43169         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43170         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43172 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43174         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43175         equal to 0.
43176         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43177         clock_t.
43178         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43180 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43182         * configure.in <sysdeps resolving>: Correct printing
43183         Implies_before.
43184         * configure: Regenerate.
43186 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43188         * math/w_ilogb.c: Include <limits.h>.
43189         * math/w_ilogbl.c: Likewise.
43191 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43193         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43194         va_copy.  Document allowing for unavailable va_copy only as
43195         pre-C99 compatibility.
43196         * manual/string.texi (Copying and Concatenation): Use va_copy
43197         instead of __va_copy in concat example.
43199 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43201         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43202         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43203         it if not null.
43205         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43206         with O_NOLINK passed to __file_name_lookup.
43208         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43209         with O_NOLINK passed to __file_name_lookup.
43211         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43212         negative N or less than NGIDS.
43214         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43215         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43216         enough.  Use memcpy instead of strncpy.
43218 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43220         * elf/Makefile (check-data): Remove.
43221         (localplt.data): New vpath directive.
43222         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43223         instead of $(check-data).
43224         * scripts/data/localplt-generic.data: Move to ...
43225         * sysdeps/generic/localplt.data: ... here.
43226         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43227         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43228         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43230         ... here.
43231         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43233         ... here.
43234         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43236         ... here.
43237         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43239         ... here.
43240         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43242         ... here.
43243         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43245         ... here.
43247 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43249         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43250         PPC32 and PPC64 files.
43251         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43252         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43254 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43256         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43257         __makecontext_ret to ...
43258         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43259         ... here and call exit if uc_link is NULL.  New file.
43260         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43261         __makecontext_ret.S.
43262         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43263         __makecontext_ret to ...
43264         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43265         ... here and call exit if uc_link is NULL.  New file.
43266         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43267         __makecontext_ret.S.
43269 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43271         * elf/elf.h (R_390_IRELATIVE): New definition.
43272         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43273         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43274         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43275         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43276         (elf_machine_lazy_rel): Likewise.
43277         * sysdeps/s390/dl-irel.h: New file.
43278         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43279         * sysdeps/s390/s390-64/memset.S: New asm code.
43280         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43281         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43282         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43283         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43284         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43285         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43286         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43287         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43288         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43289         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43290         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43291         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43292         * sysdeps/s390/s390-32/memset.S: New asm code.
43293         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43295 2012-07-17  Marek Polacek  <polacek@redhat.com>
43297         [BZ #14349]
43298         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43299         * sysdeps/s390/s390-64/configure.in: Likewise.
43300         * sysdeps/sparc/configure.in: Likewise.
43301         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43302         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43303         * sysdeps/i386/configure.in: Likewise.
43304         * sysdeps/x86_64/configure.in: Likewise.
43305         * sysdeps/sh/configure.in: Likewise.
43306         * sysdeps/s390/s390-32/configure: Regenerated.
43307         * sysdeps/s390/s390-64/configure: Likewise.
43308         * sysdeps/x86_64/configure: Likewise.
43309         * sysdeps/sh/configure: Likewise.
43310         * sysdeps/powerpc/powerpc64/configure: Likewise.
43311         * sysdeps/powerpc/powerpc32/configure: Likewise.
43312         * sysdeps/sparc/configure: Likwise.
43313         * sysdeps/i386/configure: Likewise.
43315         * elf/dl-open.c: Comment fixes.
43317 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43319         * Makefile [CXX] (check-data): Remove.
43320         [CXX] (c++-types.data): New vpath directive.
43321         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43322         vpath.  Do not allow for C++ type data being missing.
43323         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43324         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43325         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43326         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43327         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43328         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43329         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43331         ... here.
43332         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43334         ... here.
43335         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43337         ... here.
43338         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43340         ... here.
43341         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43343         ... here.
43344         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43346         ... here.
43347         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43349         ... here.
43350         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43353         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43354         definitions to architecture-specific files.
43355         (TLS_IE): Likewise.
43356         (TLS_LD): Likewise.
43357         (TLS_GD): Likewise.
43358         * sysdeps/i386/tls-macros.h: New file.
43359         * sysdeps/powerpc/tls-macros.h: Likewise.
43360         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43361         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43362         * sysdeps/sh/tls-macros.h: Likewise.
43363         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43364         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43365         * sysdeps/x86_64/tls-macros.h: Likewise.
43367 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43369         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43370         zero value for regular exit case.
43372         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43373         (__start_context): Preserve zero value for regular exit case.
43375 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43376             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43378         * manual/setjmp.texi (setcontext): Clarify normal process
43379         termination when uc_link is the null pointer.
43380         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43381         exit call.
43383 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43385         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43386         preprocessor.  Test for each exception mask separately.
43388 2012-07-16  Andreas Jaeger  <aj@suse.de>
43390         * po/ru.po: Update from translation team.
43392 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43394         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43395         equal to 0.
43396         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43397         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43398         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43399         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43400         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43402 2012-07-13  Andreas Jaeger  <aj@suse.de>
43404         * po/fr.po: Update from translation team.
43406 2012-07-12  Marek Polacek  <polacek@redhat.com>
43408         [BZ #14173]
43409         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43410         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43411         loop condition.
43413 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43415         [BZ #13717]
43416         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43417         Change to 2.4.1 where previously 2.4.0.
43418         * sysdeps/unix/sysv/linux/configure: Regenerated.
43419         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43420         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43421         version.
43422         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43423         (__ASSUME_AT_CLKTCK): Remove.
43424         (__ASSUME_AT_PAGESIZE): Likewise.
43425         (__ASSUME_AT_XID): Likewise.
43426         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43427         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43428         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43429         unconditionally.
43430         (HAVE_AUX_PAGESIZE): Likewise.
43431         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43432         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43433         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43435 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43437         [BZ #14307]
43438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43439         the temporary buffer used to invoke __gethostbyname2_r,
43440         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43441         host_data / struct gaih_addrtuple.
43442         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43443         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43444         header file nss/nsswitch.h.
43445         * nss/nsswitch.h (global scope): Add definition of implementation
43446         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43447         resolv/nss_dns/dns-host.c).
43449 2012-07-11  Andreas Jaeger  <aj@suse.de>
43451         * po/fr.po: Update from translation team.
43453         * po/sv.po: Update from translation team
43454         * po/fr.po: Another update from translation team.
43456 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43458         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43459         for subnormals or multiply small sinh result by itself.
43460         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43463 2012-07-11  David S. Miller  <davem@davemloft.net>
43465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43467 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43469         [BZ #14347]
43470         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43471         (INTERNAL_MARK): Shift it here.
43473 2012-07-10  Marek Polacek  <polacek@redhat.com>
43475         [BZ #14151]
43476         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43477         libc_cv_asm_global_directive with .globl.
43478         * configure: Regenerated.
43479         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43480         with .globl.
43481         * sysdeps/i386/configure: Regenerated.
43482         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43483         with .globl.
43484         * sysdeps/x86_64/configure: Regenerated.
43485         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43486         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43487         * elf/tst-unique2mod2.c: Likewise.
43488         * elf/tst-unique2mod1.c: Likewise.
43489         * elf/tst-unique1mod2.c: Likewise.
43490         * elf/tst-unique1mod1.c: Likewise.
43491         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43492         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43493         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43494         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43495         * sysdeps/mach/sysdep.h: Likewise.
43496         * sysdeps/i386/sysdep.h: Likewise.
43497         * sysdeps/i386/i386-mcount.S: Likewise.
43498         * sysdeps/x86_64/_mcount.S: Likewise.
43499         * sysdeps/x86_64/sysdep.h: Likewise.
43500         * sysdeps/sh/_mcount.S: Likewise.
43501         * sysdeps/sh/sysdep.h: Likewise.
43502         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43503         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43504         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43505         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43506         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43507         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43508         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43509         * locale/localeinfo.h: Likewise.
43510         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43511         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43513 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43515         [BZ #14336]
43516         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43517         system".
43518         * manual/message.texi (The Uniforum approach): Likewise.
43519         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43520         (glibc iconv Implementation): Likewise.
43522 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43524         [BZ #14337]
43525         * math/s_clog.c (__clog): Avoid scaling a value down where that
43526         could result in underflow.
43527         * math/s_clog10.c (__clog10): Likewise.
43528         * math/s_clog10f.c (__clog10f): Likewise.
43529         * math/s_clog10l.c (__clog10l): Likewise.
43530         * math/s_clogf.c (__clogf): Likewise.
43531         * math/s_clogl.c (__clogl): Likewise.
43532         * math/libm-test.inc (clog_test): Add more tests.
43533         (clog10_test): Likewise.
43534         * sysdeps/i386/fpu/libm-test-ulps: Update.
43535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43537 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43539         [BZ #14283]
43540         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43541         by 7 not 8 to examine high bit of fractional part.
43543         [BZ #14042]
43544         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43545         for call to __mcount_internal.
43546         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43547         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43548         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43550 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
43552         [BZ #14154]
43553         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43554         approximation for values within 0x1p-13f of an odd multiple of
43555         pi/4.
43556         * math/libm-test.inc (tan_test): Do not allow spurious underflow
43557         exception.  Add more tests.
43558         * sysdeps/i386/fpu/libm-test-ulps: Update.
43560         [BZ #6778]
43561         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43562         inputs and return -1 for them.  Do not check for +Inf in case not
43563         reachable for +Inf.
43564         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43565         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43566         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43567         and return -1 for them.  Do not check for +Inf in case not
43568         reachable for +Inf.
43569         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43570         define.
43571         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43572         and return -1 for them.  Do not check for +Inf in case not
43573         reachable for +Inf.
43574         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
43575         spurious underflow.
43576         * sysdeps/i386/fpu/libm-test-ulps: Update.
43577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43579 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
43581         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43583 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
43585         [BZ #14157]
43586         [BZ #14331]
43587         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43588         could result in spurious underflow.  Scale down values above
43589         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43590         * math/s_csqrtf.c (__csqrtf): Likewise.
43591         * math/s_csqrtl.c (__csqrtl): Likewise.
43592         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
43593         spurious underflow.
43594         * sysdeps/i386/fpu/libm-test-ulps: Update.
43595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43597 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
43599         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43600         xopen-msg.sed.
43601         * catgets/xopen-msg.awk: New file.
43602         * catgets/xopen-msg.sed: Removed.
43604         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43605         po2text.sed.
43606         * intl/po2test.awk: New file.
43607         * intl/po2test.sed: Removed.
43609 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
43611         [BZ #14328]
43612         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43613         or multiply small sinh result by itself.
43614         * math/s_ctanf.c (__ctanf): Likewise.
43615         * math/s_ctanh.c (__ctanh): Likewise.
43616         * math/s_ctanhf.c (__ctanhf): Likewise.
43617         * math/s_ctanhl.c (__ctanhl): Likewise.
43618         * math/s_ctanl.c (__ctanl): Likewise.
43619         * math/libm-test.inc (ctan_test_tonearest): New function.
43620         (ctan_test_towardzero): Likewise.
43621         (ctan_test_downward): Likewise.
43622         (ctan_test_upward): Likewise.
43623         (ctanh_test_tonearest): Likewise.
43624         (ctanh_test_towardzero): Likewise.
43625         (ctanh_test_downward): Likewise.
43626         (ctanh_test_upward): Likewise.
43627         (main): Call these new functions.
43628         * sysdeps/i386/fpu/libm-test-ulps: Update.
43629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43631 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
43633         * .gitignore: Delete /ports entry.
43635 2012-07-03  Andreas Jaeger  <aj@suse.de>
43637         * po/bg.po: Update from translation team.
43638         * po/cs.po: Likewise.
43639         * po/de.po: Likewise.
43640         * po/hr.po: Likewise.
43641         * po/nl.pl: Likewise.
43642         * po/pl.po: Likewise.
43643         * po/vi.po: Likewise.
43645 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
43647         * Makeconfig [!+link] (+link-before-libc): New variable.
43648         [!+link] (+link-after-libc): Likewise.
43649         [!+link] (+link-tests): Likewise.
43650         [!+link] (+link): Define in terms of $(+link-before-libc) and
43651         $(+link-after-libc).
43652         [!+link-static] (+link-static-before-libc): New variable.
43653         [!+link-static] (+link-static-after-libc): Likewise.
43654         [!+link-static] (+link-static-tests): Likewise.
43655         [!+link-static] (+link-static): Define in terms of
43656         $(+link-static-before-libc) and $(+link-static-after-libc).
43657         [build-shared] (link-libc-before-gnulib): New variable.
43658         [build-shared] (link-libc-tests): Likewise.
43659         [build-shared] (link-libc): Define in terms of
43660         $(link-libc-before-gnulib).
43661         [!build-shared] (link-libc-tests): New variable.
43662         (link-libc-static-tests): New variable.
43663         [!gnulib] (gnulib-arch): New variable.
43664         [!gnulib] (gnulib-tests): Likewise.
43665         [!gnulib] (static-gnulib-arch): Likewise.
43666         [!gnulib] (static-gnulib-tests): Likewise.
43667         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
43668         Define with "=" instead of ":=".
43669         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
43670         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
43671         * Rules (binaries-all-notests): New variable.
43672         (binaries-all-tests): Likewise.
43673         (binaries-static-notests): Likewise.
43674         (binaries-static-tests): Likewise.
43675         (binaries-all): Define using $(binaries-all-notests) and
43676         $(binaries-all-tests).
43677         (binaries-static): Define using $(binaries-static-notests) and
43678         $(binaries-static-tests).
43679         (binaries-shared-tests): New variable.
43680         (binaries-shared-notests): Likewise.
43681         (binaries-shared): Remove variable.
43682         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43683         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43684         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43685         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43686         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43687         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43688         * elf/Makefile (sln-modules): New variable.
43689         (extra-objs): Add $(sln-modules:=.o).
43690         (ldconfig-modules): Add static-stubs.
43691         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43692         * elf/static-stubs.c: New file.
43694         [BZ #14283]
43695         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43696         by 7 not 8 to examine high bit of fractional part.  Use volatile
43697         variables when splitting into final array of floats if
43698         __FLT_EVAL_METHOD__ != 0.
43699         * math/libm-test.inc (cos_test): Add another test.
43700         (sin_test): Likewise.
43701         * sysdeps/i386/fpu/libm-test-ulps: Update.
43703         [BZ #14273]
43704         * math/libm-test.inc (cosh_test): Add more tests.
43706         * version.h (RELEASE): Set to "development".
43707         (VERSION): Set to "2.16.90".
43709 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
43711         * NEWS: Update copyright. Remove last-updated date.
43712         Mention math library bug fixes and timezone data changes.
43713         * README: Mention GNU/Hurd, x32, and HPPA support status.
43715 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
43717         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43719 2012-06-27  Andreas Jaeger  <aj@suse.de>
43721         * manual/contrib.texi (Contributors): Add Samuel Thibault.
43723 2012-06-25  Andreas Jaeger  <aj@suse.de>
43725         * sysdeps/s390/fpu/libm-test-ulps: Update.
43727 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
43728             Thomas Schwinge  <thomas@codesourcery.com>
43730         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43731         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43732         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43733         fanotify_mark.
43735 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
43737         * sysdeps/mach/start.c: Remove file.
43738         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43739         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43740         * sysdeps/sh/init-first.c: Likewise.
43742         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43743         registers for frame unwinding purposes, add CFI directives.
43744         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43745         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43746         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43747         Likewise.
43749         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43750         __fortify_fail returning.
43751         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43753         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43754         sysdeps/sh/____longjmp_chk.S.
43755         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43756         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43757         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43758         (gen-as-const-headers): Append sigaltstack-offsets.sym.
43760         * sysdeps/sh/abort-instr.h: New file.
43761         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43762         process in case exit returns.
43764         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43765         initialize the GOT register before use.
43767         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43768         calculation of ARGC > 4.
43770         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43771         meaningful names to some local labels.
43773 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43774             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43776         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43777         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43778         (__arch_compare_and_exchange_val_16_acq): Likewise.
43779         (__arch_compare_and_exchange_val_32_acq): Likewise.
43780         (atomic_exchange_and_add): Fix gUSA sequence.
43781         (atomic_add): Likewise.
43782         (atomic_add_negative): Likewise.
43783         (atomic_add_zero): Likewise.
43784         (atomic_bit_test_set): Likewise.
43786 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43788         [BZ #13579]
43789         * include/link.h (struct link_map): Add l_free_initfini.
43790         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43791         l_initfini.
43792         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43793         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43794         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43795         set.
43797 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43799         * configure.in: Use AC_LANG_SOURCE.
43800         * configure: Regenerate.
43802 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43804         * configure.in (libc_cv_localstatedir): New substituted variable.
43805         * configure: Regenerated.
43806         * config.make.in (localstatedir): New variable, substituted from
43807         libc_cv_localstatedir.
43808         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43809         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43810         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43811         * sysdeps/gnu/configure: Regenerated.
43813 2012-06-21  Jeff Law  <law@redhat.com>
43815         [BZ #14277]
43816         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43817         free.  Simplify list management for _LIBC case.
43819 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43821         [BZ #14273]
43822         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43823         Clear sign bit of 64-bit integer value before comparing against
43824         overflow value.
43826         * sysdeps/mach/configure: Regenerated.
43828 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43830         [BZ #14278]
43831         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43833 2012-06-21  Jeff Law  <law@redhat.com>
43835         [BZ #13882]
43836         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43837         uint16_t for elements in the "seen" array to avoid char overflows.
43838         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43839         * elf/dl-open.c (dl_open_worker): Likewise.
43841 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43843         * scripts/list-sources.sh: Scan PORTS for translations.
43844         * po/libc.pot: Regenerated.
43846 2012-06-21  Andreas Jaeger  <aj@suse.de>
43848         [BZ #12194]
43849         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43850         warning.
43851         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43852         * bits/byteswap-16.h (__bswap_16): Likewise.
43853         * bits/byteswap.h (__bswap_constant_16): Likewise.
43855 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43857         [BZ #14117]
43858         * sysdeps/i386/fpu_control.h: Removed.
43859         * sysdeps/x86_64/fpu_control.h: Moved to ...
43860         * sysdeps/x86/fpu_control.h: Here.
43862         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43863         (_FPU_SETCW): Likewise.
43865 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43867         [BZ #14117]
43868         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43869         * sysdeps/x86/fpu/bits/mathinline.h: This.
43870         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43872         [BZ #14050]
43873         [BZ #14117]
43874         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43875         functions if __x86_64__ is defined.
43877 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43879         * string/endian.h: Add !__ASSEMBLER__ condition for including
43880         conversion interfaces.
43882 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43884         [BZ #14241]
43885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43886         of ABS(x) in calculating zero to negative powers other than odd
43887         integers.
43888         * math/libm-test.inc (pow_test): Add more tests.
43890 2012-06-15  Andreas Jaeger  <aj@suse.de>
43892         * manual/contrib.texi (Contributors): Update entry of Liubov
43893         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43894         Machado Filho.
43896 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43898         * string/string.h: Add __wur to GNU version of strerror_r.
43900 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43902         [BZ #14229]
43903         * string/Makefile (tests): Add tst-strtok_r.
43904         * string/tst-strtok_r.c: New file.
43905         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43906         RAX_LP/RDX_LP on SAVE_PTR.
43908 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43910         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43912 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43914         * libm_test.inc (csqrt_test): Allow more spurious underflow
43915         exceptions.
43916         (j0_test): Likewise.
43917         (j1_test): Likewise.
43918         (y0_test): Likewise.
43919         (y1_test): Likewise.
43921 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43923         * po/Makefile (libc.pot): Use UTF-8 charset.
43925 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43927         [BZ #14210]
43928         Suppress sign-conversion warning from FD_SET.
43929         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43930         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43931         not unsigned long int.
43932         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43934 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43936         [BZ #14050]
43937         [BZ #14117]
43938         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43939         __extern_always_inline instead of __extern_inline.
43940         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43941         (__signbit): Likewise.
43942         (__signbitl): Support C++ namespace.
43943         (lrintf): New inline function.
43944         (lrint): Likewise.
43945         (llrintf): Likewise.
43946         (llrint): Likewise.
43947         (fmaxf): Likewise.
43948         (fmax): Likewise.
43949         (fminf): Likewise.
43950         (fmin): Likewise.
43951         (rint): Likewise.
43952         (rintf): Likewise.
43953         (ceil): Likewise.
43954         (ceilf): Likewise.
43955         (floor): Likewise.
43956         (floorf): Likewise.
43957         (nearbyint): Likewise.
43958         (nearbyintf): Likewise.
43960 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43962         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43963         non-default versions.
43965 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43967         [BZ #14218]
43968         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43970 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43972         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43973         (FE_UPWARD, FE_DOWNWARD): Don't define.
43974         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43975         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43977         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43978         reading it.
43979         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43980         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43982 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43984         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43985         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43986         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43987         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43989 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43991         [BZ #14117]
43992         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43993         * sysdeps/i386/fpu/Implies: New file.
43994         * sysdeps/x86_64/fpu/Implies: Likewise.
43995         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43996         * sysdeps/x86/fpu/bits/fenv.h: This.
43998         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43999         __SSE_MATH__.
44001 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44003         [BZ #14134]
44004         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44005         character 0xffff that matches the last element of the
44006         conversion table.
44008 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44010         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44011         fmodl commit.
44013 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44016         values higher than 25.6283.
44018 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44021         subnormal exponent extraction and add some __builtin_expect.
44022         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44023         Fix for subnormal mantissa calculation.
44025 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44027         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44028         cpu2 is -1 and errno is not ENOSYS.
44030 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44032         [BZ #14117]
44033         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44034         * sysdeps/x86/bits/string.h: This.
44035         * sysdeps/x86_64/bits/string.h: Removed.
44037         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44038         if not compiling for x86-64, but compiling for >= i486.
44040         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44041         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44043         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44044         New macro from Linux kernel 3.4.0.
44045         (FP_XSTATE_MAGIC2): Likewise.
44046         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44047         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44048         (struct _fpx_sw_bytes): New struct.
44049         (struct _xsave_hdr): Likewise.
44050         (struct _ymmh_state): Likewise.
44051         (struct _xstate): Likewise.
44053         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44054         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44055         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44056         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44057         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44058         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44060         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44061         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44062         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44063         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44064         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44065         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44067 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44069         [BZ #13743]
44070         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44071         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44072         (sysdep_headers): Include sys/platform/ppc.h.
44073         * sysdeps/powerpc/test-gettimebase.c: Test for
44074         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44075         * manual/Makefile (appendices): Include platform.texi.
44076         * manual/contrib.texi (Contributors): Update @node pointers.
44077         * manual/maint.texi (Maintenance): Likewise.
44078         (Platform): New node.
44079         * manual/platform.texi: New file.  Document the new features.
44081 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44082             Jakub Jelinek  <jakub@redhat.com>
44084         [BZ #14188]
44085         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44086         where __builtin_expect is unavailable.
44088 2012-06-03  David S. Miller  <davem@davemloft.net>
44090         * stdlib/longlong.h: Updated from GCC.
44092 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44094         [BZ #14042]
44095         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44096         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44097         __mcount_internal.
44098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44099         (GLIBC_2.16): Likewise.
44101 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44103         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44105 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44108         (default-abi): New variable.
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44110         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44111         variable.
44112         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44113         Likewise.
44114         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44115         Likewise.
44116         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44117         Likewise.
44119         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44120         definition.  Document in comment.
44122 2012-06-01  David S. Miller  <davem@davemloft.net>
44124         * stdlib/longlong.h: Updated from GCC.
44126 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44128         [BZ #14117]
44129         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44130         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44131         sys/debugreg.h sys/io.h here.
44132         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44133         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44134         sys/io.h.
44135         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44136         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44137         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44138         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44139         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44140         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44142         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44143         Define only if __x86_64__ is defined.
44145 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44147         [BZ #14048]
44148         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44149         Use int64_t for variable i.
44150         * math/libm-test.inc (fmod_test): Add more tests.
44152         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44153         z computation is not scheduled after fetestexcept.
44154         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44155         Use math_force_eval instead of asm to ensure calculation scheduled
44156         before exception test.
44157         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44158         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44160 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44163         computation is not scheduled after fetestexcept.
44165 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44167         [BZ #14117]
44168         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44169         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44171 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44173         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44174         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44176 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44178         [BZ #14117]
44179         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44180         <bits/wordsize.h>.
44181         (__WCHAR_MIN): Support __WORDSIZE == 64.
44182         (__WCHAR_MAX): Likewise.
44184         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44185         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44187         [BZ #14183]
44188         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44189         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44191         [BZ #14117]
44192         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44193         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44195         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44196         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44198         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44199         Defined to 1 if __x86_64__ isn't defined.
44200         (_STAT_VER_LINUX_OLD): New.
44201         (st_atime): Remove duplicate.
44202         (st_mtime): Likewise.
44203         (st_ctime): Likewise.
44205 2012-05-31  David S. Miller  <davem@davemloft.net>
44207         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44208         entries.
44210 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44212         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44213         gen-libm-test.pl.
44215         [BZ #14132]
44216         * elf/dl-reloc.c: Include <_itoa.h>.
44217         (_dl_reloc_bad_type): Remove use of INTUSE.
44218         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44219         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44220         * stdio-common/psiginfo.c (psiginfo): Likewise.
44221         * stdio-common/psignal.c (psignal): Likewise.
44222         * string/strsignal.c (strsignal): Likewise.
44223         * include/signal.h (_sys_siglist): Declare hidden proto.
44224         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44225         INTVARDEF with libc_hidden_data_def.
44226         * stdio-common/itoa-udigits.c: Likewise.
44227         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44228         (_itoa_lower_digits_internal): Remove declaration.
44229         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44230         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44231         (_sys_sigabbrev_internal): Remove aliases.
44232         (_sys_siglist): Define hidden alias.
44234 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44237         bits/sysctl.h.
44239 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44241         [BZ #14117]
44242         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44243         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44245         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44246         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44247         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44248         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44249         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44250         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44252         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44253         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44254         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44256         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44257         with __addr.
44258         (insw): Likewise.
44259         (insl): Likewise.
44260         (outsb): Likewise.
44261         (outsw): Likewise.
44262         (outsl): Likewise.
44264         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44265         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44266         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44268         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44269         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44270         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44271         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44272         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44273         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44275         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44276         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44278         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44279         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44281         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44283         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44285         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44286         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44287         to ...
44288         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44290         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44291         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44292         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44294         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44295         for x86-64.
44296         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44298 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44300         * math/math.h (M_El): Use two more decimal places.
44301         (M_LOG2El): Likewise.
44302         (M_LOG10El): Likewise.
44303         (M_LN2l): Likewise.
44304         (M_LN10l): Likewise.
44305         (M_PIl): Likewise.
44306         (M_PI_2l): Likewise.
44307         (M_PI_4l): Likewise.
44308         (M_1_PIl): Likewise.
44309         (M_2_PIl): Likewise.
44310         (M_2_SQRTPIl): Likewise.
44311         (M_SQRT2l): Likewise.
44312         (M_SQRT1_2l): Likewise.
44314 2012-05-31  David S. Miller  <davem@davemloft.net>
44316         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44317         values between float registers.
44318         * sysdeps/sparc/sparc64/memset.S: Likewise.
44319         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44321 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44323         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44324         -D_FORTIFY_SOURCE=1.
44325         (CPPFLAGS-tst-longjmp_chk.c): Define.
44326         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44327         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44328         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44329         CFLAGS-tst-wchar-h.c.
44331 2012-05-31  Marek Polacek  <polacek@redhat.com>
44333         [BZ #14132]
44334         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44335         __endmntent_internal): Remove declaration.
44336         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44337         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44338         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44340 2012-05-30  David S. Miller  <davem@davemloft.net>
44342         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44343         (___Q_simulate_exceptions): Use real FP ops rather than writing
44344         into the %fsr.
44345         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44346         Likewise.
44348 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44350         [BZ #14117]
44351         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44352         * sysdeps/x86/bits/xtitypes.h: This.
44354         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44355         * sysdeps/x86/bits/wordsize.h: This.
44357         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44358         * sysdeps/x86/bits/huge_vall.h: This.
44360         * sysdeps/i386/bits/select.h: Removed.
44361         * sysdeps/x86_64/bits/select.h: Renamed to ...
44362         * sysdeps/x86/bits/select.h: This.
44364         * sysdeps/i386/bits/setjmp.h: Removed.
44365         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44366         * sysdeps/x86/bits/setjmp.h: This.
44368         * sysdeps/i386/bits/mathdef.h: Removed.
44369         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44370         * sysdeps/x86/bits/mathdef.h: This.
44372 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44374         [BZ #14132]
44375         * include/sys/socket.h (__connect_internal)
44376         (__libc_sa_len_internal): Remove declaration.
44377         (__connect, __libc_sa_len): Declare hidden_proto.
44378         (SA_LEN): Remove use of INTUSE.
44379         * socket/connect.c: Add libc_hidden_def.
44380         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44381         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44382         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44383         alias.
44384         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44385         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44386         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44387         of adding _internal alias.
44389 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44391         [BZ #14117]
44392         * sysdeps/i386/bits/link.h: Removed.
44393         * sysdeps/i386/bits/linkmap.h: Likewise.
44394         * sysdeps/x86_64/bits/link.h: Renamed to ...
44395         * sysdeps/x86/bits/link.h: This.
44396         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44397         * sysdeps/x86/bits/linkmap.h: This.
44399         * sysdeps/i386/bits/endian.h: Removed.
44400         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44401         * sysdeps/x86/bits/endian.h: This.
44403         * sysdeps/i386/bits/byteswap.h: Removed.
44404         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44405         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44406         * sysdeps/x86/bits/byteswap.h: This.
44407         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44408         * sysdeps/x86/bits/byteswap-16.h: This.
44409         * sysdeps/i386/Implies: Add x86.
44410         * sysdeps/x86_64/Implies: Likewise.
44412 2012-05-30  David S. Miller  <davem@davemloft.net>
44414         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44415         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44416         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44417         (FP_TRAPPING_EXCEPTIONS): Define.
44418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44419         (FP_TRAPPING_EXCEPTIONS): Define.
44420         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44421         subnormals only when inexact has been signalled or underflow
44422         exceptions are enabled.
44423         (_FP_PACK_CANONICAL): Likewise.
44425 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44427         [BZ #14183]
44428         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44429         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44431 2012-05-30  Richard Henderson  <rth@twiddle.net>
44433         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44434         with #ifndef NOT_IN_libc.
44436         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44437         marked to avoid plt entry.
44439 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44441         [BZ #14112]
44442         * Makeconfig (default-abi): New macro.
44443         (abi-includes): Likewise.
44444         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44445         $(abi-$(default-abi)-lib-soname) for soname if defined.
44446         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44447         abi-variants.
44448         * Makefile (installed-stubs): Likewise.
44449         * include/stubs-biarch.h: Removed.
44450         * scripts/lib-names.awk: Only handle one library at a time.
44451         * scripts/soversions.awk: Remove WORDSIZE support.
44452         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44453         entries.
44454         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44455         Removed.
44456         (syscall-list-default-condition): Likewise.
44457         (syscall-list-default-condition): Likewise.
44458         (syscall-list-includes): Likewise.
44459         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44460         syscall-list-* with abi-*.  Handle undefined abi-variants.
44461         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44462         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44463         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44464         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44465         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44466         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44467         Removed.
44468         (syscall-list-32-options): Likewise.
44469         (syscall-list-32-condition): Likewise.
44470         (syscall-list-64-options): Likewise.
44471         (syscall-list-64-condition): Likewise.
44472         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44473         macro.
44474         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44475         Renamed to ...
44476         (abi-*): This.
44477         (abi-64-ld-soname): New macro.
44478         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44479         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44480         Renamed to ...
44481         (abi-*): This.
44482         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44483         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44485 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44487         * sysdeps/unix/sysv/linux/kernel-features.h
44488         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44489         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44490         include <kernel-features.h>.
44491         [!__NR_ftruncate64]: Remove conditional code.
44492         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44493         [__NR_ftruncate64]: Make code unconditional.
44494         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44495         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44496         include <kernel-features.h>.
44497         [!__NR_ftruncate64]: Remove conditional code.
44498         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44499         [__NR_ftruncate64]: Make code unconditional.
44500         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44502         include <kernel-features.h>.
44503         [!__NR_ftruncate64]: Remove conditional code.
44504         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44505         [__NR_ftruncate64]: Make code unconditional.
44506         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44508         include <kernel-features.h>.
44509         [!__NR_ftruncate64]: Remove conditional code.
44510         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44511         [__NR_ftruncate64]: Make code unconditional.
44512         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44514         * configure.in (libc_cv_fpie): Weaken to a compile test using
44515         LIBC_TRY_CC_OPTION.
44516         * configure: Regenerated.
44518 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44524         Refreshed.
44525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44531         Refreshed.
44533 2012-05-27  David S. Miller  <davem@davemloft.net>
44535         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44536         (___Q_zero): New.
44537         (__Q_simulate_exceptions): Return void.  Change to simulate
44538         exceptions by writing into the %fsr.
44539         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44540         (__Qp_handle_exceptions): Likewise.
44541         (numbers): Delete.
44542         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44543         __Qp_handle_exceptions.
44544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44545         __Qp_handle_exceptions.
44546         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44547         as unused and give dummy FP_RND_NEAREST initializer.
44548         (FP_INHIBIT_RESULTS): Define.
44549         (___Q_simulate_exceptions): Update declaration.
44550         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44551         formatting.
44552         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44553         as unused and give dummy FP_RND_NEAREST initializer.
44554         (__Qp_handle_exceptions): Update declaration.
44555         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44556         formatting.
44558 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
44560         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44561         the temporary FPU control word.
44562         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44563         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44564         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44565         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44566         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44567         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44568         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44569         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44570         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44571         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44572         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44574 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44576         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44577         fields.
44579 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
44581         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44582         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44583         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44584         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44585         Likewise.
44586         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44587         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44588         Likewise.
44590 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
44592         * po/h.po: Update from translation team.
44594 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
44596         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44598         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44599         handling of denormals.
44600         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44601         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44602         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44603         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44605         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44607         Likewise.
44609 2012-05-26  Marek Polacek  <polacek@redhat.com>
44611         [BZ #14152]
44612         * math/libm-test.inc (fma_test): Don't always expect underflow
44613         exception.
44615 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44617         [BZ #12416]
44618         * elf/tst-execstack.c: Include stackinfo.h.
44619         (do_test): Adjust test case to ensure that pthread_getattr_np
44620         behaviour remains the same after marking stack executable.
44622 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44624         * sysdeps/unix/sysv/linux/kernel-features.h
44625         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44626         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44627         kernel-features.h.
44628         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44629         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44630         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44631         kernel-features.h.
44632         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44633         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44635 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
44637         * configure.in: Define the default includes to being none.
44638         * configure: Regenerated.
44640 2012-05-25  Roland McGrath  <roland@hack.frob.com>
44642         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44643         * sysdeps/x86_64/setjmp.S: Likewise.
44644         * sysdeps/i386/bsd-setjmp.S: Likewise.
44645         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44646         * sysdeps/i386/setjmp.S: Likewise.
44647         * sysdeps/i386/__longjmp.S: Likewise.
44648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44649         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44651         * include/stap-probe.h: New file.
44652         * configure.in: Handle --enable-systemtap.
44653         * configure: Regenerated.
44654         * config.h.in (USE_STAP_PROBE): New #undef.
44655         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44656         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44657         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44659 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44661         [BZ #13717]
44662         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44663         to 2.4.0 where earlier.
44664         * sysdeps/unix/sysv/linux/configure: Regenerated.
44665         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44666         <kernel-features.h>.
44667         [__ASSUME_32BITUIDS]: Make code unconditional.
44668         [!__ASSUME_32BITUIDS]: Remove conditional code.
44669         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44670         <kernel-features.h>.
44671         [__ASSUME_32BITUIDS]: Make code unconditional.
44672         [!__ASSUME_32BITUIDS]: Remove conditional code.
44673         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44674         [__ASSUME_32BITUIDS]: Make code unconditional.
44675         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44676         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44677         <kernel-features.h>.
44678         [__ASSUME_32BITUIDS]: Make code unconditional.
44679         [!__ASSUME_32BITUIDS]: Remove conditional code.
44680         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44681         <kernel-features.h>.
44682         [__ASSUME_32BITUIDS]: Make code unconditional.
44683         [!__ASSUME_32BITUIDS]: Remove conditional code.
44684         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44685         <kernel-features.h>.
44686         [__ASSUME_32BITUIDS]: Make code unconditional.
44687         [!__ASSUME_32BITUIDS]: Remove conditional code.
44688         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44689         <kernel-features.h>.
44690         [__ASSUME_32BITUIDS]: Make code unconditional.
44691         [!__ASSUME_32BITUIDS]: Remove conditional code.
44692         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44693         <kernel-features.h>.
44694         [__ASSUME_32BITUIDS]: Make code unconditional.
44695         [!__ASSUME_32BITUIDS]: Remove conditional code.
44696         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44697         <kernel-features.h>.
44698         [__ASSUME_32BITUIDS]: Make code unconditional.
44699         [!__ASSUME_32BITUIDS]: Remove conditional code.
44700         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44701         <kernel-features.h>.
44702         [__ASSUME_32BITUIDS]: Make code unconditional.
44703         [!__ASSUME_32BITUIDS]: Remove conditional code.
44704         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44705         <kernel-features.h>.
44706         [__ASSUME_32BITUIDS]: Make code unconditional.
44707         [!__ASSUME_32BITUIDS]: Remove conditional code.
44708         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44709         <kernel-features.h>.
44710         [__ASSUME_32BITUIDS]: Make code unconditional.
44711         [!__ASSUME_32BITUIDS]: Remove conditional code.
44712         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44713         <kernel-features.h>.
44714         [__ASSUME_32BITUIDS]: Make code unconditional.
44715         [!__ASSUME_32BITUIDS]: Remove conditional code.
44716         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44717         <kernel-features.h>.
44718         [__NR_setresgid] (__setresgid): Do not declare.
44719         [__ASSUME_32BITUIDS]: Make code unconditional.
44720         [!__ASSUME_32BITUIDS]: Remove conditional code.
44721         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44722         <kernel-features.h>.
44723         [__NR_setresuid] (__setresuid): Do not declare.
44724         [__ASSUME_32BITUIDS]: Make code unconditional.
44725         [!__ASSUME_32BITUIDS]: Remove conditional code.
44726         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44727         <kernel-features.h>.
44728         [__ASSUME_32BITUIDS]: Make code unconditional.
44729         [!__ASSUME_32BITUIDS]: Remove conditional code.
44730         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44731         <kernel-features.h>.
44732         [__ASSUME_32BITUIDS]: Make code unconditional.
44733         [!__ASSUME_32BITUIDS]: Remove conditional code.
44734         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44735         <kernel-features.h>.
44736         [__ASSUME_32BITUIDS]: Make code unconditional.
44737         [!__ASSUME_32BITUIDS]: Remove conditional code.
44738         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44739         <kernel-features.h>.
44740         [__ASSUME_32BITUIDS]: Make code unconditional.
44741         [!__ASSUME_32BITUIDS]: Remove conditional code.
44742         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44743         <kernel-features.h>.
44744         [__ASSUME_32BITUIDS]: Make code unconditional.
44745         [!__ASSUME_32BITUIDS]: Remove conditional code.
44746         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44747         <kernel-features.h>.
44748         [__ASSUME_32BITUIDS]: Make code unconditional.
44749         [!__ASSUME_32BITUIDS]: Remove conditional code.
44750         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44751         <kernel-features.h>.
44752         [__ASSUME_32BITUIDS]: Make code unconditional.
44753         [!__ASSUME_32BITUIDS]: Remove conditional code.
44754         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44755         <kernel-features.h>.
44756         [__ASSUME_32BITUIDS]: Make code unconditional.
44757         [!__ASSUME_32BITUIDS]: Remove conditional code.
44758         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44759         <kernel-features.h>.
44760         [__ASSUME_32BITUIDS]: Make code unconditional.
44761         [!__ASSUME_32BITUIDS]: Remove conditional code.
44762         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44763         <kernel-features.h>.
44764         [__ASSUME_32BITUIDS]: Make code unconditional.
44765         [!__ASSUME_32BITUIDS]: Remove conditional code.
44766         * sysdeps/unix/sysv/linux/kernel-features.h
44767         (__ASSUME_SETRESUID_SYSCALL): Remove.
44768         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44769         (__ASSUME_32BITUIDS): Likewise.
44770         (__ASSUME_LDT_WORKS): Likewise.
44771         (__ASSUME_O_DIRECTORY): Likewise.
44772         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44773         architecture but not kernel version.
44774         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44775         (__ASSUME_MMAP2_SYSCALL): Likewise.
44776         (__ASSUME_STAT64_SYSCALL): Likewise.
44777         (__ASSUME_IPC64): Likewise.
44778         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44779         <kernel-features.h>.
44780         [__ASSUME_32BITUIDS]: Make code unconditional.
44781         [!__ASSUME_32BITUIDS]: Remove conditional code.
44782         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44783         <kernel-features.h>.
44784         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44785         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44786         132096]: Remove conditional code.
44787         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44788         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44789         <kernel-features.h>.
44790         [__ASSUME_32BITUIDS]: Make code unconditional.
44791         [!__ASSUME_32BITUIDS]: Remove conditional code.
44792         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44793         <kernel-features.h>.
44794         [__ASSUME_32BITUIDS]: Make code unconditional.
44795         [!__ASSUME_32BITUIDS]: Remove conditional code.
44796         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44797         <kernel-features.h>.
44798         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44799         unconditional.
44800         (__setresgid): Do not declare.
44801         [__ASSUME_32BITUIDS]: Make code unconditional.
44802         [!__ASSUME_32BITUIDS]: Remove conditional code.
44803         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44804         <kernel-features.h>.
44805         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44806         unconditional.
44807         (__setresuid): Do not declare.
44808         [__ASSUME_32BITUIDS]: Make code unconditional.
44809         [!__ASSUME_32BITUIDS]: Remove conditional code.
44810         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44811         <kernel-features.h>.
44812         [__ASSUME_32BITUIDS]: Make code unconditional.
44813         [!__ASSUME_32BITUIDS]: Remove conditional code.
44814         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44815         <kernel-features.h>.
44816         [__ASSUME_32BITUIDS]: Make code unconditional.
44817         [!__ASSUME_32BITUIDS]: Remove conditional code.
44819 2012-05-25  Richard Henderson  <rth@twiddle.net>
44821         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44822         dl_hwcap to ifunc resolver.
44823         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44824         elf_ifunc_invoke.
44825         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44826         dl_hwcap to ifunc resolver.
44827         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44829 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44831         [BZ #14153]
44832         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44833         for |x| <= 2**-26, not 2**-57.
44834         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44835         exception.
44837 2012-05-24  Jeff Law  <law@redhat.com>
44839         * stdio-common/Makefile (tests): Add bug25.
44840         * stdio-common/bug25.c: New test.
44842 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44844         [BZ #13576]
44845         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44846         multiple of MALLOC_ALIGNMENT in size.
44847         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44849 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44851         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44852         Require >= 256.
44853         (FILENAME_MAX): Use macro-int-constant.
44854         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44855         (_IOFBF): Use macro-int-constant.
44856         (_IOLBF): Likewise.
44857         (_IONBF): Likewise.
44858         (SEEK_CUR): Likewise.
44859         (SEEK_END): Likewise.
44860         (SEEK_SET): Likewise.
44861         (TMP_MAX): Likewise.
44862         (EOF): Use macro-int-constant.  Require < 0.
44863         (NULL): Use macro-constant.  Require == 0.
44864         (stdin): Require type to be FILE *.
44865         (stdout): Likewise.
44866         (stderr): Likewise.
44867         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44868         macro-int-constant.
44869         (EXIT_SUCCESS): Likewise.
44870         (NULL): Use macro-constant.  Require == 0.
44871         (RAND_MAX): Use macro-int-constant.
44872         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44873         [C99-based standards] (strtof): Require function.
44874         [C99-based standards] (strtold): Likewise.
44875         [C99-based standards] (strtoll): Likewise.
44876         [C99-based standards] (strtoull): Likewise.
44877         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44878         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44879         [ISO || ISO99 || ISO11] (math.h): Likewise.
44880         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44881         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44882         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44884 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44886         [BZ #14132]
44887         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44888         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44889         * intl/dgettext.c (DCGETTEXT): Likewise.
44890         * intl/gettext.c (DCGETTEXT): Likewise.
44891         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44892         * posix/regex_internal.h (gettext): Likewise.
44893         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44894         Remove declaration.
44895         * include/argz.h (__argz_count_internal)
44896         (__argz_stringify_internal): Remove declaration.
44897         (__argz_count, __argz_stringify): Declare hidden proto.
44898         * intl/dcgettext.c: Remove use of INTDEF.
44899         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44900         * string/argz-stringify.c: Likewise.
44901         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44902         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44903         Declare hidden proto.
44904         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44905         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44906         Declare hidden proto.
44907         * include/stdio.h (__asprintf_internal): Don't declare.
44908         (__asprintf): Don't define as macro.  Declare hidden proto.
44909         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44910         (__fsetlocking): Declare hidden proto.
44911         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44912         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44913         hidden proto.
44914         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44915         (_IO_setlinebuf): Remove use of INTUSE.
44916         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44917         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44918         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44919         Remove declaration.
44920         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44921         (_IO_do_flush): Remove use of INTUSE.
44922         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44923         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44924         (_IO_adjust_column, _IO_least_wmarker)
44925         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44926         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44927         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44928         (_IO_default_doallocate, _IO_wdefault_doallocate)
44929         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44930         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44931         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44932         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44933         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44934         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44935         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44936         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44937         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44938         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44939         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44940         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44941         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44942         proto.
44943         (_IO_flush_all_internal, _IO_adjust_column_internal)
44944         (_IO_default_uflow_internal, _IO_default_finish_internal)
44945         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44946         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44947         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44948         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44949         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44950         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44951         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44952         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44953         (_IO_file_close_internal, _IO_file_close_it_internal)
44954         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44955         (_IO_file_init_internal, _IO_file_attach_internal)
44956         (_IO_file_fopen_internal, _IO_file_read_internal)
44957         (_IO_file_sync_internal, _IO_file_seek_internal)
44958         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44959         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44960         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44961         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44962         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44963         (_IO_list_all_internal, _IO_link_in_internal)
44964         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44965         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44966         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44967         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44968         (_IO_do_write_internal, _IO_padn_internal)
44969         (_IO_getline_info_internal, _IO_getline_internal)
44970         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44971         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44972         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44973         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44974         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44975         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44976         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44977         with libc_hidden_ver, remove use of INTUSE.
44978         * libio/genops.c: Likewise.
44979         * libio/freopen.c: Likewise.
44980         * libio/freopen64.c: Likewise.
44981         * libio/iofclose.c: Likewise.
44982         * libio/iofdopen.c: Likewise.
44983         * libio/iofflush.c: Likewise.
44984         * libio/iofflush_u.c: Likewise.
44985         * libio/iofgets.c: Likewise.
44986         * libio/iofgets_u.c: Likewise.
44987         * libio/iofopen.c: Likewise.
44988         * libio/iofopncook.c: Likewise.
44989         * libio/iofread.c: Likewise.
44990         * libio/iofread_u.c: Likewise.
44991         * libio/ioftell.c: Likewise.
44992         * libio/iofwrite.c: Likewise.
44993         * libio/iogetline.c: Likewise.
44994         * libio/iogets.c: Likewise.
44995         * libio/iogetwline.c: Likewise.
44996         * libio/iopadn.c: Likewise.
44997         * libio/iopopen.c: Likewise.
44998         * libio/ioseekoff.c: Likewise.
44999         * libio/ioseekpos.c: Likewise.
45000         * libio/iosetbuffer.c: Likewise.
45001         * libio/iosetvbuf.c: Likewise.
45002         * libio/ioungetc.c: Likewise.
45003         * libio/ioungetwc.c: Likewise.
45004         * libio/iovdprintf.c: Likewise.
45005         * libio/iovsprintf.c: Likewise.
45006         * libio/iovsscanf.c: Likewise.
45007         * libio/memstream.c: Likewise.
45008         * libio/obprintf.c: Likewise.
45009         * libio/oldfileops.c: Likewise.
45010         * libio/oldiofclose.c: Likewise.
45011         * libio/oldiofdopen.c: Likewise.
45012         * libio/oldiofopen.c: Likewise.
45013         * libio/oldiopopen.c: Likewise.
45014         * libio/oldstdfiles.c: Likewise.
45015         * libio/putc.c: Likewise.
45016         * libio/setbuf.c: Likewise.
45017         * libio/setlinebuf.c: Likewise.
45018         * libio/stdfiles.c: Likewise.
45019         * libio/strops.c: Likewise.
45020         * libio/vasprintf.c: Likewise.
45021         * libio/vscanf.c: Likewise.
45022         * libio/vsnprintf.c: Likewise.
45023         * libio/vswprintf.c: Likewise.
45024         * libio/wfiledoalloc.c: Likewise.
45025         * libio/wfileops.c: Likewise.
45026         * libio/wgenops.c: Likewise.
45027         * libio/wmemstream.c: Likewise.
45028         * libio/wstrops.c: Likewise.
45029         * libio/__fpurge.c: Likewise.
45030         * libio/__fsetlocking.c: Likewise.
45031         * assert/assert.c: Likewise.
45032         * debug/fgets_chk.c: Likewise.
45033         * debug/fgets_u_chk.c: Likewise.
45034         * debug/fread_chk.c: Likewise.
45035         * debug/fread_u_chk.c: Likewise.
45036         * debug/gets_chk.c: Likewise.
45037         * debug/obprintf_chk.c: Likewise.
45038         * debug/vasprintf_chk.c: Likewise.
45039         * debug/vdprintf_chk.c: Likewise.
45040         * debug/vsnprintf_chk.c: Likewise.
45041         * debug/vsprintf_chk.c: Likewise.
45042         * malloc/mtrace.c: Likewise.
45043         * misc/error.c: Likewise.
45044         * misc/syslog.c: Likewise.
45045         * stdio-common/asprintf.c: Likewise.
45046         * stdio-common/fxprintf.c: Likewise.
45047         * stdio-common/getw.c: Likewise.
45048         * stdio-common/isoc99_fscanf.c: Likewise.
45049         * stdio-common/isoc99_scanf.c: Likewise.
45050         * stdio-common/isoc99_vfscanf.c: Likewise.
45051         * stdio-common/isoc99_vscanf.c: Likewise.
45052         * stdio-common/isoc99_vsscanf.c: Likewise.
45053         * stdio-common/printf-prs.c: Likewise.
45054         * stdio-common/printf_fp.c: Likewise.
45055         * stdio-common/printf_fphex.c: Likewise.
45056         * stdio-common/printf_size.c: Likewise.
45057         * stdio-common/putw.c: Likewise.
45058         * stdio-common/scanf.c: Likewise.
45059         * stdio-common/sprintf.c: Likewise.
45060         * stdio-common/tmpfile.c: Likewise.
45061         * stdio-common/vfprintf.c: Likewise.
45062         * stdio-common/vfscanf.c: Likewise.
45063         * stdlib/strfmon_l.c: Likewise.
45064         * sunrpc/openchild.c: Likewise.
45065         * sunrpc/xdr_stdio.c: Likewise.
45066         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45067         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45069 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45071         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45073         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45074         in the third column, to generate for the shared library an IFUNC
45075         that uses _dl_vdso_vsym.
45076         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45077         * Makeconfig (object-suffixes-noshared): New variable.
45079         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45080         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45081         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45082         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45084         [BZ #14132]
45085         * include/sys/time.h (__gettimeofday): Remove macro.
45086         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45087         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45088         Remove INTDEF.
45089         (__gettimeofday): Add libc_hidden_def.
45090         (gettimeofday): Add libc_hidden_weak.
45091         * sysdeps/mach/gettimeofday.c: Likewise.
45092         * sysdeps/posix/gettimeofday.c: Likewise.
45093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45094         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45096         (__gettimeofday_internal): Remove strong_alias.
45097         (__gettimeofday): Add libc_hidden_def.
45098         (gettimeofday): Add libc_hidden_weak.
45099         * sysdeps/unix/syscalls.list (gettimeofday):
45100         Remove __gettimeofday_internal alias.
45102 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45103             H.J. Lu  <hongjiu.lu@intel.com>
45105         [BZ #12495]
45106         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45107         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45108         (largebin_index_32_big): New.
45109         (largebin_index): Use it for 16-byte alignment.
45110         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45111         correction with front_misalign.
45113 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45117         Likewise.
45118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45119         Likewise.
45120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45121         Likewise.
45122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45123         Likewise.
45124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45125         Likewise.
45126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45127         Likewise.
45128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45129         Likewise.
45130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45131         Likewise.
45132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45133         Likewise.
45134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45135         Likewise.
45136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45137         Likewise.
45138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45139         Likewise.
45141         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45142         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45144 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45146         [BZ #10846]
45147         [BZ #14036]
45148         * math/libm-test.inc (exp_test): Add test from bug 14036.
45149         (pow_test): Add test from bug 10846.
45151         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45152         and other flags.
45153         (special_function): Do not include flags in test name.
45154         (parse_args): Likewise.
45155         * sysdeps/i386/fpu/libm-test-ulps: Update.
45156         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45157         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45158         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45161         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45162         exceptions.
45163         * math/libm-test.inc ("Philosophy"): Update comment about
45164         exception testing.
45165         (UNDERFLOW_EXCEPTION): New macro.
45166         (UNDERFLOW_EXCEPTION_OK): Likewise.
45167         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45168         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45169         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45170         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45171         (INVALID_EXCEPTION_OK): Update value.
45172         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45173         (OVERFLOW_EXCEPTION_OK): Likewise.
45174         (IGNORE_ZERO_INF_SIGN): Likewise.
45175         (test_exceptions): Handle underflow exceptions.
45176         (acos_test): Update for underflow exception expectations.
45177         (cexp_test): Likewise.
45178         (clog_test): Likewise.
45179         (clog10_test): Likewise.
45180         (csqrt_test): Likewise.
45181         (ctan_test): Likewise.
45182         (ctanh_test): Likewise.
45183         (exp_test): Likewise.
45184         (exp10_test): Likewise.
45185         (exp2_test): Likewise.
45186         (expm1_test): Likewise.
45187         (fma_test): Likewise.
45188         (j0_test): Likewise.
45189         (jn_test): Likewise.
45190         (nexttoward_test): Likewise.
45191         (pow_test): Likewise.
45192         (scalbn_test): Likewise.
45193         (scalbln_test): Likewise.
45194         (tan_test): Likewise.
45195         (y1_test): Likewise.
45196         * sysdeps/i386/fpu/libm-test-ulps: Update.
45197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45199 2012-05-23  David S. Miller  <davem@davemloft.net>
45201         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45202         (__libc_sigaction): Remove unused local variables.
45204 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45206         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45208 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45210         mktime: avoid signed integer overflow
45211         * time/mktime.c (__mktime_internal): Do not mishandle the case
45212         where diff == INT_MIN.
45214         mktime: simplify computation of average
45215         * time/mktime.c (ranged_convert): Use new time_t_avg function
45216         instead of rolling our own (probably-slower) code.
45218         mktime: do not assume signed right shift propagates sign bit
45219         * time/mktime.c (isdst_differ): New static function.
45220         (__mktime_internal): No need to normalize tm_isdst now.
45221         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45222         tm_isdst values.
45224         mktime: merge another wrapv change from gnulib
45225         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45226         from some compilers.
45228         mktime: remove incorrect attempt at unusual arithmetics
45229         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45230         The code didn't really work on such machines anyway.
45231         (TYPE_MINIMUM): Assume two's complement.
45232         (twos_complement_arithmetic): Verify that long_int and time_t
45233         are two's complement (or unsigned, in the latter case).
45235         mktime: check signed shifts on long_int and time_t, too
45236         * time/mktime.c (SHR): Check that shifts work as desired
45237         on the types long_int and time_t too, as SHR is used on
45238         such types.
45240         mktime: do not assume 'long' is wide enough
45241         * time/mktime.c (verify): Move decl up.
45242         (long_int): New type.
45243         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45244         to remove assumption in the code that 'long' is wide enough to
45245         store year values.  This assumption is not true on x32 and on
45246         some non-glibc platforms.
45248         mktime: merge wrapv change from gnulib
45249         * time/mktime.c (WRAPV): New macro.
45250         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45251         (guess_time_tm, __mktime_internal): Do not assume that signed
45252         integer overflow wraps around; modern compilers generate code
45253         where this assumption is no longer valid.
45255 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45257         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45258         Replace "jmp L(pseudo_end)" with "ret".
45259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45260         Likewise.
45262 2012-05-23  Andreas Jaeger  <aj@suse.de>
45264         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45265         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45267 2012-05-23  Andreas Jaeger  <aj@suse.de>
45268             Maximilian Attems  <max@stro.at>
45270         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45271         New macros.
45273 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45275         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45276         code so that pseudo_end is just ret and the stack pointer is
45277         correct also for static library in error case.
45279 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45281         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45282         move to syscalls.list.
45283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45288         * manual/install.texi (Running make install): Do not mention Linux
45289         kernel version for which pt_chown is not needed.
45290         (Linux): Do not mention problems with nscd with 2.0 kernels.
45291         * INSTALL: Regenerated.
45293 2012-05-23  Andreas Jaeger  <aj@suse.de>
45295         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45296         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45297         macro.
45298         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45300         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45301         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45302         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45303         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45304         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45305         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45306         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45307         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45308         * sysdeps/unix/sysv/linux/bits/in.h
45309         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45311 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45313         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45314         (PREPARE_VERSION): Just use assert instead, it will be elided
45315         under [NDEBUG] anyway.
45317 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45319         * sysdeps/unix/sysv/linux/Makefile: Include
45320         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45321         (sysdep_routines): Remove sysctl.
45322         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45323         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45324         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45325         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45326         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45328 2012-05-22  Andreas Jaeger  <aj@suse.de>
45330         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45331         that pseudo_end is just ret and the stack pointer is correct also
45332         for static library in error case.
45334 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45336         [BZ #14122]
45337         * nss/nsswitch.c (defconfig_entries): New variable.
45338         (__nss_database_lookup): Don't leak defconfig entries.
45339         (nss_parse_service_list): Don't leak on error paths.
45340         (free_database_entries): New function.
45341         (free_defconfig): New function.
45342         (free_mem): Move common code to free_database_entries.
45344 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45346         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45347         Add arch_prctl.
45348         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45350         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45351         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45353         New macro.
45354         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45355         (INTERNAL_SYSCALL_TYPES): Likewise.
45356         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45357         (LOAD_REGS_TYPES_[1-6]): Likewise.
45358         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45359         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45361 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45363         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45364         copysignl for GLIBC_2_0.
45365         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45366         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45367         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45368         logbl for GLIBC_2_0.
45369         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45370         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45372 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45374         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45375         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45377         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45378         Use "neg %eax".
45380         * time/mktime.c: Update copyright years.
45382 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45384         mktime: merge comment-quoting-style change from gnulib
45385         * time/mktime.c: Quote 'like this' in comments.
45386         The GNU coding standards suggest that we no longer quote `like this',
45387         as "`" and "'" are typically rendered asymmetrically nowadays.
45388         The typical gnulib style is to quote 'like this' when quoting
45389         code, and "like this" when quoting English.
45391         * time/mktime.c (compile-command): Add "-I.".
45393         mktime: merge mktime-internal.h change from gnulib
45394         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45396         mktime: merge time_r change from gnulib
45397         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45399         mktime: merge DEBUG change from gnulib
45400         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45401         case system <time.h> has a #define.
45403         mktime: merge <sys/types.h> change from gnulib
45404         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45405         since <time.t> is now guaranteed to define time_t.
45407         mktime: merge HAVE_CONFIG_H change from gnulib
45408         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45410 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45413         Use "neg %eax".
45415         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45416         __rlim_t cast.
45417         (struct rusage): Use anonymous union to pad each field to
45418         __syscall_slong_t.
45420 2012-05-21  David S. Miller  <davem@davemloft.net>
45422         * Makefules (o-iterator): Remove .s cases.
45423         (compile-command.s): Delete.
45424         (COMPILE.s): Delete.
45425         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45427 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45429         * configure.in (libc_cv_predef_stack_protector): Only consider
45430         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45431         * configure: Regenerated.
45433 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45436         New macro.  Use R*LP on int and pointer.
45437         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45438         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45439         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45440         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45442         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45443         [__WORDSIZE_TIME64_COMPAT32] instead of
45444         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45445         (struct utmp): Likewise.
45446         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45447         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45448         Renamed to ...
45449         (__WORDSIZE_TIME64_COMPAT32): This.
45450         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45451         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45452         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45453         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45454         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45455         (__WORDSIZE_TIME64_COMPAT32): New macro.
45457 2012-05-21  Andreas Jaeger  <aj@suse.de>
45459         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45460         only if [SHARED]. Add prototype for __wcschr_ia32.
45462 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45464         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45465         of %rbp unmolested in the jmp_buf while mangling the low bits.
45466         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45467         unmolested high bits of %rbp while demangling the low bits.
45468         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45470 2012-05-21  Andreas Jaeger  <aj@suse.de>
45472         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45473         * sunrpc/svc_simple.c: Use it for registerrpc.
45474         * sunrpc/xcrypt.c: Use it for passwd2des.
45476         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45478 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45480         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45481         Don't define if [__SYSCALL_WORDSIZE != 32].
45482         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45483         New macro.
45485 2012-05-21  Bruno Haible  <bruno@clisp.org>
45486             Andreas Jaeger  <aj@suse.de>
45488         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45489         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45490         inptr and inend for must_buffer_ch.
45491         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45492         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45493         * stdio-common/Makefile (tests): Remove bug15.
45494         (bug15-ENV): Remove macro.
45495         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45496         anymore.
45498 2012-05-19  Andreas Jaeger  <aj@suse.de>
45499             Roland McGrath  <roland@hack.frob.com>
45501         * manual/contrib.texi: Completely rewritten. It contains now an
45502         alphabetical list of contributors and their contributions.
45504 2012-05-21  Richard Henderson  <rth@twiddle.net>
45506         * misc/getauxval.c (__getauxval): Use unsigned long int.
45507         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45508         (getauxval): Use unsigned long int.
45510 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45512         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45514 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45516         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45517         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45518         __alignof__ (long double).
45520 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45524 2012-05-20  Richard Henderson  <rth@twiddle.net>
45526         * misc/getauxval.c: New file.
45527         * misc/sys/auxv.h: New file.
45528         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45529         (routines): Add getauxval.
45530         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45531         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45532         * elf/dl-sysdep.c (_dl_auxv): Remove.
45533         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45534         * elf/dl-support.c (_dl_auxv): New variable.
45535         (_dl_aux_init): Initialize it.
45536         * manual/startup.texi (Auxiliary Vector): New node.
45537         * sysdeps/generic/bits/hwcap.h: New file.
45538         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45539         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45540         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45541         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45542         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45543         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45545         Update.
45546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45555 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45559 2012-05-19  David S. Miller  <davem@davemloft.net>
45561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45563 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45565         [BZ #14123]
45566         * math/s_ccosh.c: Include <float.h>
45567         (__ccosh): Avoid internal overflow calculating sinh and cosh
45568         values before multiplying by sin and cos values.
45569         * math/s_ccoshf.c: Likewise.
45570         * math/s_ccoshl.c: Likewise.
45571         * math/s_csin.c: Likewise.
45572         * math/s_csinf.c: Likewise.
45573         * math/s_csinl.c: Likewise.
45574         * math/s_csinh.c: Likewise.
45575         * math/s_csinhf.c: Likewise.
45576         * math/s_csinhl.c: Likewise.
45577         * math/libm-test.inc (ccos_test): Add more tests.
45578         (ccosh_test): Likewise.
45579         (csin_test): Likewise.
45580         (csinh_test): Likewise.
45581         * sysdeps/i386/fpu/libm-test-ulps: Update.
45582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45584 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
45586         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45587         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45589         * sysdeps/x86_64/x32/_itoa.h: Add comment.
45591 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45593         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45594         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45595         * sysdeps/powerpc/soft-fp/Versions: Likewise.
45596         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45597         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45598         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45599         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45600         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45601         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45602         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45603         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45604         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45605         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45606         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45607         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45608         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45609         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45610         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45611         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45612         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45613         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45614         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45615         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45616         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45617         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45618         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45619         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45620         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45621         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45622         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45623         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45625 2012-05-18  Andreas Jaeger  <aj@suse.de>
45627         * csu/.gitignore: Delete.
45629 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45631         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45632         (timex): Use __syscall_slong_t.
45634 2012-05-18  Andreas Jaeger  <aj@suse.de>
45635             Carlos O'Donell  <carlos_odonell@mentor.com>
45637         * manual/install.texi (Configuring and compiling): Update
45638         description about files modified in the source directory.
45639         * INSTALL: Regenerated.
45641 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45643         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45644         value.  Use "or" to set return value to -1.
45645         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45646         negate return value.
45648 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45650         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45651         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45652         failure if the compiler has Graphite support disabled.
45653         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45654         Likewise.
45655         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45656         (CFLAGS-memmove.c): Likewise.
45657         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45658         Likewise.
45660 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45662         * sysdeps/x86_64/x32/_itoa.h: New file.
45664         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45665         getdents system call only if kernel and user dirents have the
45666         same d_ino and d_off.
45668         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45669         LLONG_MAX != LONG_MAX.
45670         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45671         (_fitoa_word): Likewise.
45673         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45674         years.
45675         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45676         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45677         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45679         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45680         include <bits/wordsize.h>.  Check __x86_64__ instead of
45681         __WORDSIZE.
45682         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45683         if __x86_64__ is defined.  Use anonymous union on fpstate.
45685         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45686         anonymous union.
45688 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
45690         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45691         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45692         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45693         Refer to _rtld_local_ro instead of _rtld_global_ro.
45694         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45695         Likewise.
45696         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45697         Likewise.
45698         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45699         Likewise.
45700         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45701         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45702         of _rtld_global, and rtld_progname instead of _dl_argv[0].
45704         * sysdeps/powerpc/powerpc32/dl-machine.c
45705         (__elf_machine_runtime_setup) [PROF]: Don't reference
45706         _dl_prof_resolve.
45708 2012-05-18  Andreas Jaeger  <aj@suse.de>
45710         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45711         function only available for GCCs before 3.4 since GCC 3.4
45712         introduced a builtin.
45713         (lrint): Likewise.
45714         (llrintf): Likewise.
45715         (llrint): Likewise.
45716         (fmaxf): Likewise.
45717         (fmax): Likewise.
45718         (fminf): Likewise.
45719         (fmin): Likewise.
45720         (rint): Likewise.
45721         (rintf): Likewise.
45722         (nearbyint): Likewise.
45723         (nearbyintf): Likewise.
45724         (ceil): Likewise.
45725         (ceilf): Likewise.
45726         (floor): Likewise.
45727         (floorf): Likewise.
45729 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45731         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45732         on both fields and cast pointer to __syscall_ulong_t.
45734         * bits/types.h (__fsword_t): New type.
45735         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45736         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45737         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45738         (__FSWORD_T_TYPE): Likewise.
45739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45740         (__FSWORD_T_TYPE): Likewise.
45741         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45742         (__FSWORD_T_TYPE): Likewise.
45743         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45744         (__FSWORD_T_TYPE): Likewise.
45745         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45746         __SWORD_TYPE with __fsword_t.
45747         (statfs64): Likewise.
45749 2012-05-17  David S. Miller  <davem@davemloft.net>
45751         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45753 2012-05-17  Andreas Jaeger  <aj@suse.de>
45755         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45756         warning.
45758 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45760         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45762 2012-05-17  Andreas Jaeger  <aj@suse.de>
45764         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45765         when it is used.
45767 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45769         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45771 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45773         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45774         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45776 2012-05-17  Andreas Jaeger  <aj@suse.de>
45777             Carlos O'Donell  <carlos_odonell@mentor.com>
45779         [BZ #14059]
45780         * sysdeps/x86_64/multiarch/init-arch.h
45781         (bit_YMM_Usable): Rename to...
45782         (bit_AVX_Usable): ... this.
45783         (bit_FMA4_Usable): New macro.
45784         (bit_XMM_state): New macro.
45785         (bit_YMM_state): New macro.
45786         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45787         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45788         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45789         (CPUID_OSXSAVE): New macro.
45790         (CPUID_AVX): New macro.
45791         (CPUID_FMA4): New macro.
45792         (index_YMM_Usable): Rename to...
45793         (index_AVX_Usable): ... this.
45794         (HAS_AVX): Use HAS_ARCH_FEATURE.
45795         (HAS_FMA4): Likewise.
45796         (HAS_YMM_USABLE): Remove.
45797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45798         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45799         are present.
45800         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45801         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45802         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45803         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45804         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45806 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45808         * math/libm-test.c: Support platforms without multiple rounding modes.
45809         * math/bug-nextafter.c: Support platforms without FP exceptions.
45810         * math/bug-nexttoward.c: Likewise.
45811         * math/test-fenv.c: Likewise.
45812         * math/test-misc.c: Likewise.
45813         * stdlib/bug-getcontext.c: Likewise.
45815 2012-05-17  Andreas Jaeger  <aj@suse.de>
45817         * manual/examples/search.c (critter_cmp): Change signature to
45818         avoid warnings.
45819         * manual/string.texi (Collation Functions): Likewise.
45821 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45823         * bits/types.h: Fold copyright years.
45824         * bits/typesizes.h: Likewise.
45825         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45826         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45828         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45829         * time/time.h: Likewise.
45831 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45833         [BZ #208]
45834         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45835         in instead of returning them.  Return void.
45836         (__libc_mallinfo): Accumulate over all arenas.
45837         (__malloc_stats): Adjust for change in int_mallinfo interface.
45839 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45841         [BZ #10375]
45842         * configure.in (NM): Add AC_CHECK_TOOL for it.
45843         (libc_extra_cflags): New substituted variable.
45844         Check for -fstack-protector being used implicitly.
45845         * configure: Regenerated.
45846         * config.make.in (config-extra-cflags): New variable,
45847         gets @libc_extra_cflags@.
45848         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45850         [BZ #10375]
45851         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45852         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45853         * configure: Regenerated.
45854         * config.make.in (CPPUNDEFS): New substituted variable.
45855         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45856         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45857         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45859 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45861         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45862         (mq_attr): Use __syscall_slong_t.
45864 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45866         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45867         Check __x86_64__ instead of __WORDSIZE.
45868         (_STAT_VER_LINUX): Likewise.
45869         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45870         __syscall_ulong_t and __syscall_slong_t.
45871         (stat64): Likewise.
45873 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45877 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45879         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45881 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45883         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45884         __syscall_ulong_t.
45886         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45887         include <bits/wordsize.h>.  Check __x86_64__ instead of
45888         __WORDSIZE.
45889         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45890         defined.
45891         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45893         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45894         include <bits/wordsize.h>.  Check __x86_64__ instead of
45895         __WORDSIZE.
45896         (user_regs_struct): Use "__extension__ unsigned long long"
45897         instead of "unsigned long" if __x86_64__ is defined.
45898         (user): Likewise.  Pad after pointer field if __ILP32__ is
45899         defined.
45901 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45903         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45904         versions 5 to 9.
45905         * configure: Regenerated.
45906         * manual/install.texi (texinfo): Increase version requirement to
45907         4.5 or later.
45908         * INSTALL: Regenerated.
45910         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45912 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45914         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45916         * sysdeps/x86_64/x32/ffs.c: New file.
45918         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45919         __syscall_ulong_t.
45920         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45921         defined.  Use __syscall_ulong_t.
45922         (shminfo): Use __syscall_ulong_t.
45923         (shm_info): Likewise.
45925         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45926         __syscall_ulong_t.
45928         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45929         <bits/wordsize.h>.
45930         (msgqnum_t): Use __syscall_ulong_t.
45931         (msglen_t): Likewise.
45932         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45933         __syscall_ulong_t.
45935         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45936         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45938         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45940         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45941         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45943         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45944         __syscall_slong_t.
45946         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45947         include <bits/wordsize.h>.  Check __x86_64__ instead of
45948         __WORDSIZE.
45950         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45951         "unsigned long long int" if __x86_64__ is defined.
45952         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45954         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45955         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45956         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45958         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45959         <stdint.h>.
45960         (GET_PC): Cast to uintptr_t first.
45961         (GET_FRAME): Likewise.
45962         (GET_STACK): Likewise.
45964         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45965         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45966         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45967         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45968         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45969         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45970         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45971         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45972         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45973         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45974         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45975         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45976         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45977         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45978         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45979         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45980         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45981         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45982         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45983         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45984         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45985         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45986         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45987         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45988         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45989         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45990         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45991         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45992         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45994 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45996         * Makerules (+depfiles): Also collect depfiles from .oS in
45997         $(extra-objs).
45998         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45999         .oS, $(libnldbl-routines)).
46001         * Makerules (native-compile-mkdep-flags): Define.
46002         * sunrpc/Makefile (extra-objs): Add $(addprefix
46003         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46004         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46005         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46006         calling $(make-target-directory).
46008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46010         * bits/types.h (__snseconds_t): Removed.
46011         * time/time.h (struct timespec): Replace __snseconds_t with
46012         __syscall_slong_t.
46013         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46014         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46015         Likewise.
46016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46017         (__SNSECONDS_T_TYPE): Likewise.
46018         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46019         (__SNSECONDS_T_TYPE): Likewise.
46020         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46021         (__SNSECONDS_T_TYPE): Likewise.
46023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46025         * sysdeps/mach/hurd/bits/typesizes.h
46026         (__SYSCALL_SLONG_TYPE): New macro.
46027         (__SYSCALL_ULONG_TYPE): Likewise.
46029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46031         * bits/types.h (__syscall_slong_t): New type.
46032         (__syscall_ulong_t): Likewise.
46034         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46035         (__SYSCALL_ULONG_TYPE): Likewise.
46036         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46037         (__SYSCALL_SLONG_TYPE): Likewise.
46038         (__SYSCALL_ULONG_TYPE): Likewise.
46039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46040         (__SYSCALL_SLONG_TYPE): Likewise.
46041         (__SYSCALL_ULONG_TYPE): Likewise.
46042         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46043         (__SYSCALL_SLONG_TYPE): Likewise.
46044         (__SYSCALL_ULONG_TYPE): Likewise.
46046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46048         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46049         Add sigaltstack-offsets.sym.
46050         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46051         <sigaltstack-offsets.h>.
46052         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46053         longjmp_msg pointer.
46054         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46055         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46056         signal stack.
46057         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46059 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46061         * elf/stackguard-macros.h: Remove file.
46062         * sysdeps/generic/stackguard-macros.h: New file.
46063         * sysdeps/i386/stackguard-macros.h: Likewise.
46064         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46065         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46066         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46067         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46068         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46069         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46070         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46071         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46072         <elf/stackguard-macros.h>.
46074         [BZ #14109]
46075         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46076         __aligned__ in attribute.
46077         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46078         (gregset_t): Likewise.
46080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46082         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46083         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46084         * sysdeps/x86_64/x32/Implies-after: New file.
46086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46088         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46089         and access return value for _dl_profile_fixup.  Use R10_LP to
46090         load frame size.
46092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46094         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46098         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46099         * sysdeps/x86_64/x32/sysdep.h: New file.
46101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46103         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46104         * sysdeps/x86_64/setjmp.S: Likewise.
46106 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46108         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46109         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46110         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46111         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46112         remove unused global constant.
46114 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46116         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46117         include of <not-cancel.h>.
46119 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46121         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46123 2012-05-15  Jeff Law  <law@redhat.com>
46124             Andreas Jaeger  <aj@suse.de>
46126         [BZ #13594]
46127         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46128         out from...
46129         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46130         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46131         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46132         code changing __hst_map_handle.map.
46134 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46136         * configure.in (sysnames): Look for Implies-before and Implies-after
46137         files.
46138         * configure: Regenerated.
46140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46142         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46143         8-byte data alignment with LP_SIZE alignment.
46145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46147         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46148         into R10_LP.
46150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46152         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46156         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46157         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46158         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46159         Likewise.
46160         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46164         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46165         (stackinfo_sub_sp): Likewise.
46167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46169         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46170         RAX_LP.
46172 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46175         into R*_LP.
46177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46179         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46180         sizes into R*_LP.
46182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46184         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46188         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46189         into R11_LP and load __x86_64_shared_cache_size_half into
46190         R8_LP.
46192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46194         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46195         R8_LP.
46197 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46199         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46200         logb for POWER7.
46201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46202         logbf for POWER7.
46203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46204         logbl for POWER7.
46205         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46206         powerpc32/power7/fpu/s_logb.c via #include.
46207         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46208         powerpc32/power7/fpu/s_logbf.c via #include.
46209         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46210         powerpc32/power7/fpu/s_logbl.c via #include.
46212 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46214         * README.libm: Remove file.
46216 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46218         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46219         count for x32.  Use R*_LP and omit operand-size suffix.
46221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46223         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46224         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46225         * sysdeps/x86_64/x32/shlib-versions: New file.
46227 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46229         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46230         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46231         Use _dl_fatal_printf instead.
46233 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46235         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46236         set if not set by the user.  Do not allow for being unset.
46237         * sysdeps/unix/sysv/linux/configure: Regenerated.
46239 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46241         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46242         the `q' suffix from lea and replace .quad with ASM_ADDR.
46244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46247         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46248         instead of $17.
46249         (PTR_DEMANGLE): Likewise.
46251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46253         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46254         (LP_OP): Likewise.
46255         (ASM_ADDR): Likewise.
46256         (RAX_LP): Likewise.
46257         (RBP_LP): Likewise.
46258         (RBX_LP): Likewise.
46259         (RCX_LP): Likewise.
46260         (RDI_LP): Likewise.
46261         (RSI_LP): Likewise.
46262         (RSP_LP): Likewise.
46263         (R8_LP): Likewise.
46264         (R9_LP): Likewise.
46265         (R10_LP): Likewise.
46266         (R10_LP): Likewise.
46267         (R11_LP): Likewise.
46268         (R12_LP): Likewise.
46269         (R13_LP): Likewise.
46270         (R14_LP): Likewise.
46271         (R15_LP): Likewise.
46273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46275         * sysdeps/x86_64/x32/dl-machine.h: New file.
46277 2012-05-14  Andreas Jaeger  <aj@suse.de>
46279         * manual/Makefile (subdir): Remove export of subdir.
46280         (all): Remove target.
46281         (.PHONY): Remove all from list.
46282         (mkinstalldirs): Remove.
46283         (.PHONY): Remove installdirs from list.
46284         ($(inst_infodir)/libc.info): Use make-target-directory.
46285         (installdirs): Remove.
46286         (subdir_%): Remove.
46287         (glibc-targets): Remove.
46288         (lib): Remove.
46289         (stubs): Remove.
46290         ($(objpfx)stubs ../po/manual.pot): Remove.
46291         ($(objpfx)stamp%): Remove.
46292         (make-target-directory): Remove.
46293         (subdir_install): Remove.
46294         (routines): Remove.
46295         (aux): Remove.
46296         (sources): Remove.
46297         (objects): Remove.
46298         (headers): Remove.
46300         [BZ #13750]
46301         * manual/.gitignore: Remove, it's not needed anymore.
46302         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46303         all files in it.
46304         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46305         directory.
46306         (texis): Renamed to $(objpfx)texis.
46307         (texis-path): New, contains path to generated files.
46308         (chapters.%): Use texis-path for complete path, add extra argument
46309         libc-texinfo.sh.
46310         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46311         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46312         (summary,texi, stamp-summary): Use complete path of
46313         files. Generate files in build dir.
46314         (dir-add.texi): Build in build dir.
46315         (libm-err.texi,stamp-libm-err): Likewise.
46316         (version.texi, stamp-version): Likewise.
46317         (.%c.texi): Likewise.
46318         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46319         (mostlyclean): Remove target.
46320         (realclean): Remove target.
46321         (generated): Add new variable with contents from mostlyclean and
46322         realclean, remove entries duplicated in common-mostlyclean, add
46323         stamp-libm-err and stamp-version.
46324         (generated-dirs): Add libc directory.
46325         ($(inst_infodir)/libc.info): Install files from build dir.
46327         * manual/install.texi (Configuring and compiling): Adjust since
46328         the info files are not part of the tar ball anymore.
46330 2012-05-14  Andreas Jaeger  <aj@suse.de>
46332         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46333         variable.
46335 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46337         [BZ #13717]
46338         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46339         to 2.2.0 where earlier.
46340         * sysdeps/unix/sysv/linux/configure: Regenerated.
46341         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46342         Remove conditional code.
46343         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46344         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46345         Remove conditional code.
46346         [!__NR_lchown]: Likewise.
46347         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46348         [__NR_lchown]: Likewise.
46349         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46350         comment referencing __ASSUME_LCHOWN_SYSCALL.
46351         * sysdeps/unix/sysv/linux/i386/sigaction.c
46352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46354         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46355         Remove conditional code.
46356         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46357         (__protocol_available): Remove #if 0 code.
46358         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46359         conditional code.
46360         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46361         * sysdeps/unix/sysv/linux/kernel-features.h
46362         (__ASSUME_GETCWD_SYSCALL): Don't define.
46363         (__ASSUME_REALTIME_SIGNALS): Likewise.
46364         (__ASSUME_PREAD_SYSCALL): Likewise.
46365         (__ASSUME_PWRITE_SYSCALL): Likewise.
46366         (__ASSUME_POLL_SYSCALL): Likewise.
46367         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46368         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46369         non-SPARC.
46370         (__ASSUME_SIOCGIFNAME): Don't define.
46371         (__ASSUME_MSG_NOSIGNAL): Likewise.
46372         (__ASSUME_SENDFILE): Define unconditionally.
46373         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46374         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46375         conditional code.
46376         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46377         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46378         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46379         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46380         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46381         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46382         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46384         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46387         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46390         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46396         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46399         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46402         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46403         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46405         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46407         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46408         Remove conditional code.
46409         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46410         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46411         Remove conditional code.
46412         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46413         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46414         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46415         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46416         Remove conditional code.
46417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46418         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46419         Remove conditional code.
46420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46421         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46422         Remove conditional code.
46423         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46424         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46425         Remove conditional code.
46426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46427         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46428         Remove conditional code.
46429         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46430         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46431         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46432         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46433         * sysdeps/unix/sysv/linux/sigaction.c
46434         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46435         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46436         * sysdeps/unix/sysv/linux/sigpending.c
46437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46439         * sysdeps/unix/sysv/linux/sigprocmask.c
46440         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46441         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46442         * sysdeps/unix/sysv/linux/sigsuspend.c
46443         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46444         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46445         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46446         (__libc_missing_rt_sigs): Remove.
46447         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46448         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46449         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46450         Remove conditional code.
46451         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46452         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46453         return 1.
46454         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46455         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46456         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46457         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46459 2012-05-14  Andreas Jaeger  <aj@suse.de>
46461         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46462         it's not used in glibc.
46463         (__coshm1): Likewise.
46464         (__acosh1p): Likewise.
46465         (__sgn): Likewise.
46467         * manual/string.texi (Copying and Concatenation): Add missing
46468         variable in concat example.
46469         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46473         [BZ #14103]
46474         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46475         __builtin_clzl with __builtin_clzll.
46477 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46479         [BZ #14104]
46480         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46481         libc_freeres_ptr.
46483 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46485         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46486         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46487         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46488         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46490 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46492         * NEWS: Update ia64 info.
46494 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46496         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46497         used as bcopy.
46499 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46501         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46502         * sysdeps/unix/syscalls.list (dup3): Likewise.
46503         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46504         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46506 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46508         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46509         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46511 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46513         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46514         thread pointer.
46515         (TLS_IE): Use mov/add instead of movq/addq to load thread
46516         pointer.
46517         (TLS_GD_PREFIX): New.
46518         (TLS_GD): Use it.
46520 2012-05-11  David S. Miller  <davem@davemloft.net>
46522         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46523         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46524         (_FPU_SETCW): Likewise.
46526 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46528         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46529         is 32-byte aligned.
46531 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46533         [BZ #11837]
46534         * iconvdata/gb18030.c: Update tables.
46535         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46536         characters specially.
46537         (BODY for TO_LOOP): Add encoding of missing ranges.
46539 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46541         [BZ #13673]
46542         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46543         * sysdeps/mach/hurd/dup3.c: Likewise.
46544         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46545         * sysdeps/powerpc/memmove.c:: Likewise.
46547 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46550         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46552 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46554         * elf/elf.h (R_X86_64_RELATIVE64): New.
46555         (R_X86_64_NUM): Updated.
46556         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46557         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
46558         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46559         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46560         tst-quad1pie tst-quad2pie
46561         (modules-names): Add tst-quadmod1 tst-quadmod2.
46562         ($(objpfx)tst-quad1): New dependency.
46563         ($(objpfx)tst-quad2): Likewise.
46564         ($(objpfx)tst-quad1pie): Likewise.
46565         ($(objpfx)tst-quad2pie): Likewise.
46566         * sysdeps/x86_64/tst-quad1.c: New file.
46567         * sysdeps/x86_64/tst-quad1pie.c: New file.
46568         * sysdeps/x86_64/tst-quad2.c: Likewise.
46569         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46570         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46571         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46572         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46573         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46575 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46577         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46578         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46579         * streams/stropts.h (t_scalar_t): Define type.
46581         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46582         (_PATH_PRESERVE): Set to "/var/lib".
46583         (_PATH_RWHODIR): Set to "/var/spool/rwho".
46585         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46586         instead of int.
46588         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46589         if __dir_mkfile succeeded.
46591         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46592         checking for _hurd_dtablesize.  Unlock it right after having
46593         finished _hurd_dtable allocation.
46595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46597         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46598         * sysdeps/mach/hurd/configure: Regenerated.
46599         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46600         special-casing to...
46601         * sysdeps/gnu/configure.in: ... this new file.
46602         * sysdeps/unix/sysv/linux/configure: Regenerated.
46603         * sysdeps/gnu/configure: New generated file.
46605         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46606         for Linux: use nsec instead of usec, as well as:
46607         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46608         members of type struct timespec.
46609         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46610         New macros.
46611         (struct stat64): Likewise.
46612         (_STATBUF_ST_NSEC): New macro.
46613         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46615         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46616         __strtoul_internal rather than strtoul.
46618 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46620         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46621         and reject them.
46623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46625         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46626         which preserves existing values.
46627         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46629 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46631         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46632         TIMEOUT values.  Return EINVAL for NFDS values either negative or
46633         greater than FD_SETSIZE.
46635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46637         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46638         allocated, call __vm_protect to finish enabling the existing space, and
46639         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46640         allocate the remainder.
46642 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46644         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46645         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
46647 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46649         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46650         sysdeps/mach/hurd/readlink.c.
46652         * posix/tst-sysconf.c (posix_options): Only use
46653         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46654         _POSIX_SYNCHRONIZED_IO when they are defined
46655         * sysdeps/mach/hurd/bits/posix_opt.h:
46656         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46657         (_XOPEN_REALTIME): Undefine macro.
46658         (_XOPEN_REALTIME_THREADS): Undefine macro.
46659         (_XOPEN_SHM): Undefine macro.
46660         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46661         macro to -1.
46662         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46663         macro to -1.
46664         (_POSIX_ASYNC_IO): Undefine macro.
46665         (_POSIX_PRIORITIZED_IO): Undefine macro.
46666         (_POSIX_SPIN_LOCKS): Define macro to -1.
46668         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46669         SA_NODEFER, SA_RESETHAND.
46670         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46671         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46672         F_DUPFD_CLOEXEC.
46674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46676         * elf/Makefile (pldd-modules): Define unconditionally.
46678 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46680         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46682 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46684         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46685         Return ENOENT when name is empty.
46686         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46690         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46692         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46694 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46696         Fix mlock in all cases except non-readable pages.
46697         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46698         instead of VM_PROT_ALL as parameter to __vm_wire function.
46700         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46701         (__mkdir): When path is `/', just fail with EEXIST.
46702         * sysdeps/mach/hurd/mkdirat.c: Likewise.
46704 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46706         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46707         <sys/uio.h> (for writev).
46708         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46709         and <sys/param.h> (for MIN).
46711 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46713         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46714         REQUESTED_TIME.  Properly set the remaining time and return EINTR
46715         if interrupted.
46717 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46719         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46720         Depend on against $(link-rpcuserlibs).
46722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46724         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46725         (__libc_stack_end): Do not use attribute_relro.
46726         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46727         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46728         to libthread-provided value.
46729         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46730         attribute_relro.
46732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46734         [BZ #3748]
46735         * bits/libc-lock.h (__libc_once_get): New macro.
46736         * sysdeps/mach/bits/libc-lock.h: Likewise.
46737         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46739         instead of using implementation details.
46741         * libio/fileops.c: Unconditionally include <kernel-features.h>.
46742         * libio/freopen.c: Likewise.
46743         * libio/freopen64.c: Likewise.
46744         * misc/syslog.c: Likewise.
46745         * nscd/connections.c: Likewise.
46746         * nscd/netgroupcache.c: Likewise.
46747         * sysdeps/posix/getcwd.c: Likewise.
46749 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46751         * math/w_ilogbf.c: Add #include <limits.h>.
46753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46755         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46756         path instead of returning without unlocking.
46758         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46759         immediate-write ioctls.
46760         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46764         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46765         __builtin_frame_address instead of making assumptions about the
46766         location of the return address relative to DATA.  Force early load of
46767         the return address.
46768         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46769         __builtin_frame_address.
46771         dup3 for GNU Hurd.
46772         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46773         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46774         implement dup3 and do some further code clean-ups.
46775         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46776         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46780         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46782         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46783         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46784         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46785         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46786         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46787         d->port.lock.
46789         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46790         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46791         when handler == SIG_ERR, not when handler != SIG_ERR.
46793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46795         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46796         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46797         definitions.
46799         accept4 for GNU Hurd.
46800         * include/sys/socket.h (__libc_accept4): New prototype.
46801         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46802         to implement __libc_accept4.
46803         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46804         __libc_accept4.
46805         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46807         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46808         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46809         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46810         signal-defines.sym.
46812 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46814         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46816 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46818         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46819         assertion on O_CLOEXEC flag.
46820         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46821         * hurd/intern-fd.c: Likewise.
46822         * hurd/port2fd.c: Likewise.
46824 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46826         [BZ #3906]
46827         * bits/in.h (IPV6_PKTINFO): Define new macro.
46828         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46830 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46832         [BZ #13954]
46833         [BZ #13955]
46834         [BZ #13956]
46835         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46836         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46837         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46838         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46839         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46840         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46841         * math/libm-test.inc (logb_test) : Additional logb tests.
46843 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46844             Andreas Jaeger  <aj@suse.de>
46846         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46847         * configure: Regenerated.
46848         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46849         * config.make.in (link-obsolete-rpc): New substituted variable.
46850         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46851         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46852         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46853         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46854         so that libc.a contains the symbols.
46855         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46856         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46857         * sunrpc/auth_none.c: Likewise.
46858         * sunrpc/auth_unix.c: Likewise.
46859         * sunrpc/authdes_prot.c: Likewise.
46860         * sunrpc/authuxprot.c: Likewise.
46861         * sunrpc/clnt_gen.c: Likewise.
46862         * sunrpc/clnt_perr.c: Likewise.
46863         * sunrpc/clnt_raw.c: Likewise.
46864         * sunrpc/clnt_simp.c: Likewise.
46865         * sunrpc/clnt_tcp.c: Likewise.
46866         * sunrpc/clnt_udp.c: Likewise.
46867         * sunrpc/clnt_unix.c: Likewise.
46868         * sunrpc/des_crypt.c: Likewise.
46869         * sunrpc/des_soft.c: Likewise.
46870         * sunrpc/get_myaddr.c: Likewise.
46871         * sunrpc/key_call.c: Likewise.
46872         * sunrpc/key_prot.c: Likewise.
46873         * sunrpc/netname.c: Likewise.
46874         * sunrpc/pm_getmaps.c: Likewise.
46875         * sunrpc/pm_getport.c: Likewise.
46876         * sunrpc/pmap_clnt.c: Likewise.
46877         * sunrpc/pmap_prot.c: Likewise.
46878         * sunrpc/pmap_prot2.c: Likewise.
46879         * sunrpc/pmap_rmt.c: Likewise.
46880         * sunrpc/publickey.c: Likewise.
46881         * sunrpc/rpc_cmsg.c: Likewise.
46882         * sunrpc/rpc_common.c: Likewise.
46883         * sunrpc/rpc_dtable.c: Likewise.
46884         * sunrpc/rpc_prot.c: Likewise.
46885         * sunrpc/rpc_thread.c: Likewise.
46886         * sunrpc/rtime.c: Likewise.
46887         * sunrpc/svc.c: Likewise.
46888         * sunrpc/svc_auth.c: Likewise.
46889         * sunrpc/svc_raw.c: Likewise.
46890         * sunrpc/svc_run.c: Likewise.
46891         * sunrpc/svc_tcp.c: Likewise.
46892         * sunrpc/svc_udp.c: Likewise.
46893         * sunrpc/svc_unix.c: Likewise.
46894         * sunrpc/svcauth_des.c: Likewise.
46895         * sunrpc/xcrypt.c: Likewise.
46896         * sunrpc/xdr.c: Likewise.
46897         * sunrpc/xdr_array.c: Likewise.
46898         * sunrpc/xdr_float.c: Likewise.
46899         * sunrpc/xdr_intXX_t.c: Likewise.
46900         * sunrpc/xdr_mem.c: Likewise.
46901         * sunrpc/xdr_rec.c: Likewise.
46902         * sunrpc/xdr_ref.c: Likewise.
46903         * sunrpc/xdr_sizeof.c: Likewise.
46904         * sunrpc/xdr_stdio.c: Likewise.
46906 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46908         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46909         change.  Update copyright years.
46911 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46913         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46915 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46916             Joseph Myers  <joseph@codesourcery.com>
46917             Paul Pluzhnikov  <ppluzhnikov@google.com>
46919         [BZ #14012]
46920         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46921         requiring rpcgen.
46922         [cross-compiling] (extra-libs): Likewise.
46923         [cross-compiling] (extra-libs-others): Likewise.
46924         [cross-compiling] (librpcsvc-routines): Likewise.
46925         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46926         [cross-compiling] (omit-deps): Likewise.
46927         (sunrpc-CPPFLAGS): New variable.
46928         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46929         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46930         (cross-rpcgen-objs): New variable.
46931         (extra-objs): Append $(cross-rpcgen-objs).
46932         ($(cross-rpcgen-objs)): New rule.
46933         ($(objpfx)cross-rpcgen): Likewise.
46934         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46935         comment.
46936         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46937         ($(objpfx)x%.stmp): Likewise.
46938         * sunrpc/proto.h [IS_IN_build] (_): Define.
46939         [IS_IN_build] (_libc_intl_domainname): Likewise.
46941 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46943         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46944         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46945         and R_X86_64_TPOFF64.
46947 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46949         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46950         sysdeps/unix/sysv/syscalls.list.
46951         (stime): Likewise.
46952         (utime): Likewise.
46953         * sysdeps/unix/sysv/syscalls.list: Remove file.
46955 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46957         [BZ #3440]
46958         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46959         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46960         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46961         (__LC_IDENTIFICATION): Make these macros useful in #if
46962         expressions, as required by C99.
46964 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46966         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46967         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46968         after this.
46970 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46972         * stdlib/longlong.h: Updated from GCC.
46974 2012-05-09  Andreas Jaeger  <aj@suse.de>
46976         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46977         default is first entry.
46978         (run_mode): Set type.
46979         (main): Remove informal message about syslog.
46980         (options): Fix typo.
46982         [BZ #14053]
46983         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46984         to asm.
46985         (lrint): Likewise.
46986         (llrintf): Likewise.
46987         (llrint): Likewise.
46988         (rint): Likewise.
46989         (rintf): Likewise.
46990         (nearbyint): Likewise.
46991         (nearbyintf): Likewise.
46993 2012-05-09  Andreas Jaeger  <aj@suse.de>
46994             Pedro Alves  <palves@redhat.com>
46996         * nscd/nscd.c (run_mode): Use enum.
46997         (main): Cleanup coding style issue.
46999 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47000             Andreas Jaeger  <aj@suse.de>
47002         * nscd/nscd.c (go_background): Replaced with...
47003         (run_mode): ... this.
47004         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47005         (options): Add -F --foreground.
47006         (main): Implement it.
47007         (parse_opt): Parse it.
47009 2012-05-09  Andreas Jaeger  <aj@suse.de>
47011         [BZ #14083]
47012         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47013         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47014         -Wconversion warning.
47015         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47016         Likewise.
47018 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47020         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47021         == 0.
47022         (LC_ALL): Use macro-int-constant.
47023         (LC_COLLATE): Likewise.
47024         (LC_CTYPE): Likewise.
47025         (LC_MESSAGES): Likewise.
47026         (LC_MONETARY): Likewise.
47027         (LC_NUMERIC): Likewise.
47028         (LC_TIME): Likewise.
47029         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47030         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47032         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47033         Specify type.
47034         [C99-based standards] (float_t): Expect type.
47035         [C99-based standards] (double_t): Expect type.
47036         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47037         type.
47038         [C99-based standards] (HUGE_VALL): Likewise.
47039         [C99-based standards] (INFINITY): Likewise.
47040         [C99-based standards] (NAN): Likewise.
47041         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47042         [C99-based standards] (FP_NAN): Likewise.
47043         [C99-based standards] (FP_NORMAL): Likewise.
47044         [C99-based standards] (FP_SUBNORMAL): Likewise.
47045         [C99-based standards] (FP_ZERO): Likewise.
47046         [C99-based standards] (FP_FAST_FMA): Use
47047         optional-macro-int-constant.  Specify type.  Require == 1.
47048         [C99-based standards] (FP_FAST_FMAF): Likewise.
47049         [C99-based standards] (FP_FAST_FMAL): Likewise.
47050         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47051         [C99-based standards] (FP_ILOGBNAN): Likewise.
47052         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47053         Specify type.
47054         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47055         [C99-based standards] (math_errhandling): Specify type.
47056         [ISO99 || ISO11] (signgam): Do not allow.
47057         [non-C99-based standards] (copysignf): Do not allow.
47058         [non-C99-based standards] (exp2f): Likewise.
47059         [non-C99-based standards] (log2f): Likewise.
47060         [non-C99-based standards] (modff): Allow.
47061         [non-C99-based standards] (erff): Do not allow.
47062         [non-C99-based standards] (erfcf): Likewise.
47063         [non-C99-based standards] (gammaf): Likewise.
47064         [non-C99-based standards] (hypotf): Likewise.
47065         [non-C99-based standards] (j0f): Likewise.
47066         [non-C99-based standards] (j1f): Likewise.
47067         [non-C99-based standards] (jnf): Likewise.
47068         [non-C99-based standards] (lgammaf): Likewise.
47069         [non-C99-based standards] (tgammaf): Likewise.
47070         [non-C99-based standards] (y0f): Likewise.
47071         [non-C99-based standards] (y1f): Likewise.
47072         [non-C99-based standards] (ynf): Likewise.
47073         [non-C99-based standards] (isnanf): Likewise.
47074         [non-C99-based standards] (acoshf): Likewise.
47075         [non-C99-based standards] (asinhf): Likewise.
47076         [non-C99-based standards] (atanhf): Likewise.
47077         [non-C99-based standards] (cbrtf): Likewise.
47078         [non-C99-based standards] (expm1f): Likewise.
47079         [non-C99-based standards] (ilogbf): Likewise.
47080         [non-C99-based standards] (log1pf): Likewise.
47081         [non-C99-based standards] (logbf): Likewise.
47082         [non-C99-based standards] (nextafterf): Likewise.
47083         [non-C99-based standards] (remainderf): Likewise.
47084         [non-C99-based standards] (rintf): Likewise.
47085         [non-C99-based standards] (scalbf): Likewise.
47086         [non-C99-based standards] (copysignl): Likewise.
47087         [non-C99-based standards] (exp2l): Likewise.
47088         [non-C99-based standards] (log2l): Likewise.
47089         [non-C99-based standards] (modfl): Allow.
47090         [non-C99-based standards] (erfl): Do not allow.
47091         [non-C99-based standards] (erfcl): Likewise.
47092         [non-C99-based standards] (gammal): Likewise.
47093         [non-C99-based standards] (hypotl): Likewise.
47094         [non-C99-based standards] (j0l): Likewise.
47095         [non-C99-based standards] (j1l): Likewise.
47096         [non-C99-based standards] (jnl): Likewise.
47097         [non-C99-based standards] (lgammal): Likewise.
47098         [non-C99-based standards] (tgammal): Likewise.
47099         [non-C99-based standards] (y0l): Likewise.
47100         [non-C99-based standards] (y1l): Likewise.
47101         [non-C99-based standards] (ynl): Likewise.
47102         [non-C99-based standards] (isnanl): Likewise.
47103         [non-C99-based standards] (acoshl): Likewise.
47104         [non-C99-based standards] (asinhl): Likewise.
47105         [non-C99-based standards] (atanhl): Likewise.
47106         [non-C99-based standards] (cbrtl): Likewise.
47107         [non-C99-based standards] (expm1l): Likewise.
47108         [non-C99-based standards] (ilogbl): Likewise.
47109         [non-C99-based standards] (log1pl): Likewise.
47110         [non-C99-based standards] (logbl): Likewise.
47111         [non-C99-based standards] (nextafterl): Likewise.
47112         [non-C99-based standards] (remainderl): Likewise.
47113         [non-C99-based standards] (rintl): Likewise.
47114         [non-C99-based standards] (scalbl): Likewise.
47115         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47116         [non-C99-based standards] (FP_*): Do not allow.
47117         [C99-based standards] (FP_*): Change to
47118         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47119         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47120         allow.
47121         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47122         (SIG_ERR): Likewise.
47123         [X/Open-based standards] (SIG_HOLD): Likewise.
47124         (SIG_IGN): Likewise.
47125         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47126         positive value.
47127         (SIGFPE): Likewise.
47128         (SIGILL): Likewise.
47129         (SIGINT): Likewise.
47130         (SIGSEGV): Likewise.
47131         (SIGTER): Likewise.
47132         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47133         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47134         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47135         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47136         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47137         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47138         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47139         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47140         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47141         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47142         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47143         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47144         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47145         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47146         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47147         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47148         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47149         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47150         [X/Open-based standards] (SIGTRAP): Likewise.
47151         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47152         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47153         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47154         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47155         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47156         allow.
47158 2012-05-08  Ian Wienand  <ianw@vmware.com>
47160         [BZ #14080]
47161         * time/tzset.c (__tzset_parse_tz): Update default rules for
47162         daylight time changes in the Energy Policy Act of 2005.
47164 2012-05-09  Andreas Jaeger  <aj@suse.de>
47166         [BZ #13983]
47167         * elf/ldconfig.c (parse_conf): Change string to make clear that
47168         ldconfig only issued a warning if ld.so.conf does not exist.
47170 2012-05-08  David S. Miller  <davem@davemloft.net>
47172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47173         movxtod instead of popping the value on the stack.
47175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47177 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47179         * config.h.in: Add HAVE_ARM_PCS_VFP.
47181 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47183         [BZ #13979]
47184         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47185         checking but the checks are disabled for any reason.
47187 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47189         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47190         and ELF64_R_TYPE with ELFW(R_TYPE).
47192 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47194         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47195         (ulimit): Likewise.
47197         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47198         (settimeofday): Likewise.
47200 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47202         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47203         a struct th_u2 inside the union, and move tu_block/tu_code into
47204         a new th_u3 union of tu_block/tu_code inside of that.  Move
47205         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47206         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47207         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47208         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47209         (th_stuff): Change to th_u1.tu_stuff.
47210         (th_data): Define.
47211         (th_msg): Change to th_u1.th_u2.tu_data.
47213 2012-05-07  David S. Miller  <davem@davemloft.net>
47215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47217         [BZ #14074]
47218         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47219         (SETUP_PIC_REG): Use it.
47220         (SETUP_PIC_REG_LEAF): Use it.
47222 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47224         [BZ #13885]
47225         [BZ #13923]
47226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47227         USE_AS_EXPM1L.
47228         (EXPL_FINITE): Likewise.
47229         (FLDLOG): Likewise.
47230         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47231         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47232         e_expl.S.
47233         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47234         USE_AS_EXPM1L.
47235         (EXPL_FINITE): Likewise.
47236         (FLDLOG): Likewise.
47237         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47238         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47239         e_expl.S.
47240         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47241         test of -max_value argument for long double.
47242         * sysdeps/i386/fpu/libm-test-ulps: Update.
47243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47245 2012-05-06  David S. Miller  <davem@davemloft.net>
47247         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47248         quad soft-float symbols whose references which are compiler
47249         generated.
47250         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47252 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47254         [BZ #13884]
47255         [BZ #13914]
47256         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47257         USE_AS_EXP10L.
47258         (EXPL_FINITE): Likewise.
47259         (FLDLOG): Likewise.
47260         (c0): Likewise.
47261         (c1): Likewise.
47262         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47263         Adjust comments for base varying.
47264         (__expl_finite): Change alias to EXPL_FINITE.
47265         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47266         e_expl.S.
47267         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47268         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47269         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47270         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47271         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47272         USE_AS_EXP10L.
47273         (EXPL_FINITE): Likewise.
47274         (FLDLOG): Likewise.
47275         (c0): Likewise.
47276         (c1): Likewise.
47277         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47278         Adjust comments for base varying.
47279         (__expl_finite): Change alias to EXPL_FINITE.
47280         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47281         tests for bugs.
47282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47284         [BZ #14064]
47285         * math/libm-test.inc (check_float_internal): Correct ulp
47286         calculation for subnormal expected results.
47288 2012-05-06  Andreas Jaeger  <aj@suse.de>
47290         * Makeconfig (+math-flags): New, set to -frounding-math.
47291         (+cflags): Add +math-flags so that all of glibc gets compiled with
47292         it.
47294         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47296 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47298         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47299         Disable one test.
47301         [BZ #13787]
47302         [BZ #13922]
47303         [BZ #14036]
47304         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47305         (__ieee754_expl): Allow for and saturate large arguments.
47306         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47307         (u_threshold): Likewise.
47308         (__exp): Call __ieee754_exp before checking for overflow and
47309         underflow.
47310         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47311         (u_threshold): Likewise.
47312         (__expf): Call __ieee754_expf before checking for overflow and
47313         underflow.
47314         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47315         (u_threshold): Likewise.
47316         (__expl): Call __ieee754_expl before checking for overflow and
47317         underflow.
47318         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47319         (__ieee754_expl): Allow for and saturate large arguments.
47320         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47321         missing overflow exception on overflow.
47322         (expm1_test): Do not allow missing overflow exception on overflow.
47324         * sysdeps/i386/fpu/e_expl.c: Move to ...
47325         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47326         rather than using inline asm.
47327         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47328         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47329         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47331         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47332         (nice): Likewise.
47333         (poll): Likewise.
47334         (signal): Likewise.
47335         (time): Likewise.
47336         (times): Likewise.
47338 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47340         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47341         sysdeps/unix/common/syscalls.list.
47342         (fchmod): Likewise.
47343         (fchown): Likewise.
47344         (ftruncate): Likewise.
47345         (getrusage): Likewise.
47346         (gettimeofday): Likewise.
47347         (setpgid): Likewise.
47348         (setregid): Likewise.
47349         (setreuid): Likewise.
47350         (sigaction): Likewise.
47351         (truncate): Likewise.
47352         (vhangup): Likewise.
47353         * sysdeps/unix/common/syscalls.list: Remove file.
47354         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47355         * sysdeps/unix/sysv/linux/Implies: Likewise.
47357 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47359         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47361         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47362         Moved to ...
47363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47364         Here.
47365         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47366         to ...
47367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47368         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47369         to ...
47370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47371         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47372         to ...
47373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47374         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47375         to ...
47376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47377         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47378         to ...
47379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47380         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47381         to ...
47382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47383         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47384         to ...
47385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47386         Here.
47387         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47388         to ...
47389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47390         Here.
47391         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47392         to ...
47393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47394         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47395         Moved to ...
47396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47397         Here.
47398         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47399         to ...
47400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47402 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47404         * sysdeps/unix/common/bits/dirent.h: Remove file.
47405         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47407         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47408         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47409         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47410         * sysdeps/unix/bsd/isatty.c: Likewise.
47411         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47412         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47413         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47415 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47417         [BZ #13563]
47418         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47419         long double comparison inaccuracies.
47420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47423 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47425         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47426         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47428 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47430         [BZ #14049]
47431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47432         nonzero digits before rounding a hex value.
47433         * stdlib/tst-strtod.c (tests): Add another test.
47435 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47437         * sysdeps/s390/fpu/libm-test-ulps: Update.
47439 2012-05-03  Andreas Jaeger  <aj@suse.de>
47441         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47442         does not get optimized out.
47443         (malloc_opt_barrier): New.
47445 2012-05-03  Andreas Jaeger  <aj@suse.de>
47446             Roland McGrath  <roland@hack.frob.com>
47448         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47449         intermediate file deletion.
47450         (generated): Add .symlist files.
47452 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47454         [BZ #13775]
47455         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47456         Redirect under this condition.
47457         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47458         [__USE_GNU] (__dprintf_chk): Not under this condition.
47459         [__USE_GNU] (__vdprintf_chk): Likewise.
47460         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47461         under this condition.
47462         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47463         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47464         [__USE_XOPEN2K8] (vdprintf): Likewise.
47465         [__USE_GNU] (__dprintf_chk): Not under this condition.
47466         [__USE_GNU] (__vdprintf_chk): Likewise.
47467         [__USE_GNU] (dprintf): Likewise.
47468         [__USE_GNU] (vdprintf): Likewise.
47470 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47472         * elf/Makefile (common-generated): Set this instead of generated for
47473         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47474         $(all-built-dso)-derived lists.
47476 2012-05-03  Andreas Jaeger  <aj@suse.de>
47478         * sysdeps/i386/fpu/libm-test-ulps: Update.
47480         * FAQ: Removed.
47481         * FAQ.in: Likewise.
47482         * scripts/gen-FAQ.pl: Likewise.
47483         * manual/install.texi (Installation): Point to online location of
47484         FAQ.
47485         * Makefile (files-for-dist): Remove FAQ.
47486         (FAQ): Remove.
47488 2012-05-02  Allan McRae  <allan@archlinux.org>
47490         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47491         (LDFLAGS-reldepmod5.so): Likewise.
47492         (LDFLAGS-reldep6mod1.so): Likewise.
47493         (LDFLAGS-reldep6mod4.so): Likewise.
47494         (LDFLAGS-reldep8mod3.so): Likewise.
47495         (LDFLAGS-unload4mod1.so): Likewise.
47496         (LDFLAGS-unload4mod2.so): Likewise.
47497         (LDFLAGS-tst-initorder): Likewise.
47498         (LDFLAGS-tst-initordera2.so): Likewise.
47499         (LDFLAGS-tst-initordera3.so): Likewise.
47500         (LDFLAGS-tst-initordera4.so): Likewise.
47501         (LDFLAGS-tst-initorderb2.so): Likewise.
47502         (LDFLAGS-noload): Likewise.
47503         (LDFLAGS-next): Likewise.
47504         (LDFLAGS-order2mod1.so): Likewise.
47505         (LDFLAGS-order2mod2.so): Likewise.
47506         (LDFLAGS-tst-initorder2): Likewise.
47507         (LDFLAGS-tst-initorder2a.so): Likewise.
47508         (LDFLAGS-tst-initorder2b.so): Likewise.
47509         (LDFLAGS-tst-initorder2c.so): Likewise.
47510         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47512 2012-05-02  David S. Miller  <davem@davemloft.net>
47514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47516 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47518         [BZ #14055]
47519         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47521 2012-05-02  Andreas Jaeger  <aj@suse.de>
47523         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47524         since we manipulate rounding mode.
47525         (CPPFLAGS-test-idouble.c): Likewise.
47526         (CPPFLAGS-test-ifloat.c): Likewise.
47527         (CFLAGS-test-ldouble.c): Likewise.
47528         (CFLAGS-test-double.c): Likewise.
47529         (CFLAGS-test-float.c): Likewise.
47530         (CFLAGS-test-misc.c): Likewise.
47531         (CFLAGS-test-test-fenv.c): Likewise.
47533 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47535         [BZ #2550]
47536         [BZ #2570]
47537         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47538         comparisons to determine direction to adjust input.
47540 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47542         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47543         output to the target.
47545         * scripts/localplt.awk: New file.
47546         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47547         (check-localplt-CFLAGS): Variable removed.
47548         ($(all-built-dso:=.jmprel)): New static pattern rule.
47549         (generated): Add those targets.
47550         (localplt-built-dso): New variable.
47551         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47553         * elf/check-localplt.c: File removed.
47555         * scripts/check-execstack.awk: New file.
47556         * elf/Makefile ($(objpfx)check-execstack): Target removed.
47557         (check-execstack-CFLAGS): Variable removed.
47558         ($(objpfx)check-execstack.h): Target removed.
47559         ($(objpfx)execstack-default): New target.
47560         (generated): Add that instead of check-execstack.h.
47561         ($(all-built-dso:=.phdr)): New static pattern rule.
47562         (generated): Add those targets.
47563         * elf/check-execstack.c: File removed.
47565         * scripts/check-textrel.awk: New file.
47566         * elf/Makefile ($(objpfx)check-textrel): Target removed.
47567         (check-textrel-CFLAGS): Variable removed.
47568         (all-built-dso): Use := to define.o
47569         ($(all-built-dso:=.dyn)): New static pattern rule.
47570         (generated): Add those targets.
47571         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47572         * config.make.in (READELF): New substituted variable.
47573         * elf/check-textrel.c: File removed.
47575 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47577         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47578         allow.
47579         * conform/data/ctype.h-data [C99-based standards] (isblank):
47580         Expect function.
47581         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47582         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47583         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47584         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47585         Specify type.  Require positive value.
47586         (EILSEQ): Likewise.
47587         (ERANGE): Likewise.
47588         [ISO || POSIX] (EILSEQ): Do not expect.
47589         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47590         Specify type.  Require positive value.
47591         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47592         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47593         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47594         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47595         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47596         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47597         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47598         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47599         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47600         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47601         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47602         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47603         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47604         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47605         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47606         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47607         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47608         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47609         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47610         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47611         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47612         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47613         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47614         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47615         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47616         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47617         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47618         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47619         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47620         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47621         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47622         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47623         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47624         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47625         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47626         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47627         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47628         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47629         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47630         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47631         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47632         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47633         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47634         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47635         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47636         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47637         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47638         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47639         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47640         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47641         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47642         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47643         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47644         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47645         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47646         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47647         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47648         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47649         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47650         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47651         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47652         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47653         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47654         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47655         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47656         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47657         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47658         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47659         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47660         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47661         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47662         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47663         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47664         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47665         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47666         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47667         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47668         Require >= 2.
47669         (FLT_ROUNDS): Expect as macro, not constant.
47670         (FLT_MANT_DIG): Use macro-int-constant.
47671         (DBL_MANT_DIG): Likewise.
47672         (LDBL_MANT_DIG): Likewise.
47673         (FLT_DIG): Likewise.
47674         (DBL_DIG): Likewise.
47675         (LDBL_DIG): Likewise.
47676         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
47677         (DBL_MIN_EXP): Likewise.
47678         (LDBL_MIN_EXP): Likewise.
47679         (FLT_MAX_EXP): Use macro-int-constant.
47680         (DBL_MAX_EXP): Likewise.
47681         (LDBL_MAX_EXP): Likewise.
47682         (FLT_MAX_10_EXP): Likewise.
47683         (DBL_MAX_10_EXP): Likewise.
47684         (LDBL_MAX_10_EXP): Likewise.
47685         (FLT_MAX): Use macro-constant.
47686         (DBL_MAX): Likewise.
47687         (LDBL_MAX): Likewise.
47688         (FLT_EPSILON): Use macro-constant.  Give upper bound.
47689         (DBL_EPSILON): Likewise.
47690         (LDBL_EPSILON): Likewise.
47691         (FLT_MIN): Likewise.
47692         (DBL_MIN): Likewise.
47693         (LDBL_MIN): Likewise.
47694         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47695         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47696         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47697         [ISO11] (FLT_HAS_SUBNORM): Likewise.
47698         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47699         [ISO11] (DBL_DECIMAL_DIG): Likewise.
47700         [ISO11] (FLT_DECIMAL_DIG): Likewise.
47701         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47702         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47703         [ISO11] (FLT_TRUE_MIN): Likewise.
47704         [ISO11] (LDBL_TRUE_MIN): Likewise.
47705         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47706         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47707         (SCHAR_MIN): Use macro-int-constant.  Specify type.
47708         (SCHAR_MAX): Likewise.
47709         (UCHAR_MAX): Likewise.
47710         (CHAR_MIN): Likewise.
47711         (CHAR_MAX): Likewise.
47712         (MB_LEN_MAX): Use macro-int-constant.
47713         (SHRT_MIN): Use macro-int-constant.  Specify type.
47714         (SHRT_MAX): Likewise.
47715         (USHRT_MAX): Likewise.
47716         (INT_MAX): Likewise.
47717         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
47718         bound negative.
47719         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47720         bound with "U".
47721         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47722         bound with "L".
47723         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
47724         bound negative.  Suffix upper bound with "L".
47725         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47726         bound with "UL".
47727         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47728         Specify type.
47729         [C99-based standards] (LLONG_MAX): Likewise.
47730         [C99-based standards] (ULLONG_MAX): Likewise.
47731         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
47732         == 0.
47733         [ISO11] (max_align_t): Require type.
47734         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47736         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47737         from $CFLAGS, without defining away __attribute__ calls.
47738         (checknamespace): Use $CFLAGS_namespace.
47740         * conform/conformtest.pl (@keywords): Only include C99 keywords
47741         for standards based on C99 or C11.
47743         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47744         Disable tests.
47745         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47746         UNIX98]: Likewise.
47748         * conform/conformtest.pl: Handle "macro-int-constant" and test for
47749         usability of symbols in #if.
47751         * conform/conformtest.pl: If macro or constant types start
47752         "promoted:", expect the symbol to be of the following type
47753         promoted by the integer promotions.
47755         * conform/conformtest.pl: Parse all "constant" and "macro" lines
47756         in one place.  Also handle "macro-constant".
47758         * conform/conformtest.pl: Only accept expected macro values with
47759         "==".  Parse all "macro" lines in one place.
47760         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47762         * conform/conformtest.pl: Handle braced types on "constant" lines
47763         instead of handling "typed-constant".
47764         * conform/data/signal.h-data: Use "constant" instead of
47765         "typed-constant".
47767         * conform/conformtest.pl: Handle "optional-" at start of lines in
47768         one place rather than duplicating several cases.  Handle each
47769         format of "macro" line with initial "optional-".
47771         * conform/conformtest.pl: Only accept expected constant or
47772         optional-constant values with "==".  Parse all "constant" lines in
47773         one place.  Parse all "optional-constant" lines in one place.
47774         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47775         * conform/data/fmtmsg.h-data: Likewise.
47776         * conform/data/netinet/in.h-data: Likewise.
47777         * conform/data/tar.h-data: Likewise.
47778         * conform/data/limits.h-data: Use "==" form on "constant" and
47779         "optional-constant" lines.
47781         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47782         Use -std=c99 for XOPEN2K.
47783         (@knownproblems): Remove.
47784         (newtoken): Don't check %isknown.
47786         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47787         Do not expect macro.
47788         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47789         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47790         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47791         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47792         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47793         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47794         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47795         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47796         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47797         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47798         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47799         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47800         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47801         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47802         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47803         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47804         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47805         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47806         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47807         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47808         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47809         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47810         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47811         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47812         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47813         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47814         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47815         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47816         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47817         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47818         [XPG3] (acosh): Likewise.
47819         [XPG3] (asinh): Likewise.
47820         [XPG3] (atanh): Likewise.
47821         [XPG3] (cbrt): Likewise.
47822         [XPG3] (expm1): Likewise.
47823         [XPG3] (ilogb): Likewise.
47824         [XPG3] (log1p): Likewise.
47825         [XPG3] (logb): Likewise.
47826         [XPG3] (nextafter): Likewise.
47827         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47828         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47829         [XPG3] (remainder): Likewise.
47830         [XPG3] (rint): Likewise.
47831         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47832         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47833         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47834         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47835         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47836         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47837         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47838         [UNIX98 || XOPEN2K] (scalb): Expect.
47839         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47840         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47841         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47842         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47843         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47844         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47845         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47846         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47847         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47848         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47849         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47850         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47851         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47852         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47853         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47854         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47855         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47856         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47857         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47858         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47859         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47860         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47861         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47862         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47863         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47864         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47865         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47866         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47867         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47868         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47869         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47870         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47871         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47872         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47873         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47874         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47875         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47876         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47877         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47878         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47879         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47880         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47881         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47882         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47883         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47884         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47885         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47886         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47887         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47888         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47889         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47890         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47891         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47892         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47893         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47894         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47895         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47896         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47897         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47898         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47899         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47900         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47901         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47902         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47903         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47904         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47905         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47906         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47907         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47908         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47909         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47910         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47911         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47912         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47913         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47914         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47915         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47916         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47917         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47918         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47919         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47920         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47921         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47922         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47923         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47924         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47925         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47926         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47927         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47928         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47929         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47930         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47931         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47932         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47933         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47934         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47935         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47936         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47937         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47938         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47939         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47940         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47941         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47942         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47943         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47944         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47945         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47946         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47947         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47948         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47949         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47950         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47951         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47952         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47953         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47954         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47955         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47956         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47957         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47958         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47959         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47960         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47961         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47962         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47963         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47964         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47965         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47966         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47967         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47968         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47969         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47970         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47971         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47972         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47973         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47974         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47975         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47977         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47978         _XOPEN_SOURCE_EXTENDED for XPG4.
47980         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47982         * Makeconfig (localtime): Remove variable.
47983         (inst_localtime-file): Likewise.
47985 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47988         Update.
47989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47990         Update.
47991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47992         Update.
47993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47994         Update.
47995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47996         Update.
47997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47998         Update.
47999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48000         Update.
48001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48002         Update.
48003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48004         Update.
48006 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48008         [BZ #2550]
48009         [BZ #2570]
48010         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48011         comparisons to determine direction to adjust input.
48012         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48013         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48014         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48015         Likewise.
48016         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48017         Likewise.
48018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48019         Likewise.
48020         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48021         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48022         Likewise.
48023         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48024         Likewise.
48025         * math/libm-test.inc (nexttoward_test): Add more tests.
48027 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48029         [BZ #14040]
48030         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48031         in version GLIBC_2.1, not GLIBC_2.0.
48032         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48033         Likewise.
48035 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48037         [BZ #13942]
48038         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48039         (1 - x) * (1 + x).
48040         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48041         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48042         * math/libm-test.inc (acos_test): Add more tests.
48043         (asin_test): Likewise.
48044         * sysdeps/i386/fpu/libm-test-ulps: Update.
48045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48047         [BZ #14034]
48048         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48049         of square root.
48050         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48051         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48052         * math/libm-test.inc (acos_test_tonearest): New function.
48053         (acos_test_towardzero): Likewise.
48054         (acos_test_downward): Likewise.
48055         (acos_test_upward): Likewise.
48056         (asin_test_tonearest): Likewise.
48057         (asin_test_towardzero): Likewise.
48058         (asin_test_downward): Likewise.
48059         (asin_test_upward): Likewise.
48060         (main): Call the new functions.
48061         * sysdeps/i386/fpu/libm-test-ulps: Update.
48062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48064         [BZ #13884]
48065         [BZ #13924]
48066         * math/e_exp10.c: Include <float.h>.
48067         (__ieee754_exp10): Handle underflow here rather than multiplying
48068         large negative argument by M_LN10.
48069         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48070         of __ieee754_expf.
48071         * math/e_exp10l.c: Include <float.h>.
48072         (__ieee754_exp10l): Handle underflow here rather than multiplying
48073         large negative argument by M_LN10l.
48074         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48075         spurious overflow exception on underflow.
48077 2012-04-29  Marek Polacek  <polacek@redhat.com>
48079         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48080         (__fortify_function): New macro.
48081         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48082         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48083         __extern_always_inline.
48084         * libio/bits/stdio2.h: Likewise.
48085         * libio/bits/stdio.h: Likewise.
48086         * string/string.h: Likewise.
48087         * string/bits/string3.h: Likewise.
48088         * include/stdio.h: Likewise.
48089         * stdlib/bits/stdlib.h: Likewise.
48090         * stdlib/stdlib.h: Likewise.
48091         * rt/bits/mqueue2.h: Likewise.
48092         * rt/mqueue.h: Likewise.
48093         * posix/bits/unistd.h: Likewise.
48094         * posix/unistd.h: Likewise.
48095         * io/bits/poll2.h: Likewise.
48096         * io/bits/fcntl2.h: Likewise.
48097         * io/fcntl.h: Likewise.
48098         * io/sys/poll.h: Likewise.
48099         * misc/bits/syslog.h: Likewise.
48100         * misc/bits/syslog-ldbl.h: Likewise.
48101         * misc/sys/syslog.h: Likewise.
48102         * socket/bits/socket2.h: Likewise.
48103         * socket/sys/socket.h: Likewise.
48104         * debug/tst-chk1.c: Likewise.
48105         * wcsmbs/bits/wchar2.h: Likewise.
48106         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48107         * wcsmbs/wchar.h: Likewise.
48109 2012-04-29  Andreas Jaeger  <aj@suse.de>
48111         * Makerules (tests): Remove enable-check-abi protection.
48112         (check-abi-warn): Remove.
48113         (check-abi-%): Remove check-abi-warn usage.
48115         * configure.in: Remove check-abi configure option.
48116         * configure: Regenerated.
48117         * config.make.in (enable-check-abi): Remove.
48119 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48121         [BZ #14033]
48122         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48123         double functions to double *_finite functions.
48125         [BZ #13941]
48126         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48127         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48128         LDBL_MIN_EXP.
48129         * stdio-common/Makefile (tests): Add tst-sprintf3.
48130         * stdio-common/tst-sprintf3.c: New file.
48132         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48133         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48135 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48137         * conform/conformtest.pl: Remove duplicate typed-constant
48138         handling.
48140 2012-04-28  David S. Miller  <davem@davemloft.net>
48142         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48143         (check-abi-%): Remove AWK script prerequisite and explicit
48144         abilist directory.
48145         (check-abi): Rewrite to just diff the symlist with the abilist.
48146         (config-tls, config-abi-config): Delete, no longer used.
48147         (update-abi-%): Remove AWK script and explicit abilist directory.
48148         (update-abi): Rewrite to simply compare and conditionally copy the
48149         symlist and the sysdep abilist file.  Remove update-abi-config
48150         checks.
48151         * abilist/ld.abilist: Remove.
48152         * abilist/libBrokenLocale.abilist: Remove.
48153         * abilist/libanl.abilist: Remove.
48154         * abilist/libcrypt.abilist: Remove.
48155         * abilist/libdl.abilist: Remove.
48156         * abilist/librt.abilist: Remove.
48157         * abilist/libthread_db.abilist: Remove.
48158         * abilist/libutil.abilist: Remove.
48159         * scripts/extract-abilist.awk: Remove.
48160         * scripts/merge-abilist.awk: Remove.
48161         * sysdeps/generic/libcidn.abilist: New file.
48162         * sysdeps/generic/libnss_compat.abilist: New file.
48163         * sysdeps/generic/libnss_db.abilist: New file.
48164         * sysdeps/generic/libnss_dns.abilist: New file.
48165         * sysdeps/generic/libnss_files.abilist: New file.
48166         * sysdeps/generic/libnss_hesiod.abilist: New file.
48167         * sysdeps/generic/libnss_nis.abilist: New file.
48168         * sysdeps/generic/libnss_nisplus.abilist: New file.
48169         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48170         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48171         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48172         file.
48173         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48174         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48175         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48176         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48177         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48178         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48179         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48180         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48181         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48182         file.
48183         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48184         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48185         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48186         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48187         file.
48188         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48189         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48190         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48191         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48192         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48193         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48194         file.
48195         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48196         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48197         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48198         file.
48199         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48201         New file.
48202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48203         New file.
48204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48205         New file.
48206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48207         New file.
48208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48209         New file.
48210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48211         New file.
48212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48213         New file.
48214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48215         New file.
48216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48217         New file.
48218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48219         New file.
48220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48221         New file.
48222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48223         New file.
48224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48225         New file.
48226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48227         file.
48228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48229         New file.
48230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48231         New file.
48232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48233         file.
48234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48235         New file.
48236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48237         New file.
48238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48239         file.
48240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48241         New file.
48242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48243         New file.
48244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48245         New file.
48246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48247         New file.
48248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48249         New file.
48250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48251         New file.
48252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48254         file.
48255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48256         New file.
48257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48258         file.
48259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48260         file.
48261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48262         file.
48263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48264         file.
48265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48266         file.
48267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48268         New file.
48269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48270         file.
48271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48272         file.
48273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48274         New file.
48275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48276         file.
48277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48279         file.
48280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48281         New file.
48282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48283         file.
48284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48285         file.
48286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48287         file.
48288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48289         file.
48290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48291         file.
48292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48293         New file.
48294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48295         file.
48296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48297         file.
48298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48299         New file.
48300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48301         file.
48302         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48303         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48304         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48305         file.
48306         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48307         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48308         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48309         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48310         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48311         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48312         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48313         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48314         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48315         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48318         file.
48319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48320         New file.
48321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48322         file.
48323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48324         file.
48325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48326         file.
48327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48328         file.
48329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48330         file.
48331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48332         New file.
48333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48334         New file.
48335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48336         file.
48337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48338         New file.
48339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48340         file.
48341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48343         file.
48344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48345         New file.
48346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48347         file.
48348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48349         file.
48350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48351         file.
48352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48353         file.
48354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48355         file.
48356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48357         New file.
48358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48359         New file.
48360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48361         file.
48362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48363         New file.
48364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48365         file.
48367 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48369         * conform/conformtest.pl: Fix typo in handling typed-constant from
48370         allow-header.
48372 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48374         * README: Cut down references to pre-2.6 Linux kernels and
48375         Linuxthreads.  Update lists of configurations in libc and ports
48376         and sort alphabetically.  Say "or newer" with Linux kernel version
48377         requirements.
48379         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48381 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48383         [BZ #887]
48384         * math/libm-test.inc (logb_test_downward): New test to expose
48385         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48386         rounding mode.
48388 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48390         [BZ #14027]
48391         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48392         to be done.
48393         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48394         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48396 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48398         * sysdeps/unix/i386/brk.S: Remove file.
48399         * sysdeps/unix/i386/dl-brk.S: Likewise.
48400         * sysdeps/unix/i386/pipe.S: Likewise.
48401         * sysdeps/unix/i386/sigreturn.S: Likewise.
48402         * sysdeps/unix/i386/syscall.S: Likewise.
48403         * sysdeps/unix/i386/vfork.S: Likewise.
48404         * sysdeps/unix/i386/wait.S: Likewise.
48406         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48407         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48409         * configure.in (arm*-none*): Do not allow without
48410         --enable-hacker-mode.
48411         (netbsd*): Remove case setting base_os.
48412         (386bsd*): Likewise.
48413         (freebsd*): Likewise.
48414         (bsdi*): Likewise.
48415         (osf*): Likewise.
48416         (sunos*): Likewise.
48417         (ultrix*): Likewise.
48418         (newsos*): Likewise.
48419         (dynix*): Likewise.
48420         (*bsd*): Likewise.
48421         (sysv*): Likewise.
48422         (isc*): Likewise.
48423         (esix*): Likewise.
48424         (sco*): Likewise.
48425         (minix*): Likewise.
48426         (irix4*): Likewise.
48427         (irix6*): Likewise.
48428         (solaris[2-9]*): Likewise.
48429         (none): Likewise.
48430         * configure: Regenerated.
48432 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48434         [BZ #11521]
48435         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48436         overflow or cancellation in calculating denominator.
48437         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48439         down expression to avoid unexpected rounding in newer GCCs.
48440         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48442 2012-04-26  David S. Miller  <davem@davemloft.net>
48444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48445         long-double compat symbols.
48446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48460 2012-04-25  David S. Miller  <davem@davemloft.net>
48462         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48463         HWCAP_* values only after the memory barriers have been defined.
48464         (atomic_full_barrier): Define.
48465         (atomic_read_barrier): Define.
48466         (atomic_write_barrier): Define.
48468 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48470         * shlib-versions: Add libgcc_s version information.
48471         * sysdeps/generic/libgcc_s.h: Remove.
48472         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48473         libgcc_s.h.
48474         * sysdeps/gnu/unwind-resume.c: Likewise.
48475         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48477 2012-04-25  David S. Miller  <davem@davemloft.net>
48479         * sysdeps/unix/sparc/brk.S: Delete.
48480         * sysdeps/unix/sparc/dl-brk.S: Delete.
48481         * sysdeps/unix/sparc/pipe.S: Delete.
48482         * sysdeps/unix/sparc/sysdep.S: Delete.
48483         * sysdeps/unix/sparc/sysdep.h: Delete.
48484         * sysdeps/unix/sparc/vfork.S: Delete.
48485         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48486         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48487         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48488         (ret_ERRVAL, r0, r1, MOVE): Define.
48489         (JUMPTARGET): Remove.
48490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48491         sysdeps/unix/sparc/sysdep.h
48492         (ENTRY, END): Remove.
48493         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48495 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48497         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48498         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48499         -DIS_IN_build.
48501         * timezone/README: Update upstream location and email address for
48502         tzcode and tzdata.
48503         * timezone/zdump.c: Update from tzcode 2012b.
48504         * timezone/zic.c: Likewise.
48506         * configure.in (libc_cv_as_needed): Remove test.
48507         * configure: Regenerated.
48508         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48509         conditional definition.
48510         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48511         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48512         * config.make.in (have-as-needed): Remove variable.
48514 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48515             Paul Pluzhnikov  <ppluzhnikov@google.com>
48517         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48518         strings correctly.
48520 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48522         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48523         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48524         * sysdeps/sh/strlen.S: Likewise.
48526 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48528         * sysdeps/unix/fork.S: Remove file.
48529         * sysdeps/unix/i386/fork.S: Likewise.
48530         * sysdeps/unix/sparc/fork.S: Likewise.
48532         * sysdeps/unix/system.c: Remove file.
48533         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48535         * sysdeps/unix/getegid.S: Remove file.
48536         * sysdeps/unix/geteuid.S: Likewise.
48538 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48540         * scripts/check-localplt.awk: New file.
48541         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48542         of diff.
48543         * scripts/data/localplt-generic.data: Add a comment.
48545         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48546         NODE when __dir_mkfile failed.
48547         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48548         Reported by Ludovic Courtès <ludo@gnu.org>.
48550 2012-04-24  Andreas Jaeger  <aj@suse.de>
48552         * Makerules (common-clean): Also remove gen-as-const-headers
48553         files.
48555 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48557         * Makerules (native-compile): Do not change working directory for
48558         build.  Use $(OUTPUT_OPTION) in command.
48559         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48561 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48563         [BZ #13886]
48564         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48565         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48566         * math/libm-test.inc (floor_test): Add more tests.
48567         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48569 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48571         * sysdeps/unix/getdents.c: Remove file.
48572         * sysdeps/unix/sysv/getdents.c: Likewise.
48573         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48575         * sysdeps/unix/syscalls.list (madvise): Add syscall from
48576         sysdeps/unix/mman/syscalls.list.
48577         (mmap): Likewise.
48578         (mprotect): Likewise.
48579         (msync): Likewise.
48580         (munmap): Likewise.
48581         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48582         * sysdeps/unix/mman/syscalls.list: Remove.
48583         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48585         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48586         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48587         * configure: Regenerated.
48588         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48589         $(libgcc_s_suffix).
48590         * config.make.in (libgcc_s_suffix): Remove variable.
48592 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
48594         * sysdeps/unix/sysv/gethostname.c: Move to ...
48595         * sysdeps/posix/gethostname.c: ... here.
48597         * sysdeps/unix/execve.S: Remove file.
48599         * sysdeps/unix/_exit.S: Remove file.
48601 2012-04-23  Andreas Jaeger  <aj@suse.de>
48603         [BZ #13739]
48604         * manual/Makefile: Remove make dist support, there's no
48605         need for a stand-alone documentation tar ball.
48606         (TEXI2DVI): Define always, it's not in Makeconfig.
48607         (dist): Removed.
48608         (tar-it): Removed.
48609         (edition): Removed.
48610         (glibc-doc-$(edition).tar): Removed
48611         (%.Z): Removed.
48612         (%.gz): Removed.
48613         (%.uu): Removed.
48614         (ETAGS): Remove, it's in Makeconfig.
48615         (move-if-change): Remove, it's in Makeconfig.
48617 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
48619         [BZ #13970]
48620         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48621         (strtod, strtof, strtold, strtol, strtoul, strtoq)
48622         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48623         (strtod_l, strtof_l, strtold_l): Remove __wur.
48624         It is not necessarily an error to ignore strtol's return value.
48625         One can reliably look at the stored endptr to decide whether
48626         the number had valid syntax.
48628 2012-04-21  Andreas Jaeger  <aj@suse.de>
48630         [BZ #13739]
48631         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48633 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
48635         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48636         * sysdeps/unix/sysv/Versions: Remove file.
48638 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
48640         [BZ #13927]
48641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48643 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
48645         [BZ #7064]
48646         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48647         version from __vm86.
48649 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
48651         * sysdeps/unix/common/lxstat.c: Remove file.
48652         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48654         * sysdeps/unix/sysv/Makefile: Remove file.
48656         * sysdeps/unix/sysv/direct.h: Remove file.
48658         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48659         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48660         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48661         * sysdeps/unix/sysv/bits/signum.h: Likewise.
48662         * sysdeps/unix/sysv/bits/stat.h: Likewise.
48663         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48664         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48666         * sysdeps/unix/sysv/setrlimit.c: Remove file.
48668         * sysdeps/unix/xmknod.c: Remove file.
48669         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48671         * sysdeps/unix/sysv/settimeofday.c: Remove file.
48673         * sysdeps/unix/sysv/i386/time.S: Remove file.
48675         * sysdeps/unix/fxstat.c: Remove file.
48676         * sysdeps/unix/xstat.c: Likewise.
48677         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48679         * sysdeps/unix/sysv/sigaction.c: Remove file.
48681         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48682         (sysdep_headers): Remove variable.
48683         [termio.h not in sysdep_headers] (generated): Likewise.
48684         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48685         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48686         * sysdeps/unix/sysv/tcdrain.c: Likewise.
48687         * sysdeps/unix/sysv/tcflow.c: Likewise.
48688         * sysdeps/unix/sysv/tcflush.c: Likewise.
48689         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48690         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48691         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48692         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48693         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48695         * sysdeps/unix/siglist.c: Remove file.
48697         * sysdeps/unix/getppid.S: Remove file.
48699         * sysdeps/unix/mkdir.c: Remove file.
48700         * sysdeps/unix/rmdir.c: Likewise.
48702 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
48704         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48705         ERR_MAX value.
48706         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48707         errlist-compat value.
48709 2012-04-18  David S. Miller  <davem@davemloft.net>
48711         * sysdeps/generic/memcopy.h (reg_char): Delete.
48712         * debug/strcat_chk.c: Use char, not reg_char.
48713         * debug/strcpy_chk.c: Likewise.
48714         * debug/strncat_chk.c: Likewise.
48715         * debug/strncpy_chk.c: Likewise.
48716         * string/memchr.c: Likewise.
48717         * string/memrchr.c: Likewise.
48718         * string/rawmemchr.c: Likewise.
48719         * string/strcat.c: Likewise.
48720         * string/strchr.c: Likewise.
48721         * string/strchrnul.c: Likewise.
48722         * string/strcmp.c: Likewise.
48723         * string/strcpy.c: Likewise.
48724         * string/strncat.c: Likewise.
48725         * string/strncmp.c: Likewise.
48726         * string/strncpy.c: Likewise.
48728 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48730         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48731         __builtin_memcopy is called when src and dest ranges are known to not
48732         overlap.
48734 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48736         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48737         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48738         fwd_align_merge macro call.
48739         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48740         bwd_align_merge macro call.
48741         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48743 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48745         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48746         bwd_align_merge macros.
48747         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48748         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48749         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48751 2012-04-18  David S. Miller  <davem@davemloft.net>
48753         * sysdeps/sparc/sparc64/memcopy.h: Delete.
48755 2012-04-18  Andreas Jaeger  <aj@suse.de>
48757         [BZ# 6794]
48758         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48759         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48760         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48762         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48763         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48764         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48766         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48767         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48768         Adjust for changed ldbl-128 files.
48770         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48771         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48772         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48774 2012-04-17  David S. Miller  <davem@davemloft.net>
48776         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48778 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48780         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48781         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48782         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48783         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48784         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48785         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48787 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48789         [BZ #6794]
48790         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48791         * math/libm-test.inc: Add ilogb errno and exception tests.
48792         * math/w_ilogb.c: New file: ilogb wrapper.
48793         * math/w_ilogbf.c: New file: ilogbf wrapper.
48794         * math/w_ilogbl.c: New file: ilogbl wrapper.
48795         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48796         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48797         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48798         exception being thrown with 0.0 as argument.
48799         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48800         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48801         exception being thrown with 0.0 as argument.
48802         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48803         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48804         exception being thrown with 0.0 as argument.
48805         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48806         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48807         exception being thrown with 0.0 as argument.
48808         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48809         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48810         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48811         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48812         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48813         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48814         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48815         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48816         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48818 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48820         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48821         with altivec.
48823 2012-04-16  Marek Polacek  <polacek@redhat.com>
48825         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48827 2012-04-16  Marek Polacek  <polacek@redhat.com>
48829         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48830         operands of fdivp instruction.
48832 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48834         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48835         * elf/tst-auditmod3b.c: Likewise.
48836         * elf/tst-auditmod4b.c: Likewise.
48837         * elf/tst-auditmod5b.c: Likewise.
48838         * elf/tst-auditmod6b.c: Likewise.
48839         * elf/tst-auditmod6c.c: Likewise.
48840         * elf/tst-auditmod7b.c: Likewise.
48841         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48842         * sysdeps/x86_64/preconfigure.in: Likewise.
48843         * sysdeps/x86_64/preconfigure: Regenerated.
48845 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48847         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48848         __ILP32__.
48850 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48852         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48853         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48855 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48857         [BZ #13973]
48858         * locale/iso-639.def: Fix gl language name. Spotted by
48859         Yaron Shahrabani.
48861 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48863         [BZ #2074]
48864         * libio/libio.h (__io_write_fn): Update comment.
48866 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48868         [BZ #2074]
48869         * stdio.texi (Hook Functions): The user provided writer function
48870         is not allowed to return -1.
48872 2012-04-11  David S. Miller  <davem@davemloft.net>
48874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48876 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48878         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48879         Add a leading slash to rtkaio.
48881 2012-04-11  Jim Meyering  <meyering@redhat.com>
48883         [BZ #11959]
48884         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48885         It is not necessarily an error to ignore fwrite's return
48886         value.  One can reliably use ferror to test for errors after
48887         the fact.
48889 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48891         * bits/types.h (__snseconds_t): New type.
48892         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48894         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48896         (__SNSECONDS_T_TYPE): Likewise.
48897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48898         (__SNSECONDS_T_TYPE): Likewise.
48899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48900         (__SNSECONDS_T_TYPE): Likewise.
48902 2012-04-10  Andreas Jaeger  <aj@suse.de>
48904         [BZ #2636]
48905         * manual/time.texi (Processor Time): Return type of times is
48906         elapsed real time since an arbitrary point in the past.
48907         (CPU Time): Move CLK_TCK from here...
48908         (Processor Time): ...to here.  Correct description.
48909         * manual/conf.texi (Constants for Sysconf): Correct description of
48910         _SC_CLK_TCK.
48912 2012-04-10  David S. Miller  <davem@davemloft.net>
48914         [BZ #13967]
48915         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48916         where the is a gap between DT_REL(A) and DT_JMPREL.
48918 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48920         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48921         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48922         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48924 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48926         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48927         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48928         (dl_main): Handle --inhibit-cache.
48929         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48930         _dl_inhibit_cache.
48931         * elf/dl-load.c (_dl_map_object): Use it.
48932         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48934 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48936         [BZ #13872]
48937         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48938         (__ieee754_powl): Saturate large exponents rather than testing for
48939         overflow of y*log2(x).
48940         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48941         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48942         exceptions.
48944         [BZ #11521]
48945         * math/s_ctan.c: Include <float.h>.
48946         (__ctan): Avoid internal overflow or cancellation in calculating
48947         denominator.
48948         * math/s_ctanf.c: Likewise.
48949         * math/s_ctanl.c: Likewise.
48950         * math/s_ctanh.c: Likewise.
48951         * math/s_ctanhf.c: Likewise.
48952         * math/s_ctanhl.c: Likewise.
48953         * math/libm-test.inc (ctan_test): Add more tests.
48954         (ctanh_test): Likewise.
48955         * sysdeps/i386/fpu/libm-test-ulps: Update.
48956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48958 2012-04-09  Andreas Jaeger  <aj@suse.de>
48960         [BZ #6894]
48961         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48962         is an optional BSD extension.
48964         [BZ #10254]
48965         * manual/stdio.texi (Opening Streams): Document additional fopen
48966         parameters.
48968 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48970         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48971         %eax without telling the compiler.
48973 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48975         [BZ # 13963]
48976         * manual/install.texi: Use sourceware.org.
48978 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48980         [BZ #13873]
48981         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48982         (__ieee754_pow): Generate overflow and underflow using huge*huge
48983         and tiny*tiny rather than just returning constant infinity or zero
48984         for large exponents.
48985         * math/libm-test.inc (pow_test): Require overflow exceptions for
48986         applicable cases of large exponents.
48988         [BZ #706]
48989         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48990         (__ieee754_pow): Use iterative multiplication algorithm only for
48991         integer exponents with absolute value below 1024.  Check for odd
48992         integer exponents when using algorithm for real exponents.
48993         * math/libm-test.inc (pow_test): Add more tests.
48994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48996 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48998         [BZ #13705]
48999         * math/libm-test.inc (exp_test): Do not allow overflow exception
49000         on underflow test.
49002 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49004         [BZ #13705]
49005         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49006         instead of __kernel_standard_f.
49008 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49010         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49011         * sysdeps/x86_64/memset_chk.S: Likewise.
49013 2012-04-08  Andreas Jaeger  <aj@suse.de>
49015         [BZ #10153]
49016         * manual/startup.texi (Environment Access): Describe return value
49017         for putenv and setenv.
49019         [BZ #6895]
49020         * manual/filesys.texi (Directory Entries): Add description for
49021         DT_LNK.
49023         [BZ #6890]
49024         * manual/filesys.texi (Directory Entries): Clarify that it's file
49025         system not operating system in the description of DT_UNKNOWN.
49027         [BZ #6578]
49028         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49030 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49032         [BZ #6649]
49033         * manual/llio.texi (Opening and Closing Files): Add cross
49034         reference to explain mode argument.
49036 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49038         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49039         * sysdeps/x86_64/memset_chk.S: Likewise.
49041 2012-04-07  David S. Miller  <davem@davemloft.net>
49043         * elf/elf.h (R_SPARC_WDISP10): Define.
49044         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49045         R_SPARC_SIZE32.
49046         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49047         R_SPARC_SIZE64 and R_SPARC_H34.
49049 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49051         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49052         conditions and remove no longer applicable assertion.
49054 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49056         * bits/byteswap.h: Include <features.h>.
49057         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49058         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49060 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49062         * bits/byteswap.h (__bswap_16): Removed.
49063         Include <bits/byteswap-16.h> to get __bswap_16.
49064         * sysdeps/i386/bits/byteswap.h: Likewise.
49065         * sysdeps/s390/bits/byteswap.h: Likewise.
49066         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49067         * bits/byteswap-16.h: New file.
49068         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49069         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49070         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49071         * string/Makefile (headers): Add bits/byteswap-16.h.
49073 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49075         [BZ #13895]
49076         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49077         extra indirection.
49078         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49079         * nss/tst-nss-static.c: New.
49081 2012-04-06  Robert Millan  <rmh@gnu.org>
49083         [BZ #6486]
49084         * manual/llio.texi (File Position Primitive): lseek
49085         refers to WHENCE when it really means OFFSET.
49087 2012-04-06  Andreas Jaeger  <aj@suse.de>
49089         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49090         strncmp declarations.
49092         * abilist/libc.abilist: Add __poll and __ppoll.
49094 2012-04-05  David S. Miller  <davem@davemloft.net>
49096         * scripts/check-local-headers.sh: Accept a host triplet in the
49097         path matched by the exclude regexp.
49099         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49100         definition.
49101         * sysdeps/powerpc/powerpc32/dl-machine.h
49102         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49103         * sysdeps/s390/s390-32/dl-machine.h
49104         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49105         * sysdeps/sparc/sparc32/dl-machine.h
49106         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49107         * sysdeps/sparc/sparc64/dl-machine.h
49108         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49110         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49111         lazy binding.
49112         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49113         undefined symbol errors.
49115         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49116         DT_NEEDED entries.
49118 2012-04-05  Michael Matz  <matz@suse.de>
49120         [BZ #13592]
49121         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49123 2012-04-05  Andreas Jaeger  <aj@suse.de>
49125         [BZ #13908]
49126         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49127         comment.
49129 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49131         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49132         which ROUND is no valid rounding mode.
49134 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49136         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49137         read again.
49138         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49140 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49142         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49143         an exception using FPU order intentionally.
49145 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49147         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49148         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49149         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49150         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49152 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49154         [BZ #12340]
49155         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49156         EINVAL when BUFLEN is too smal.
49158 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49160         [BZ #13553]
49161         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49162         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49164 2012-04-03  Andreas Jaeger  <aj@suse.de>
49166         [BZ #13938]
49167         * manual/setjmp.texi (System V contexts): Fix sentence.
49169         [BZ #13926]
49170         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49171         New macro for this case.
49172         [!__GNUC__] (__bswap_64): New inline function for this case.
49173         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49174         * bits/byteswap.h: Likewise.
49175         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49176         ull, guard with __GLIBC_HAVE_LONG_LONG.
49178         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49179         __GLIBC_HAVE_LONG_LONG.
49181         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49182         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49184 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49186         [BZ #13691]
49187         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49188         inptr and inend, rather than using last_ch.
49190 2012-04-02  David S. Miller  <davem@davemloft.net>
49192         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49193         * stdio-common/printf-parse.h (read_int): Change return type to
49194         'int', return -1 on INT_MAX overflow.
49195         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49196         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49197         overflows INT_MAX.  Check for overflow of in-format-string precision
49198         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49199         SIZE_MAX not INT_MAX for integer overflow test.
49200         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49201         skip the construct in the format string but do not record anything.
49202         * stdio-common/bug22.c: Adjust to test both width/prevision
49203         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49204         explicitly for proper errno values.
49206 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49208         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49209         CHAR_MAX.
49210         * string/test-strcmp.c [! WIDE]: Likewise.
49211         * time/tst-mktime2.c: Likewise for INT_MAX.
49212         * string/test-string.h: #include <sys/param.h> for MIN.
49214         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49215         * sysdeps/i386/init-first.c (init): Likewise.
49216         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49217         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49218         * sysdeps/sh/init-first.c (init): Likewise.
49220 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49222         * po/ru.po: Update from translation team.
49223         * po/vi.po: Likewise.
49225 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49227         * resolv/nss_dns/dns-host.c: Merge copyright years.
49229 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49231         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49232         Optimize memcpy with prefetch if
49233         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49234         src, dst pointers have unequal 16 byte alignments.
49236 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49238         [BZ #13928]
49239         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49240         from a CNAME entry and return the minimum ttl for the query.
49241         (gaih_getanswer_slice): Likewise.
49243 2012-03-30  Jeff Law  <law@redhat.com>
49245         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49246         due to long keys.
49247         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49248         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49250         * resolv/nss_dns/dns-host.c: Update copyright year.
49252 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49254         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49255         requests to save a system call.  Fix check that all bytes are sent.
49257         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49258         comments for sendmmsg.
49260 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49262         [BZ #13691]
49263         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49264         with only 1 character between 0x0041 and 0x01b0.
49265         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49266         * wcsmbs/tst-mbsnrtowcs.c: New file.
49268 2012-03-29  David S. Miller  <davem@davemloft.net>
49270         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49271         small copies by hand.
49273 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49275         [BZ #13761]
49276         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49277         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49278         group memberships.
49280 2012-03-28  David S. Miller  <davem@davemloft.net>
49282         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49283         that branches into memcpy.
49284         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49285         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49287         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49288         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49289         bits.
49290         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49291         implementation too.
49292         * sysdeps/sparc/mempcpy.S: New file.
49294         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49295         the IFUNC routine in the libc case.
49296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49298         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49299         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49300         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49301         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49302         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49303         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49304         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49305         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49307         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49308         loop to 256 bytes instead of 64 bytes and fix test signedness.
49310         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49311         * sysdeps/sparc/sparc32/Makefile: rather than here...
49312         * sysdeps/sparc/sparc64/Makefile: and here.
49314 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49316         * malloc/mallocbug.c: Avoid warnings about unused variables.
49318 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49320         [BZ #13760]
49321         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49322         in the right place. Discard and retry query if response is
49323         larger than input buffer size.
49325 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49327         [BZ #369]
49328         [BZ #2678]
49329         [BZ #3866]
49330         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49331         x for large integer exponent.
49332         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49333         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49334         sign of result as needed afterwards.
49335         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49336         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49337         result for underflowing pow the same as for overflow.
49338         (__kernel_standard_l): Handle powl overflow and underflow here
49339         rather than calling __kernel_standard.
49340         * math/libm-test.inc (pow_test): Add more tests.
49342         [BZ #3868]
49343         [BZ #13879]
49344         [BZ #13910]
49345         [BZ #13911]
49346         [BZ #13912]
49347         [BZ #13913]
49348         [BZ #13915]
49349         [BZ #13916]
49350         [BZ #13917]
49351         [BZ #13918]
49352         [BZ #13919]
49353         [BZ #13920]
49354         [BZ #13921]
49355         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49356         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49357         (__kernel_standard_l): New function.
49358         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49359         __kernel_standard.
49360         * math/w_acosl.c (__acosl): Likewise.
49361         * math/w_asinl.c (__asinl): Likewise.
49362         * math/w_atan2l.c (__atan2l): Likewise.
49363         * math/w_atanhl.c (__atanhl): Likewise.
49364         * math/w_coshl.c (__coshl): Likewise.
49365         * math/w_exp10l.c (__exp10l): Likewise.
49366         * math/w_exp2l.c (__exp2l): Likewise.
49367         * math/w_fmodl.c (__fmodl): Likewise.
49368         * math/w_hypotl.c (__hypotl): Likewise.
49369         * math/w_j0l.c (__j0l, __y0l): Likewise.
49370         * math/w_j1l.c (__j1l, __y1l): Likewise.
49371         * math/w_jnl.c (__jnl, __ynl): Likewise.
49372         * math/w_lgammal.c (__lgammal): Likewise.
49373         * math/w_log10l.c (__log10l): Likewise.
49374         * math/w_log2l.c (__log2l): Likewise.
49375         * math/w_logl.c (__logl): Likewise.
49376         * math/w_powl.c (__powl): Likewise.
49377         * math/w_remainderl.c (__remainderl): Likewise.
49378         * math/w_scalbl.c (sysv_scalbl): Likewise.
49379         * math/w_sinhl.c (__sinhl): Likewise.
49380         * math/w_sqrtl.c (__sqrtl): Likewise.
49381         * math/w_tgammal.c (__tgammal): Likewise.
49382         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49383         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49384         * math/libm-test.inc (acos_test): Add more tests.
49385         (acosh_test): Likewise.
49386         (asin_test): Likewise.
49387         (atanh_test): Likewise.
49388         (exp_test): Likewise.
49389         (exp10_test): Likewise.
49390         (exp2_test): Likewise.
49391         (expm1_test): Likewise.
49392         (lgamma_test): Likewise.
49393         (log_test): Likewise.
49394         (log10_test): Likewise.
49395         (log1p_test): Likewise.
49396         (log2_test): Likewise.
49397         (pow_test): Do not allow some spurious overflow exceptions.
49398         (sqrt_test): Add more tests.
49399         (tgamma_test): Likewise.
49400         (y0_test): Likewise.
49401         (y1_test): Likewise.
49402         (yn_test): Likewise.
49404 2012-03-27  Anton Blanchard  <anton@samba.org>
49406         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49407         MAP_HUGETLB.
49408         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49409         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49410         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49412 2012-03-27  David S. Miller  <davem@davemloft.net>
49414         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49416         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49417         have-as-vis3 check.
49419 2012-03-27  Andreas Jaeger  <aj@suse.de>
49421         * sysdeps/x86_64/elf/configure.in: Moved to ...
49422         * sysdeps/x86_64/configure.in: ... here.
49423         * sysdeps/x86_64/elf/start.S: Moved to ...
49424         * sysdeps/x86_64/start.S: ... here.
49425         * sysdeps/x86_64/elf/configure: Delete.
49427         * sysdeps/x86_64/configure.in: Merge contents from
49428         sysdeps/i386/configure.in (without i686 check).
49430         * sysdeps/i386/elf/Versions: Merge into ...
49431         * sysdeps/i386/Versions: ... this.
49432         * sysdeps/i386/elf/Versions: Delete file.
49433         * sysdeps/i386/elf/start.S: Moved to ...
49434         * sysdeps/i386/start.S: ...here.
49435         * sysdeps/i386/elf/configure.in: Merge into...
49436         * sysdeps/i386/configure.in: ...here.
49437         * sysdeps/i386/elf/configure.in: Delete file.
49438         * sysdeps/i386/elf/configure: Delete file.
49440         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49441         * debug/backtracesyms.c: ... here.
49442         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49443         * debug/backtracesymsfd.c: ... here.
49444         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49445         * sysdeps/generic/ifunc-sel.h: ... here.
49447         * sysdeps/unix/i386/start.c: Delete file.
49448         * sysdeps/unix/sparc/start.c: Delete file.
49449         * sysdeps/unix/start.c: Delete file.
49451         * sysdeps/sh/elf/configure.in: Moved to ...
49452         * sysdeps/sh/configure.in: ... here.
49453         * sysdeps/sh/elf/start.S: Moved to ...
49454         * sysdeps/sh/start.S: ... here.
49455         * sysdeps/sh/elf/configure: Delete file.
49457         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49458         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49459         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49460         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49461         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49462         * sysdeps/powerpc/powerpc64/start.S: here.
49463         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49464         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49465         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49466         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49467         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49469         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49470         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49471         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49472         * sysdeps/powerpc/powerpc32/start.S: ... here.
49473         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49474         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49475         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49477         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49478         * sysdeps/powerpc/ifunc-sel.h: ... here.
49479         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49480         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49482         * sysdeps/sparc/elf/configure.in: Moved to ...
49483         * sysdeps/sparc/configure.in: ... here.
49484         * sysdeps/sparc/elf/configure: Delete file.
49485         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49486         * sysdeps/sparc/sparc32/start.S: ... here.
49487         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49488         * sysdeps/sparc/sparc64/start.S: ... here.
49489         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49490         * sysdeps/sparc/sparc32/Makefile: ... this.
49491         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49492         * sysdeps/sparc/sparc64/Makefile: ... this.
49494         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49495         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49496         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49497         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49498         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49499         * sysdeps/s390/s390-32/setjmp.S: ... here.
49500         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49501         * sysdeps/s390/s390-32/configure.in: ... here.
49502         * sysdeps/s390/s390-32/elf/configure: Delete file.
49503         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49504         * sysdeps/s390/s390-32/start.S: ... here.
49506         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49507         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49508         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49509         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49510         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49511         * sysdeps/s390/s390-64/setjmp.S: ... here.
49512         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49513         * sysdeps/s390/s390-64/configure.in: ... here
49514         * sysdeps/s390/s390-64/elf/configure: Delete file.
49515         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49516         * sysdeps/s390/s390-64/start.S: ... here.
49517         * sysdeps/s390/s390-64/elf/configure: Delete.
49519         * configure.in: Remove support for elf directories in sysdeps.
49521         * configure: Regenerated.
49522         * sysdeps/i386/configure: Regenerated.
49523         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49524         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49525         * sysdeps/s390/s390-32/configure: Regenerated.
49526         * sysdeps/s390/s390-64/configure: Regenerated.
49527         * sysdeps/sh/configure: Regenerated.
49528         * sysdeps/sparc/configure: Regenerated.
49529         * sysdeps/x86_64/configure: Regenerated.
49531 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49535         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49536         denormal result into account.
49538 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49540         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49541         Reported by Allan McRae <allan@archlinux.org>.
49543 2012-03-23  Jeff Law  <law@redhat.com>
49545         * nss/getnssent.c (__nss_getent): Fix typo.
49547 2012-03-23  David S. Miller  <davem@davemloft.net>
49549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49551 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
49553         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49554         to pad to uint64_t for each field.
49555         (dl_tls_index): Replace unsigned long with uint64_t.
49557 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
49558         Paul Pluzhnikov  <ppluzhnikov@google.com>
49560         [BZ #6528]
49561         * grp/Makefile (otherlibs): Don't set it.
49562         * inet/Makefile (otherlibs): Likewise.
49563         * login/Makefile (otherlibs): Likewise.
49564         * nscd/Makefile (otherlibs): Likewise.
49565         * posix/Makefile (otherlibs): Likewise.
49566         * pwd/Makefile (otherlibs): Likewise.
49567         * rt/Makefile (otherlibs): Likewise.
49568         * sunrpc/Makefile (otherlibs): Likewise.
49569         * nss/Makefile (otherlibs): Likewise.
49570         Add libnss_files to routines and static-only-routines.
49571         ($(objpfx)getent): Remove rule.
49572         * resolv/Makefile: Add libnss_dns and libresolv to routines and
49573         static-only-routines.
49575 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49577         [BZ #13892]
49578         * math/s_cexp.c: Include <float.h>.
49579         (__cexp): Handle exp result overflowing not necessarily
49580         overflowing both real and imaginary parts of result.
49581         * math/s_cexpf.c: Likewise.
49582         * math/s_cexpl.c: Likewise.
49583         * math/libm-test.inc (cexp_test): Add more tests.
49584         * sysdeps/i386/fpu/libm-test-ulps: Update.
49585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49587 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49589         * include/link.h (ELFW): New macro.
49590         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49591         Replace ELF64_R_TYPE with ELFW(R_TYPE).
49593 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49595         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49596         with uint64_t.
49598 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49600         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49601         declaration.
49602         (struct La_x32_retval): Likewise.
49604 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49606         * sysdeps/x86_64/preconfigure.in: New file.
49607         * sysdeps/x86_64/preconfigure: New generated file.
49609 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49611         [BZ #13824]
49612         * math/e_exp2l.c: Include <float.h>.
49613         (__ieee754_exp2l): Handle overflow and underflow cases
49614         separately.  Only pass fractional part of argument to
49615         __ieee754_expl.
49616         * math/libm-test.inc (exp2_test): Add more tests.
49618         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49619         negating x to take absolute value.
49620         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49621         Likewise.
49622         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49623         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49624         Likewise.
49625         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49626         computing low part if x was negated.
49627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49629 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49631         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49632         la_x32_gnu_pltexit.
49633         (pltexit): Cast int_retval to ptrdiff_t.
49634         * elf/tst-auditmod3b.c: Likewise.
49635         * elf/tst-auditmod4b.c: Likewise.
49636         * elf/tst-auditmod5b.c: Likewise.
49637         * elf/tst-auditmod6b.c: Likewise.
49638         * elf/tst-auditmod6c.c: Likewise.
49639         * elf/tst-auditmod7b.c: Likewise.
49641         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49642         and x32_gnu_pltexit.
49644         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49645         __ELF_NATIVE_CLASS.
49646         (La_x32_regs): New macro.
49647         (La_x32_retval): Likewise.
49648         (la_x32_gnu_pltenter): New function prototype.
49649         (la_x32_gnu_pltexit): Likewise.
49651 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
49653         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49654         exponent.
49656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49658         * configure.in (libc_cv_cc_nofma): Check for option to disable
49659         generation of FMA instructions.
49660         * configure: Regenerate.
49661         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49662         * sysdeps/ieee754/dbl-64/Makefile: New file.
49663         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49664         Remove brandred-fma4.
49665         (CFLAGS-brandred-fma4.c): Remove.
49666         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49667         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49668         define.
49669         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49670         define.
49672 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49674         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49675         LLONG_MAX != LONG_MAX.
49676         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49677         (_fitoa_word): Likewise.
49678         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49679         LLONG_MAX != LONG_MAX.
49680         * stdio-common/_itowa.h: Include <_itoa.h>.
49681         (_itowa_word): Use _ITOA_WORD_TYPE on value.
49682         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
49683         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
49684         only if not defined.
49685         (_ITOA_WORD_TYPE): Likewise.
49686         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49687         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49689 2012-03-21  David S. Miller  <davem@davemloft.net>
49691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49693 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49695         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49696         of x86_64 when setting libc_cv_slibdir, libdir and
49697         libc_cv_localedir.
49698         * sysdeps/unix/sysv/linux/configure: Regenerated.
49700 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49702         * manual/lang.texi (Old Varargs): Remove section.
49703         (How Variadic): Update menu.
49704         (va_start): Do not mention varargs.h.
49706 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49707             Joseph Myers  <joseph@codesourcery.com>
49709         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49710         link test.
49711         * configure: Regenerated.
49713 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49715         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49716         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49717         conformtest.pl
49719 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49721         * NOTES: Remove.
49722         * Makefile (files-for-dist): Remove NOTES.
49723         (NOTES): Remove rule.
49724         * README: Don't refer to NOTES.
49725         * manual/creature.texi: Don't include macros.texi.
49726         * manual/intro.texi (creature.texi): Remove comment referring to
49727         NOTES.
49729         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49730         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49731         * configure: Regenerated.
49732         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49733         LIBC_TRY_CC_OPTION.
49734         (libc_cv_as_i686): Likewise.
49735         (libc_cv_cc_avx): Likewise.
49736         (libc_cv_cc_sse2avx): Likewise.
49737         (libc_cv_cc_fma4): Likewise.
49738         (libc_cv_cc_novzeroupper): Likewise.
49739         * sysdeps/i386/configure: Regenerated.
49741         [BZ #13883]
49742         * sysdeps/i386/fpu/s_cexp.S: Remove.
49743         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49744         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49745         * math/libm-test.inc (cexp_test): Add more tests.
49746         * sysdeps/i386/fpu/libm-test-ulps: Update.
49747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49749 2012-03-21  Allan McRae  <allan@archlinux.org>
49751         * timezone/Makefile: Do not install iso3166.tab and zone.tab
49753 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49755         [BZ #13871]
49756         * math/w_exp2.c: Do not include <float.h>.
49757         (o_threshold, u_threshold): Remove.
49758         (__exp2): Calculate result before checking finiteness and calling
49759         __kernel_standard.
49760         * math/w_exp2f.c: Likewise.
49761         * math/w_exp2l.c: Likewise.
49762         * math/libm-test.inc (exp2_test): Require overflow exception for
49763         1e6 input.
49765         [BZ #3866]
49766         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49767         range of signed 64-bit integers before using fistpll.  Remove
49768         checks for whether integers fit in mantissa bits.
49769         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49770         the range of signed 32-bit integers before using fistpl.  Remove
49771         checks for whether integers fit in mantissa bits.
49772         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49773         (__ieee754_powl): Test for y outside the range of signed 64-bit
49774         integers before using fistpll.  Reduce 64-bit values to 63-bit
49775         ones as needed.
49776         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49777         divide-by-zero is raised for zero to large negative powers.
49778         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49779         (__ieee754_powl): Test for y outside the range of signed 64-bit
49780         integers before using fistpll.  Reduce 64-bit values to 63-bit
49781         ones as needed.
49782         * math/libm-test.inc (pow_test): Add more tests.
49784 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49786         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49787         <stdio-common/_itoa.h>.
49788         * debug/segfault.c: Likewise.
49789         * elf/dl-cache.c: Likewise.
49790         * elf/dl-minimal.c: Likewise.
49791         * elf/dl-misc.c: Likewise.
49792         * elf/dl-sysdep.c: Likewise.
49793         * elf/dl-version.c: Likewise.
49794         * elf/rtld.c: Likewise.
49795         * hurd/hurdsock.c: Likewise.
49796         * hurd/lookup-retry.c: Likewise.
49797         * malloc/malloc.c: Likewise.
49798         * malloc/mtrace.c: Likewise.
49799         * nscd/nscd_getgr_r.c: Likewise.
49800         * nscd/nscd_getpw_r.c: Likewise.
49801         * nscd/nscd_getserv_r.c: Likewise.
49802         * posix/getopt_init.c: Likewise.
49803         * posix/wordexp.c: Likewise.
49804         * stdio-common/_itoa.c: Likewise.
49805         * stdio-common/printf_fphex.c: Likewise.
49806         * stdio-common/vfprintf.c: Likewise.
49807         * string/_strerror.c: Likewise.
49808         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49809         * sysdeps/i386/i686/hp-timing.h: Likewise.
49810         * sysdeps/mach/_strerror.c: Likewise.
49811         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49812         * sysdeps/mach/hurd/sethostid.c: Likewise.
49813         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49814         * sysdeps/mach/xpg-strerror.c: Likewise.
49815         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49816         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49817         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49818         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49819         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49820         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49821         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49822         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49823         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49824         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49825         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49826         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49827         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49828         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49829         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49830         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49831         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49832         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49833         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49834         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49835         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49837         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49839         * stdio-common/_itoa.h: Moved to ...
49840         * sysdeps/generic/_itoa.h: Here.
49842         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49844         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49845         instead of "_itoa.h" and "_itowa.h".
49846         * stdio-common/vfprintf.: Likewise.
49848 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49850         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49851         <bits/wordsize.h>.
49852         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49853         (__signbit): Likwise.
49854         (llrintf): Likwise.
49855         (llrint): Likwise.
49857 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49859         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49860         __WORDSIZE != 64.
49862 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49864         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49865         OVERFLOW_EXCEPTION_OK.
49866         * math/libm-test.inc ("Philosophy"): Update comment about
49867         exception testing.
49868         (OVERFLOW_EXCEPTION): Define.
49869         (OVERFLOW_EXCEPTION_OK): Likewise.
49870         (INVALID_EXCEPTION_OK): Renumber.
49871         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49872         (IGNORE_ZERO_INF_SIGN): Likewise.
49873         (test_exceptions): Handle FE_OVERFLOW.
49874         (exp10_test): Expect overflow exceptions.
49875         (exp2_test): Likewise.
49876         (expm1_test): Likewise.
49877         (nextafter_test): Likewise.
49878         (pow_test): Likewise.
49879         (scalbn_test): Likewise.
49880         (scalbln_test): Likewise.
49882 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49884         * sysdeps/x86_64/bits/atomic.h
49885         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49886         64bit integer.
49887         (atomic_exchange_acq): Likewise.
49888         (__arch_exchange_and_add_body): Likewise.
49889         (__arch_add_body): Likewise.
49890         (atomic_add_negative): Likewise.
49891         (atomic_add_zero): Likewise.
49893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49895         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49896         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49900         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49901         Check __x86_64__ instead of __WORDSIZE.
49903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49905         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49907 2012-03-19  David S. Miller  <davem@davemloft.net>
49909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49911         * sysdeps/sparc/fpu/fenv_private.h: New file.
49912         * sysdeps/sparc/fpu/math_private.h: Use it.
49913         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49914         Remove.
49915         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49916         (libc_feholdexcept_setroundl): Remove.
49917         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49918         Remove.
49919         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49920         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49924         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49925         int64_t instead of long int.
49926         (INSERT_WORDS64): Likwise.
49928 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49930         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49931         _Unwind_GetCFA return to _Unwind_Ptr first.
49933 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49935         [BZ #13629]
49936         * math/s_clog.c: Include <float.h>.
49937         (__clog): Scale large or subnormal inputs.
49938         * math/s_clogf.c: Likewise.
49939         * math/s_clogl.c: Likewise.
49940         * math/s_clog10.c: Include <float.h>.
49941         (M_LOG10_2): Define.
49942         (__clog10): Scale large or subnormal inputs.
49943         * math/s_clog10f.c: Likewise.
49944         * math/s_clog10l.c: Likewise.
49945         * math/libm-test.inc (clog_test): Add more tests.
49946         (clog10_test): Likewise.
49947         * sysdeps/i386/fpu/libm-test-ulps: Update.
49948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49950         [BZ #11451]
49951         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49952         x and y.
49953         * math/libm-test.inc (atan2_test): Add another test.
49955         * Makerules (common-objdir-compile): Remove.
49956         * sysdeps/unix/Makefile (config-generated): Do not add
49957         $(unix-generated) to variable.
49958         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49959         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49960         Remove rule.
49961         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49962         Likewise.
49963         [generic bits/local_lim.h] (before-compile): Do not append to
49964         variable.
49965         [generic bits/local_lim.h] (common-generated): Likewise.
49966         [generic sys/param.h] (before-compile): Do not append to variable.
49967         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49968         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49969         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49970         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49971         include.
49972         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49973         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49974         [generic sys/param.h] ($(addprefix
49975         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49976         [generic sys/param.h] (common-generated): Do not append to
49977         variable.
49978         [generic sys/param.h] (sysdep_headers): Likewise.
49979         [generic bits/errno.h] (before-compile): Do not append to
49980         variable.
49981         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49982         rule.
49983         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49984         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49985         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49986         [generic bits/errno.h] (common-generated): Do not append to
49987         variable.
49988         [generic bits/ioctls.h] (before-compile): Do not append to
49989         variable.
49990         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49991         rule.
49992         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49993         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49994         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49995         rule.
49996         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49997         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49998         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49999         [generic bits/ioctls.h] (common-generated): Do not append to
50000         variable.
50001         [generic sys/syscall.h] (syscall.h): Remove variable.
50002         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50003         rule.
50004         [generic sys/syscall.h] (before-compile): Do not append to
50005         variable.
50006         [generic sys/syscall.h] (common-generated): Likewise.
50007         * sysdeps/unix/errnos-tmpl.c: Remove file.
50008         * sysdeps/unix/errnos.awk: Likewise.
50009         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50010         * sysdeps/unix/ioctls.awk: Likewise.
50011         * sysdeps/unix/mk-local_lim.c: Likewise.
50012         * sysdeps/unix/snarf-ioctls: Likewise.
50014 2012-03-19  Richard Henderson  <rth@twiddle.net>
50016         * sysdeps/i386/fpu/fenv_private.h: New file.
50017         * sysdeps/i386/fpu/math_private.h: Use it.
50018         (math_opt_barrier, math_force_eval): Remove.
50019         (libc_feholdexcept_setround_53bit): Remove.
50020         (libc_feupdateenv_53bit): Remove.
50021         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50022         (math_opt_barrier, math_force_eval): Remove.
50023         (libc_feholdexcept): Remove.
50024         (libc_feholdexcept_setround): Remove.
50025         (libc_fetestexcept, libc_fesetenv): Remove.
50026         (libc_feupdateenv_test): Remove.
50027         (libc_feupdateenv, libc_feholdsetround): Remove.
50028         (libc_feresetround): Remove.
50030         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50031         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50033         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50034         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50035         (libc_feupdateenv_testl): New.
50036         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50037         (libc_feupdateenv_testf): New.
50038         (libc_feupdateenv): Use libc_feupdateenv_test.
50039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50040         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50042         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50043         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50044         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50045         (libc_feresetround_noex): New.
50046         (libc_feresetround_noexf): New.
50047         (libc_feresetround_noexl): New.
50048         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50049         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50050         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50051         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50052         SET_RESTORE_ROUND.
50053         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50055         (__cos): Likewise.
50056         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50057         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50058         SET_RESTORE_ROUND_NOEX.
50059         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50060         SET_RESTORE_ROUND_NOEXF.
50061         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50062         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50063         (libc_feholdsetroundf): New.
50064         (libc_feresetround, libc_feresetroundf): New.
50066         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50067         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50068         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50070         * sysdeps/generic/math_private.h: Include <fenv.h>.
50071         (default_libc_feholdexcept): New.
50072         (default_libc_feholdexcept_setround): New.
50073         (default_libc_fesetenv, default_libc_feupdateenv): New.
50074         (libc_feholdexcept): Only define if undefined.
50075         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50076         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50077         (libc_feholdexcept_setroundl): Likewise.
50078         (libc_feholdexcept_setround_53bit): Likewise.
50079         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50080         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50081         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50082         (libc_feupdateenv_53bit): Likewise.
50083         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50084         (libc_feholdexcept): Convert from macro to inline function.
50085         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50086         (libc_fesetenv, libc_feupdateenv): Likewise.
50088         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50089         not previously defined.
50090         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50091         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50092         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50093         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50094         * sysdeps/ieee754/flt-32/math_private.h: New file.
50095         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50096         math_private.h below SET_FLOAT_WORD.
50097         (__isnan, __isinf_ns, __finite): Remove.
50098         (__isnanf, __isinf_nsf, __finitef): Remove.
50100 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50104 2012-03-17  David S. Miller  <davem@davemloft.net>
50106         [BZ #6471]
50107         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50108         for 2.16.
50110 2012-03-16  David S. Miller  <davem@davemloft.net>
50112         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50113         warnings.
50115         [BZ #6471]
50116         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50117         properly.
50118         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50119         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50120         sysdep_routines when subdir is sysvipc.
50121         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50122         __getshmlba helper.
50124         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50126 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50128         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50129         [__LP64__].
50131 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50133         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50134         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50135         (__lround): Renamed to ...
50136         (__llround): This.  Replace long int with long long int.
50137         Define lround functions as aliases of llround functions.
50138         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50142         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50143         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50144         adresses to uintptr_t.  Replace "long int" and "unsigned long
50145         int" with "greg_t" on va_arg.
50147 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50149         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50150         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50152         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50153         Move e_machine check before EI_CLASS check.  Handle x32
50154         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50155         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50156         SKIP_EM_IA_64 and include
50157         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50159         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50160         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50161         (add_system_dir): New macro.
50163         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50164         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50166 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50168         [BZ #2551]
50169         [BZ #2552]
50170         [BZ #2553]
50171         [BZ #2554]
50172         [BZ #2562]
50173         [BZ #2563]
50174         [BZ #2565]
50175         [BZ #2566]
50176         [BZ #2576]
50177         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50178         (y0): Likewise.
50179         * math/w_j0f.c (j0f): Likewise.
50180         (y0f): Likewise.
50181         * math/w_j0l.c (__j0l): Likewise.
50182         (__y0l): Likewise.
50183         * math/w_j1.c (j1): Likewise.
50184         (y1): Likewise.
50185         * math/w_j1f.c (j1f): Likewise.
50186         (y1f): Likewise.
50187         * math/w_j1l.c (__j1l): Likewise.
50188         (__y1l): Likewise.
50189         * math/w_jn.c (jn): Likewise.
50190         (yn): Likewise.
50191         * math/w_jnf.c (jnf): Likewise.
50192         (ynf): Likewise.
50193         * math/w_jnl.c (__jnl): Likewise.
50194         (__ynl): Likewise.
50195         * math/libm-test.inc (j0_test): Add more tests.
50196         (j1_test): Likewise.
50197         (jn_test): Likewise.  Add trailing semicolon to existing test.
50198         (y0_test): Likewise.
50199         (y1_test): Likewise.
50200         * sysdeps/i386/fpu/libm-test-ulps: Update.
50201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50203         [BZ #13851]
50204         [BZ #13854]
50205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50206         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50207         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50208         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50209         (__tanl): Set errno for infinite argument.
50210         * sysdeps/i386/fpu/mptan.c: Remove.
50211         * sysdeps/i386/fpu/s_tan.S: Likewise.
50212         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50213         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50214         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50215         * math/libm-test.inc (tan_test): Add more tests and enable more
50216         tests for double and long double.
50217         * sysdeps/i386/fpu/libm-test-ulps: Update.
50218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50220 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50222         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50223         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50225 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50227         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50228         * configure.in: Use it for both main tree and add-ons.
50229         * configure: Regenerated.
50231 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50233         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50235 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50237         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50238         in comment.
50240         [BZ #13851]
50241         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50242         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50243         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50244         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50245         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50246         infinite argument.
50247         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50248         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50249         != 0 for prec == 2.
50250         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50251         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50252         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50253         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50254         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50255         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50256         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50257         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50258         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50259         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50260         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50261         * math/libm-test.inc (cos_test): Add more tests and enable more
50262         tests for long double.
50263         (sin_test): Likewise.
50264         (sincos_test): Likewise.
50265         * sysdeps/i386/fpu/libm-test-ulps: Update.
50266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50268 2012-03-16  David S. Miller  <davem@davemloft.net>
50270         * sysdeps/sparc/fpu/math_private.h: New file.
50272 2012-03-15  David S. Miller  <davem@davemloft.net>
50274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50275         file.
50276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50278         file.
50279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50284         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50285         sysdep routines.
50286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50288         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50289         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50291         * sysdeps/sparc/sparc-ifunc.h: New file.
50292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50293         sparc-ifunc.h
50294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50296         Likewise.
50297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50298         Likewise.
50299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50303         Likewise.
50304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50309         Likewise.
50310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50311         Likewise.
50312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50330         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50331         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50332         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50333         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50334         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50335         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50337 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50339         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50340         scaling.
50341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50343 2012-03-15  Andreas Jaeger  <aj@suse.de>
50345         [BZ #13852]
50346         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50347         ieee754/flt-32 implementation for sin, cos and sincos.
50348         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50349         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50350         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50351         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50352         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50353         ieee754/flt-32 implementation for tan.
50355         * math/libm-test.inc (cos_test): Enable some large input tests for
50356         float as well
50357         (sin_test): Likewise.
50358         (sincos_test): Likewise.
50359         (tan_test): Add tests for large input.
50361         * sysdeps/i386/fpu/libm-test-ulps: Update.
50363 2012-03-15  Andreas Jaeger  <aj@suse.de>
50365         [BZ #13658]
50366         * math/libm-test.inc (cos_test): Add more test cases.
50367         (sin_test): Likewise.
50368         (sincos_test): Likewise.
50370 2012-03-15  Andreas Jaeger  <aj@suse.de>
50372         [BZ #13837]
50373         * math/libm-test.inc (cos_test): Add a test case for large input
50374         value.
50375         (sin_test): Likewise.
50376         (sincos_test): Likewise.
50378 2012-03-15  Andreas Jaeger  <aj@suse.de>
50379             Joseph Myers  <joseph@codesourcery.com>
50381         [BZ #13658]
50382         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50383         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50384         * sysdeps/i386/fpu/branred.c: Likewise.
50385         * sysdeps/i386/fpu/dosincos.c: Likewise.
50386         * sysdeps/i386/fpu/mpa.c: Likewise.
50387         * sysdeps/i386/fpu/s_cos.S: Likewise.
50388         * sysdeps/i386/fpu/s_sin.S: Likewise.
50389         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50390         * sysdeps/i386/fpu/sincos32.c: Likewise.
50392         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50393         Define.
50394         (libc_feupdateenv_53bit): Define.
50395         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50396         Define.
50397         (libc_feupdateenv_53bit): Define.
50399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50400         53 bit (without extend i386 double precision).
50402         * math/libm-test.inc (sincos_test): Add tests for large input.
50403         (sin): Likewise.
50404         (cos): Likewise.
50406         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50408 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50412 2012-03-15  David S. Miller  <davem@davemloft.net>
50414         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50415         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50416         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50417         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50430         file.
50431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50433         file.
50434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50436         file.
50437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50439         file.
50440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50442         fmin/fmax sysdep routines.
50443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50445 2012-03-14  David S. Miller  <davem@davemloft.net>
50447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50451         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50452         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50453         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50456         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50467         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50468         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50471         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50472         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50473         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50475         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50476         routines.
50477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50478         file.
50479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50481         file.
50482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50484         file.
50485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50487         file.
50488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50490         file.
50491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50493         file.
50494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50495         file.
50496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50497         file.
50498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50499         file.
50500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50501         New file.
50502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50503         file.
50504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50505         file.
50506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50508         file.
50509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50511         file.
50512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50514         file.
50515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50517         VIS3 routines.
50519         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50520         New file.
50522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50524         * sysdeps/sparc/configure.in: New file.
50525         * sysdeps/sparc/configure: Generate.
50526         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50527         * configure: Regenerate.
50528         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50529         * config.make.in (have-as-vis3): New.
50530         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50531         available use -Av9d instead of -Av9a.
50532         * sysdeps/sparc/sparc64/Makefile: Likewise.
50533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50535         New file.
50536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50537         file.
50538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50539         New file.
50540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50541         file.
50542         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50543         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50544         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50545         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50548         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50549         fzeros/fnegs to load 0x80000000 into a float register instead of
50550         using the stack.
50551         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50553 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50556         bits/syscall.h.
50557         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50558         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50559         ($(inst_includedir)/bits/syscall.h): Remove rule.
50560         ($(objpfx)bits/syscall.d): Include instead of
50561         $(objpfx)syscall-list.d.
50562         (generated): Change syscall-list.h and syscall-list.d to
50563         bits/syscall.h and bits/syscall.d.
50565 2012-03-14  Roland McGrath  <roland@hack.frob.com>
50567         [BZ #13846]
50568         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50570 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50572         [BZ #13841]
50573         * math/s_csqrt.c: Include <float.h>.
50574         (__csqrt): Scale large or subnormal inputs.
50575         * math/s_csqrtf.c: Likewise.
50576         * math/s_csqrtl.c: Likewise.
50577         * math/libm-test.inc (csqrt_test): Add more tests.
50578         * sysdeps/i386/fpu/libm-test-ulps: Update.
50579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50581         [BZ #13840]
50582         * math/libm-test.inc (hypot_test): Add more tests.
50584 2012-03-13  David S. Miller  <davem@davemloft.net>
50586         [BZ #13840]
50587         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50588         double-precision for the calculation instead of scaling.
50590 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
50592         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50593         manipulate bits before adding and subtracting TWO52[sx].
50594         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50595         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50596         Likewise.
50597         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50599 2012-03-13  David S. Miller  <davem@davemloft.net>
50601         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50602         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50603         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50604         rtld-global-offsets.h
50605         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50607         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50608         large parameters.
50610         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50612         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50613         'err' in the ifdef scope in which it is actually used.
50615         * nss/nss_db/db-init.c: Include string.h
50617 2012-03-12  David S. Miller  <davem@davemloft.net>
50619         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50620         masking out of the most significant byte of random value used.
50621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50622         Fix coding style in previous change.
50624         * sysdeps/unix/sysv/linux/kernel-features.h
50625         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50626         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50627         expression.
50628         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50629         later.
50631 2012-03-11  David S. Miller  <davem@davemloft.net>
50633         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50634         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50635         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50636         for 'resultvar' otherwise things get truncated on 64-bit.
50638         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50639         Fix masking out of the most significant byte of random value used.
50641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50643 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
50645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50647 2012-03-09  David S. Miller  <davem@davemloft.net>
50649         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50650         variables with appropriate CPP guards.
50651         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50652         from the frame pointer, not the stack pointer.  Correct layout
50653         comments.  Fix test on resulting framesize and the management of
50654         the outregs buffer for pltexit.  Preserve floating point return
50655         values across _dl_call_pltexit call.
50656         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50657         framesize and the management of the outregs buffer for pltexit.
50658         Preserve floating point return values across _dl_call_pltexit
50659         call.
50660         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50661         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50662         (la_sparc64_gnu_pltexit): New functions.
50663         (print_exit): Fix format string for return register value.
50665 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
50667         * sunrpc/Makefile (others): Add rpcgen.
50668         ($(objpfx)rpcgen): Remove special build rule and dependency on
50669         libc.
50670         * sunrpc/rpcgen.c: New file.
50672 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
50674         [BZ #13673]
50675         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50676         * stdio-common/bug-vfprintf-nargs.c: Likewise.
50677         * sysdeps/i386/crti.S: Likewise.
50678         * sysdeps/i386/crtn.S: Likewise.
50679         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50680         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50681         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50682         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50683         * sysdeps/sh/crti.S: Likewise.
50684         * sysdeps/sh/crtn.S: Likewise.
50685         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50687         [BZ #13673]
50688         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50689         with URL.
50690         * locale/programs/locfile-kw.gperf: Likewise.
50691         * locale/programs/charmap-kw.h: Regenerated.
50692         * locale/programs/locfile-kw.h: Likewise.
50694         [BZ #13673]
50695         * intl/plural.y: Replace FSF snail mail address with URL.
50696         * intl/plural.c: Regenerated.
50698 2012-03-09  Richard Henderson  <rth@twiddle.net>
50700         * include/math_private.h: Remove file.
50701         * math/math_private.h: Move file ...
50702         * sysdeps/generic/math_private.h: ... here.
50704         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50705         * sysdeps/powerpc/fpu/math_private.h: Likewise.
50706         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50708         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50709         and <math_private.h>.
50710         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50711         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50712         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50713         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50714         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50715         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50716         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50719         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50721         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50722         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50723         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50725         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50738         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50739         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50740         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50742         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50743         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50744         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50745         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50746         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50749         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50753         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50754         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50755         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50756         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50757         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50758         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50759         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50760         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50761         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50762         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50763         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50764         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50765         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50766         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50767         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50769         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50770         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50771         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50773         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50774         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50775         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50776         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50777         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50778         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50779         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50780         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50781         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50782         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50783         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50784         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50785         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50786         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50787         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50788         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50789         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50793         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50794         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50795         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50797         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50798         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50799         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50800         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50801         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50802         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50803         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50804         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50805         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50806         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50807         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50808         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50809         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50810         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50811         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50812         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50813         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50814         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50815         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50816         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50817         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50818         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50819         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50820         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50821         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50822         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50823         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50824         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50825         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50826         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50827         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50828         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50829         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50830         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50831         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50832         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50833         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50834         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50835         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50836         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50837         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50838         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50839         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50840         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50841         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50842         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50843         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50844         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50845         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50846         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50847         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50848         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50849         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50850         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50851         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50852         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50853         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50854         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50855         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50856         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50857         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50858         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50859         * sysdeps/ieee754/k_standard.c: Likewise.
50860         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50861         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50862         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50863         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50864         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50865         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50866         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50867         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50868         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50869         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50870         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50871         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50872         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50873         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50874         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50875         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50876         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50877         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50878         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50879         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50880         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50881         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50882         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50883         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50884         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50885         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50886         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50887         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50888         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50889         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50890         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50891         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50892         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50893         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50894         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50895         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50896         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50897         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50898         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50899         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50900         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50901         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50902         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50903         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50904         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50905         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50906         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50908         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50910         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50911         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50912         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50913         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50914         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50915         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50916         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50917         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50918         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50919         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50920         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50921         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50922         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50923         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50924         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50925         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50926         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50927         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50928         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50930         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50931         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50932         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50933         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50934         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50935         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50936         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50937         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50938         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50939         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50940         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50941         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50942         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50943         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50944         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50945         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50946         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50947         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50948         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50949         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50950         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50951         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50952         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50953         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50954         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50955         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50956         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50957         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50962         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50963         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50964         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50965         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50966         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50967         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50968         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50969         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50970         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50971         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50973         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50974         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50975         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50976         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50977         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50978         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50979         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50980         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50981         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50982         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50983         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50984         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50985         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50986         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50987         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50988         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50989         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50990         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50991         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50992         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50993         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50994         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50995         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50996         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50997         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50998         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50999         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51000         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51001         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51002         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51003         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51004         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51005         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51006         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51007         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51008         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51009         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51010         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51011         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51012         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51013         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51014         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51015         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51016         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51017         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51018         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51019         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51020         * sysdeps/ieee754/s_lib_version.c: Likewise.
51021         * sysdeps/ieee754/s_matherr.c: Likewise.
51022         * sysdeps/ieee754/s_signgam.c: Likewise.
51023         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51024         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51025         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51026         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51027         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51028         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51029         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51030         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51031         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51032         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51033         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51034         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51035         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51036         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51037         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51038         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51039         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51040         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51041         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51042         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51045 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51047         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51048         * sunrpc/rpc_main.c: Likewise.
51049         * sunrpc/rpc_svcout.c: Likewise.
51051 2012-03-09  David S. Miller  <davem@davemloft.net>
51053         * include/math_private.h: New file.
51055 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51057         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51058         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51059         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51060         from <bits/socket_type.h>.
51061         (enum __socket_type): Don't define here.
51062         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51064         bits/socket_type.h.
51066         [BZ #13566]
51067         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51068         checking __USE_GNU.
51070         * Makerules ($(inst_includedir)/%.h): New rule.
51071         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51072         (install-others): Remove variable setting.
51073         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51075 2012-03-08  Richard Henderson  <rth@twiddle.net>
51077         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51078         from macro to inline function; merge with the
51079         !__LIBC_INTERNAL_MATH_INLINES version.
51080         (__ieee754_sqrtf): Likewise.
51082         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51083         to inline function.
51084         (__rintf, __floor, __floorf): Likewise.
51086         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51087         macro to inline function.
51088         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51090         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51091         not <math/math_private.h>.
51093 2012-03-08  David S. Miller  <davem@davemloft.net>
51095         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51096         copyright year.
51097         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51099 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51101         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51102         normalization.
51103         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51104         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51106 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51108         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51109         be defined individually, they must be defined as a block.  Define
51110         S for printing a string instead of hidint the different by using a
51111         macro for adding the 'l'.
51112         * stdio-common/tst-fphex-wide.c: Adjust.
51114 2012-03-07  Marek Polacek  <polacek@redhat.com>
51116         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51118 2012-03-08  Marek Polacek  <polacek@redhat.com>
51120         [BZ #13806]
51121         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51122         * stdio-common/tst-fphex.c: Define a few macros to make the
51123         test reusable.  Use them.
51124         * stdio-common/tst-fphex-wide.c: New file.
51126 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51128         [BZ #6911]
51129         * manual/macros.texi (gnusystems): New macro.
51130         (nongnusystems): Likewise.
51131         (gnulinuxhurdsystems): Likewise.
51132         (gnuhurdsystems): Likewise..
51133         (gnulinuxsystems): Likewise.
51134         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51135         variants of the GNU system, not "GNU system".
51136         * manual/conf.texi: Likewise.
51137         * manual/errno.texi: Likewise.  Update example of errno macro
51138         expansion.
51139         * manual/filesys.texi: Likewise.
51140         (getumask): Document as specific to GNU/Hurd.
51141         * manual/install.texi: Likewise.  Reword some references to
51142         GNU/Linux.
51143         * manual/intro.texi: Likewise.
51144         * manual/io.texi: Likewise.
51145         (File Name Portability): Detail which constraints are inapplicable
51146         to all GNU systems and which are only inapplicable to GNU/Hurd.
51147         * manual/job.texi: Likewise.
51148         * manual/llio.texi: Likewise.
51149         (O_NOCTTY): Document as present on GNU/Linux.
51150         * manual/maint.texi: Likewise.
51151         * manual/memory.texi: Likewise.
51152         * manual/pattern.texi: Likewise.
51153         * manual/pipe.texi: Likewise.
51154         * manual/process.texi: Likewise.
51155         * manual/resource.texi: Likewise.
51156         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51157         child on GNU/Hurd.
51158         * manual/setjmp.texi: Likewise.
51159         * manual/signal.texi: Likewise.
51160         * manual/startup.texi: Likewise.
51161         * manual/stdio.texi: Likewise.
51162         * manual/terminal.texi: Likewise.
51163         (ONLCR): Document as POSIX.
51164         (OXTABS): Document availability on GNU/Linux as XTABS.
51165         (ONOEOT): Document availability separately from other bits.
51166         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51167         * manual/time.texi: Likewise.
51168         * manual/users.texi: Likewise.
51169         * INSTALL: Regenerated.
51170         * sysdeps/gnu/errlist.c: Regenerated.
51172         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51173         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51174         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51175         puts.
51176         * configure: Regenerated.
51178 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51180         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51181         default includes instead of AC_HEADER_CHECK.
51182         * sysdeps/i386/configure: Regenerated.
51184         [BZ #10716]
51185         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51186         * math/s_cacoshf.c (__cacoshf): Likewise.
51187         * math/s_cacoshl.c (__cacoshl): Likewise.
51188         * math/s_casinh.c (__casinh): Set signs of result from argument.
51189         * math/s_casinhf.c (__casinhf): Likewise.
51190         * math/s_casinhl.c (__casinhl): Likewise.
51191         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51192         (casinh_test): Add more tests.
51193         * sysdeps/i386/fpu/libm-test-ulps: Update.
51194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51196 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51198         * po/zh_TW.po: Update from translation team.
51200         * login/Makefile (distribute): Remove variable.
51201         * catgets/Makefile: Likewise.
51202         * mach/Makefile: Likewise.
51203         * malloc/Makefile: Likewise.
51204         * misc/Makefile: Likewise.
51205         * iconv/Makefile: Likewise.
51206         * nscd/Makefile: Likewise.
51207         * hurd/Makefile: Likewise.
51208         * manual/Makefile: Likewise.
51209         * locale/Makefile: Likewise.
51210         * intl/Makefile: Likewise.
51211         * conform/Makefile: Likewise.
51212         * nss/Makefile: Likewise.
51213         * time/Makefile: Likewise.
51214         * soft-fp/Makefile: Likewise.
51215         * dirent/Makefile: Likewise.
51216         * gmon/Makefile: Likewise.
51217         * po/Makefile: Likewise.
51218         * rt/Makefile: Likewise.
51219         * socket/Makefile: Likewise.
51220         * math/Makefile: Likewise.
51221         * signal/Makefile: Likewise.
51222         * debug/Makefile: Likewise.
51223         * elf/Makefile: Likewise.
51224         * timezone/Makefile: Likewise.
51225         * stdlib/Makefile: Likewise.
51226         * iconvdata/Makefile: Likewise.
51227         * sunrpc/Makefile: Likewise.
51228         * io/Makefile: Likewise.
51229         * argp/Makefile: Likewise.
51230         * inet/Makefile: Likewise.
51231         * hesiod/Makefile: Likewise.
51232         * grp/Makefile: Likewise.
51233         * csu/Makefile: Likewise.
51234         * wctype/Makefile: Likewise.
51235         * crypt/Makefile: Likewise.
51236         * libio/Makefile: Likewise.
51237         * string/Makefile: Likewise.
51238         * nis/Makefile: Likewise.
51239         * resolv/Makefile: Likewise.
51240         * stdio-common/Makefile: Likewise.
51241         * wcsmbs/Makefile: Likewise.
51242         * dlfcn/Makefile: Likewise.
51243         * posix/Makefile: Likewise.
51245         [BZ #6959]
51246         * timezone/Makefile: Don't install timezone files, just the programs
51247         and scripts.
51249 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51251         * nss/databases.def: Add missing gshadow entry.
51253         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51255 2012-03-06  Marek Polacek  <polacek@redhat.com>
51257         [BZ #13726]
51258         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51259         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51260         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51261         * stdio-common/tst-long-dbl-fphex.c: New file.
51263 2012-03-06  David S. Miller  <davem@davemloft.net>
51265         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51266         (set_obp_int): New function.
51267         (get_obp_int): New function.
51268         (__get_clockfreq_via_dev_openprom): Likewise.
51269         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51270         Avoid unused variable warnings on 'val' and use builtin_expect.
51271         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51272         __builtin_expect.
51273         (INLINE_CLONE_SYSCALL): Likewise.
51275 2012-03-05  David S. Miller  <davem@davemloft.net>
51277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51279 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51283         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51284         only for |x| >= 40.
51285         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51287 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51289         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51290         Replace gettimeofday with __vdso_gettimeofday.
51292         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51293         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51294         __vdso_clock_gettime and __vdso_getcpu.
51296         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51297         time with __vdso_time.
51299 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51301         * manual/lang.texi (size_t): Note types to which size_t may be
51302         equivalent with the GNU C Library, but do not describe when
51303         differences between them are significant.
51305 2012-03-05  Andreas Jaeger  <aj@suse.de>
51307         * sysdeps/i386/fpu/libm-test-ulps: Update.
51309 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51311         [BZ #3976]
51312         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51313         (__ieee754_pow): Save and restore rounding mode and use
51314         round-to-nearest for main computations.
51315         * math/libm-test.inc (pow_test_tonearest): New function.
51316         (pow_test_towardzero): Likewise.
51317         (pow_test_downward): Likewise.
51318         (pow_test_upward): Likewise.
51319         (main): Call the new functions.
51320         * sysdeps/i386/fpu/libm-test-ulps: Update.
51321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51323         [BZ #3976]
51324         * math/libm-test.inc (cosh_test_tonearest): New function.
51325         (cosh_test_towardzero): Likewise.
51326         (cosh_test_downward): Likewise.
51327         (cosh_test_upward): Likewise.
51328         (sinh_test_tonearest): Likewise.
51329         (sinh_test_towardzero): Likewise.
51330         (sinh_test_downward): Likewise.
51331         (sinh_test_upward): Likewise.
51332         (main): Call the new functions.
51333         * sysdeps/i386/fpu/libm-test-ulps: Update.
51334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51336 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51338         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51339         default stack guard is set in last bytes.
51340         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51342 2012-03-05  Kees Cook  <keescook@chromium.org>
51344         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51346         [BZ #13656]
51347         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51348         possibly allocate from heap instead of stack.
51349         * stdio-common/bug-vfprintf-nargs.c: New file.
51350         * stdio-common/Makefile (tests): Add nargs overflow test.
51352 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51356 2012-03-03  Marek Polacek  <polacek@redhat.com>
51358         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51359         * math/math_private.h: Likewise.
51360         * stdlib/tst-strtod.c: Likewise.
51361         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51362         * sysdeps/x86_64/bits/atomic.h: Likewise.
51364 2012-03-02  David S. Miller  <davem@davemloft.net>
51366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51370         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51371         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51372         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51373         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51375 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51377         [BZ #13792]
51378         * manual/examples/README: New file, says the example source files
51379         can be used under GPL>=2.
51380         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51381         line containing just "*/".
51382         * manual/examples/add.c: Add copyright header (GPL>=2).
51383         * manual/examples/argp-ex1.c: Likewise.
51384         * manual/examples/argp-ex2.c: Likewise.
51385         * manual/examples/argp-ex3.c: Likewise.
51386         * manual/examples/argp-ex4.c: Likewise.
51387         * manual/examples/atexit.c: Likewise.
51388         * manual/examples/db.c: Likewise.
51389         * manual/examples/dir.c: Likewise.
51390         * manual/examples/dir2.c: Likewise.
51391         * manual/examples/execinfo.c: Likewise.
51392         * manual/examples/filecli.c: Likewise.
51393         * manual/examples/filesrv.c: Likewise.
51394         * manual/examples/fmtmsgexpl.c: Likewise.
51395         * manual/examples/genpass.c: Likewise.
51396         * manual/examples/inetcli.c: Likewise.
51397         * manual/examples/inetsrv.c: Likewise.
51398         * manual/examples/isockad.c: Likewise.
51399         * manual/examples/longopt.c: Likewise.
51400         * manual/examples/memopen.c: Likewise.
51401         * manual/examples/memstrm.c: Likewise.
51402         * manual/examples/mkfsock.c: Likewise.
51403         * manual/examples/mkisock.c: Likewise.
51404         * manual/examples/mygetpass.c: Likewise.
51405         * manual/examples/pipe.c: Likewise.
51406         * manual/examples/popen.c: Likewise.
51407         * manual/examples/rprintf.c: Likewise.
51408         * manual/examples/search.c: Likewise.
51409         * manual/examples/select.c: Likewise.
51410         * manual/examples/setjmp.c: Likewise.
51411         * manual/examples/sigh1.c: Likewise.
51412         * manual/examples/sigusr.c: Likewise.
51413         * manual/examples/stpcpy.c: Likewise.
51414         * manual/examples/strdupa.c: Likewise.
51415         * manual/examples/strftim.c: Likewise.
51416         * manual/examples/strncat.c: Likewise.
51417         * manual/examples/subopt.c: Likewise.
51418         * manual/examples/swapcontext.c: Likewise.
51419         * manual/examples/termios.c: Likewise.
51420         * manual/examples/testopt.c: Likewise.
51421         * manual/examples/testpass.c: Likewise.
51422         * manual/examples/timeval_subtract.c: Likewise.
51424         [BZ #13792]
51425         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51426         function to ...
51427         * manual/timeval_subtract.c.texi: ... here, new file.
51429 2012-03-02  David S. Miller  <davem@davemloft.net>
51431         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51433 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51435         [BZ #3976]
51436         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51437         (__sin): Save and restore rounding mode and use round-to-nearest
51438         for all computations.
51439         (__cos): Save and restore rounding mode and use round-to-nearest
51440         for all computations.
51441         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51442         <fenv.h>.
51443         (tan): Save and restore rounding mode and use round-to-nearest for
51444         all computations.
51445         * math/libm-test.inc (cos_test_tonearest): New function.
51446         (cos_test_towardzero): Likewise.
51447         (cos_test_downward): Likewise.
51448         (cos_test_upward): Likewise.
51449         (sin_test_tonearest): Likewise.
51450         (sin_test_towardzero): Likewise.
51451         (sin_test_downward): Likewise.
51452         (sin_test_upward): Likewise.
51453         (tan_test_tonearest): Likewise.
51454         (tan_test_towardzero): Likewise.
51455         (tan_test_downward): Likewise.
51456         (tan_test_upward): Likewise.
51457         (main): Call the new functions.
51458         * sysdeps/i386/fpu/libm-test-ulps: Update.
51459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51461         [BZ #10135]
51462         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51463         small n, then large n, before computing and testing k+n.
51464         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51465         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51466         Likewise.
51467         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51468         Likewise.
51469         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51470         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51473         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51474         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51475         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51476         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51477         * math/libm-test.inc (scalbn_test): Add more tests.
51478         (scalbln_test): Likewise.
51480         * manual/filesys.texi (mode_t): Describe constraints on size and
51481         signedness, not exact equivalence to a particular type.
51482         (ino_t): Likewise.
51483         (ino64_t): Likewise.
51484         (dev_t): Likewise.
51485         (nlink_t): Likewise.
51486         (blkcnt_t): Likewise.
51487         (blkcnt64_t): Likewise.
51488         * manual/llio.texi (off_t): Likewise.
51490         [BZ #3976]
51491         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51492         (__ieee754_exp): Save and restore rounding mode and use
51493         round-to-nearest for all computations.
51494         * math/libm-test.inc (exp_test_tonearest): New function.
51495         (exp_test_towardzero): Likewise.
51496         (exp_test_downward): Likewise.
51497         (exp_test_upward): Likewise.
51498         (main): Call the new functions.
51499         * sysdeps/i386/fpu/libm-test-ulps: Update.
51500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51502 2012-03-01  Chris Demetriou  <cgd@google.com>
51504         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51505         have predictable order.
51507 2012-03-01  David S. Miller  <davem@davemloft.net>
51509         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51511         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51512         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51513         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51514         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51516         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51517         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51518         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51520         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51521         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51522         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51523         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51524         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51528         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51529         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51530         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51532         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51533         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51534         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51535         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51536         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51537         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51538         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51539         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51540         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51541         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51542         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51543         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51544         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51545         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51546         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51547         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51548         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51549         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51550         * sysdeps/sparc/elf/configure: Regenerated.
51552 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
51554         * configure.in (AS, LD): Require binutils 2.20 or later.
51555         * configure: Regenerated.
51556         * manual/install.texi (Tools for Compilation): Give binutils 2.20
51557         as required minimum version.
51558         * INSTALL: Regenerated.
51560         [BZ #2541]
51561         [BZ #4108]
51562         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51563         before squaring exponent.
51564         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51565         bottom long double and 27 bits of top long double before squaring
51566         exponent.
51567         * math/libm-test.inc (erfc_test): Add more tests.
51568         * sysdeps/i386/fpu/libm-test-ulps: Update.
51569         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51572 2012-03-01  Kai Tietz  <ktietz@redhat.com>
51574         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51575         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51576         containing bit-fields.
51577         * soft-fp/extended.h (_FP_UNION_E): Likewise.
51578         * soft-fp/single.h (_FP_UNION_S): Likewise.
51579         * soft-fp/double.h (_FP_UNION_D): Likewise.
51581 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51583         [BZ #13786]
51584         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51585         not include ../strcmp.S.
51586         [USE_AS_STRNCASECMP_L]: Likewise.
51587         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51588         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51589         * sysdeps/i386/i686/multiarch/strncase_l-c.c
51590         (__strncasecmp_l_ia32): Define as alias to
51591         __strncasecmp_l_nonascii.
51593         [BZ #5794]
51594         * math/libm-test.inc (expm1_test): Add test for bug 5794.
51595         * sysdeps/i386/fpu/libm-test-ulps: Update.
51596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51598         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51601 2012-02-29  Jeff Law  <law@redhat.com>
51603         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51604         out of bounds read.
51606 2012-02-29  Marek Polacek  <polacek@redhat.com>
51608         [BZ #13706]
51609         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51610         * elf/Makefile: Add rules to run tst-unused-dep.out.
51612 2012-02-28  David S. Miller  <davem@davemloft.net>
51614         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51615         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51616         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51617         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51618         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51619         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51621 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51623         * math/libm-test.inc (llround_test): Move one test from
51624         lround_test.  Use TEST_f_L in moved test.
51625         (lround_test): Move misplaced test to llround_test.  Add testcase
51626         from bug 2561.
51628 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
51630         * sysdeps/x86_64/fpu/e_expf.S: New file.
51631         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51633 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
51635         [BZ #13637]
51636         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51637         of remain_len that may cause incomplete multi-byte character and
51638         false match.
51639         * posix/bug-regex33.c: New file.
51640         * posix/Makefile (tests): Add bug-regex33.
51642 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
51644         * manual/macros.texi: New file.
51645         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51646         * manual/libc.texinfo: Include macros.texi.
51647         * manual/creatute.texi: Likewise.
51648         * manual/install.texi: Likewise.
51649         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51650         @glibcadj{} in references to the GNU C Library.
51651         * manual/charset.texi: Likewise.
51652         * manual/conf.texi: Likewise.
51653         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
51654         when not using those macros.
51655         * manual/creature.texi: Likewise.
51656         * manual/crypt.texi: Likewise.
51657         * manual/errno.texi: Likewise.
51658         * manual/filesys.texi: Likewise.
51659         * manual/header.texi: Likewise.
51660         * manual/install.texi: Likewise.
51661         * manual/intro.texi: Likewise.
51662         * manual/io.texi: Likewise.
51663         * manual/job.texi: Likewise.
51664         * manual/lang.texi: Likewise.
51665         * manual/libc.texiinfo: Likewise.
51666         * manual/llio.texi: Likewise.
51667         * manual/locale.texi: Likewise.
51668         * manual/maint.texi: Likewise.
51669         * manual/math.texi: Likewise.
51670         * manual/memory.texi: Likewise.
51671         * manual/message.texi: Likewise.
51672         * manual/nss.texi: Likewise.
51673         * manual/pattern.texi: Likewise.
51674         * manual/process.texi: Likewise.
51675         * manual/resource.texi: Likewise.
51676         * manual/search.texi: Likewise.
51677         * manual/setjmp.texi: Likewise.
51678         * manual/signal.texi: Likewise.
51679         * manual/socket.texi: Likewise.
51680         * manual/startup.texi: Likewise.
51681         * manual/stdio.texi: Likewise.
51682         * manual/string.texi: Likewise.
51683         * manual/sysinfo.texi: Likewise.
51684         * manual/syslog.texi: Likewise.
51685         * manual/terminal.texi: Likewise.
51686         * manual/time.texi: Likewise.
51687         * manual/users.texi: Likewise.
51688         * INSTALL: Regenerated.
51689         * NOTES: Regenerated.
51690         * sysdeps/gnu/errlist.c: Regenerated.
51692 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
51694         * include/dirent.h: Include <dirstream.h> before
51695         <dirent/dirent.h>.
51697 2012-02-28  David S. Miller  <davem@davemloft.net>
51699         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51700         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51701         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51702         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51704 2012-02-27  David S. Miller  <davem@davemloft.net>
51706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51708         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51709         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51712         frame pointer instead of stack pointer relative arg slot.
51713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51714         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51715         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51717 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
51719         [BZ #3992]
51720         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51722 2012-02-27  David S. Miller  <davem@davemloft.net>
51724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51728         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51729         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51730         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51731         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51733 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51735         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51736         later.  Allow versions 5-9.
51737         * configure: Regenerated.
51738         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51739         required minimum version and 4.6 as recommended version.  Do not
51740         mention bugs in GCC 2.7 and 2.8.
51741         * INSTALL: Regenerated.
51743 2012-02-27  David S. Miller  <davem@davemloft.net>
51745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51749         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51750         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51751         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51752         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51754         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51755         manipulate bits before adding and subtracting TWO112[sx].
51756         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51758 2012-02-27  Roland McGrath  <roland@hack.frob.com>
51760         [BZ #13775]
51761         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51762         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51763         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51764         being in POSIX, because they are in 1003.1-2008.
51766         * rt/tst-aio.c: Include <fcntl.h>.
51767         * rt/tst-aio7.c: Likewise.
51768         * rt/tst-aio64.c: Likewise.
51770         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51772 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51774         * manual/install.texi (--with-headers): Describe headers as
51775         interface headers, not private headers.
51776         (Specific advice for GNU/Linux systems): Describe use of headers
51777         from "make headers_install", not private headers from older
51778         kernels.
51779         * INSTALL: Regenerated.
51780         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51781         Change to 2.6.19.
51782         * sysdeps/unix/sysv/linux/configure: Regenerated.
51784         * manual/llio.texi (fclean): Remove documentation.
51786         * manual/Makefile (libc-texi-generated): New variable.  Include
51787         version.texi.
51788         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51789         $(libc-texi-generated), not duplicated list of files.
51790         (version.texi, stamp-version): New rules.
51791         (realclean): Remove $(libc-texi-generated), not individual files
51792         from that list.  Do not remove dir-add.texinfo.
51793         * manual/libc.texinfo: Comment out uses of edition numbers and
51794         references to printed manual.  Remove last-updated dates.
51795         (EDITION): Comment out.
51796         (ISBN): Likewise.
51797         (VERSION, UPDATED): Remove.
51798         (version.texi): Include.
51800 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51802         * sysdeps/posix/spawni.c: Include <signal.h>.
51803         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51804         * sysdeps/pthread/aio_fsync.c: Likewise.
51806 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51808         * conform/Makefile (tests): Run only when not cross-compiling and
51809         when fast-check is not defined.
51811         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51812         * conform/data/limits.h-data: Fixes for POSIX2008.
51813         * conform/run-conformtest.sh: Run all tests.
51814         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51815         headers.
51816         * include/bits/dlfcn.h: Likewise.
51817         * include/langinfo.h: Likewise.
51818         * include/monetary.h: Likewise.
51819         * include/sys/poll.h: Likewise.
51821         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51822         for __USE_GNU.
51823         * posix/spawn.h: Define __need_sigset_t.
51824         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51825         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51826         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51827         to get sigevent_t only.
51828         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51829         only for __USE_GNU.
51830         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51831         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51832         process_vm_writev only for __USE_GNU.
51833         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51835         * conform/Makefile: For now ignore errors from run-conformtest.
51836         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51837         POSIX to avoid namespace pollution.  Don't prepend headers.
51838         * conform/data/aio.h-data: Fixes for POSIX testing.
51839         * conform/data/fcntl.h-data: Likewise.
51840         * conform/data/glob.h-data: Likewise.
51841         * conform/data/grp.h-data: Likewise.
51842         * conform/data/pthread.h-data: Likewise.
51843         * conform/data/pwd.h-data: Likewise.
51844         * conform/data/signal.h-data: Likewise.
51845         * conform/data/spawn.h-data: Likewise.
51846         * conform/data/stdio.h-data: Likewise.
51847         * conform/data/stdlib.h-data: Likewise.
51848         * conform/data/stropts.h-data: Likewise.
51849         * conform/data/sys/mman.h-data: Likewise.
51850         * conform/data/sys/stat.h-data: Likewise.
51851         * conform/data/sys/types.h-data: Likewise.
51852         * conform/data/sys/wait.h-data: Likewise.
51853         * conform/data/time.h-data: Likewise.
51854         * conform/data/unistd.h-data: Likewise.
51855         * conform/data/utime.h-data: Likewise.
51857         * io/sys/stat.h: fchmod was always in POSIX.
51858         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51859         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51860         * rt/aio.h: Define __need_timespec before including <time.h>.
51861         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51862         struct.  Add forward declaration of pthread_attr_t and use it in
51863         sigevent.
51864         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51865         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51866         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51867         always remove CLK_TCK definition.
51869 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51871         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51873 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51875         * conform/run-conformtest.sh: New file.
51876         * conform/Makefile: Run run-conformtest for tests.
51877         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51878         support.
51880         * conform/data/uchar.h-data: New file.
51881         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51882         * conform/data/arpa/inet.h-data: Likewise.
51883         * conform/data/assert.h-data: Likewise.
51884         * conform/data/complex.h-data: Likewise.
51885         * conform/data/cpio.h-data: Likewise.
51886         * conform/data/ctype.h-data: Likewise.
51887         * conform/data/dirent.h-data: Likewise.
51888         * conform/data/dlfcn.h-data: Likewise.
51889         * conform/data/errno.h-data: Likewise.
51890         * conform/data/fcntl.h-data: Likewise.
51891         * conform/data/float.h-data: Likewise.
51892         * conform/data/fmtmsg.h-data: Likewise.
51893         * conform/data/fnmatch.h-data: Likewise.
51894         * conform/data/ftw.h-data: Likewise.
51895         * conform/data/glob.h-data: Likewise.
51896         * conform/data/grp.h-data: Likewise.
51897         * conform/data/iconv.h-data: Likewise.
51898         * conform/data/inttypes.h-data: Likewise.
51899         * conform/data/langinfo.h-data: Likewise.
51900         * conform/data/libgen.h-data: Likewise.
51901         * conform/data/limits.h-data: Likewise.
51902         * conform/data/locale.h-data: Likewise.
51903         * conform/data/math.h-data: Likewise.
51904         * conform/data/monetary.h-data: Likewise.
51905         * conform/data/mqueue.h-data: Likewise.
51906         * conform/data/ndbm.h-data: Likewise.
51907         * conform/data/net/if.h-data: Likewise.
51908         * conform/data/netdb.h-data: Likewise.
51909         * conform/data/netinet/in.h-data: Likewise.
51910         * conform/data/nl_types.h-data: Likewise.
51911         * conform/data/poll.h-data: Likewise.
51912         * conform/data/pthread.h-data: Likewise.
51913         * conform/data/pwd.h-data: Likewise.
51914         * conform/data/regex.h-data: Likewise.
51915         * conform/data/sched.h-data: Likewise.
51916         * conform/data/search.h-data: Likewise.
51917         * conform/data/semaphore.h-data: Likewise.
51918         * conform/data/setjmp.h-data: Likewise.
51919         * conform/data/signal.h-data: Likewise.
51920         * conform/data/spawn.h-data: Likewise.
51921         * conform/data/stdarg.h-data: Likewise.
51922         * conform/data/stdio.h-data: Likewise.
51923         * conform/data/stdlib.h-data: Likewise.
51924         * conform/data/string.h-data: Likewise.
51925         * conform/data/strings.h-data: Likewise.
51926         * conform/data/stropts.h-data: Likewise.
51927         * conform/data/sys/ipc.h-data: Likewise.
51928         * conform/data/sys/mman.h-data: Likewise.
51929         * conform/data/sys/msg.h-data: Likewise.
51930         * conform/data/sys/resource.h-data: Likewise.
51931         * conform/data/sys/select.h-data: Likewise.
51932         * conform/data/sys/sem.h-data: Likewise.
51933         * conform/data/sys/shm.h-data: Likewise.
51934         * conform/data/sys/socket.h-data: Likewise.
51935         * conform/data/sys/stat.h-data: Likewise.
51936         * conform/data/sys/statvfs.h-data: Likewise.
51937         * conform/data/sys/time.h-data: Likewise.
51938         * conform/data/sys/timeb.h-data: Likewise.
51939         * conform/data/sys/times.h-data: Likewise.
51940         * conform/data/sys/types.h-data: Likewise.
51941         * conform/data/sys/uio.h-data: Likewise.
51942         * conform/data/sys/un.h-data: Likewise.
51943         * conform/data/sys/utsname.h-data: Likewise.
51944         * conform/data/sys/wait.h-data: Likewise.
51945         * conform/data/syslog.h-data: Likewise.
51946         * conform/data/tar.h-data: Likewise.
51947         * conform/data/termios.h-data: Likewise.
51948         * conform/data/utime.h-data: Likewise.
51949         * conform/data/utmpx.h-data: Likewise.
51950         * conform/data/varargs.h-data: Likewise.
51951         * conform/data/wchar.h-data: Likewise.
51952         * conform/data/wctype.h-data: Likewise.
51953         * conform/data/wordexp.h-data: Likewise.
51955         * include/stropts.h: New file.
51956         * include/uchar.h: New file.
51957         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51958         * include/assert.h: Likewise.
51959         * include/ctype.h: Likewise.
51960         * include/dirent.h: Likewise.
51961         * include/dlfcn.h: Likewise.
51962         * include/fcntl.h: Likewise.
51963         * include/fnmatch.h: Likewise.
51964         * include/glob.h: Likewise.
51965         * include/grp.h: Likewise.
51966         * include/libio.h: Likewise.
51967         * include/locale.h: Likewise.
51968         * include/math.h: Likewise.
51969         * include/net/if.h: Likewise.
51970         * include/netdb.h: Likewise.
51971         * include/netinet/in.h: Likewise.
51972         * include/pthread.h: Likewise.
51973         * include/pwd.h: Likewise.
51974         * include/regex.h: Likewise.
51975         * include/sched.h: Likewise.
51976         * include/search.h: Likewise.
51977         * include/setjmp.h: Likewise.
51978         * include/signal.h: Likewise.
51979         * include/stdio.h: Likewise.
51980         * include/stdlib.h: Likewise.
51981         * include/string.h: Likewise.
51982         * include/sys/cdefs.h: Likewise.
51983         * include/sys/mman.h: Likewise.
51984         * include/sys/msg.h: Likewise.
51985         * include/sys/resource.h: Likewise.
51986         * include/sys/select.h: Likewise.
51987         * include/sys/socket.h: Likewise.
51988         * include/sys/stat.h: Likewise.
51989         * include/sys/statvfs.h: Likewise.
51990         * include/sys/time.h: Likewise.
51991         * include/sys/times.h: Likewise.
51992         * include/sys/uio.h: Likewise.
51993         * include/sys/utsname.h: Likewise.
51994         * include/sys/wait.h: Likewise.
51995         * include/termios.h: Likewise.
51996         * include/time.h: Likewise.
51997         * include/ulimit.h: Likewise.
51998         * include/unistd.h: Likewise.
51999         * include/utime.h: Likewise.
52000         * include/wchar.h: Likewise.
52001         * include/wctype.h: Likewise.
52002         * include/wordexp.h: Likewise.
52004         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52006         * time/time.h: TIME_UTC must be a macro.
52007         Make timespec_get available for ISO C11 only as well.
52009 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52011         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52012         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52014 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52016         * configure.in: Use -o not -a in test for unsupported multi-arch.
52018 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52020         * manual/texinfo.tex: Update to version 2012-01-19.16.
52022 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52024         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52026 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52028         [BZ #13738]
52029         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52030         * manual/fdl-1.3.texi: New file.
52031         * manual/fdl-1.1.texi: File removed.
52033         [BZ #13738]
52034         * manual/libc.texinfo (FDL_VERSION): New @set.
52035         Use it for mention of FDL in cover text.
52036         (Documentation License): Use it in @include file name.
52038 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52039             Roland McGrath  <roland@hack.frob.com>
52041         [BZ #5461]
52042         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52043         (not LONG_LONG_MAX and LONG_LONG_MIN.
52044         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52045         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52046         name.
52047         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52049 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52051         [BZ #2547]
52052         [BZ #11365]
52053         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52054         manipulate bits before adding and subtracting TWO23[sx].
52055         * math/libm-test.inc (nearbyint_test): Add more tests.
52057 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52059         [BZ #2548]
52060         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52061         bits before adding and subtracting TWO23[sx].
52062         * math/libm-test.inc (rint_test): Add more tests.
52063         (rint_test_tonearest): Likewise.
52064         (rint_test_towardzero): Likewise.
52065         (rint_test_downward): Likewise.
52066         (rint_test_upward: Likewise.
52068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52070         [BZ #10110]
52071         * include/stdc-predef.h: New file.  Extracted from features.h.
52072         * include/features.h: Include stdc-predef.h.
52073         * Makefile (headers): Add stdc-predef.h.
52074         * CONFORMANCE (Compiler limitations): Update.
52076 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52078         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52080 2012-02-21  David S. Miller  <davem@davemloft.net>
52082         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52083         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52085 2012-02-20  David S. Miller  <davem@davemloft.net>
52087         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52088         using a normal save/restore sequence, rather than allocating a
52089         dummy stack frame just to store a frame pointer and restore.
52090         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52092 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52094         * manual/install.texi: Fix stray word in line-wrapped comment.
52096 2012-02-20  David S. Miller  <davem@davemloft.net>
52098         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52099         both binutils and gcc support GOTDATA.
52101         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52102         "rd %pc" in the PIC register setup sequences.
52104         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52105         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52106         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52107         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52108         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52109         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52110         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52113         (SYSCALL_ERROR_HANDLER): Likewise.
52114         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52115         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52117         (SYSCALL_ERROR_HANDLER): Likewise.
52119         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52120         (HAVE_GCC_GOTDATA): New.
52121         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52122         relocation support in both binutils and gcc.
52123         * sysdeps/sparc/elf/configure: Regenerate.
52125         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52126         * sysdeps/sparc/sparc32/elf/configure: Delete.
52127         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52128         * sysdeps/sparc/sparc64/elf/configure: Delete.
52129         * sysdeps/sparc/elf/configure.in: New file.
52130         * sysdeps/sparc/elf/configure: Generate.
52132         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52133         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52134         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52135         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52136         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52138 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52140         * manual/install.texi: Do not mention specific glibc version
52141         numbers.
52142         * manual/libc.texinfo (VERSION, UPDATED): Update.
52143         (@copying): Use @copyright{} and range of years.
52145 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52147         [BZ #13695]
52148         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52149         [crti.S not in sysdirs] (generated): Do not append.
52150         [crti.S not in sysdirs] (omit-deps): Likewise.
52151         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52152         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52153         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52154         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52155         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52156         Likewise.
52157         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52158         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52159         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52160         * csu/defs.awk: Remove file.
52161         * sysdeps/generic/initfini.c: Likewise.
52162         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52163         variable.
52164         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52165         Likewise.
52167 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52169         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52170         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52171         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52172         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52173         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52174         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52175         <bits/epoll.h>.
52176         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52177         (__EPOLL_PACKED): Define to empty if not defined by
52178         <bits/epoll.h>.
52179         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52181         bits/epoll.h.
52183 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52185         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52186         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52187         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52188         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52189         <bits/timerfd.h>.
52190         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52192         bits/timerfd.h.
52194 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52196         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52197         in C locale.
52198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52199         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52200         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52203 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52205         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52206         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52208 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52210         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52211         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52212         defined.
52213         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52214         Likewise.
52215         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52216         entry for 2.16.
52218 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52220         * math/w_acos.c: Use non-signaling floating-point comparisons.
52221         * math/w_acosf.c: Likewise.
52222         * math/w_acosh.c: Likewise.
52223         * math/w_acoshf.c: Likewise.
52224         * math/w_acoshl.c: Likewise.
52225         * math/w_acosl.c: Likewise.
52226         * math/w_asin.c: Likewise.
52227         * math/w_asinf.c: Likewise.
52228         * math/w_asinl.c: Likewise.
52229         * math/w_atanh.c: Likewise.
52230         * math/w_atanhf.c: Likewise.
52231         * math/w_atanhl.c: Likewise.
52232         * math/w_exp2.c: Likewise.
52233         * math/w_exp2f.c: Likewise.
52234         * math/w_exp2l.c: Likewise.
52235         * math/w_j0.c: Likewise.
52236         * math/w_j0f.c: Likewise.
52237         * math/w_j0l.c: Likewise.
52238         * math/w_j1.c: Likewise.
52239         * math/w_j1f.c: Likewise.
52240         * math/w_j1l.c: Likewise.
52241         * math/w_jn.c: Likewise.
52242         * math/w_jnf.c: Likewise.
52243         * math/w_log.c: Likewise.
52244         * math/w_log10.c: Likewise.
52245         * math/w_log10f.c: Likewise.
52246         * math/w_log10l.c: Likewise.
52247         * math/w_log2.c: Likewise.
52248         * math/w_log2f.c: Likewise.
52249         * math/w_log2l.c: Likewise.
52250         * math/w_logf.c: Likewise.
52251         * math/w_logl.c: Likewise.
52252         * math/w_sqrt.c: Likewise.
52253         * math/w_sqrtf.c: Likewise.
52254         * math/w_sqrtl.c: Likewise.
52255         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52256         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52257         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52258         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52259         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52261 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52263         [BZ #9739]
52264         * manual/string.texi (strnlen): Use correct parameter name in
52265         equivalent expression.
52267 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52269         [BZ #11174]
52270         * manual/users.texi (seteuid): Consistently use neweuid for
52271         argument name.
52273 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52275         [BZ #13704]
52276         * manual/nss.texi (Services in the NSS configuration): Correct
52277         list of services in example configuration file.
52279 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52281         [BZ #11322]
52282         * manual/arith.texi: Remove statements about negative zero
52283         behaving identically to zero.
52285 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52287         [BZ #5993]
52288         * manual/install.texi: Do not document upgrading from libc5.
52290 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52292         [BZ #4596]
52293         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52295 2012-02-18  David S. Miller  <davem@davemloft.net>
52297         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52298         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52299         %o7 across the call.
52300         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52301         instead.
52302         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52303         SETUP_PIC_REG_LEAF.
52304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52305         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52306         * sysdeps/sparc/crtn.S: Likewise.
52308 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52310         * aout/Makefile: Remove.
52312 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52314         [BZ #13058]
52315         * manual/examples/argp-ex1.c (main): Format definition in GNU
52316         style.
52317         * manual/examples/argp-ex2.c (main): Likewise.
52318         * manual/examples/argp-ex3.c (main): Likewise.
52319         * manual/examples/argp-ex4.c (main): Likewise.
52320         * manual/examples/longopt.c (main): Use new-style prototype
52321         definition.
52322         * manual/examples/strncat.c (main): Specify return type and use
52323         (void) for arguments.
52324         * manual/examples/subopt.c (main): Use char **argv argument.
52326 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52328         [BZ #5077]
52329         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52330         rounding modes.
52332 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52334         [BZ #6907]
52335         * manual/string.texi (strchr): Change when strchrnul is
52336         recommended.
52338 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52340         [BZ #174]
52341         * manual/locale.texi (setlocale): Document LOCPATH.
52343 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52345         [BZ #10210]
52346         * manual/process.texi (execle): Move @dots{} before last argument.
52348 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52350         [BZ #12047]
52351         * manual/charset.texi (Generic Charset Conversion): Fix typo
52352         (LC_TYPE -> LC_CTYPE).
52354 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52356         [BZ #5805]
52357         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52358         (scalbnf): Likewise.
52359         (scalbnl): Likewise.
52360         (scalbln): Likewise.
52361         (scalblnf): Likewise.
52362         (scalblnl): Likewise.
52363         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52364         (vwarnx): Likewise.
52365         (verr): Likewise.
52366         (verrx): Likewise.
52367         * manual/filesys.texi (telldir): Use braces around return type.
52368         * manual/llio.texi (mmap): Add space after comma.
52369         (mmap64): Likewise.
52370         * manual/math.texi (jn): Use @var{} on parameter names.
52371         (jnf): Likewise.
52372         (jnl): Likewise.
52373         (yn): Likewise.
52374         (ynf): Likewise.
52375         (ynl): Likewise.
52376         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52377         line.
52378         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52379         "...".
52380         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52381         (sched_get_priority_max): Likewise.
52382         * manual/signal.texi (sigvec): Add space after comma.
52383         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52384         names.
52385         (if_indextoname): Likewise.
52386         (if_freenameindex): Likewise.
52387         (sendto): Use ',' instead of '.' in prototype.
52388         * manual/startup.texi (syscall): Use @dots{} instead of literal
52389         "...".
52390         * manual/stdio.texi (__fpending): Separate initial words of
52391         paragraph from @deftypefun line.
52392         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52393         "...".
52394         (vsyslog): Use @var{} on parameter names.
52395         * manual/terminal.texi (stty): Use @var{} on parameter names.
52396         * manual/users.texi (getutmp): Use @var{} on parameter names.
52397         (getutmpx): Likewise.
52399 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52401         [BZ #6884]
52402         * manual/stdio.texi (fopen): Fix typos in description of
52403         ",ccs=STRING".
52405 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52407         [BZ #4026]
52408         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52409         get clock_id definition.
52411 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52413         [BZ #4822]
52414         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52415         (madvise): Cast every argument to void on its own.
52417 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52419         [BZ #9902]
52420         * manual/startup.texi (Exit Status): Fix typo.
52422 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52424         [BZ #10140]
52425         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52426         * manual/examples/argp-ex2.c: Likewise.
52427         * manual/examples/argp-ex3.c: Likewise.
52429 2012-02-16  Richard Henderson  <rth@redhat.com>
52431         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52432         * sysdeps/s390/s390-32/initfini.c: Remove.
52433         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52434         * sysdeps/s390/s390-64/initfini.c: Remove.
52436 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52438         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52439         compiler output for sysdeps/generic/initfini.c.
52440         * sysdeps/sh/elf/initfini.c: Remove file.
52442 2012-02-16  David S. Miller  <davem@davemloft.net>
52444         [BZ #11494]
52445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52447         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52448         * sysdeps/sparc/crti.S: New file.
52449         * sysdeps/sparc/crtn.S: New file.
52450         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52451         * sysdeps/sparc/sparc64/Makefile: Likewise.
52453 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52455         [BZ #3335]
52456         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52458 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52460         [BZ #4822]
52461         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52463         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52464         (write, read, close): Likewise.
52465         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52467 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52469         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52470         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52471         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52472         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52473         <bits/signalfd.h>.
52474         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52476         bits/signalfd.h.
52478 2012-02-14  Marek Polacek  <polacek@redhat.com>
52480         * sysdeps/x86_64/crti.S: New file.
52481         * sysdeps/x86_64/crtn.S: New file.
52482         * sysdeps/x86_64/elf/initfini.c: Remove file.
52484 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52486         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52487         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52488         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52489         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52490         <bits/inotify.h>.
52491         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52492         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52493         bits/inotify.h.
52495 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52497         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52498         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52499         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52500         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52501         <bits/eventfd.h>.
52502         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52504         bits/eventfd.h.
52506 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52508         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52509         __feraiseexcept instead of feraiseexcept.
52511         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52512         nanosleep invocations.
52513         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52514         strings, and add error checking for a nanosleep invocations.
52516 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52518         Replace FSF snail mail address with URLs, as per GNU coding standards.
52519         Most of the snail mail addresses were wrong anyway, and omitting
52520         them makes the source code easier to maintain.  Almost all of the
52521         changes are to license notices and to locale LC_IDENTIFICATION
52522         addresses, except for this one:
52523         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52524         not its snail mail address.
52526 2012-02-09  Richard Henderson  <rth@twiddle.net>
52528         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52529         of kernel-features.h.
52531         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52533 2012-02-08  Marek Polacek  <polacek@redhat.com>
52535         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52536         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52537         * sysdeps/gnu/_G_config.h: Likewise.
52538         * sysdeps/generic/_G_config.h: Likewise.
52540 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52542         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52543         tests.
52544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52546         * sysdeps/powerpc/powerpc32/crti.S: New file.
52547         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52548         * sysdeps/powerpc/powerpc64/crti.S: New file.
52549         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52551         * Makeconfig (have-initfini): Don't set.
52552         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52553         * configure.in (nopic_initfini): Don't substitute.
52554         * config.h.in (HAVE_INITFINI): Don't #undef.
52555         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52556         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52558 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
52560         Support crti.S and crtn.S provided directly by architectures.
52561         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52562         [crti.S in sysdirs] (omit-deps): Likewise.
52563         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52564         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52565         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52566         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52567         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52568         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52569         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52570         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52571         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52572         compiler output for sysdeps/generic/initfini.c.
52573         * sysdeps/i386/elf/Makefile: Remove file.
52574         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52576 2012-02-07  Marek Polacek  <polacek@redhat.com>
52578         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52579         * sysdeps/gnu/_G_config.h: Likewise.
52580         * sysdeps/mach/hurd/_G_config.h: Likewise.
52582 2012-02-07  Marek Polacek  <polacek@redhat.com>
52584         * math/Makefile (tests): Add tst-CMPLX2.
52585         * math/tst-CMPLX2.c: New file.
52587 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
52589         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52591         * math/libm-test.inc (jn_test): Add missing L suffix.
52593 2012-02-06  Marek Polacek  <polacek@redhat.com>
52595         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52596         * sysdeps/i386/fpu/e_powf.S: Likewise.
52597         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52598         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52599         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52600         * sysdeps/i386/fpu/e_pow.S: Likewise.
52601         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52602         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52603         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52604         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52605         * sysdeps/i386/fpu/e_log2.S: Likewise.
52606         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52607         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52608         * sysdeps/i386/fpu/e_powl.S: Likewise.
52609         * sysdeps/i386/fpu/s_log1p.S: Likewise.
52610         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52611         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52612         * sysdeps/i386/fpu/e_logl.S: Likewise.
52613         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52614         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52615         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52616         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52617         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52618         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52619         * sysdeps/i386/fpu/e_log.S: Likewise.
52620         * sysdeps/i386/fpu/s_cexp.S: Likewise.
52621         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52622         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52623         * sysdeps/i386/fpu/e_logf.S: Likewise.
52624         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52625         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52626         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52627         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52628         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52629         * sysdeps/i386/fpu/e_log10.S: Likewise.
52630         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52631         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52632         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52633         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52634         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52635         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52636         * sysdeps/i386/asm-syntax.h: Likewise.
52637         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52639         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52640         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52641         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52642         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52643         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52644         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52645         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52646         * sysdeps/powerpc/sysdep.h: Likewise.
52647         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52648         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52650 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52652         [BZ #411]
52653         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52655 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52657         * sysdeps/i386/sysdep.h: Include <features.h>.
52658         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52659         version.
52661 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
52663         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52664         Define.
52665         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52666         LOAD_PIC_REG_STR.
52668 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52670         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52671         (SETUP_PIC_REG): Use GET_PC_THUNK.
52672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52673         macro.
52675 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52677         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52678         for non-PIC compilation.
52679         (SETUP_PIC_REG): Add .p2align directive.
52680         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52681         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52682         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52683         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52684         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52685         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52686         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52687         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52688         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52689         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52690         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52691         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52692         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52693         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52694         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52695         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52696         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52697         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52698         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52699         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52700         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52701         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52702         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52703         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52704         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52706         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52707         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52708         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52709         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52710         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52711         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52712         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52713         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52714         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52715         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52716         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52717         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52718         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52719         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52720         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52722 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52724         * math/tst-CMPLX.c: Include <stdio.h>.
52726 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
52728         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52729         float.
52730         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52731         * sysdeps/sparc/bits/mathdef.h: Likewise.
52733 2012-01-31  Marek Polacek  <polacek@redhat.com>
52735         * libio/libio.h: Don't define _PARAMS.
52736         * locale/programs/config.h: Don't define PARAMS.
52737         * stdlib/strtol_l.c: Likewise.
52738         (__strtol_l): Remove PARAMS from the prototype.
52740 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
52742         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
52743         names.  Just use the correct names.  Remove unnecessary wrapper
52744         functions.
52745         * malloc/arena.c: Likewise.
52746         * malloc/hooks.c: Likewise.
52748         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52749         ARENA_TEST says not to.  Simplify test for creation of a new arena.
52750         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52752 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
52754         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52755         into tail calls.
52756         (update_get_addr): New function.
52757         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52758         GET_ADDR_MODULE parameter.
52760 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52762         * crypt/cert.c: Remove __STDC__ conditionals.
52763         * crypt/crypt-entry.c: Likewise.
52764         * crypt/crypt_util.c: Likewise.
52765         * libio/filedoalloc.c: Likewise.
52766         * libio/fileops.c: Likewise.
52767         * libio/genops.c: Likewise.
52768         * libio/iofclose.c: Likewise.
52769         * libio/iofdopen.c: Likewise.
52770         * libio/iofopen.c: Likewise.
52771         * libio/iofopen64.c: Likewise.
52772         * libio/iogetdelim.c: Likewise.
52773         * libio/iopopen.c: Likewise.
52774         * libio/obprintf.c: Likewise.
52775         * libio/oldfileops.c: Likewise.
52776         * libio/oldiofclose.c: Likewise.
52777         * libio/oldiofdopen.c: Likewise.
52778         * libio/oldiofopen.c: Likewise.
52779         * libio/oldiopopen.c: Likewise.
52780         * libio/wfiledoalloc.c: Likewise.
52781         * libio/wgenops.c: Likewise.
52782         * locale/programs/xmalloc.c: Likewise.
52783         * misc/syslog.c: Likewise.
52784         * stdio-common/xbug.c: Likewise.
52785         * string/memchr.c: Likewise.
52786         * string/memcmp.c: Likewise.
52787         * string/memrchr.c: Likewise.
52788         * string/rawmemchr.c: Likewise.
52789         * sysdeps/posix/getcwd.c: Likewise.
52790         * time/strftime_l.c: Likewise.
52792 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52794         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52795         * config.make.in (config-cflags-sse2avx): Define.
52796         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52797         Fix typo.
52799 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52801         * scripts/config.guess: Update from upstream config git repository.
52802         * scripts/config.sub: Likewise.
52804 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52806         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52807         (EM_NUM): Update.
52808         (R_TILEPRO_*, R_TILEGX_*): New macros.
52810         * scripts/firstversions.awk: Fix bug in version range handling.
52812         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52814         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52816         * include/sys/epoll.h: New file.
52817         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52818         libc_hidden_def.
52820 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52822         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52823         Avoid unnecessary __WORDSIZE == 64 test.
52824         (fmaxf): Use VEX format if possible.
52825         (fmax): Likewise.
52826         (fminf): Likewise.
52827         (fmin): Likewise.
52829         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52830         * math/math_private.h: Remove libc_fegetround* and
52831         libc_fesetround*.
52832         * sysdeps/i386/configure.in: Check for -msse2avx.
52833         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52834         also if SSE2AVX is defined.
52835         Remove libc_fegetround* and libc_fesetround*.
52836         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52837         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52838         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52839         of HAS_YMM_USABLE.
52840         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52841         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52842         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52843         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52844         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52846         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52848 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52850         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52851         size is not set.
52852         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52854 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52856         [BZ #13618]
52857         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52858         relocation.
52859         * Makeconfig (libm): Define.
52860         * elf/Makefile: Add rules to build and run tst-relsort1.
52861         * elf/tst-relsort1.c: New file.
52862         * elf/tst-relsort1mod1.c: New file.
52863         * elf/tst-relsort1mod2.c: New file.
52865 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52867         * math/s_ldexp.c: Remove __STDC__ conditionals.
52868         * math/s_ldexpf.c: Likewise.
52869         * math/s_ldexpl.c: Likewise.
52870         * math/s_nextafter.c: Likewise.
52871         * math/s_nexttowardf.c: Likewise.
52872         * math/s_significand.c: Likewise.
52873         * math/s_significandf.c: Likewise.
52874         * math/s_significandl.c: Likewise.
52875         * math/w_jnl.c: Likewise.
52876         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52877         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52878         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52879         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52880         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52881         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52882         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52883         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52884         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52885         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52886         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52887         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52888         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52889         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52890         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52891         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52892         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52893         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52894         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52895         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52896         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52897         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52898         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52899         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52900         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52901         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52902         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52903         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52904         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52905         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52906         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52907         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52908         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52909         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52910         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52911         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52912         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52913         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52914         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52915         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52916         * sysdeps/ieee754/k_standard.c: Likewise.
52917         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52918         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52919         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52920         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52921         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52922         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52923         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52924         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52925         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52926         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52927         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52928         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52929         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52930         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52931         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52932         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52933         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52934         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52935         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52936         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52937         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52938         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52939         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52940         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52941         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52942         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52943         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52945         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52946         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52947         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52948         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52949         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52950         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52952         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52953         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52954         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52955         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52956         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52957         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52959         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52960         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52961         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52964         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52965         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52966         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52968         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52977         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52978         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52983         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52986         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52987         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52991         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52992         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52995         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52996         * sysdeps/ieee754/s_matherr.c: Likewise.
52997         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52998         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52999         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53000         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53002 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53004         * crypt/md5.h: Remove __STDC__ conditionals.
53005         * libio/libioP.h: Likewise.
53006         * locale/programs/config.h: Likewise.
53007         * sysdeps/generic/sysdep.h: Likewise.
53008         * sysdeps/i386/asm-syntax.h: Likewise.
53009         * sysdeps/s390/asm-syntax.h: Likewise.
53010         * sysdeps/unix/sysdep.h: Likewise.
53011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53014 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53016         * libio/libio.h: Remove __STDC__ conditionals.
53017         * malloc/obstack.h: Likewise.
53018         * math/complex.h: Likewise.
53019         * math/math.h: Likewise.
53020         * sysdeps/generic/_G_config.h: Likewise.
53021         * sysdeps/gnu/_G_config.h: Likewise.
53022         * sysdeps/mach/hurd/_G_config.h: Likewise.
53023         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53024         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53025         * sysdeps/sparc/bits/mathdef.h: Likewise.
53027 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53029         [BZ #13583]
53030         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53031         Clean up HAS_* macros.
53032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53033         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53034         possible.
53035         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53036         HAS_AVX.
53037         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53038         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53039         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53040         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53041         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53043 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53045         * elf/tst-unique3.cc (gets): Remove declaration.
53046         * elf/tst-unique3lib.cc (gets): Likewise.
53047         * elf/tst-unique3lib2.cc (gets): Likewise.
53048         * elf/tst-unique4.cc (gets): Likewise.
53050 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53052         * include/stdio.h: Add C++ protection.  Add gets declarations and
53053         definitions.
53054         * debug/tst-chk1.c: Don't declare gets here.
53055         * stdio-common/tst-gets.c: Likewise.
53057 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53059         * posix/glob: Remove directory.
53061 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53063         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53065 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53067         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53068         of the non-standard EPFNOSUPPORT.
53070 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53072         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53073         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53074         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53076 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53078         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53080 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53082         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53083         transient errors.
53084         * nscd/grpcache.c (cache_addgr): Likewise.
53085         * nscd/hstcache.c (cache_addhst): Likewise.
53086         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53087         * nscd/pwdcache.c (cache_addpw): Likewise.
53088         * nscd/servicescache.c (cache_addserv): Likewise.
53090 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53092         * malloc/malloc.c: Various cleanups.
53093         * malloc/hooks.c: Likewise.
53095         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53096         * stdlib/bug-fmtmsg1.c: New file.
53098         * stdlib/fmtmsg.c (init): Add missing unlock.
53099         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53101 2012-01-12  Marek Polacek  <polacek@redhat.com>
53103         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53104         and _GNU_SOURCE.
53106 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53108         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53109         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53110         macro to ensure uniqueness of label name.
53111         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53112         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53114 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53116         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53118         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53119         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53120         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53123 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53125         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53127         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53128         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53129         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53131         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53133         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53134         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53135         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53136         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53138         * math/bits/math-finite.h: Add ldexp support.
53140 2012-01-10  Marek Polacek  <polacek@redhat.com>
53142         * locale/programs/localedef.h (show_archive_content): Add noreturn
53143         attribute.
53145 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53147         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53149 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53151         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53153         * io/Makefile (headers): Add bits/poll2.h.
53155 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53158         typo #include statement.
53160 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53162         * include/sys/cdefs.h: Define __attribute_alloc_size.
53163         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53164         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53165         * elf/pldd.c: Likewise.
53166         * iconv/iconv_charmap.c: Likewise.
53167         * iconv/iconvconfig.c: Likewise.
53168         * iconv/strtab.c: Likewise.
53169         * locale/programs/locale.c: Likewise.
53170         * locale/programs/localedef.h: Likewise.
53171         * locale/programs/simple-hash.c: Likewise.
53172         * nscd/nscd.h: Likewise.
53173         * nss/makedb.c: Likewise.
53174         * sysdeps/generic/ldconfig.h: Likewise.
53175         * locale/programs/localedef.c: Remove xmalloc prototype.
53176         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53178 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53180         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53181         appropriate.
53183 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53185         * math/Makefile (tests): Add tst-CMPLX.
53186         * math/tst-CMPLX.c: New file.
53188         * math/complex.h (CMPLXL): Fix typo.
53190         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53191         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53192         GLIBC_2.16.
53193         * debug/tst-chk1.c: Add poll and ppoll tests.
53194         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53195         * include/sys/poll.h: Add hidden proto for ppoll.
53196         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53197         * sysdeps/mach/hurd/ppoll.c: Likewise.
53198         * io/ppoll.c: Likewise.
53199         * debug/poll_chk.c: New file.
53200         * debug/ppoll_chk.c: New file.
53201         * include/bits/poll2.h: New file.
53202         * io/bits/poll2.h: New file.
53204         [BZ #1350]
53205         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53207         * configure.in: static is always set to yes.  Remove.
53208         * config.make.in: Don't set build-static.
53209         * Makeconfig: Remove use of build-static.
53210         * dlfcn/Makefile: Likewise.
53211         * elf/Makefile: Likewise.
53212         * math/Makefile: Likewise.
53213         * misc/Makefile: Likewise.
53214         * nptl/Makefile: Likewise.
53215         * sysdeps/mach/hurd/Makefile: Likewise.
53217         * configure.in: PWD_P is not used anymore.
53218         * config.make.in: Remove PWD_P entry.
53220         * configure.in: Remove last remnants of RANLIB.
53221         No need to check for signed size_t anymore.
53222         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53223         and IA-64.
53224         Remove __builtin_expect test because we require at least gcc 3.4.
53225         * aclocal.m4: Likewise.
53227         * wcsmbs/mbrtoc16.c: Implement using towc function.
53228         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53229         * wcsmbs/wcsmbsload.c: Likewise.
53230         * iconv/gconv_simple.c: Likewise.
53231         * iconv/gconv_int.h: Likewise.
53232         * iconv/gconv_builtin.h: Likewise.
53233         * iconv/iconv_prog.c: Remove CHAR16 handling.
53235         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53237         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53239         * configure.in: Remove --with-elf and --enable-bounded options.
53240         Dont set base_machine for ia64.  More non-ELF conditions removed.
53241         Remove testing and setting of leading underscore information.
53242         * config.make.in (build-bounded): Set to no.
53243         * config.h.in: Remove NO_UNDERSCORES entry.
53244         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53245         them.
53246         * csu/start.c: Remove !NO_UNDERSCORE code.
53247         * locale/localeinfo.h: Likewise.
53248         * sysdeps/generic/machine-gmon.h: Likewise.
53249         * sysdeps/generic/sysdep.h: Likewise.
53250         * sysdeps/i386/sysdep.h: Likewise.
53251         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53252         * sysdeps/mach/sysdep.h: Likewise.
53253         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53254         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53255         * sysdeps/sh/sysdep.h: Likewise.
53256         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53257         * sysdeps/unix/i386/sysdep.S: Likewise.
53258         * sysdeps/unix/sparc/start.c: Likewise.
53259         * sysdeps/unix/sparc/sysdep.S: Likewise.
53260         * sysdeps/unix/sparc/sysdep.h: Likewise.
53261         * sysdeps/unix/start.c: Likewise.
53262         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53263         * sysdeps/x86_64/sysdep.h: Likewise.
53265 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53267         [BZ #13553]
53268         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53269         for non-gcc.
53270         * argp/argp-fmtstream.h: Use const instead __const.
53271         * argp/argp.h: Likewise.
53272         * assert/assert.h: Likewise.
53273         * bits/fenv.h: Likewise.
53274         * bits/sched.h: Likewise.
53275         * bits/sigset.h: Likewise.
53276         * bits/sigthread.h: Likewise.
53277         * catgets/nl_types.h: Likewise.
53278         * conform/data/pthread.h-data: Likewise.
53279         * crypt/crypt-private.h: Likewise.
53280         * crypt/crypt.h: Likewise.
53281         * crypt/crypt_util.c: Likewise.
53282         * ctype/ctype.h: Likewise.
53283         * debug/execinfo.h: Likewise.
53284         * debug/mbsnrtowcs_chk.c: Likewise.
53285         * debug/mbsrtowcs_chk.c: Likewise.
53286         * debug/wcsnrtombs_chk.c: Likewise.
53287         * debug/wcsrtombs_chk.c: Likewise.
53288         * debug/wcstombs_chk.c: Likewise.
53289         * dirent/dirent.h: Likewise.
53290         * dlfcn/dlfcn.h: Likewise.
53291         * elf/neededtest4.c: Likewise.
53292         * grp/grp.h: Likewise.
53293         * gshadow/gshadow.h: Likewise.
53294         * iconv/gconv.h: Likewise.
53295         * iconv/gconv_int.h: Likewise.
53296         * iconv/gconv_simple.c: Likewise.
53297         * iconv/iconv.h: Likewise.
53298         * iconv/loop.c: Likewise.
53299         * iconv/skeleton.c: Likewise.
53300         * include/aio.h: Likewise.
53301         * include/aliases.h: Likewise.
53302         * include/argz.h: Likewise.
53303         * include/arpa/inet.h: Likewise.
53304         * include/assert.h: Likewise.
53305         * include/dirent.h: Likewise.
53306         * include/dlfcn.h: Likewise.
53307         * include/execinfo.h: Likewise.
53308         * include/fcntl.h: Likewise.
53309         * include/fenv.h: Likewise.
53310         * include/glob.h: Likewise.
53311         * include/grp.h: Likewise.
53312         * include/libintl.h: Likewise.
53313         * include/mntent.h: Likewise.
53314         * include/netdb.h: Likewise.
53315         * include/pwd.h: Likewise.
53316         * include/rpc/netdb.h: Likewise.
53317         * include/sched.h: Likewise.
53318         * include/search.h: Likewise.
53319         * include/shadow.h: Likewise.
53320         * include/signal.h: Likewise.
53321         * include/stdio.h: Likewise.
53322         * include/stdlib.h: Likewise.
53323         * include/string.h: Likewise.
53324         * include/sys/socket.h: Likewise.
53325         * include/sys/stat.h: Likewise.
53326         * include/sys/statfs.h: Likewise.
53327         * include/sys/statvfs.h: Likewise.
53328         * include/sys/syslog.h: Likewise.
53329         * include/sys/time.h: Likewise.
53330         * include/sys/uio.h: Likewise.
53331         * include/time.h: Likewise.
53332         * include/unistd.h: Likewise.
53333         * include/utmp.h: Likewise.
53334         * include/wchar.h: Likewise.
53335         * include/wctype.h: Likewise.
53336         * inet/aliases.h: Likewise.
53337         * inet/arpa/inet.h: Likewise.
53338         * inet/netinet/ether.h: Likewise.
53339         * inet/netinet/in.h: Likewise.
53340         * intl/libintl.h: Likewise.
53341         * io/bits/fcntl2.h: Likewise.
53342         * io/fcntl.h: Likewise.
53343         * io/ftw.h: Likewise.
53344         * io/sys/poll.h: Likewise.
53345         * io/sys/stat.h: Likewise.
53346         * io/sys/statfs.h: Likewise.
53347         * io/sys/statvfs.h: Likewise.
53348         * io/utime.h: Likewise.
53349         * libio/bits/stdio.h: Likewise.
53350         * libio/bits/stdio2.h: Likewise.
53351         * libio/libio.h: Likewise.
53352         * libio/libioP.h: Likewise.
53353         * libio/stdio.h: Likewise.
53354         * locale/lc-ctype.c: Likewise.
53355         * locale/locale.h: Likewise.
53356         * login/utmp.h: Likewise.
53357         * malloc/arena.c: Likewise.
53358         * malloc/malloc.c: Likewise.
53359         * malloc/malloc.h: Likewise.
53360         * malloc/mcheck.c: Likewise.
53361         * malloc/mtrace.c: Likewise.
53362         * math/bits/mathcalls.h: Likewise.
53363         * math/fenv.h: Likewise.
53364         * math/math_private.h: Likewise.
53365         * misc/bits/error.h: Likewise.
53366         * misc/bits/syslog.h: Likewise.
53367         * misc/err.h: Likewise.
53368         * misc/error.h: Likewise.
53369         * misc/fstab.h: Likewise.
53370         * misc/mntent.h: Likewise.
53371         * misc/regexp.h: Likewise.
53372         * misc/search.h: Likewise.
53373         * misc/sgtty.h: Likewise.
53374         * misc/sys/mman.h: Likewise.
53375         * misc/sys/syslog.h: Likewise.
53376         * misc/sys/uio.h: Likewise.
53377         * misc/sys/xattr.h: Likewise.
53378         * misc/ttyent.h: Likewise.
53379         * nis/rpcsvc/ypclnt.h: Likewise.
53380         * nss/nss.h: Likewise.
53381         * posix/bits/unistd.h: Likewise.
53382         * posix/fnmatch.h: Likewise.
53383         * posix/glob.h: Likewise.
53384         * posix/sched.h: Likewise.
53385         * posix/spawn.h: Likewise.
53386         * posix/sys/wait.h: Likewise.
53387         * posix/unistd.h: Likewise.
53388         * posix/wordexp.h: Likewise.
53389         * pwd/pwd.h: Likewise.
53390         * resolv/netdb.h: Likewise.
53391         * resource/sys/resource.h: Likewise.
53392         * rt/aio.h: Likewise.
53393         * rt/bits/mqueue2.h: Likewise.
53394         * rt/mqueue.h: Likewise.
53395         * shadow/shadow.h: Likewise.
53396         * signal/signal.h: Likewise.
53397         * socket/send.c: Likewise.
53398         * socket/sendto.c: Likewise.
53399         * socket/sys/socket.h: Likewise.
53400         * stdio-common/printf.h: Likewise.
53401         * stdlib/bits/stdlib.h: Likewise.
53402         * stdlib/fmtmsg.h: Likewise.
53403         * stdlib/monetary.h: Likewise.
53404         * stdlib/stdlib.h: Likewise.
53405         * stdlib/ucontext.h: Likewise.
53406         * streams/stropts.h: Likewise.
53407         * string/argz.h: Likewise.
53408         * string/bits/string2.h: Likewise.
53409         * string/string.h: Likewise.
53410         * string/strings.h: Likewise.
53411         * sunrpc/rpc/auth.h: Likewise.
53412         * sunrpc/rpc/auth_des.h: Likewise.
53413         * sunrpc/rpc/clnt.h: Likewise.
53414         * sunrpc/rpc/netdb.h: Likewise.
53415         * sunrpc/rpc/pmap_clnt.h: Likewise.
53416         * sunrpc/rpc/xdr.h: Likewise.
53417         * sysdeps/generic/inttypes.h: Likewise.
53418         * sysdeps/generic/net/if.h: Likewise.
53419         * sysdeps/generic/sys/swap.h: Likewise.
53420         * sysdeps/gnu/net/if.h: Likewise.
53421         * sysdeps/gnu/utmpx.h: Likewise.
53422         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53423         * sysdeps/i386/i486/bits/string.h: Likewise.
53424         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53425         * sysdeps/s390/bits/string.h: Likewise.
53426         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53427         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53428         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53429         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53430         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53431         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53432         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53433         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53434         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53435         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53436         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53437         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53438         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53439         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53440         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53441         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53442         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53444         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53445         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53446         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53447         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53448         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53449         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53450         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53451         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53452         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53453         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53454         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53455         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53456         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53457         * sysvipc/sys/ipc.h: Likewise.
53458         * sysvipc/sys/msg.h: Likewise.
53459         * sysvipc/sys/sem.h: Likewise.
53460         * sysvipc/sys/shm.h: Likewise.
53461         * termios/termios.h: Likewise.
53462         * time/sys/time.h: Likewise.
53463         * time/time.h: Likewise.
53464         * wcsmbs/bits/wchar2.h: Likewise.
53465         * wcsmbs/uchar.h: Likewise.
53466         * wcsmbs/wchar.h: Likewise.
53467         * wctype/wctype.h: Likewise.
53469         [BZ #13551]
53470         * Makeconfig: Remove all but ELF support including AIX support.
53471         * Makerules: Likewise.
53472         * config.h.in: Likewise.
53473         * config.make.in: Likewise.
53474         * configure: Likewise.
53475         * configure.in: Likewise.
53476         * csu/Makefile: Likewise.
53477         * csu/version.c: Likewise.
53478         * debug/Makefile: Likewise.
53479         * dlfcn/Makefile: Likewise.
53480         * elf/Makefile: Likewise.
53481         * extra-lib.mk: Likewise.
53482         * iconv/Makefile: Likewise.
53483         * include/libc-symbols.h: Likewise.
53484         * include/shlib-compat.h: Likewise.
53485         * resolv/Makefile: Likewise.
53486         * resolv/res_libc.c: Likewise.
53487         * rt/Makefile: Likewise.
53488         * sysdeps/i386/asm-syntax.h: Likewise.
53489         * sysdeps/i386/sysdep.h: Likewise.
53490         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53491         * sysdeps/mach/sysdep.h: Likewise.
53492         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53493         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53494         * sysdeps/s390/asm-syntax.h: Likewise.
53495         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53496         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53497         * sysdeps/sh/sysdep.h: Likewise.
53498         * sysdeps/unix/sparc/sysdep.h: Likewise.
53499         * sysdeps/wordsize-32/divdi3.c: Likewise.
53500         * sysdeps/x86_64/sysdep.h: Likewise.
53502         * argp/Versions: Remove _argp_unlock_xxx.
53504         [BZ #13559]
53505         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53506         * abilist/libBrokenLocale.abilist: Likewise.
53507         * abilist/libanl.abilist: Likewise.
53508         * abilist/libc.abilist: Likewise.
53509         * abilist/libcrypt.abilist: Likewise.
53510         * abilist/libdl.abilist: Likewise.
53511         * abilist/libm.abilist: Likewise.
53512         * abilist/libnsl.abilist: Likewise.
53513         * abilist/libpthread.abilist: Likewise.
53514         * abilist/libresolv.abilist: Likewise.
53515         * abilist/librt.abilist: Likewise.
53516         * abilist/libthread_db.abilist: Likewise.
53517         * abilist/libutil.abilist: Likewise.
53518         * abilist/libnss_db.abilist: New file.
53520         * scripts/abilist.awk: Add support for indirect functions.
53522         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53524         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53526         * shlib-versions: Remove entries for ports architectures.
53528         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53529         files in ports.
53530         * elf/stackguard-macros.h: Remove support for IA-64.
53531         * elf/tst-auditmod1.c: Likewise.
53532         * sysdeps/generic/ldsodefs.h: Likewise.
53534         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53535         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53536         configure files.
53538         [BZ #13552]
53539         * configure.in: Remove --enable-omitfp support.
53540         * FAQ.in: Adjust.
53541         * config.make.in: Likewise.
53542         * Makeconfig: Likewise.
53543         * manual/install.texi: Likewise.
53545         In case anyone cares, the IA-64 architecture could move to ports.
53546         * sysdeps/ia64/*: Removed.
53547         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53548         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53550         [BZ #13555]
53551         * configure.in: Remove entries for unsupported architectures.
53553         [BZ #13533]
53554         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53555         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
53556         routines.
53557         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53558         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53559         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
53560         fall back to using wcrtomb.
53561         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53562         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
53563         renaming.
53564         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53565         * wcsmbs/tst-c16c32-1.c: New file.
53567         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53568         local variable.
53570         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53572         * elf/tst-unique3.cc: Add explicit declaration of gets.
53573         * elf/tst-unique3lib.cc: Likewise.
53574         * elf/tst-unique3lib2.cc: Likewise.
53575         * elf/tst-unique4.cc: Likewise.
53577         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53579 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
53581         [BZ #13566]
53582         * assert/assert.h (static_assert): Don't define for C++.
53583         * libio/stdio.h (gets): Do declare for C++ <= C++11.
53584         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53586 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
53588         * iconv/loop.c (single loop): Fix assertion in storing of
53589         remaining bytes.
53591         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53593 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
53595         * posix/getconf.c: Update copyright year.
53596         * nss/getent.c: Likewise.
53597         * nss/makedb.c: Likewise.
53598         * iconv/iconvconfig.c: Likewise.
53599         * iconv/iconv_prog.c: Likewise.
53600         * elf/ldconfig.c: Likewise.
53601         * elf/pldd.c: Likewise.
53602         * elf/sotruss.ksh: Likewise.
53603         * catgets/gencat.c: Likewise.
53604         * csu/version.c: Likewise.
53605         * elf/ldd.bash.in: Likewise.
53606         * elf/sprof.c (print_version): Likewise.
53607         * locale/programs/locale.c: Likewise.
53608         * locale/programs/localedef.c: Likewise.
53609         * login/programs/pt_chown.c: Likewise.
53610         * nscd/nscd.c (print_version): Likewise.
53611         * debug/xtrace.sh: Likewise.
53612         * malloc/memusage.sh: Likewise.
53613         * malloc/mtrace.pl: Likewise.
53614         * debug/catchsegv.sh: Likewise.
53616 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
53618         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53619         pure attribute.
53621 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
53623         [BZ #13533]
53624         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53625         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53626         transformations.
53627         * iconv/gconv_int.h: Likewise.
53628         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53629         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53630         from libc for GLIBC_2.16.
53631         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53632         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53633         * wcsmbs/uchar.h: Really define mbstate_t.
53634         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53635         * wcsmbs/c16rtomb.c: New file.
53636         * wcsmbs/mbrtoc16.c: New file.
53637         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53638         for C/POSIX locale.
53639         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53640         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53642         * wcsmbs/wchar.h: Add missing __restrict.
53644 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53646         [BZ #13532]
53647         * time/Makefile (routines): Add timespec_get.
53648         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53649         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
53650         timespec for ISO C11.
53651         * time/timespec_get.c: New file.
53652         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53653         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53655         [BZ #13531]
53656         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53657         * stdlib/stdlib.h: Declare aligned_alloc.
53658         * Versions.def: Add GLIBC_2.16 for libc.
53659         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53661         [BZ 13527]
53662         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53663         ISO C11.
53665         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53666         code.
53668         [BZ #13528]
53669         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53671         [BZ #13529]
53672         * assert/assert.h (static_assert): Define.
53674         * version.h: Update for 2.16 development version.
53676         [BZ #13526]
53677         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53678         _ISOC11_SOURCE.
53680         * version.h (RELEASE): Bump for 2.15 release.
53681         * include/features.h (__GLIBC_MINOR__): Bump to 15.
53683         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53684         Patch by Marek Polacek <mpolacek@redhat.com>.
53686         * bits/byteswap.h: Protect long long constants with __extension__.
53687         * sysdeps/i386/bits/byteswap.h: Likewise.
53688         * sysdeps/ia64/bits/byteswap.h: Likewise.
53689         * sysdeps/s390/bits/byteswap.h: Likewise.
53690         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53692 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53694         [BZ #13540]
53695         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53696         destination buffer.
53697         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53699 2011-12-23  Marek Polacek  <polacek@redhat.com>
53701         * elf/dl-addr.c (determine_info): Add inline keyword.
53702         * elf/tst-auditmod4b.c (check_avx): Likewise.
53703         * elf/tst-auditmod6b.c (check_avx): Likewise.
53704         * elf/tst-auditmod6c.c (check_avx): Likewise.
53705         * elf/tst-auditmod7b.c (check_avx): Likewise.
53707 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53709         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53710         !__SSE_MATH__.
53712 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53714         [BZ #13540]
53715         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53716         processing for last bytes.
53718 2011-08-06  Bruno Haible  <bruno@clisp.org>
53720         [BZ #13061]
53721         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53722         U+0385, not to U+1FEE.
53724         [BZ #13062]
53725         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53726         entry for U+00A5 U+0301.
53728 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53730         [BZ #13166]
53731         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53732         buffer for the output is too small.
53734         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53735         optimization.
53737         [BZ #13185]
53738         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53739         SSE flags if possible.
53741 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53743         [BZ #13540]
53744         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53745         processing for last bytes.
53747 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
53749         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53750         (syscall-list-default-options, syscall-list-default-condition)
53751         (syscall-list-includes): Define.
53752         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53753         list of ABIs and options and #if conditions for each ABI.  Do not
53754         handle common syscalls between ABIs specially.
53755         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53756         Remove.
53757         (syscall-list-variants, syscall-list-32bit-options)
53758         (syscall-list-32bit-condition, syscall-list-64bit-options)
53759         (syscall-list-64bit-condition): Define.
53760         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53761         (syscall-list-variants, syscall-list-32bit-options)
53762         (syscall-list-32bit-condition, syscall-list-64bit-options)
53763         (syscall-list-64bit-condition): Define.
53764         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53765         Remove.
53766         (syscall-list-variants, syscall-list-32bit-options)
53767         (syscall-list-32bit-condition, syscall-list-64bit-options)
53768         (syscall-list-64bit-condition): Define.
53769         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53770         Remove.
53771         (syscall-list-variants, syscall-list-32bit-options)
53772         (syscall-list-32bit-condition, syscall-list-64bit-options)
53773         (syscall-list-64bit-condition): Define.
53775 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53777         * locale/iso-639.def: Add brx entry.
53779         [BZ #13328]
53780         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53781         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53783         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53784         __feraiseexcept_renamed.
53786 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53788         [BZ #13538]
53789         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53790         EPOLLET with unsigned values.
53791         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53792         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53794         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53795         to large cancellation.
53796         * math/s_cacoshf.c: Likewise.
53797         * math/s_cacoshl.c: Likewise.
53799 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53801         [BZ #13305]
53802         [BZ #12786]
53803         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53804         * math/s_cacoshf.c: Likewise.
53805         * math/s_cacoshl.c: Likewise.
53807 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53809         [BZ #13439]
53810         * iconv/gconv.h: Define __GCONV_SWAP.
53811         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53812         * iconvdata/utf-16.c: Likewise.
53813         * iconvdata/utf-32.c: Likewise.
53815 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53817         [BZ #13524]
53818         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53819         numerator after shifting it by one limb.
53821 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53823         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53824         under [__USE_EXTERN_INLINES].
53826 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53828         [BZ #13446]
53829         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53831 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53833         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53834         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53835         optimized code.
53836         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53837         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53838         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53839         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53840         for strncasecmp/strncasecmp_l compilation.
53841         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53842         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53844 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53846         [BZ #13484]
53847         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53848         of __asm__.
53850 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53852         [BZ #13506]
53853         * time/tzfile.c (__tzfile_read): Check values from file header.
53855 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53857         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53858         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53859         * powerpc/powerpc32/dl-start.S: Likewise.
53860         * powerpc/powerpc32/elf/start.S: Likewise.
53861         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53862         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53863         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53864         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53865         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53866         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53867         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53868         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53869         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53870         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53871         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53872         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53873         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53874         * powerpc/powerpc32/memset.S: Likewise.
53875         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53876         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53877         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53878         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53879         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53880         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53881         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53882         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53883         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53884         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53885         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53886         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53887         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53889 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53891         * math/libm-test.inc: Added more nearbyint tests.
53892         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53893         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53894         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53897 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53899         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53900         FD_CLOEXEC.
53902 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53904         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53905         Add wcscpy-ssse3 wcscpy-c.
53906         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53907         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53908         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53909         * sysdeps/x86_64/wcschr.S: New file.
53910         * sysdeps/x86_64/wcsrchr.S: New file.
53911         * string/test-strcmp.c: Remove checking of wcscmp function for
53912         wrong alignments.
53913         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53914         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53915         wcsrchr-sse2 wcsrchr-c.
53916         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53917         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53918         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53919         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53920         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53921         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53922         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53923         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53924         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53925         * wcsmbc/wcschr.c (WCSCHR): New macro.
53927 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53929         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53930         * wcsmbs/test-wcsrchr.c: New file.
53931         * string/test-strrchr.c: Add wcsrchr support.
53932         (WIDE): New macro.
53933         * wcsmbs/test-wcscpy.c: New file.
53934         * string/test-strcpy.c: Add wcscpy support.
53935         (WIDE): New macro.
53937 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53939         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53940         the inner loop.
53942 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53944         [BZ #13472]
53945         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53947 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53949         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53950         Minor optimizations.
53952         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53953         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53954         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53956 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53958         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53959         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53960         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53961         for gcc to avoid warnings.
53962         * inet/Makefile (tests): Add tst-checks.
53963         * inet/tst-checks.c: New file.
53965         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53966         warning.
53968         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53969         __wmemcmp_sse2.
53971         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53972         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53974         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53976 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53978         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53979         problem.
53981         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53983 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53985         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53986         conditional on GCC version.
53987         (__arch_compare_and_exchange_val_8_acq)
53988         (__arch_compare_and_exchange_val_16_acq)
53989         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53990         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53991         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53993 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53995         * sysdeps/sh/backtrace.c: New file.
53997 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53999         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54000         parenthesis.
54002 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54004         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54005         falling back to utime.
54007 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54009         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54010         expectations for float.
54012 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54014         * locale/weight.h (findidx): Add parameter len.
54015         * locale/weightwc.h (findidx): Likewise.
54016         * posix/fnmatch_loop.c (FCT): Adjust caller.
54017         * posix/regcomp.c (build_equiv_class): Likewise.
54018         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54019         * posix/regexec.c (check_node_accept_bytes): Likewise.
54020         * string/strcoll_l.c (STRCOLL): Likewise.
54021         * string/strxfrm_l.c (STRXFRM): Likewise.
54023 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54025         * Makefile.in: Remove CVSOPT handling.
54026         * configure.in: Remove use of AC_REVISION.
54027         * iconvdata/Makefile (distribute): No need to filter out CVS.
54028         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54029         handling.
54031 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54033         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54034         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54035         [USE_AS_STRNCASECMP_L]: Likewise.
54036         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54037         NO_TLS_DIRECT_SEG_REFS.
54038         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54039         Fix argument offsets for non-PIC.
54040         [USE_AS_STRNCASECMP_L]: Likewise.
54041         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54042         NO_TLS_DIRECT_SEG_REFS.
54044 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54046         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54047         O_CLOEXEC.
54048         * locale/loadlocale.c (_nl_load_locale): Likewise.
54050 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54052         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54053         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54054         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54055         (SYSCALL_GETTIME): Set errno on error.
54057         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54058         count references to noai6ai_cached.
54060 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54062         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54064         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54065         FD_CLOEXEC for /proc/self/maps.
54067         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54068         FD_CLOEXEC for /proc/meminfo.
54070         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54071         gai.conf.
54073         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54074         FD_CLOEXEC for given file.
54076         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54078         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54079         FD_CLOEXEC for /etc/hosts.
54080         (_gethtent): Likewise.
54082         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54084         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54085         cancellation and set FD_CLOEXEC for /etc/netgroup.
54087         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54088         reading /etc/publickey.
54090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54091         allow cancellation when reading /etc/group.
54093         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54094         cancellation.
54095         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54097         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54098         when using data file.
54100         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54102         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54103         (write_nis_obj): Use "c" and "e" in fopen.
54105         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54107         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54109         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54111         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54113         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54114         locale.alias.
54116         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54118         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54120         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54122         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54123         file parsing and set FD_CLOEXEC.
54125 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54127         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54129 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54131         * malloc/arena.c (arena_get2): Don't call reused_arena when
54132         _int_new_arena failed.
54134 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54136         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54137         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54138         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54139         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54140         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54142         to compile strcasecmp and strncasecmp.
54143         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54144         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54148 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54150         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54151         locale-defines.sym to gen-as-const-headers.
54152         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54153         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54155         to compile strcasecmp and strncasecmp.
54156         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54157         strcasecmp_l and strncasecmp_l.
54158         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54159         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54160         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54161         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54162         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54163         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54164         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54165         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54166         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54167         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54168         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54170 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54172         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54173         result of SYSDEP_GETTIME_CPU to retval.
54174         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54175         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54177         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54178         variable.
54180         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54181         mantissa words.
54182         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54184         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54185         from unused variable.
54187         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54188         DWARF definitions.
54189         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54190         for assembling.
54192         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54193         over namespaces.
54195         * sunrpc/rpc_prot.c (rejected): Fix case value.
54197         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54198         unsigned long long int to avoid warnings in shift.
54200         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54201         of use of trans.
54202         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54203         variable tmp.
54205         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54206         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54207         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54209         * nis/nis_table.c (nis_list): Use variable of correct type for
54210         result of __follow_path call.
54212 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54214         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54215         of math functions ceil, trunc, floor, round, and sqrt, when
54216         avaliable on the platform.
54217         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54218         name clash.
54219         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54220         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54221         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54223 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54225         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54226         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54228 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54230         * include/unistd.h: Fix __readlink return type.
54231         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54233 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54235         * stdlib/ucontext.h: Undo last change for makecontext.
54237 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54239         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54241         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54242         * setjmp/setjmp.h: Mark functions as non-leaf.
54243         * setjmp/bits/setjmp2.h: Likewise.
54244         * stdlib/ucontext.h: Likewise.
54246 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54248         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54249         (reused_arena): Don't check arena limit.
54250         (arena_get2): Atomically check arena limit.
54252 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54254         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54255         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54258         instructions.
54260 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54262         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54263         handler when locking.
54265         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54266         Fix size of allocated buffer.
54268 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54270         [BZ #10103]
54271         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54272         declarations for long double functions.
54273         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54275         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54277 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54279         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54280         installed.
54282         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54283         is disabled.
54285 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54287         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54289 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54291         * include/alloca.h (stackinfo_alloca_round): Define.
54292         (extend_alloca): Use it.
54293         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54294         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54295         here.
54297         * scripts/check-local-headers.sh: Ignore libaudit.h.
54299         * nscd/Makefile (extra-objs): Make recursively expanded.
54301 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54303         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54304         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54306         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54307         * posix/tst-rfc3484-2.c: Likewise.
54308         * posix/tst-rfc3484-3.c: Likewise.
54310         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54311         process_vm_writev.
54312         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54313         process_vm_writev.
54314         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54315         process_vm_writev from libc using GLIBC_2.15 version.
54317         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54319 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54321         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54322         stack usage.
54324 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54326         [BZ #13367]
54327         * nss/getent.c (initgroups_keys): Show error message in case no group
54328         names are given.
54330         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54331         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54332         __bump_nl_timestamp.
54333         * nscd/connections (nscd_init): When host database is served open
54334         netlink socket and request notification about configuration changes.
54335         (main_loop_poll): Track netlink file descriptor and bump timestamp
54336         in case data becomes available.
54337         (main_loop_epoll): Likewise.
54338         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54339         (database_pers_head): Add extra_data fileds.
54340         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54341         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54342         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54343         Adjust caller.
54344         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54345         in6ai data, call __free_in6ai.
54346         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54347         Add -DHAVE_NETLINK.
54348         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54349         interface information.  Reuse previous data if netlink timestamp
54350         is not changed.
54351         (__bump_nl_timestamp): New function.
54352         (__free_in6ai): New function.
54354 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54356         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54357         close_not_cancel_no_status here.
54358         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54360 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54362         [BZ #13276]
54363         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54364         return value.
54366         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54367         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54368         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54370 2011-07-03  Andreas Jaeger  <aj@suse.de>
54372         [BZ #10709]
54373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54374         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54375         * math/libm-test.inc (sin_test): Add test case.
54377 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54379         [BZ #13337]
54380         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54381         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54383         * elf/chroot_canon.c (chroot_canon): Cleanups.
54385         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54387         [BZ #13335]
54388         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54389         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54391         * string/test-strchr.c: Make usable for strchrnul testing.
54392         * string/test-strchrnul.c: New file.
54393         * string/Makefile (strop-tests): Add strchrnul.
54395         * po/it.po: Update from translation team.
54396         * po/es.po: Likewise.
54398 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54400         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54401         the three constants needed as parameters.  Drop the others.
54402         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54403         __m128i_strloadu_tolower.
54404         Create and initialize variable zero and use it in all the places
54405         where _mm_setzero_si128 was used.
54407         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54408         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54409         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54410         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54411         anymore.
54412         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54413         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54414         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54415         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54416         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54417         __mpranred, __mptan.
54418         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54419         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54420         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54421         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54422         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54423         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54424         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54425         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54426         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54428 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54430         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54431         redefine if SHARED.
54432         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54434         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54435         wide char related routines to wcsmbs subdir.
54437 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54439         [BZ #13344]
54440         * misc/sys/cdefs.h (__THROWNL): Define.
54441         * posix/unistd.h: Use __THREADNL instead of __THREAD
54442         for memory synchronization functions.
54444 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54446         [BZ #13349]
54447         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54448         doesn't exist.
54449         * manual/stdio.texi (Obstack Streams): Node removed.
54451 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54453         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54454         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54455         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54457         * math/math_private.h (math_force_eval): Allow non-addressable
54458         arguments.
54459         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54461 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54463         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54464         file is not needed.
54466         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54467         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54468         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54469         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54470         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54471         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54472         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54473         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54474         Add AVX variants.
54475         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54476         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54477         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54478         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54479         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54480         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54481         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54482         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54483         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54484         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54485         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54486         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54487         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54488         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54489         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54490         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54491         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54492         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54493         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54495         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54496         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54498         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54499         place.  Use VEX encoding when compiling for AVX.
54501 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54503         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54504         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54506         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54508 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54510         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54511         useless if() expression.
54512         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54513         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54514         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54515         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54516         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54521         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54522         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54523         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54524         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54525         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54526         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54527         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54528         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54529         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54530         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54532         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54534 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54536         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54537         condition.
54538         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54540 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54542         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54543         .text section.  Avoid duplicate constants.
54544         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54554         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54556         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54559         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54561         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54567         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54568         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54569         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54570         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54571         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54572         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54573         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54574         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54575         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54576         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54577         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54578         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54579         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54580         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54581         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54582         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54583         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54584         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54585         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54586         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54587         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54588         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54590 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
54592         * sysdeps/x86_64/dla.h: Move to ...
54593         * sysdeps/x86_64/fpu/dla.h: ...here.
54594         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54595         situations.  Use __builtin_fma only for gcc 4.6 and up.
54597         * config.make.in: Add have-mfma4 entry.
54598         * configure.in: Substitute libc_cv_cc_fma4.
54599         * math/Makefile (dbl-only-routines): Add sincostab.
54600         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54601         Use __sincostab not sincos.
54602         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54603         name is a macro.
54604         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54606         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
54608         using __copysign.
54609         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
54610         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
54611         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54612         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54613         and __inv.
54614         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54615         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54616         __copysign.
54617         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
54618         define aliases when function name is a macro.
54619         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54620         sysdeps/ieee754/dbl-64/sincos.tbl.
54621         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54622         fma4-enabled routines.
54623         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54624         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54625         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54626         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54627         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54628         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54629         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54630         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54631         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54632         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54633         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54634         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54635         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54636         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54637         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54638         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54639         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54640         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54641         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54642         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54643         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54644         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54645         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54646         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54647         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54648         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54649         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54650         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54651         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54652         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54654         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54655         rename.
54656         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54657         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54660         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54661         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54663         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54665 2011-10-24  Andreas Schwab  <schwab@redhat.com>
54667         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54669 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54671         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54673         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54674         prediction.
54675         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54677         * string/strnlen.c: Don't define STRNLEN, reverse logic.
54678         Remove unused variable magic_bits.
54679         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54681         * string/strnlen.c: Define and use STRNLEN macro.
54682         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54683         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54684         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54685         * wcsmbs/wcslen.c: Define and use WCSLEN.
54686         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54687         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54688         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54689         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54690         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54691         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54692         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54694 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54697         strnlen-sse2-no-bsf.
54698         Rename strlen-no-bsf to strlen-sse2-no-bsf.
54699         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54700         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54701         Add strnlen support.
54702         (USE_AS_STRNLEN): New macro.
54703         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54704         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54705         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54706         * sysdeps/x86_64/wcslen.S: New file.
54708 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
54710         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54711         XMM-moves are used for copying on small sizes.
54713 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54715         * wcsmbs/Makefile (strop-tests): Add wcschr.
54716         * wcsmbs/test-wcschr.c: New file.
54717         * string/test-strchr.c: Update.
54718         Add wcschr support.
54719         (WIDE): New macro.
54721 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54723         * wcsmbs/Makefile (strop-tests): Add wcslen.
54724         * wcsmbs/test-wcslen.c: New file.
54725         * string/test-strlen.c: Update.
54726         Add wcslen support.
54727         (WIDE): New macro.
54729 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54731         * po/it.po: Update from translation team.
54733 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54735         * sysdeps/x86_64/wcscmp.S: Update.
54736         Fix wrong comparison semantics.
54737         wcscmp shall use signed comparison not unsigned.
54738         Don't use substraction to avoid overflow bug.
54739         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54740         * wcsmbc/wcscmp.c: Likewise.
54741         * string/test-strcmp.c: Likewise.
54742         Add new tests to check cases with negative values.
54744 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54746         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54747         * sysdeps/x86_64/dla.h: ...here.  New file.
54748         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54749         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54750         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54758 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
54760         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54761         __ynl_finite aliases.
54763 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54767         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54768         define DLA_FMA.
54769         [DLA_FMA] (EMULV): Use DLA_FMA.
54770         [DLA_FMA] (MUL12): Use EMULV.
54771         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54772         that are not needed.
54773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54781 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54783         * math/s_nan.c: Undef __nan.
54784         * math/s_nanf.c: Undef __nanf.
54785         * math/s_nanl.c: Undef __nanl.
54786         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54787         "math_private.h".
54789 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54791         * math/s_catan.c: Add branch predictions.
54792         * math/s_catanf.c: Likewise.
54793         * math/s_catanh.c: Likewise.
54794         * math/s_catanhf.c: Likewise.
54795         * math/s_catanhl.c: Likewise.
54796         * math/s_catanl.c: Likewise.
54797         * math/s_cexp.c: Likewise.
54798         * math/s_cexpf.c: Likewise.
54799         * math/s_cexpl.c: Likewise.
54800         * math/s_clog.c: Likewise.
54801         * math/s_clog10.c: Likewise.
54802         * math/s_clog10f.c: Likewise.
54803         * math/s_clog10l.c: Likewise.
54804         * math/s_clogf.c: Likewise.
54805         * math/s_clogl.c: Likewise.
54806         * math/s_csqrt.c: Likewise.
54807         * math/s_csqrtf.c: Likewise.
54808         * math/s_csqrtl.c: Likewise.
54809         * math/s_ctanf.c: Likewise.
54810         * math/s_ctanh.c: Likewise.
54811         * math/s_ctanhf.c: Likewise.
54812         * math/s_ctanhl.c: Likewise.
54813         * math/s_ctanl.c: Likewise.
54815         * math/math_private.h: Define __nan, __nanf, __nanl.
54816         * math/s_cacosh.c: Include <math_private.h>.
54817         * math/s_cacoshl.c: Likewise.
54818         * math/s_casinh.c: Likewise.
54819         * math/s_casinhf.c: Likewise.
54820         * math/s_casinhl.c: Likewise.
54821         * math/s_ccos.c: Rely entire on ccosh.
54822         * math/s_ccosf.c: Rely entire on ccoshf.
54823         * math/s_ccosl.c: Rely entirely on ccoshl.
54824         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54825         Remove tests for FE_INVALID.
54826         * math/s_ccoshf.c: Likewise.
54827         * math/s_ccoshl.c: Likewise.
54828         * math/s_csin.c: Likewise.
54829         * math/s_csinf.c: Likewise.
54830         * math/s_csinh.c Likewise.
54831         * math/s_csinhf.c: Likewise.
54832         * math/s_csinhl.c: Likewise.
54833         * math/s_csinl.c: Likewise.
54834         * math/s_ctan.c: Likewise.
54835         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54836         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54837         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54839 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54842         compilation problems.
54844         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54845         __builtin_expect.
54847 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54849         * sysdeps/i386/configure.in: Test for -mfma4 option.
54850         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54851         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54852         COMMON_CPUID_INDEX_80000001.
54853         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54854         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54855         use it if FMA3 is not supported.
54856         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54858         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54859         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54861 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54863         [BZ #12892]
54864         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54865         it would create a cycle with a link time dependency.
54867 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54869         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54870         instruction.
54871         * string/Makefile (strop-tests): Add rawmemchr.
54872         * string/test-rawmemchr.c: New file.
54874         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54875         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54876         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54877         when compiling str{,n}casecmp and when AVX is available.  Hook up
54878         new optimized code in initializers.
54880 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54882         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54883         __feraiseexcept instead of feraiseexcept.
54885 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54887         * math/math_private.h: Define defaults for libc_fetestexcept and
54888         libc_feupdateenv.
54889         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54890         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54891         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54892         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54893         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54894         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54895         libc_fetestexcept and libc_feupdateenv.
54897         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54898         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54899         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54900         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54901         libc_feholdexcept_setround.
54903         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54904         Add s_nearbyint-c and s_nearbyintf-c.
54905         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54906         nearbyintf inlines.
54907         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54908         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54909         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54910         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54912         * math/math_private.h: Define defaults for libc_fegetround,
54913         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54914         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54915         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54917         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54918         standard functions.
54919         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54920         Remove comments and hacks for old compiler versions.
54921         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54922         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54923         libc_feholdexceptl.
54925 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54927         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54928         (__feraiseexcept_renamed): Add __NTH.
54929         (feraiseexcept): Add __NTH.  Rename local variables to fix
54930         namespace violations.
54932 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54934         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54936         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54938         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54939         recently added interfaces.
54940         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54942         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54943         about macro parameter expansion.
54945         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54946         __NO_MATH_INLINES is defined.  Cleanups.
54948         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54949         and __floorf is target has SSE4.1.
54950         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54951         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54952         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54953         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54955         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54956         name.
54957         (floorf): Likewise.
54959         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54961 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54963         * misc/sys/cdefs.h: Fix last change.
54965         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54966         database lookup.
54968 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54970         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54972         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54973         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54974         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54975         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54976         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54977         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54978         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54979         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54980         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54981         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54982         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54983         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54984         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54985         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54986         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54987         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54988         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54989         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54990         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54991         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54992         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54993         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54995         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54996         ceil, ceilf, floor, floorf.
54998         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54999         Perform IRELATIVE relocations last.
55001         * elf/do-rel.h: Add another parameter nrelative, replacing the
55002         local variable with the same name.  Change name of the function
55003         to end in Rel or Rela (uppercase).
55004         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55005         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55006         elf_dynamic_do_##reloc function.
55008 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55010         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55011         is sufficient, at least on modern CPUs.
55013         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55015         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55016         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55018         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55019         __expl_finite.
55020         * math/bits/math-finite.h: Add entries for exp.
55021         * math/e_expl.c: Add __*_finite alias.
55022         * sysdeps/i386/fpu/e_exp.S: Likewise.
55023         * sysdeps/i386/fpu/e_expf.S: Likewise.
55024         * sysdeps/i386/fpu/e_expl.c: Likewise.
55025         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55026         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55029         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55030         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55031         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55033         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55034         is sufficient, at least on modern CPUs.
55036         * ctype/ctype-info.c (__ctype_init): Define.
55037         * include/ctype.h (__ctype_init): Declare.
55038         (__ctype_b_loc): The variable is always initialized.
55039         (__ctype_toupper_loc): Likewise.
55040         (__ctype_tolower_loc): Likewise.
55041         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55042         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55044 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55046         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55048         * configure.in: Also look in $cxxmachine/include for C++ system
55049         headers.
55051 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55053         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55054         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55055         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55056         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55057         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55058         (USE_AS_WMEMCMP): New macro.
55059         Fixing indents.
55060         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55061         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55062         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55063         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55064         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55065         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55066         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55067         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55068         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55069         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55070         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55071         (USE_AS_WMEMCMP): New macro.
55072         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55073         * sysdeps/string/test-memcmp.c: Update.
55074         Fix simple_wmemcmp.
55075         Add new tests.
55076         * wcsmbs/wmemcmp.c: Update.
55077         (WMEMCMP): New macro.
55078         Fix overflow bug.
55080 2011-10-12  Andreas Jaeger  <aj@suse.de>
55082         [BZ #13268]
55083         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55085 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55087         * libio/iofwide.c (do_length): Avoid warning.
55089         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55091 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55093         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55095         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55096         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55097         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55098         * sysdeps/i386/i686/fpu/e_log.S: New file.
55099         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55100         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55102         * ctype/ctype.h: Add support for inlined isXXX functions when
55103         compiling C++ code.
55105 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55107         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55109         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55111 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55113         [BZ #13291]
55114         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55116 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55118         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55119         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55120         feraiseexcept.
55122         * sysdeps/x86_64/memrchr.S: Check for zero size.
55124         * string/stratcliff.c: Add memrchr tests.
55126 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55129         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55130         rawmemchr-sse2 rawmemchr-sse2-bsf.
55131         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55132         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55133         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55134         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55135         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55136         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55137         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55138         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55139         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55140         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55141         * string/memrchr.c (MEMRCHR): New macro.
55143 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55145         Add integration with gcc's -ffinite-math-only and optimize wrapper
55146         functions in libm.
55147         * Versions.def: Define GLIBC_2.15 version for libm.
55148         * math/Makefile (headers): Add bits/math-finite.h.
55149         * math/bits/math-finite.h: New file.
55150         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55151         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55152         * math/e_acoshl.c: Add __*_finite alias.
55153         * math/e_acosl.c: Likewise.
55154         * math/e_asinl.c: Likewise.
55155         * math/e_atan2l.c: Likewise.
55156         * math/e_atanhl.c: Likewise.
55157         * math/e_coshl.c: Likewise.
55158         * math/e_exp10.c: Likewise.
55159         * math/e_exp10f.c: Likewise.
55160         * math/e_exp10l.c: Likewise.
55161         * math/e_exp2l.c: Likewise.
55162         * math/e_fmodl.c: Likewise.
55163         * math/e_gammal_r.c: Likewise.
55164         * math/e_hypotl.c: Likewise.
55165         * math/e_j0l.c: Likewise.
55166         * math/e_j1l.c: Likewise.
55167         * math/e_jnl.c: Likewise.
55168         * math/e_lgammal_r.c: Likewise.
55169         * math/e_log10l.c: Likewise.
55170         * math/e_log2l.c: Likewise.
55171         * math/e_logl.c: Likewise.
55172         * math/e_powl.c: Likewise.
55173         * math/e_sinhl.c: Likewise.
55174         * math/e_sqrtl.c: Likewise.
55175         * math/e_scalb.c: Completely rewritten and optimized.
55176         * math/e_scalbf.c: Likewise.
55177         * math/e_scalbl.c: Likewise.
55178         * math/w_acos.c: Likewise.
55179         * math/w_acosf.c: Likewise.
55180         * math/w_acosl.c: Likewise.
55181         * math/w_acosh.c: Likewise.
55182         * math/w_acoshf.c: Likewise.
55183         * math/w_acoshl.c: Likewise.
55184         * math/w_asin.c: Likewise.
55185         * math/w_asinf.c: Likewise.
55186         * math/w_asinl.c: Likewise.
55187         * math/w_atan2.c: Likewise.
55188         * math/w_atan2f.c: Likewise.
55189         * math/w_atan2l.c: Likewise.
55190         * math/w_atanh.c: Likewise.
55191         * math/w_atanhf.c: Likewise.
55192         * math/w_atanhl.c: Likewise.
55193         * math/w_exp10.c: Likewise.
55194         * math/w_exp10f.c: Likewise.
55195         * math/w_exp10l.c: Likewise.
55196         * math/w_fmod.c: Likewise.
55197         * math/w_fmodf.c: Likewise.
55198         * math/w_fmodl.c: Likewise.
55199         * math/w_j0.c: Likewise.
55200         * math/w_j0f.c: Likewise.
55201         * math/w_j0l.c: Likewise.
55202         * math/w_j1.c: Likewise.
55203         * math/w_j1f.c: Likewise.
55204         * math/w_j1l.c: Likewise.
55205         * math/w_jn.c: Likewise.
55206         * math/w_jnf.c: Likewise.
55207         * math/w_log.c: Likewise.
55208         * math/w_logf.c: Likewise.
55209         * math/w_logl.c: Likewise.
55210         * math/w_log10.c: Likewise.
55211         * math/w_log10f.c: Likewise.
55212         * math/w_log10l.c: Likewise.
55213         * math/w_log2.c: Likewise.
55214         * math/w_log2f.c: Likewise.
55215         * math/w_log2l.c: Likewise.
55216         * math/w_pow.c: Likewise.
55217         * math/w_powf.c: Likewise.
55218         * math/w_powl.c: Likewise.
55219         * math/w_remainder.c: Likewise.
55220         * math/w_remainderf.c: Likewise.
55221         * math/w_remainderl.c: Likewise.
55222         * math/w_scalb.c: Likewise.
55223         * math/w_scalbf.c: Likewise.
55224         * math/w_scalbl.c: Likewise.
55225         * math/w_sqrt.c: Likewise.
55226         * math/w_sqrtf.c: Likewise.
55227         * math/w_sqrtl.c: Likewise.
55228         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55229         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55230         used.
55231         * math/math_private.h: Declare __kernel_standard_f.
55232         * math/w_cosh.c: Remove cruft and optimize a bit.
55233         * math/w_coshf.c: Likewise.
55234         * math/w_coshl.c: Likewise.
55235         * math/w_exp2.c: Likewise.
55236         * math/w_exp2f.c: Likewise.
55237         * math/w_exp2l.c: Likewise.
55238         * math/w_hypot.c: Likewise.
55239         * math/w_hypotf.c: Likewise.
55240         * math/w_hypotl.c: Likewise.
55241         * math/w_lgamma.c: Likewise.
55242         * math/w_lgamma_r.c: Likewise.
55243         * math/w_lgammaf.c: Likewise.
55244         * math/w_lgammaf_r.c: Likewise.
55245         * math/w_lgammal.c: Likewise.
55246         * math/w_lgammal_r.c: Likewise.
55247         * math/w_sinh.c: Likewise.
55248         * math/w_sinhf.c: Likewise.
55249         * math/w_sinhl.c: Likewise.
55250         * math/w_tgamma.c: Likewise.
55251         * math/w_tgammaf.c: Likewise.
55252         * math/w_tgammal.c: Likewise.
55253         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55254         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55255         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55256         Minor optimizations.  Pretty printing.  Remove cruft.
55257         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55258         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55259         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55260         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55261         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55262         * sysdeps/i386/fpu/e_asin.S: Likewise.
55263         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55264         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55265         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55266         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55267         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55268         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55269         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55270         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55271         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55272         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55273         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55274         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55275         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55276         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55277         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55278         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55279         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55280         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55281         * sysdeps/i386/fpu/e_log.S: Likewise.
55282         * sysdeps/i386/fpu/e_log10.S: Likewise.
55283         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55284         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55285         * sysdeps/i386/fpu/e_log2.S: Likewise.
55286         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55287         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55288         * sysdeps/i386/fpu/e_logf.S: Likewise.
55289         * sysdeps/i386/fpu/e_logl.S: Likewise.
55290         * sysdeps/i386/fpu/e_pow.S: Likewise.
55291         * sysdeps/i386/fpu/e_powf.S: Likewise.
55292         * sysdeps/i386/fpu/e_powl.S: Likewise.
55293         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55294         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55295         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55296         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55297         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55298         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55299         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55300         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55301         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55302         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55303         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55304         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55305         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55306         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55307         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55308         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55309         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55310         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55311         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55312         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55313         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55314         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55315         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55316         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55317         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55318         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55319         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55320         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55322         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55323         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55324         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55325         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55326         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55327         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55328         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55329         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55330         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55331         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55332         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55333         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55334         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55335         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55336         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55337         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55338         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55339         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55340         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55341         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55342         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55343         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55344         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55345         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55346         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55347         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55348         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55349         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55350         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55351         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55352         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55353         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55354         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55355         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55356         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55357         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55358         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55359         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55360         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55361         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55362         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55363         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55364         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55365         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55366         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55367         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55368         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55369         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55370         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55371         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55372         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55373         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55374         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55375         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55376         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55377         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55378         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55379         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55380         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55381         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55382         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55383         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55384         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55385         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55386         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55387         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55388         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55389         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55390         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55391         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55392         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55393         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55394         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55395         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55396         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55397         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55398         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55399         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55400         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55401         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55402         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55403         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55404         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55405         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55406         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55407         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55408         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55409         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55410         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55411         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55412         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55413         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55414         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55415         (__isnanf): Likewise.
55416         (__isinf_ns): Likewise.
55417         (__isinf_nsf): Likewise.
55418         (__finite): Likewise.
55419         (__finitef): Likewise.
55420         (__ieee754_sqrt): Define as macro.
55421         (__ieee754_sqrtf): Define as macro.
55422         (__ieee754_sqrtl): Define as macro.
55423         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55424         inlined copy.
55425         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55426         __FINITE_MATH_ONLY__ consistent.
55427         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55429 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55431         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55432         of rawmemchr.
55434         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55436 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55438         * po/ja.po: Update from translation team.
55440 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55442         * locale/programs/locarchive.c (prepare_address_space): New function.
55443         (create_archive, enlarge_archive, open_archive): Use it.
55445         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55446         inside [SHARED], where it is used.
55448         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55450         * nss/getent.c (netgroup_keys): Remove unused variable.
55451         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55453 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55455         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55456         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55457         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55458         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55459         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55460         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55461         * math/Makefile (libm-calls): Add s_isinf_ns.
55462         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55463         * math/multc3.c: Likewise.
55464         * math/s_casin.c: Likewise.
55465         * math/s_casinf.c: Likewise.
55466         * math/s_casinl.c: Likewise.
55467         * math/s_ccos.c: Likewise.
55468         * math/s_ccosf.c: Likewise.
55469         * math/s_ccosl.c: Likewise.
55470         * math/s_ctan.c: Likewise.
55471         * math/s_ctanf.c: Likewise.
55472         * math/s_ctanh.c: Likewise.
55473         * math/s_ctanhf.c: Likewise.
55474         * math/s_ctanhl.c: Likewise.
55475         * math/s_ctanl.c: Likewise.
55476         * math/w_fmod.c: Likewise.
55477         * math/w_fmodf.c: Likewise.
55478         * math/w_fmodl.c: Likewise.
55479         * math/w_remainder.c: Likewise.
55480         * math/w_remainderf.c: Likewise.
55481         * math/w_remainderl.c: Likewise.
55482         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55483         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55484         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55485         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55486         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55487         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55488         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55489         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55491         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55492         of the number.
55493         * stdio-common/printf_fphex.c: Likewise.
55494         * stdio-common/printf_size.c: Likewise.
55496         * math/e_exp10.c: Include math_private.h using <...> not "...".
55497         * math/e_exp10f.c: Likewise.
55498         * math/e_exp10l.c: Likewise.
55499         * math/e_exp2l.c: Likewise.
55500         * math/e_j0l.c: Likewise.
55501         * math/e_j1l.c: Likewise.
55502         * math/e_jnl.c: Likewise.
55503         * math/e_lgammal_r.c: Likewise.
55504         * math/e_rem_pio2l.c: Likewise.
55505         * math/e_scalb.c: Likewise.
55506         * math/e_scalbf.c: Likewise.
55507         * math/e_scalbl.c: Likewise.
55508         * math/k_cosl.c: Likewise.
55509         * math/k_sinl.c: Likewise.
55510         * math/k_tanl.c: Likewise.
55511         * math/s_cacoshf.c: Likewise.
55512         * math/s_catan.c: Likewise.
55513         * math/s_catanf.c: Likewise.
55514         * math/s_catanh.c: Likewise.
55515         * math/s_catanhf.c: Likewise.
55516         * math/s_catanhl.c: Likewise.
55517         * math/s_catanl.c: Likewise.
55518         * math/s_ccosh.c: Likewise.
55519         * math/s_ccoshf.c: Likewise.
55520         * math/s_ccoshl.c: Likewise.
55521         * math/s_cexp.c: Likewise.
55522         * math/s_cexpf.c: Likewise.
55523         * math/s_cexpl.c: Likewise.
55524         * math/s_clog.c: Likewise.
55525         * math/s_clog10.c: Likewise.
55526         * math/s_clog10f.c: Likewise.
55527         * math/s_clog10l.c: Likewise.
55528         * math/s_clogf.c: Likewise.
55529         * math/s_clogl.c: Likewise.
55530         * math/s_csin.c: Likewise.
55531         * math/s_csinf.c: Likewise.
55532         * math/s_csinh.c: Likewise.
55533         * math/s_csinhf.c: Likewise.
55534         * math/s_csinhl.c: Likewise.
55535         * math/s_csinl.c: Likewise.
55536         * math/s_csqrt.c: Likewise.
55537         * math/s_csqrtf.c: Likewise.
55538         * math/s_csqrtl.c: Likewise.
55539         * math/s_ctan.c: Likewise.
55540         * math/s_ctanf.c: Likewise.
55541         * math/s_ctanh.c: Likewise.
55542         * math/s_ctanhf.c: Likewise.
55543         * math/s_ctanhl.c: Likewise.
55544         * math/s_ctanl.c: Likewise.
55545         * math/s_ldexp.c: Likewise.
55546         * math/s_ldexpf.c: Likewise.
55547         * math/s_ldexpl.c: Likewise.
55548         * math/s_significand.c: Likewise.
55549         * math/s_significandf.c: Likewise.
55550         * math/s_significandl.c: Likewise.
55551         * math/w_acos.c: Likewise.
55552         * math/w_acosf.c: Likewise.
55553         * math/w_acosh.c: Likewise.
55554         * math/w_acoshf.c: Likewise.
55555         * math/w_acoshl.c: Likewise.
55556         * math/w_acosl.c: Likewise.
55557         * math/w_asin.c: Likewise.
55558         * math/w_asinf.c: Likewise.
55559         * math/w_asinl.c: Likewise.
55560         * math/w_atan2.c: Likewise.
55561         * math/w_atan2f.c: Likewise.
55562         * math/w_atan2l.c: Likewise.
55563         * math/w_atanh.c: Likewise.
55564         * math/w_atanhf.c: Likewise.
55565         * math/w_atanhl.c: Likewise.
55566         * math/w_cosh.c: Likewise.
55567         * math/w_coshf.c: Likewise.
55568         * math/w_coshl.c: Likewise.
55569         * math/w_dremf.c: Likewise.
55570         * math/w_exp10.c: Likewise.
55571         * math/w_exp10f.c: Likewise.
55572         * math/w_exp10l.c: Likewise.
55573         * math/w_exp2.c: Likewise.
55574         * math/w_exp2f.c: Likewise.
55575         * math/w_fmod.c: Likewise.
55576         * math/w_fmodf.c: Likewise.
55577         * math/w_fmodl.c: Likewise.
55578         * math/w_hypot.c: Likewise.
55579         * math/w_hypotf.c: Likewise.
55580         * math/w_hypotl.c: Likewise.
55581         * math/w_j0.c: Likewise.
55582         * math/w_j0f.c: Likewise.
55583         * math/w_j0l.c: Likewise.
55584         * math/w_j1.c: Likewise.
55585         * math/w_j1f.c: Likewise.
55586         * math/w_j1l.c: Likewise.
55587         * math/w_jn.c: Likewise.
55588         * math/w_jnf.c: Likewise.
55589         * math/w_jnl.c: Likewise.
55590         * math/w_lgamma.c: Likewise.
55591         * math/w_lgamma_r.c: Likewise.
55592         * math/w_lgammaf.c: Likewise.
55593         * math/w_lgammaf_r.c: Likewise.
55594         * math/w_lgammal.c: Likewise.
55595         * math/w_lgammal_r.c: Likewise.
55596         * math/w_log.c: Likewise.
55597         * math/w_log10.c: Likewise.
55598         * math/w_log10f.c: Likewise.
55599         * math/w_log10l.c: Likewise.
55600         * math/w_log2.c: Likewise.
55601         * math/w_log2f.c: Likewise.
55602         * math/w_log2l.c: Likewise.
55603         * math/w_logf.c: Likewise.
55604         * math/w_logl.c: Likewise.
55605         * math/w_pow.c: Likewise.
55606         * math/w_powf.c: Likewise.
55607         * math/w_powl.c: Likewise.
55608         * math/w_remainder.c: Likewise.
55609         * math/w_remainderf.c: Likewise.
55610         * math/w_remainderl.c: Likewise.
55611         * math/w_scalb.c: Likewise.
55612         * math/w_scalbf.c: Likewise.
55613         * math/w_scalbl.c: Likewise.
55614         * math/w_sinh.c: Likewise.
55615         * math/w_sinhf.c: Likewise.
55616         * math/w_sinhl.c: Likewise.
55617         * math/w_sqrt.c: Likewise.
55618         * math/w_sqrtf.c: Likewise.
55619         * math/w_sqrtl.c: Likewise.
55620         * math/w_tgamma.c: Likewise.
55621         * math/w_tgammaf.c: Likewise.
55622         * math/w_tgammal.c: Likewise.
55624         * po/ja.po: Update from translation team.
55626 2011-09-29  Andreas Jaeger  <aj@suse.de>
55628         [BZ #13179]
55629         * sunrpc/netname.c (netname2host): Fix logic.
55631         [BZ #6779]
55632         [BZ #6783]
55633         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55634         correctly.
55635         * math/w_remainder.c (__remainder): Likewise.
55636         * math/w_remainderf.c (__remainderf): Likewise.
55637         * math/libm-test.inc (remainder_test): Add test cases.
55639 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55641         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
55642         sdiv_qrnnd.
55644 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55646         * string/test-memcmp.c: Avoid unncessary #defines.
55647         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55649 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55651         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55652         Use new sse2 version for core i3 - i7 as it's faster
55653         than sse42 version.
55654         (bit_Prefer_PMINUB_for_stringop): New.
55655         * sysdeps/x86_64/rawmemchr.S: Update.
55656         Replace with faster SSE2 version.
55657         * sysdeps/x86_64/memrchr.S: New file.
55658         * sysdeps/x86_64/memchr.S: Update.
55659         Replace with faster SSE2 version.
55661 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
55663         * elf/dl-load.c (lose): Add cast to avoid warning.
55665 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55667         * po/ca.po: Update from translation team.
55669         * inet/getnetgrent_r.c: Hook up nscd.
55670         * nscd/Makefile (routines): Add nscd_netgroup.
55671         (nscd-modules): Add netgroupcache.
55672         (CFLAGS-netgroupcache.c): Define.
55673         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55674         (cache_search): Add const to second parameter.
55675         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55676         INNETGR.
55677         (dbs): Add netgrdb entry.
55678         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55679         (verify_persistent_db): Handle netgrdb.
55680         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55681         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55682         GETFDNETGR.
55683         (netgroup_response_header): Define.
55684         (innetgroup_response_header): Define.
55685         (datahead): Add netgroup_response_header and innetgroup_response_header
55686         elements.
55687         * nscd/nscd.conf: Add entries for netgroup cache.
55688         * nscd/nscd.h (dbtype): Add netgrdb.
55689         (_PATH_NSCD_NETGROUP_DB): Define.
55690         (netgroup_iov_disabled): Declare.
55691         (xmalloc, xcalloc, xrealloc): Move declarations here.
55692         (cache_search): Adjust prototype.
55693         Add netgroup-related prototypes.
55694         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55695         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55696         (__nscd_innetgr): Declare.
55697         * nscd/selinux.c (perms): Use access_vector_t as element type and
55698         add netgroup-related initializers.
55699         * nscd/netgroupcache.c: New file.
55700         * nscd/nscd_netgroup.c: New file.
55701         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55702         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55703         For four parameters use innetgr.
55704         * nss/nss_files/files-init.c: Add definition and callback for netgr.
55705         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55706         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55707         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55709         * nscd/connections.c (register_traced_file): Don't register file
55710         for disabled databases.
55712 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
55714         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55716         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55717         from tree and freeing node.
55719 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
55721         * nss/nsswitch.c (__nss_database_lookup): Handle
55722         nss_parse_service_list out of memory case.
55724 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
55726         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55727         out of memory case.
55729 2011-10-04  Andreas Schwab  <schwab@redhat.com>
55731         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55732         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55733         pass it down.
55734         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55735         elf_machine_rela, elf_machine_lazy_rel.
55736         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55737         (ELF_DYNAMIC_DO_REL): Likewise.
55738         (ELF_DYNAMIC_DO_RELA): Likewise.
55739         (ELF_DYNAMIC_RELOCATE): Likewise.
55740         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55741         to ELF_DYNAMIC_DO_REL.
55742         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55743         (dl_main): In trace mode always set __RTLD_NOIFUNC.
55744         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55745         elf_machine_rela.
55746         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55747         skip_ifunc, don't call ifunc function if non-zero.
55748         (elf_machine_rela): Likewise.
55749         (elf_machine_lazy_rel): Likewise.
55750         (elf_machine_lazy_rela): Likewise.
55751         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55752         (elf_machine_lazy_rel): Likewise.
55753         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55754         Likewise.
55755         (elf_machine_lazy_rel): Likewise.
55756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55757         Likewise.
55758         (elf_machine_lazy_rel): Likewise.
55759         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55760         (elf_machine_lazy_rel): Likewise.
55761         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55762         (elf_machine_lazy_rel): Likewise.
55763         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55764         (elf_machine_lazy_rel): Likewise.
55765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55766         (elf_machine_lazy_rel): Likewise.
55767         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55768         (elf_machine_lazy_rel): Likewise.
55769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55770         (elf_machine_lazy_rel): Likewise.
55772 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55774         * nss/nss_files/files-init.c (_nss_files_init): Use static
55775         initialization for all the *_traced_file variables.
55777 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55779         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55781 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55783         [BZ #13226]
55784         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55786 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55788         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55789         Reread the line before reparsing it.
55791 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55793         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55795 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55796             Maxim Kuvyrkov  <maxim@codesourcery.com>
55797             Joseph Myers  <joseph@codesourcery.com>
55799         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55800         if needed for __stack_chk_guard.
55802 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55804         * sysdeps/posix/spawni.c (script_execute): Always define it.
55805         It will be optimized away if unused.
55806         (maybe_script_execute): New function.
55807         (__spawni): Call it.
55809         * Makerules: Don't include tls.make.
55810         (config-tls): Always set to thread.
55811         * tls.make.c: File removed.
55813 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55815         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55816         * config.make.in (CPPFLAGS-config): New substituted variable.
55818 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55820         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55822         [BZ #13192]
55823         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55824         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55826 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55828         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55829         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55830         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55831         (CALL_FAIL): Likewise.
55832         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55833         (CALL_FAIL): Macro removed.
55834         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55836 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55838         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55839         for __FINITE_MATH_ONLY__ == 1.
55841 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55843         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55844         __ieee754_sqrt instead of sqrt.
55845         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55846         __ieee754_sqrtf instead of sqrtf.
55847         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55848         __floorf instead of floorf.
55849         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55850         __floorf, __truncf instead of floorf, truncf.
55852 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55854         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55856         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55857         __extern_always_inline.
55858         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55859         32-bit.
55861 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55863         * elf/rtld.c (dl_main): Also relocate in dependency order when
55864         doing symbol dependency testing.
55866 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55869         Always define `refsym'.
55871 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55873         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55874         (__FD_ELT): Renamed from __FDELT.
55875         * misc/bits/select2.h (__FD_ELT): Likewise.
55876         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55877         __FD_MASK instead of __FDELT, __FDMASK.
55878         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55879         Likewise.
55880         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55881         Likewise.
55883         * elf/Makefile (gen-ldd): Fix pattern.
55885         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55886         (init_tls): Likewise.
55888 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55890         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55892 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55894         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55895         `struct cmsghdr *' instead of `void *'.
55896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55897         Likewise.
55899 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55901         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55902         if non-absolute.
55903         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55904         ldd_rewrite_script.
55906 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55908         * configure.in: Remove --with-tls option.
55909         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55910         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55911         out in case it is missing.
55912         * sysdeps/ia64/elf/configure.in: Likewise.
55913         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55914         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55915         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55916         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55917         * sysdeps/sh/elf/configure.in: Likewise.
55918         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55919         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55920         * sysdeps/x86_64/elf/configure.in: Likewise.
55921         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55922         * sysdeps/mach/hurd/tls.h: Likewise.
55924         [BZ #13067]
55925         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55927         [BZ #13090]
55928         * configure.in: Fix use of AC_INIT.
55930         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55932 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55934         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55935         __set_errno.
55936         * malloc/hooks.c: Likewise.
55938         [BZ #11929]
55939         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55940         variables statically.
55941         (narenas): Initialize.
55942         (list_lock): Initialize.
55943         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55944         initializtion of main_arena and list_lock.  Small cleanups.
55945         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55946         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55947         Add initializers to main_arena and mp_.
55948         (malloc_state): Remove pagesize member.  Change all users to use
55949         GLRO(dl_pagesize).
55951         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55952         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55953         is always initialized.
55955         * malloc/malloc.c: Removed unused configurations and dead code.
55956         * malloc/arena.c: Likewise.
55957         * malloc/hooks.c: Likewise.
55958         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55960         * include/tls.h: Removed.  USE___THREAD must always be defined.
55961         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55962         * elf/dl-libc.c: Likewise.
55963         * elf/dl-tsd.c: Likewise.
55964         * include/errno.h: Likewise.
55965         * include/netdb.h: Likewise.
55966         * include/resolv.h: Likewise.
55967         * inet/herrno-loc.c: Likewise.
55968         * inet/herrno.c: Likewise.
55969         * malloc/arena.c: Likewise.
55970         * malloc/hooks.c: Likewise.
55971         * malloc/malloc.c: Likewise.
55972         * resolv/res-state.c: Likewise.
55973         * resolv/res_libc.c: Likewise.
55974         * sysdeps/i386/dl-machine.h: Likewise.
55975         * sysdeps/ia64/dl-machine.h: Likewise.
55976         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55977         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55978         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55979         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55980         * sysdeps/sh/dl-machine.h: Likewise.
55981         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55982         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55983         * sysdeps/unix/i386/sysdep.S: Likewise.
55984         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55985         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55990         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55994         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55995         * sysdeps/x86_64/dl-machine.h: Likewise.
55996         * tls.make.c: Likewise.
55998         * configure.in: Remove --with-__thread option.  Make tests for
55999         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56000         tls_model attribute fail if no support is available.  Remove
56001         USE_IN_LIBIO.
56002         * Makeconfig: Adjust for dropped configure option.  All features are
56003         now mandatory.
56004         * Makerules: Likewise.
56005         * Versions.def: Likewise.
56006         * argp/argp-fmtstream.c: Likewise.
56007         * argp/argp-fmtstream.h: Likewise.
56008         * argp/argp-help.c: Likewise.
56009         * assert/assert.c: Likewise.
56010         * config.h.in: Likewise.
56011         * config.make.in: Likewise.
56012         * configure: Likewise.
56013         * configure.in: Likewise.
56014         * csu/Versions: Likewise.
56015         * csu/init.c: Likewise.
56016         * elf/tst-audit2.c: Likewise.
56017         * elf/tst-tls10.c: Likewise.
56018         * elf/tst-tls10.h: Likewise.
56019         * elf/tst-tls11.c: Likewise.
56020         * elf/tst-tls12.c: Likewise.
56021         * elf/tst-tls14.c: Likewise.
56022         * elf/tst-tlsmod11.c: Likewise.
56023         * elf/tst-tlsmod12.c: Likewise.
56024         * elf/tst-tlsmod13.c: Likewise.
56025         * elf/tst-tlsmod13a.c: Likewise.
56026         * elf/tst-tlsmod14a.c: Likewise.
56027         * elf/tst-tlsmod15b.c: Likewise.
56028         * elf/tst-tlsmod16a.c: Likewise.
56029         * elf/tst-tlsmod16b.c: Likewise.
56030         * elf/tst-tlsmod7.c: Likewise.
56031         * elf/tst-tlsmod8.c: Likewise.
56032         * elf/tst-tlsmod9.c: Likewise.
56033         * gmon/gmon.c: Likewise.
56034         * grp/fgetgrent_r.c: Likewise.
56035         * grp/putgrent.c: Likewise.
56036         * hurd/fopenport.c: Likewise.
56037         * include/libc-symbols.h: Likewise.
56038         * include/tls.h: Likewise.
56039         * intl/gettextP.h: Likewise.
56040         * intl/loadinfo.h: Likewise.
56041         * locale/global-locale.c: Likewise.
56042         * locale/localeinfo.h: Likewise.
56043         * mach/devstream.c: Likewise.
56044         * malloc/arena.c: Likewise.
56045         * malloc/set-freeres.c: Likewise.
56046         * misc/err.c: Likewise.
56047         * misc/getttyent.c: Likewise.
56048         * misc/mntent_r.c: Likewise.
56049         * posix/getopt.c: Likewise.
56050         * posix/wordexp.c: Likewise.
56051         * pwd/fgetpwent_r.c: Likewise.
56052         * resolv/Versions: Likewise.
56053         * resolv/res_hconf.c: Likewise.
56054         * shadow/fgetspent_r.c: Likewise.
56055         * shadow/putspent.c: Likewise.
56056         * stdio-common/printf_fphex.c: Likewise.
56057         * stdio-common/tmpfile.c: Likewise.
56058         * stdlib/abort.c: Likewise.
56059         * stdlib/fmtmsg.c: Likewise.
56060         * sunrpc/auth_unix.c: Likewise.
56061         * sunrpc/clnt_perr.c: Likewise.
56062         * sunrpc/clnt_tcp.c: Likewise.
56063         * sunrpc/clnt_udp.c: Likewise.
56064         * sunrpc/clnt_unix.c: Likewise.
56065         * sunrpc/openchild.c: Likewise.
56066         * sunrpc/svc_simple.c: Likewise.
56067         * sunrpc/svc_tcp.c: Likewise.
56068         * sunrpc/svc_udp.c: Likewise.
56069         * sunrpc/svc_unix.c: Likewise.
56070         * sunrpc/xdr.c: Likewise.
56071         * sunrpc/xdr_array.c: Likewise.
56072         * sunrpc/xdr_rec.c: Likewise.
56073         * sunrpc/xdr_ref.c: Likewise.
56074         * sunrpc/xdr_stdio.c: Likewise.
56076 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56078         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56080 2011-07-03  Andreas Jaeger  <aj@suse.de>
56082         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56083         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56084         regenerate with gen-libm-tests.pl.
56086 2010-05-12  Petr Baudis  <pasky@suse.cz>
56088         [BZ #11589]
56089         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56090         around j0() zero points by switching to j1().
56091         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56092         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56094         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56096 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56098         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56099         instead of 0.
56100         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56101         instead of 0.
56102         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56103         Patch in part by Pavel Roskin <proski@gnu.org>.
56105         [BZ #13138]
56106         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56107         realloc.
56108         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56109         Free memory block if necessary.
56111         [BZ #12847]
56112         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56113         be NULL.  Don't lock in this case.
56115 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56117         * elf/elf.h (ELFOSABI_GNU): New macro.
56118         (ELFOSABI_LINUX): Define to that.
56120 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56122         * string/strncat.c (strncat): Undef the symbol in case it has been
56123         defined in bits/string.h.
56125 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56127         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56129         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56130         link map.
56132 2011-08-17  Andreas Jaeger  <aj@suse.de>
56134         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56136 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56137             Ian Lance Taylor  <iant@google.com>
56139         * math/libm-test.inc (lround_test): New testcase.
56140         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56142 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56144         * Makefile: Remove support for automatic cvs check-ins.
56145         * Makerules: Likewise.
56146         * config.make.in: Likewise.
56147         * configure.in: Likewise.
56148         * intl/Makefile: Likewise.
56149         * locale/Makefile: Likewise.
56150         * po/Makefile: Likewise.
56151         * posix/Makefile: Likewise.
56152         * sysdeps/gnu/Makefile: Likewise.
56153         * sysdeps/mach/hurd/Makefile: Likewise.
56154         * sysdeps/sparc/sparc32/Makefile: Likewise.
56156         [BZ #13118]
56157         * posix/Makefile (bug-regex32-ENV): Define.
56158         Patch by John Stanley <jpsinthemix@verizon.net>.
56160         * misc/Makefile (headers): Add bits/select2.h.
56161         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56162         * misc/bits/select2.h: New file.
56163         * include/bits/select2.h: New file.
56164         * debug/Makefile (routines): Add fdelt_chk.
56165         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56166         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56167         FD_ISSET.
56168         * debug/fdelt_chk.c: New file.
56170         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56171         * wcsmbs/test-wmemcmp.c: Likewise.
56172         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56173         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56175 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56177         * string/Makefile (strop-tests): Add memcmp.
56178         * string/test-wmemcmp.c: New file.
56179         * string/test-memcmp.c: Add wmemcmp support.
56181 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56183         [BZ #13153]
56184         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56185         2011-07-19 change.
56187         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56188         garbage value in a __mach_port_mod_refs call in the cases of the
56189         task-self and thread-self ports.
56191 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56193         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56195 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56197         * elf/dl-load.c (lose): Check for non-null L.
56199 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56201         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56203         * elf/dl-libc.c (dlerror_run): Pass back error code from
56204         dl_catch_error.
56206         [BZ #13123]
56207         * elf/dl-load.c (lose): Free l_origin if it is valid.
56209         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56210         names.
56211         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56212         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56213         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56214         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56215         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56216         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56218 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56220         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56221         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56222         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56223         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56224         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56225         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56226         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56227         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56228         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56229         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56231 2011-08-15  Alan Modra  <amodra@gmail.com>
56233         [BZ #13092]
56234         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56235         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56236         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56237         ppc_mcount to static-only-routines.
56238         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56239         __mcount_internal.
56240         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56241         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56243 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56245         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56246         for finite and infinity parameters.
56248 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56250         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56251         and add nop instructions for throughput optimization.
56252         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56254 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56256         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56257         aligned copy for power7 with vector-scalar instructions.
56258         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56260 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56263         AVX check.
56265 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56267         [BZ #13144]
56268         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56269         last change.
56271 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56273         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56274         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56275         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56276         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56277         clock_gettime.
56279 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56281         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56282         Forgot to demangle the pointer.
56284         * sysdeps/i386/sysdep.h: Define atom_text_section.
56285         * sysdeps/x86_64/sysdep.h: Likewise.
56286         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56287         section with atom_text_section.
56288         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56289         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56290         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56291         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56292         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56294         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56295         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56296         already be defined.  Change to take two parameters and don't assign
56297         result to variable.  Adjust all users.
56298         Define INTERNAL_GETTIME if not already defined.
56299         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56300         call.
56301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56302         HAVE_CLOCK_GETTIME_VSYSCALL.
56303         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56305         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56306         gettimeofday vsyscall, just use time.
56308 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56311         <errno.h>.
56313 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56315         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56316         syscall on x86-64.
56317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56318         syscall.
56319         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56320         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56321         syscall if possible.
56323 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56325         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56326         e_ident.  Don't pass to find_mapsXX.
56327         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56329 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56332         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56333         * sysdeps/x86_64/multiarch/strchr.S: Update.
56334         Check bit_slow_BSF bit.
56335         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56336         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56337         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56339 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56341         [BZ #13134]
56342         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56343         before glibc 2.15.
56344         (tryshell): Define.
56345         (__spawni): Change last parameter to be flag.  Test
56346         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56347         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56348         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56349         * posix/spawni.c: Likewise.
56350         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56351         * posix/spawnp.c: Likewise.  Change normal version to use
56352         SPAWN_XFLAGS_USE_PATH.
56353         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56354         SPAWN_XFLAGS_TRY_SHELL.
56356         [BZ #13150]
56357         * posix/glob.h: Remove gcc 1.x support.
56359         [BZ #13068]
56360         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56362 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56365         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56366         strrchr-sse2-bsf
56367         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56368         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56369         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56370         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56371         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56372         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56374 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56376         * sysdeps/x86_64/wcscmp.S: New file.
56378         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56379         wcscmp-c wcscmp-sse2
56380         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56381         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56382         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56383         * wcsmbs/wcscmp.c: Allow renaming.
56385 2011-09-05  David S. Miller  <davem@davemloft.net>
56387         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56388         stack slot, rather than the struct return pointer slot.
56389         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56390         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56392         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56394 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56396         * po/ja.po: Update from translation team.
56398         [BZ #13144]
56399         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56400         kernel in 64-bit binaries.
56402 2011-09-01  David S. Miller  <davem@davemloft.net>
56404         * elf/elf.h (HWCAP_SPARC_*): Move to..
56405         * sysdeps/sparc/sysdep.h: this new file and add new values.
56406         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56407         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56408         _DL_HWCAP_COUNT to 24.
56409         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56410         entries.
56411         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56412         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56413         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56415         instead of magic constants.
56416         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56418 2011-08-31  David S. Miller  <davem@davemloft.net>
56420         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56421         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56422         Reimplement to do errno handling inline.
56423         (SYSCALL_ERROR_HANDLER): New macro.
56424         (__SYSCALL_STRING): Do not do errno handling in asm.
56425         (__CLONE_SYSCALL_STRING): Delete.
56426         (__INTERNAL_SYSCALL_STRING): Delete.
56427         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56428         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56429         (PSEUDO): Reimplement to do errno handling inline.
56430         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56431         (SYSCALL_ERROR_HANDLER): New macro.
56432         (__SYSCALL_STRING): Do not do errno handling in asm.
56433         (__CLONE_SYSCALL_STRING): Delete.
56434         (__INTERNAL_SYSCALL_STRING): Delete.
56435         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56436         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56437         i386.
56438         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56439         (inline_syscall*): Add 'err' argument.
56440         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56441         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56442         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56443         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56445         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56446         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56448 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56450         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56452 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56454         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56455         directive.
56457 2011-08-24  David S. Miller  <davem@davemloft.net>
56459         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56461 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56463         * elf/Makefile: Add rules to build and run unload8 test.
56464         * elf/unload8.c: New file.
56465         * elf/unload8mod1.c: New file.
56466         * elf/unload8mod1x.c: New file.
56467         * elf/unload8mod2.c: New file.
56468         * elf/unload8mod3.c: New file.
56470         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56471         it wasn't used.
56473 2011-08-23  David S. Miller  <davem@davemloft.net>
56475         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56476         subtract stack bias.
56477         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56478         %sp not %fp in calculations.
56479         (_JMPBUF_UNWINDS_ADJ): Likewise.
56481         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56482         (aio_suspend): Call it to force an exception region around the
56483         AIO_MISC_WAIT() invocation.
56485 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56487         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56488         backslash.
56490 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56492         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56493         protection macro.
56494         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56495         and <dl-machine.h>.
56496         (Elf64_FuncDesc): Remove.
56498 2011-08-22  David S. Miller  <davem@davemloft.net>
56500         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56501         sigaltstack check, add missing cfi directives.
56502         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56503         missing cfi directives, and sigaltstack handling.
56505 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56507         [BZ #11724]
56508         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56509         object is seen twice.
56510         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56512         * elf/Makefile (distribute): Add tst-initorder2.c.
56513         (tests): Add tst-initorder2.
56514         (modules-names): Add tst-initorder2a tst-initorder2b
56515         tst-initorder2c tst-initorder2d.  Add rules to build them.
56516         ($(objpfx)tst-initorder2.out): New rule.
56517         * elf/tst-initorder2.c: New file.
56518         * elf/tst-initorder2.exp: New file.
56520 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56522         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56524         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56525         dependencies back to end of function.
56527         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56528         $(elfobjdir)/ld.so.
56530 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56532         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56533         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56534         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56535         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56536         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56537         of __vdso_gettimeofday.
56538         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56539         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56540         attribute_hidden.
56541         (_libc_vdso_platform_setup): Remove initialization of
56542         __vdso_gettimeofday and __vdso_time.
56544 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56546         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56547         and fgetc_unlocked.
56548         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56549         getc_unlocked.
56551         * elf/dl-open.c (add_to_global): Report additions to the global scope
56552         for LD_DEBUG=scopes.
56553         (dl_open_worker): Also print scope of newly loaded dependencies.
56554         (_dl_show_scope): Indicate if there is no scope.
56556         [BZ #13114]
56557         * stdio-common/Makefile (tests): Add bug24.
56558         * stdio-common/bug24.c: New file.
56560 2011-08-19  Andreas Jaeger  <aj@suse.de>
56562         [BZ #13114]
56563         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56564         non-existant file when using close-on-exec mode.
56566 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56568         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56569         the very first instruction.
56571         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56572         the CFI state in the end.
56573         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56574         inclusion of dl-trampoline.h.
56575         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56577 2011-08-19  Andreas Schwab  <schwab@redhat.com>
56579         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56580         expectations for long double.
56582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56583         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56585 2011-08-14  David S. Miller  <davem@davemloft.net>
56587         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56588         artificual limit depends upon the system page size.
56590 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56592         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56593         * resolv/Makefile: Define CFLAGS-libresolv.
56595 2011-08-17  Andreas Schwab  <schwab@redhat.com>
56597         * nss/makedb.c (compute_tables): Make variables used in nested
56598         function static.
56600 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56602         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56603         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56604         if buffer was too small.
56606         * elf/pldd.c (main): Attach to all threads in the process.
56607         Rewrite /proc handling to use *at functions.
56609 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
56611         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56612         specifies first scope to show.
56613         (dl_open_worker): Update callers.  Move printing scope of new
56614         object to before the relocation.
56615         * elf/rtld.c (dl_main): Update _dl_show_scope call.
56616         * sysdeps/generic/ldsodefs.h: Update declaration.
56618         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56619         string for the scope number.
56621 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
56623         * nscd/servicescache.c (cache_addserv): Make sure written is always
56624         initialized.
56626 2011-08-14  Roland McGrath  <roland@hack.frob.com>
56628         * sysdeps/i386/i486/bits/atomic.h
56629         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56630         statement expression, so as to suppress "set but not used" warning.
56631         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56633         * string/strncat.c (STRNCAT): Use prototype definition.
56635         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56636         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56637         -Iprograms here.
56638         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56639         (localedef-modules): Add localedef.
56640         (locale-modules): Add locale.
56642         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56643         * elf/rtld.c (dl_main): Invert order of assignment in last change,
56644         to avoid a warning.
56646 2011-08-14  David S. Miller  <davem@davemloft.net>
56648         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56649         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56651 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
56653         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56654         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56655         * elf/rtld.c (dl_main): Set l_name of vDSO.
56656         Call _dl_show_scope when DL_DEBUG_SCOPES.
56657         (process_dl_debug): Recognize scopes flag and also set it for all.
56658         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56659         Declare _dl_show_scope.
56661         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56662         (do_dlopen): Pass caller_dlopen to dl_open.
56663         (__libc_dlopen_mode): Initialize caller_dlopen.
56665         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56666         of libc.  Make tolower call locale-independent.  Optimize a bit by
56667         using isdigit instead of isalnum.
56668         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56670 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
56672         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56673         was a dependency or dynamically loaded.
56675 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
56677         * intl/l10nflist.c: Allow architecture-specific pop function.
56678         * sysdeps/x86_64/l10nflist.c: New file.
56680         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56681         classification.
56683 2011-08-10  Andreas Schwab  <schwab@redhat.com>
56685         * include/dirent.h: Add libc_hidden_proto for scandirat and
56686         scandirat64.  Don't declare __scandirat64.
56687         * dirent/scandirat.c: Add libc_hidden_def.
56688         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56689         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56691 2011-08-10  David S. Miller  <davem@davemloft.net>
56693         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56694         enum.
56695         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56697         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56699 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
56701         * Versions.def [libc]: Add GLIBC_2.15.
56702         * dirent/Makefile (routines): Add scandirat and scandirat64.
56703         * dirent/Versions [libc]: Export scandirat and scandirat64 for
56704         GLIBC_2.15.
56705         * dirent/dirent.h: Declare scandirat and scandirat64.
56706         * dirent/scandirat.c: New file.
56707         * dirent/scandirat64.c: New file.
56708         * sysdeps/wordsize-64/scandirat.c: New file.
56709         * sysdeps/wordsize-64/scandirat64.c: New file.
56710         * dirent/opendir.c: Define opendirat.
56711         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
56712         using scandirat.
56713         * dirent/scandir64.c: Adjust for scandir.c change.
56714         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
56715         __scandirat64, and __scandir_cancel_handler.
56716         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
56717         additional parameter and use openat instead of open (outside of ld.so).
56718         Add new __opendir as wrapper around __opendirat.
56719         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56720         here without requiring old scandirat implementation.
56722 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
56724         * dirent/scandir.c (cancel_handler): Renamed to
56725         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
56726         defined.  Adjust users.
56727         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56728         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56730 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
56732         * string/test-string.h (IMPL): Use __STRING to expand name and then
56733         stringify it.
56735         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
56736         of cleanups.
56738 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56740         * string/Makefile: Update.
56741         (strop-tests): Append strncat.
56742         * string/test-wcscmp.c: New file.
56743         New comprehensive test for wcscmp.
56744         * string/test-strcmp.c: Update.
56745         (WIDE): New define.
56747 2011-07-22  Andreas Schwab  <schwab@redhat.com>
56749         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56750         line.
56752 2011-07-26  Andreas Schwab  <schwab@redhat.com>
56754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56755         encoding to ACE if AI_IDN.
56757 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
56759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56760         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56762 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56764         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56765         Fix overflow bug in strncat.
56766         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56768         * string/test-strncat.c: Update.
56769         Add new tests for checking overflow bugs.
56771 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56774         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56775         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56776         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56777         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56778         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56779         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56780         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56781         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56783         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56784         (USE_AS_STRCAT): Define.
56785         Add strcat and strncat support.
56786         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56788 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56790         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56791         __n bigger than INT_MAX+1.
56792         (__strncmp_g): Likewise.
56794 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56796         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56797         * libio/stido.h: Likewise.
56799         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56800         (AF_NFC): Define.
56801         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56802         (AF_NFC): Define.
56804         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56805         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56806         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56807         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56808         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56810         [BZ #13021]
56811         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56812         installed.
56814         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56815         typo.
56816         (_dl_x86_64_save_sse): Likewise.
56818 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56821         OSXSAVE.
56822         (_dl_x86_64_save_sse): Likewise.
56824         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56826         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56828 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56831         change.
56832         (_dl_x86_64_save_sse): Use correct AVX check.
56834 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56836         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56837         bug in strncpy/strncat.
56838         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56840 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56842         * string/tester.c (test_strcat): Add tests for different alignments
56843         of source and destination.
56844         (test_strncat): Likewise.
56846 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56848         [BZ #12852]
56849         * posix/glob.c (glob): Check passed in values before using them in
56850         expressions to avoid some overflows.
56851         (glob_in_dir): Likewise.
56853         [BZ #13007]
56854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56855         check for AVX enablement so that we don't crash with old kernels and
56856         new hardware.
56857         * elf/tst-audit4.c: Add same checks here.
56858         * elf/tst-audit6.c: Likewise.
56860         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56862 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56864         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56866 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56868         * po/cs.po: Update from translation team.
56869         * po/bg.po: Likewise.
56871 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56873         * misc/sys/cdefs.h: Add support for const attribute.
56874         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56875         to gnu_dev_{major,minor,makedev} functions.
56877 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56879         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56881 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56883         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56884         strlen results.
56886 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56889         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56890         register in order to avoid conflicts with the soft frame pointer
56891         being held in r11 when necessary.
56892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56893         (INTERNAL_VSYSCALL_NCS): Likewise.
56895 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56897         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56898         * elf/dl-fini.c (_dl_fini): Adjust caller.
56899         * elf/dl-close.c (_dl_close_worker): Likewise.
56900         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56902 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56904         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56905         "aux_cache->nlibs < 0".
56907         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56908         in the reload-count case.
56910 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56913         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56914         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56915         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56916         * sysdeps/x86_64/multiarch/strcat.S: New file.
56917         * sysdeps/x86_64/multiarch/strncat.S: New file.
56918         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56919         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56920         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56921         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56922         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56923         (USE_AS_STRCAT): Define.
56924         Add strcat and strncat support.
56925         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56926         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56927         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56928         * string/strncat.c: Update.
56929         (USE_AS_STRNCAT): Define.
56930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56931         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56932         and i7.
56933         * sysdeps/x86_64/multiarch/init-arch.h
56934         (bit_Prefer_PMINUB_for_stringop): New.
56935         (index_Prefer_PMINUB_for_stringop): Likewise.
56936         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56937         bit_Prefer_PMINUB_for_stringop.
56939 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56941         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56942         buffer64.
56943         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56944         of casting of buffer.
56945         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56946         buffer32 and buffer64.
56947         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56948         writes instead of casting of buffer.
56949         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56950         buffer32.
56951         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56952         casting of buffer.
56954 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56956         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56958 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56960         * nscd/nscd.c (termination_handler): Don't do anything for a database
56961         if it has not yet been initialized.
56963 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56965         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56967 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56969         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56971 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56973         * po/nl.po: Update from translation team.
56974         * po/sv.po: Likewise.
56976 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56978         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56979         now disallowed by GCC.
56981         * configure.in (use-default-link): Default to yes if a test -shared
56982         link meets our qualifications.
56983         * configure: Regenerated.
56985         * config.make.in (output-format): New variable.
56986         * configure.in: Check for ld --print-output-format support.
56987         * configure: Regenerated.
56988         * Makerules ($(common-objpfx)format.lds)
56989         [$(output-format) != unknown]: Just use $(output-format),
56990         instead of the linker-script munging.
56992 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56994         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56995         of $(common-objpfx)shlib.lds.
56996         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56998         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56999         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57001         * configure.in (-z relro check): Adjust test code to add a large
57002         writable data section after it.
57003         * configure: Regenerated.
57005 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57007         * configure.in (-z relro check): Fix test code to make the variable
57008         truly const.
57009         * configure: Regenerated.
57011 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57013         * nscd/nscd.h (struct traced_file): Define.
57014         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57015         elements.  Add traced_files.
57016         (inotify_fd): Declare.
57017         (register_traced_file): Declare.
57018         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57019         (inotify_fd): Export.
57020         (resolv_conf_descr): Remove.
57021         (nscd_init): Move inotify descriptor creation to main.
57022         Don't register files for notification here.
57023         (register_traced_file): New function.
57024         (invalidate_cache): Don't use reset_res to determine whether to call
57025         res_init, go through the list of registered files.
57026         (main_loop_poll): The inotify descriptors are now stored in the
57027         structures for the traced files.
57028         (main_loop_epoll): Likewise
57029         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57030         to __nss_disable_nscd.
57031         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57032         for a database anymore.  Check the records for all the registered
57033         files instead.
57034         * nss/Makefile (libnss_files-routines): Add files-init.
57035         (libnss_db-routines): Add db-init.
57036         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57037         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57038         * nss/nss_db/db-init.c: New file.
57039         * nss/nss_files/files-init.c: New file.
57040         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57041         __nss_lookup_function.
57042         (__nss_lookup_function): Call nss_load_library.
57043         (nss_load_all_libraries): New function.
57044         (__nss_disable_nscd): Take parameter with callback function for files
57045         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57046         used for the cached services.
57047         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57048         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57049         options for features to all the files in nscd.
57051         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57053 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57055         * csu/elf-init.c (__libc_csu_init): Comment typo.
57057 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57059         * po/pl.po: Update from translation team.
57060         * po/ja.po: Likewise.
57061         * po/ru.po: Likewise.
57062         * po/ko.po: Likewise.
57063         * po/fr.po: Likewise.
57065 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57067         * configure.in (.ctors/.dtors header and trailer check):
57068         Use an empirical test on a built program.
57069         * configure: Regenerated.
57071         * configure.in (-z relro check): Use an empirical test on a built DSO.
57072         Detect, but do not require, on ia64.
57073         * configure: Regenerated.
57075         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57076         Update tests that use readelf to use $READELF instead.
57077         * configure: Regenerated.
57079 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57081         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57082         if the result is not used.
57084 2011-07-05  Andreas Jaeger  <aj@suse.de>
57086         [BZ#9696]
57087         * stdlib/tst-strtod.c: Add testcase.
57089 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57091         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57092         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57093         The latter has a higher limit.  Take additional parameter to pass to
57094         the new function.
57095         (__pathconf): Pass file to __statfs_link_max.
57096         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57097         __statfs_link_max.
57098         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57099         __statfs_link_max.
57101         [BZ #12868]
57102         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57103         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57104         Handle Lustre.
57105         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57106         (__statfs_filesize_max): Likewise.
57107         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57109 2011-07-05  Andreas Jaeger  <aj@suse.de>
57111         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57113 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57115         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57116         `status' variable.
57117         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57118         Likewise.
57120 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57122         * Makefile (strop-tests): Add strncat.
57123         * string/test-strncat.c: New file.
57125 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57127         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57129 2011-06-21  Andreas Jaeger  <aj@suse.de>
57131         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57132         Copy rule from iconvdata/Makefile.
57134 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57136         [BZ #12922]
57137         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57138         but no long options are defined, just return 'W'.
57140 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57142         [BZ #9696]
57143         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57145 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57147         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57148         netgroups to read.
57149         (innetgr): Likewise.
57151 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57153         * config.make.in (install_root): Default to $(DESTDIR).
57155 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57157         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57159 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57161         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57163         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57164         containing directory rather than embedding absolute directory names.
57166         * scripts/check-local-headers.sh: Rewritten using awk.
57167         Match by word, not by line.  Print error messages for matches.
57168         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57170         * Makerules [shlib-lds-flags empty]:
57171         ($(common-objpfx)libc_pic.opts): New target.
57172         ($(common-objpfx)libc_pic.os.clean): New target.
57173         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57175         * config.make.in (OBJCOPY): New variable.
57176         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57177         * configure: Regenerated.
57179         * config.make.in (use-default-link): New variable.
57180         * configure.in (use_default_link): Grok --with-default-link to set it.
57181         * configure: Regenerated.
57182         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57183         (shlib-lds, shlib-lds-flags): Define to empty.
57185         * Makerules (shlib-lds): New variable.
57186         (shlib-lds-flags): New variable.
57187         (build-shlib, build-moduile, build-module-asneeded): Use it.
57188         ($(common-objpfx)libc.so): Use $(shlib-lds).
57189         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57190         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57192         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57193         DT_FLAGS/DT_FLAGS_1 with zero flags.
57195         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57196         linker script munging.
57198 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57200         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57201         as 128-bit value.
57202         * crypt/sha512.c (sha512_process_block): Perform total addition using
57203         128-bit if possible.
57204         (__sha512_finish_ctx): Likewise.
57205         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57206         as 64-bit value.
57207         * crypt/sha256.c (SWAP64): Define.
57208         (sha256_process_block): Perform total addition using 64-bit if
57209         possible.
57210         (__sha256_finish_ctx): Likewise.
57212 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57214         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57216         * nscd/hstcache.c (cache_addhst): Likewise.
57217         * nscd/grpcache.c (cache_addgr): Likewise.
57218         * nscd/aicache.c (addhstaiX): Likewise
57219         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57221 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57223         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57224         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57225         * nscd/hstcache.c (cache_addhst): Likewise.
57226         * nscd/grpcache.c (cache_addgr): Likewise.
57227         * nscd/aicache.c (addhstaiX): Likewise
57229 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57231         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57232         domain only when needed.
57234 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57237         is always restored.
57239 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57241         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57242         are re-adding the entry.
57243         * nscd/servicescache.c (cache_addserv): Likewise.
57245 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57247         * sysdeps/generic/dl-irel.h: fix protection against multiple
57248         inclusions.
57249         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57251 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57253         [BZ #12935]
57254         * malloc/memusage.sh: Fix quoting in message.
57255         * debug/xtrace.sh: Likewise.
57257         * configure.in: Remove support for --experimental-malloc option, make
57258         it the default.
57259         * config.make.in: Likewise.
57260         * malloc/Makefile: Likewise.
57262 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57264         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57265         two-byte characters.
57267 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57269         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57270         AC_CACHE_CHECK invocation.
57271         * configure: Regenerated.
57273         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57275 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57277         [BZ #12350]
57278         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57279         bit from old_res_options.
57281         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57283         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57284         value type for setfct.
57286 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57288         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57289         __gettimeofday instead of gettimeofday.
57291 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57293         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57295 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57297         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57299         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57300         info.
57302 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57305         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57306         strcpy-sse2-unaligned strncpy-sse2-unaligned
57307         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57308         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57309         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57310         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57311         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57312         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57313         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57314         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57315         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57316         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57317         (STRCPY): Support SSE2 and SSSE3 versions.
57319 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57321         [BZ #12874]
57322         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57323         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57324         kernels which artificially limit size of requests.
57326 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57329         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57330         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57331         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57332         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57333         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57334         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57335         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57336         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57337         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57338         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57339         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57340         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57341         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57342         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57344         Enable unaligned load optimization for Intel Core i3, i5 and i7
57345         processors.
57346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57347         Define.
57348         (index_Fast_Unaligned_Load): Define.
57349         (HAS_FAST_UNALIGNED_LOAD): Define.
57351 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57353         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57355 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57357         [BZ #12907]
57358         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57359         until it is clear that the information is realy needed.
57360         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57362 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57366 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57368         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57369         /sys/devices/system/cpu/online if it is usable.
57371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57372         reading the information from the /proc filesystem to once a second.
57374 2011-06-21  Andreas Jaeger  <aj@suse.de>
57376         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57377         NULL after inclusion of kernel headers.
57379 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57381         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57382         calls to internal_setent.
57384         [BZ #12885]
57385         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57386         addresses using gethostbyname4_r ignore IPv4 addresses.
57388         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57389         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57391         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57393 2011-06-20  David S. Miller  <davem@davemloft.net>
57395         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57396         inclusions.
57397         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57399         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57400         (elf_irel): Use it.
57401         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57402         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57403         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57404         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57405         * sysdeps/x86_64/dl-irel.h: Likewise.
57407         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57408         * elf/dl-sym.c: Likewise.
57410 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57412         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57413         need to dereference resplen2.
57415 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57417         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57419 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57421         * Makeconfig: Define vardbdir and inst_vardbdir.
57422         * nss/Makefile: Add rules to install db-Makefile.
57424         * nss/nss_db/db-XXX.c: Cleanup.
57426         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57427         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57428         GLIBC_PRIVATE.
57429         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57430         * nss/makedb.c: Implement -g option to specify that value strings
57431         are generated and should not be added to table iterated over for
57432         get*ent calls.
57433         * nss/nss_db/db-initgroups.c: New file.
57435         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57436         interface.
57438         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57439         (internal_getgrouplist): Adjust to name change.
57440         Update use_initgroups_entry if this is not the first call.
57441         * nss/databases.def: Add initgroups entry.
57443         * nss/makedb.c (compute_tables): Check result of multiple hash table
57444         sizes to minimize maximum chain length.
57446 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57448         * Versions.def: Add entry for libnss_db.
57449         * shlib-versions: Likewise.
57450         * nss/Makefile: Add rules to build libnss_db.
57451         * nss/Versions: Add libnss_db information.  Organize libnss_files
57452         entries better.
57453         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57454         makedb progra.  Some minor improvements to generate smaller files.
57455         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57456         here from...
57457         * nss/makedb.c: ...here.
57458         Improve database format to be smaller and require less memory at
57459         runtime.
57460         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57461         db anymore.
57462         * nss/nss_db/db-netgrp.c: Likewise.
57463         * nss/nss_db/db-open.c: Likewise.
57464         * nss/nss_files/flies-XXX.x: Adjust comments.
57465         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57466         * nss/nss_files/files-grp.c: Likewise.
57467         * nss/nss_files/files-hosts.c: Likewise.
57468         * nss/nss_files/files-network.c: Likewise.
57469         * nss/nss_files/files-proto.c: Likewise.
57470         * nss/nss_files/files-pwd.c: Likewise.
57471         * nss/nss_files/files-rpc.c: Likewise.
57472         * nss/nss_files/files-service.c: Likewise.
57473         * nss/nss_files/files-sgrp.c: Likewise.
57474         * nss/nss_files/files-spwd.c: Likewise.
57475         * nss/nss_db/db-alias.c: Removed.
57476         * nss/nss_db/dummy-db.h: Removed.
57478 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57480         * nss/makedb.c: Rewritten to not use database library.
57481         * nss/Makefile: Update to build new makedb program.
57483 2011-06-14  Andreas Jaeger  <aj@suse.de>
57485         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57486         memset declaration.
57488 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57491         tmpbuf.
57493 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57495         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57496         * elf/Makefile ($(objpfx)ld.so): Likewise.
57498         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57499         Don't list ld.so twice in dependencies.
57501         * posix/bug-regex31.c: Include <stdlib.h>.
57503         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57505         * nis/nss_compat/compat-spwd.c
57506         (getspent_next_nss_netgr): Remove unused variable.
57507         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57509         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57510         nonmembers" output to use the right array.
57512         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57514         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57516         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57517         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57518         * catgets/gencat.c (read_input_file): Likewise.
57519         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57521         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57522         variable definition inside #if's controlling its use.
57524         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57526         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57528         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57530         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57531         unreachable code.
57533         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57535         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57536         * configure: Regenerated.
57538         * Makerules: Revert last change.
57539         * elf/Makefile: Likewise.
57541 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57543         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57544         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57545         (reloc-link): Likewise.
57547 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57549         * elf/Makefile: Add rules to build pldd.
57550         * elf/pldd.c: New file.
57551         * elf/pldd-xx.c: New file.
57553 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
57555         * version.h: Update for 2.15 development version.
57557 2011-06-07  David S. Miller  <davem@davemloft.net>
57559         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57560         ifuncs.
57561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57562         elf_machine_lazy_rel): Likewise.
57563         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57564         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57565         elf_machine_lazy_rel): Likewise.
57566         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57567         dl_hwcap via passed in argument.
57568         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57569         Likewise.
57571 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57573         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
57575 2011-06-06  Roland McGrath  <roland@hack.frob.com>
57577         [BZ #12849]
57578         * manual/fdl-1.1.texi: New file, verbatim from:
57579         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57580         * manual/lgpl-2.1.texi: New file, verbatim from:
57581         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57582         * manual/Makefile (licenses): New variable, list those new file names.
57583         (texis): Use it.
57584         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57586         * manual/fdl.texi: File removed.
57587         * manual/lesser.texi: File removed.
57588         * manual/libc.texinfo (Copying, Documentation License):
57589         Use new @include file names, put @appendix directive before @include.
57591 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
57593         [BZ #12841]
57594         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57595         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57596         (mq_open): Add __NTH.
57598 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
57600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57601         Assume Intel Core i3/i5/i7 processor if AVX is available.
57603 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57605         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57606         typo.
57608 2011-05-31  Andreas Schwab  <schwab@redhat.com>
57610         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57611         memory.  Use alloca_account.  Fix memory leak when retrying.
57613 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57615         * version.h (RELEASE): Bump for 2.14 release.
57616         * include/features.h (__GLIBC_MINOR__): Bump to 14.
57618         * config.make.in (RANLIB): Remove entry.
57620 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
57622         * po/Makefile (po-sed-cmd): Add ksh to extensions.
57623         (libc.pot): Work around missing support for .ksh extension in xgettext.
57625         [BZ #12684]
57626         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57627         if both request failed.
57628         (send_dg): In case of server errors clear resplen or *resplen2.
57630         [BZ #12454]
57631         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57632         when there are multiple maps.
57633         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57634         (_dl_fini): Remove test here.
57636         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57638 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
57640         [BZ #12350]
57641         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57642         bit from old_res_options.
57643         (gaih_inet): Likewise.
57645         [BZ #11099]
57646         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57647         as signed.
57649         * resolv/res_init.c (res_setoptions): Make the code more compact.
57651         [BZ #11558]
57652         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57653         set RES_USEVC.
57655         [BZ #11634]
57656         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57658         * malloc/malloc.h: Mark malloc hook variables as deprecated.
57660         [BZ #11781]
57661         * malloc/malloc.h: Declare malloc hook variables as volatile.
57663         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57664         in last patch.
57666         [BZ #11799]
57667         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57668         raise in the comment.
57669         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57671         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57673 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
57675         [BZ #12811]
57676         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57677         grow the buffers more if it already has to be sufficient.
57678         (build_wcs_upper_buffer): Likewise.
57679         * posix/regexec.c (check_matching): Likewise.
57680         (clean_state_log_if_needed): Likewise.
57681         (extend_buffers): Don't enlarge buffers beyond size of the input
57682         buffer.
57683         Patches mostly by Emil Wojak <emil@wojak.eu>.
57684         * posix/bug-regex32.c: New file.
57685         * posix/Makefile (tests): Add bug-regex32.
57687         * locale/findlocale.c (_nl_find_locale): Return right away if
57688         _nl_explode_name failed.
57689         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57691         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57693         * debug/xtrace.sh: Unify messages.
57694         * malloc/memusage.sh: Likewise.
57696         [BZ #12813]
57697         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57698         time symbol from vDSO.  Substitute with vsyscall if not available.
57699         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57700         __vdso_time.
57702         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57703         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57704         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57705         Add sendmmsg and internal_sendmmsg.
57706         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57707         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57708         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57710         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57711         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57712         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57714 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
57716         [BZ #12813]
57717         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57718         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
57719         available.
57720         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57721         __vdso_getcpu.
57723         [BZ #12814]
57724         * iconvdata/Makefile (tests): Add bug-iconv9.
57725         * iconvdata/bug-iconv9.c: New file.
57727 2011-05-27  Andreas Schwab  <schwab@redhat.com>
57729         [BZ #12814]
57730         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57732 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
57734         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57735         (struct user_regs_struct): Change intcs field back to cs.
57737 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
57739         * po/ja.po: Update from translation team.
57741 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
57743         [BZ #12795]
57744         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57745         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57747 2011-05-20  Andreas Schwab  <schwab@redhat.com>
57749         * stdlib/longlong.h: Update from GCC.
57751 2011-05-23  Andreas Schwab  <schwab@redhat.com>
57753         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57754         parameter name.
57755         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57756         Add parameter name.
57757         (__sysconf): Pass it down.
57759 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
57761         [BZ #12671]
57762         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57763         some situations.
57764         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57765         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57766         add in in __libc_use_alloca calls.  Adjust callers.
57767         (glob): Use malloc in some situations.
57769         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57770         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57771         pltexit.
57773 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57775         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57776         and CLOCK_BOOTTIME_ALARM.
57778         [BZ #12782]
57779         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57780         is returned.
57782         * string/_strerror.c (__strerror_r): Print negative errors as signed
57783         numbers.
57785         [BZ #12777]
57786         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57787         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57788         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57790         * configure.in: Fix typo in redirection and correct removal of test
57791         files in two cases.
57793         [BZ #12788]
57794         * locale/setlocale.c (new_composite_name): Fix test to check for
57795         identical name of all categories.
57797         [BZ #12792]
57798         * libio/filedoalloc.c (local_isatty): New function.
57799         (_IO_file_doallocate): Use local_isatty.
57800         * stdio-common/perror.c (perror): In case a new stream is used
57801         forward the stream error.
57802         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57803         error flag.
57805 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57807         [BZ #11869]
57808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57809         alloca.
57810         * include/alloca.h (extend_alloca_account): Define.
57812         [BZ #11857]
57813         * posix/regex.h: Fix comments with documentation of user-accessible
57814         fields after compilation and describe correct free'ing of pattern
57815         after re_compile_pattern.
57816         Patch by Reuben Thomas <rrt@sc3d.org>.
57818 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57820         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57821         and -mno-altivec to prevent the compiler from using Altivec and/or
57822         VSX instructions when the corresponding registers are not available.
57824 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57826         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57828 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57830         * libio/freopen.c (freopen): Use __dup2, not dup2.
57831         * libio/freopen64.c (freopen64): Likewise.
57833 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57835         [BZ #12775]
57836         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57837         * math/Makefile (tests): Add test-powl.
57838         (CFLAGS-test-powl.c): Define.
57839         * math/test-powl.c: New file.
57841 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57843         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57845 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57847         [BZ #11837]
57848         * iconvdata/gb18030.c: Update to GB18020-2005.
57850 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57852         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57853         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57854         Patch by Aharon Robbins <arnold@skeeve.com>.
57856         [BZ #11892]
57857         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57858         on the stack.
57860         [BZ #11895]
57861         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57862         through underflows.
57864         [BZ #12766]
57865         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57866         point to strings before performing equality test for error_one_per_line
57867         mode.
57869         [BZ #11697]
57870         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57872         [BZ #11820]
57873         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57874         (struct user_fpregs_struct): Avoid __uint*_t types.
57876         [BZ #6420]
57877         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57878         symbol info.  Use it instead of calling _dl_addr locally.
57879         (lock_and_info): New function.
57880         (tr_freehook): Call lock_and_info and pass symbol info as additional
57881         parameter to tr_where.
57882         (tr_mallochook): Likewise.
57883         (tr_reallochook): Likewise.
57884         (tr_memalignhook): Likewise.
57886         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57887         used and couldn't be at all thread-safe.
57889 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57891         * libio/freopen.c (freopen): Don't close old file descriptor
57892         before the new one is opened.  Instead dup the new file descriptor
57893         to the old one after the new stream is created.
57894         * libio/freopen64.c (freopen64): Likewise.
57895         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57896         * libio/fileops.c (_IO_new_file_close_it): Handle new
57897         _IO_FLAGS2_NOCLOSE flag.
57898         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57899         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57900         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57901         _IO_FLAGS2_NOCLOSE flag.
57902         * include/unistd.h: Add hidden_proto for dup3.
57903         Define __have_dup3.
57904         * io/dup3.c: Define hidden symbol.
57905         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57907         [BZ #7101]
57908         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57909         when an incomplete long option is used.
57910         * posix/tst-getopt_long1.c: New file.
57911         * posix/Makefile (tests): Add tst-getopt_long1.
57913         [BZ #10138]
57914         * scripts/config.guess: Update from autoconf-2.68.
57915         * scripts/config.sub: Likewise.
57917         [BZ #10157]
57918         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57919         tests into ...
57920         (has_cpuclock): ...this.  New function.
57921         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57922         macro here based on has_cpuclock code.
57924         [BZ #10149]
57925         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57926         First byte (not low byte) is now always NUL.
57927         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57930         Use non-cancelable interfaces.
57932         [BZ #9809]
57933         * locale/iso-639.def: Add entry for Sorani.
57935         [BZ #11901]
57936         * include/stdlib.h: Move include protection to the right place.
57937         Define abort_msg_s.  Declare __abort_msg with it.
57938         * stdlib/abort.c (__abort_msg): Adjust type.
57939         * assert/assert.c (__assert_fail_base): New function.  Majority
57940         of code from __assert_fail.  Allocate memory for __abort_msg with
57941         mmap.
57942         (__assert_fail): Now call __assert_fail_base.
57943         * assert/assert-perr.c: Remove bulk of implementation.  Use
57944         __assert_fail_base.
57945         * include/assert.hL Declare __assert_fail_base.
57946         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57947         mmap.
57948         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57950 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57952         [BZ #11952]
57953         [BZ #12453]
57954         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57955         until all modules are registered in the DTV.
57956         * elf/Makefile: Add rules to build and run tst-tls19.
57957         * elf/tst-tls19.c: New file.
57958         * elf/tst-tls19mod1.c: New file.
57959         * elf/tst-tls19mod2.c: New file.
57960         * elf/tst-tls19mod3.c: New file.
57961         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57963         [BZ #12083]
57964         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57965         correctly.
57967         [BZ #12601]
57968         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57969         two-byte sequence errors.
57970         * iconvdata/Makefile (tests): Add bug-iconv8.
57971         * iconvdata/bug-iconv8.c: New file.
57973         [BZ #12626]
57974         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57975         buf2 definition.
57977         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57979         [BZ #12432]
57980         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57981         (dummy_getcfa): New function.
57982         (init): Get _Unwind_GetCFA address, use dummy if not found.
57983         (backtrace_helper): In recursion check, also check whether CFA changes.
57984         (__backtrace): Completely initialize arg.
57986         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57987         storing incomplete byte sequence in state object.  Avoid testing for
57988         guaranteed too small input if we know there is enough data available.
57990 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57992         * Makeconfig (+link-pie): Indent.
57993         * Rules (binaries-pie): Define if $(have-fpie) and
57994         $(build-shared).
57995         (binaries-shared): Also filter out $(binaries-pie).
57996         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57997         * nscd/Makefile (others-pie): Add nscd.
57998         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57999         ($(objpfx)nscd): Remove command override.
58000         * login/Makefile (others-pie): Add pt_chown.
58001         ($(objpfx)pt_chown): Remove command override.
58002         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58003         remove command overrides.
58005 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58007         * libio/tst_putwc.c: Fix error messages.
58009         [BZ #12724]
58010         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58011         currently writing and seek to current position when not.
58012         * libio/Makefile (tests): Add bug-fclose1.
58013         * libio/bug-fclose1.c: New file.
58015 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58017         [BZ #12511]
58018         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58019         don't set DF_1_NODELETE here.
58020         (do_lookup_x): When entering new entry test for copy relocation
58021         and if necessary set DF_1_NODELETE flag.
58022         * elf/tst-unique4.cc: New file.
58023         * elf/tst-unique4.h: New file.
58024         * elf/tst-unique4lib.cc: New file.
58025         * elf/Makefile: Add rules to build and run tst-unique4.
58026         Patch by Piotr Bury <pbury@goahead.com>.
58028 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58030         [BZ #12052]
58031         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58033         [BZ #12625]
58034         * misc/mntent_r.c (addmntent): Flush the stream after the output
58036         [BZ #12393]
58037         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58038         (is_trusted_path_normalize): Skip initial colon.  Append slash
58039         to empty buffer.  Duplicate is_trusted_path code but allow
58040         constructed patch to be prefix.
58041         (is_dst): Allow $ORIGIN followed by /.
58042         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58043         Correct testing of result of is_trusted_path_normalize
58044         (decompose_rpath): Fix warning.
58046 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58048         [BZ #11257]
58049         * grp/initgroups.c (internal_getgrouplist): When we found the service
58050         list through the initgroups entry in nsswitch.conf do not always
58051         continue on a successful lookup.  Don't always use the
58052         __nss_group_database value if it is set.
58053         * nss/nsswitch.conf (initgroups): Change action for successful db
58054         lookup to continue for compatibility.
58056 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58058         [BZ #11532]
58059         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58060         and CP774 modules.
58061         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58062         and CP774 modules.
58063         * iconvdata/tst-tables.sh: Likewise.
58064         * iconvdata/cp770.c: New file.
58065         * iconvdata/cp771.c: New file.
58066         * iconvdata/cp772.c: New file.
58067         * iconvdata/cp773.c: New file.
58068         * iconvdata/cp774.c: New file.
58069         * iconvdata/testdata/CP770: New file.
58070         * iconvdata/testdata/CP770..UTF8: New file.
58071         * iconvdata/testdata/CP771: New file.
58072         * iconvdata/testdata/CP771..UTF8: New file.
58073         * iconvdata/testdata/CP772: New file.
58074         * iconvdata/testdata/CP772..UTF8: New file.
58075         * iconvdata/testdata/CP773: New file.
58076         * iconvdata/testdata/CP773..UTF8: New file.
58077         * iconvdata/testdata/CP774: New file.
58078         * iconvdata/testdata/CP774..UTF8: New file.
58080         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58081         END CHARMAP line.
58082         * iconvdata/gen-8bit-gap.sh: Likewise.
58083         * iconvdata/gen-8bit.sh: Likewise.
58085         * locale/iso-639.def: Add ary entry.
58087         [BZ #11258]
58088         * locale/C-translit.h.in: Add U20A1 transliteration.
58090         [BZ #12178]
58091         * locale/iso-639.def: Add wae entry.
58092         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58094         [BZ #12545]
58095         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58096         for n.
58098         [BZ #12711]
58099         * locale/C-translit.h.in: Add entry for U20B9.
58100         Patch by pravin.d.s@gmail.com.
58102 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58104         [BZ #12713]
58105         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58106         ENAMETOOLONG use generic getcwd.
58107         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58108         in rtld.  Use *stat64.
58109         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58110         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58111         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58112         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58113         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58114         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58115         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58116         __fstatat64 macros.
58117         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58118         * dirent/rewinddir.c: Add libc_hidden_def.
58119         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58120         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58122         * include/dirent.h (__alloc_dir): Add flags parameter.
58123         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58124         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58125         __alloc_dir.
58126         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58127         from fdopendir if O_CLOEXEC is already set.
58129 2011-03-15  Alan Modra  <amodra@gmail.com>
58131         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58132         l_tls_firstbyte_offset non-zero.  Save padding offset in
58133         l_tls_firstbyte_offset for later use.
58134         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58135         freeing static tls block.
58137 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58139         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58140         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58141         being defined by the kernel headers.
58143 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58145         [BZ #12734]
58146         * resolv/resolv.h: Define RES_NOTLDQUERY.
58147         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58148         no-tld-query and set RES_NOTLDQUERY.
58149         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58150         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58151         modern BIND to search name as TLD unless forbidden.
58153 2011-05-07  Petr Baudis  <pasky@suse.cz>
58154             Ulrich Drepper  <drepper@gmail.com>
58156         [BZ #12393]
58157         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58158         (is_trusted_path): ...to here.
58159         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58160         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58161         using is_trusted_path_normalize() in setuid scripts.
58163 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58165         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58166         __BEGIN/__END_DECLS.
58168 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58170         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58171         NSS_STATUS_NOTFOUND if no record was found.
58173 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58175         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58176         (headers-not-in-tirpc): Remove rpc/netdb.h
58177         * resolv/netdb.h: Revert last change.
58179 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58181         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58182         circular dependency between libgcc.a and libc.a.
58184 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58186         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58187         * nis/Makefile: Don't install rpcsvc/*.
58188         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58189         instead of <rpc/types.h>.
58190         (MAXHOSTNAMELEN): Define.
58192 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58194         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58196 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58198         [BZ #12714]
58199         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58200         gethostbyname4_r when IPv6 results are possible.
58202 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58204         [BZ #12723]
58205         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58206         _PC_PIPE_BUF handling.
58208 2011-04-30  Bruno Haible  <bruno@clisp.org>
58210         [BZ #12717]
58211         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58212         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58213         to 'int'.
58214         * inet/getnameinfo.c (getnameinfo): Likewise.
58216 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58218         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58219         to groups setting in database lookup.
58220         * nss/nsswitch.conf: Add initgroups entry.
58222 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58224         [BZ #12685]
58225         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58226         mode string.
58227         Patch by Eric Blake <eblake@redhat.com>.
58229 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58231         * sunrpc/Makefile (need-export-routines): Add svc_run.
58232         (routines): Remove svc_run.
58233         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58234         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58235         * sunrpc/svc_run.c (svc_run): Likewise.
58236         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58238 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58240         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58241         problem in reallocation in last patch.
58243 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58245         * sunrpc/Makefile: Move inclusion of Rules.
58247 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58249         * nss/nss_files/files-initgroups.c: New file.
58250         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58251         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58252         _nss_files_initgroups_dyn.
58254 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58256         * elf/elf.h (R_ARM_IRELATIVE): Define.
58258 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58260         * po/ru.po: Update from translation team.
58262 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58264         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58265         dependencies.
58267 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58269         [BZ #12653]
58270         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58271         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58272         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58273         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58274         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58276 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58278         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58279         differing bytes.
58280         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58281         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58282         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58284 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58286         [BZ #12420]
58287         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58288         storing it.
58289         * stdlib/bug-getcontext.c: New file.
58290         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58292 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58294         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58295         instructions into .machine "z9-109".
58296         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58297         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58299 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58301         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58302         between environment variables and auxiliary vector.
58304 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58306         * Makefile: Add rules to build linkobj/libc.so.
58307         * include/libc-symbols.h: Define libc_hidden_nolink.
58308         * include/rpc/auth.h: Mark functions which are to be hidden.
58309         * include/rpc/auth_des.h: Likewise.
58310         * include/rpc/auth_unix.h: Likewise.
58311         * include/rpc/clnt.h: Likewise.
58312         * include/rpc/des_crypt.h: Likewise.
58313         * include/rpc/key_prot.h: Likewise.
58314         * include/rpc/pmap_clnt.h: Likewise.
58315         * include/rpc/pmap_prot.h: Likewise.
58316         * include/rpc/pmap_rmt.h: Likewise.
58317         * include/rpc/rpc_msg.h: Likewise.
58318         * include/rpc/svc.h: Likewise.
58319         * include/rpc/svc_auth.h: Likewise.
58320         * include/rpc/xdr.h: Likewise.
58321         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58322         * nss/Makefile: Likewise.
58323         * sunrpc/Makefile: Don't install headers.  Build library with normal
58324         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58325         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58326         for the compat linking library.  Remove use of INTDEF/INTUSE.
58327         * sunrpc/auth_none.c: Likewise.
58328         * sunrpc/auth_unix.c: Likewise.
58329         * sunrpc/authdes_prot.c: Likewise.
58330         * sunrpc/authuxprot.c: Likewise.
58331         * sunrpc/clnt_gen.c: Likewise.
58332         * sunrpc/clnt_perr.c: Likewise.
58333         * sunrpc/clnt_raw.c: Likewise.
58334         * sunrpc/clnt_simp.c: Likewise.
58335         * sunrpc/clnt_tcp.c: Likewise.
58336         * sunrpc/clnt_udp.c: Likewise.
58337         * sunrpc/clnt_unix.c: Likewise.
58338         * sunrpc/des_crypt.c: Likewise.
58339         * sunrpc/des_soft.c: Likewise.
58340         * sunrpc/get_myaddr.c: Likewise.
58341         * sunrpc/key_call.c: Likewise.
58342         * sunrpc/key_prot.c: Likewise.
58343         * sunrpc/netname.c: Likewise.
58344         * sunrpc/pm_getmaps.c: Likewise.
58345         * sunrpc/pm_getport.c: Likewise.
58346         * sunrpc/pmap_clnt.c: Likewise.
58347         * sunrpc/pmap_prot.c: Likewise.
58348         * sunrpc/pmap_prot2.c: Likewise.
58349         * sunrpc/pmap_rmt.c: Likewise.
58350         * sunrpc/publickey.c: Likewise.
58351         * sunrpc/rpc_cmsg.c: Likewise.
58352         * sunrpc/rpc_common.c: Likewise.
58353         * sunrpc/rpc_dtable.c: Likewise.
58354         * sunrpc/rpc_prot.c: Likewise.
58355         * sunrpc/rpc_thread.c: Likewise.
58356         * sunrpc/rtime.c: Likewise.
58357         * sunrpc/svc.c: Likewise.
58358         * sunrpc/svc_auth.c: Likewise.
58359         * sunrpc/svc_authux.c: Likewise.
58360         * sunrpc/svc_raw.c: Likewise.
58361         * sunrpc/svc_run.c: Likewise.
58362         * sunrpc/svc_simple.c: Likewise.
58363         * sunrpc/svc_tcp.c: Likewise.
58364         * sunrpc/svc_udp.c: Likewise.
58365         * sunrpc/svc_unix.c: Likewise.
58366         * sunrpc/svcauth_des.c: Likewise.
58367         * sunrpc/xcrypt.c: Likewise.
58368         * sunrpc/xdr.c: Likewise.
58369         * sunrpc/xdr_array.c: Likewise.
58370         * sunrpc/xdr_float.c: Likewise.
58371         * sunrpc/xdr_intXX_t.c: Likewise.
58372         * sunrpc/xdr_mem.c: Likewise.
58373         * sunrpc/xdr_rec.c: Likewise.
58374         * sunrpc/xdr_ref.c: Likewise.
58375         * sunrpc/xdr_sizeof.c: Likewise.
58376         * sunrpc/xdr_stdio.c: Likewise.
58378 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58380         [BZ #12650]
58381         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58382         * sysdeps/ia64/dl-tls.h: Likewise.
58383         * sysdeps/powerpc/dl-tls.h: Likewise.
58384         * sysdeps/s390/dl-tls.h: Likewise.
58385         * sysdeps/sh/dl-tls.h: Likewise.
58386         * sysdeps/sparc/dl-tls.h: Likewise.
58387         * sysdeps/x86_64/dl-tls.h: Likewise.
58388         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58390 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58392         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58393         rpath element also skip the following colon.
58394         (expand_dynamic_string_token): Add is_path parameter and pass
58395         down to DL_DST_REQUIRED and _dl_dst_substitute.
58396         (decompose_rpath): Call expand_dynamic_string_token with
58397         non-zero is_path.  Ignore empty rpaths.
58398         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58399         with zero is_path.
58401 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58404         Make cancelable.
58406 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58408         [BZ #12655]
58409         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58410         Patch by Filipe David Manana <fdmanana@apache.org>.
58412 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58414         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58415         Maintain aligned stack.
58416         (CHECK_RSP): Remove unused macro.
58418 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58420         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58421         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58423 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58425         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58427         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58429 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58431         [BZ #12518]
58432         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58433         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58434         * sysdeps/x86_64/memmove.c: New file.
58435         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58436         (memcpy): Renamed to ...
58437         (__new_memcpy): This.
58438         (memcpy): Provide GLIBC_2_14 memcpy.
58439         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58440         (memcpy): Provide GLIBC_2_2_5 memcpy.
58442 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58444         [BZ #12631]
58445         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58447 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58449         * misc/syncfs.c: New file.
58450         * misc/Makefile (routines): Add syncfs.
58451         * posix/unistd.h: Declare syncfs.
58452         * sysdeps/unix/syscalls.list: Add syncfs.
58454 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58456         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58457         open_by_handle_at.
58458         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58459         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58461         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58463         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58464         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58466 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58468         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58469         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58470         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58472         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58474         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58476         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58477         sync_file_range.c with -fexceptions.
58478         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58479         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58480         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58481         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58482         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58483         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58485         sync_file_range as cancellation point
58486         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58487         now a wrapper around __call_sync_file_range with cancellation handling.
58488         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58489         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58490         function name to __call_sync_file_range.
58491         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58492         Add call_sync_file_range.
58494 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58497         bits/timex.h.
58499 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58501         * iconv/iconv.h: Fix typo in comment.
58502         * io/fcntl.h: Likewise.
58503         * libio/stdio.h: Likewise.
58504         * posix/spawn.h: Likewise.
58505         * posix/unistd.h: Likewise.
58506         * stdlib/stdlib.h: Likewise.
58507         * time/time.h: Likewise.
58508         * wcsmbs/wchar.h: Likewise.
58510         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58511         open_by_handle): Add.
58512         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58513         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58514         Augment a few comments.
58515         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58517         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58520         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58521         open_by_handle.
58523         * io/fcntl.h (AT_EMPTY_PATH): Define.
58525 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58527         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58528         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58529         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58530         to...
58531         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58532         * Versions.def: Add GLIBC_2.14.
58533         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58534         Export.
58536 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58538         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58539         round counter.
58540         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58542 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58544         [BZ #12597]
58545         * string/test-strncmp.c (do_page_test): New function.
58546         (check2): Likewise.
58547         (test_main): Call check2.
58548         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58550 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
58552         [BZ #12587]
58553         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58554         Handle cache information in CPU leaf 4.
58555         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58557 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
58559         [BZ #12583]
58560         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58561         character representation.
58562         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58564 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
58566         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58567         END(__isnan) to END(__isnanf) to match function entry point/label
58568         EALIGN(__isnanf,...).
58570 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
58572         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58574 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
58576         [BZ #12510]
58577         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58578         copy from the symbol referenced in the relocation to initialize the
58579         used variable.
58580         Patch by Piotr Bury <pbury@goahead.com>.
58581         * elf/Makefile: Add rules to build and tst-unique3.
58582         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58583         * elf/tst-unique3.cc: New file.
58584         * elf/tst-unique3.h: New file.
58585         * elf/tst-unique3lib.cc: New file.
58586         * elf/tst-unique3lib2.cc: New file.
58588         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58590 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
58592         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58593         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
58594         to _start.
58596 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
58598         * elf/dl-load.c (_dl_map_object): If we are looking for the first
58599         to-be-loaded object along a path to loader is ld.so.
58601 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58602             Ulrich Drepper  <drepper@gmail.com>
58604         * sysdeps/x86_64/memset.S: After aligning destination, code
58605         branches to different locations depending on the value of
58606         misalignment, when multiarch is enabled. Fix this.
58608 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58610         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58611         Set _x86_64_preferred_memory_instruction for AMD processsors.
58612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58613         Set bit_Prefer_SSE_for_memop for AMD processors.
58615 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
58617         * libio/fmemopen.c (fmemopen): Optimize a bit.
58619 2011-03-03  Andreas Schwab  <schwab@redhat.com>
58621         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58623 2011-03-03  Roland McGrath  <roland@redhat.com>
58625         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58627 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
58629         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58630         __bzero_ultra1 instead of __memset_ultra1.
58632 2011-02-23  Andreas Schwab  <schwab@redhat.com>
58633             Ulrich Drepper  <drepper@gmail.com>
58635         [BZ #12509]
58636         * include/link.h (struct link_map): Add l_orig_initfini.
58637         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58638         returning unsuccessfully.
58639         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58640         close of a file loaded at startup, restore the original l_initfini
58641         list.
58642         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58643         list, store the pointer.
58644         * elf/Makefile ($(objpfx)noload-mem): New rule.
58645         (noload-ENV): Define.
58646         (tests): Add $(objpfx)noload-mem.
58647         * elf/noload.c: Include <memcheck.h>.
58648         (main): Call mtrace.  Close all opened handles.
58650 2011-02-17  Andreas Schwab  <schwab@redhat.com>
58652         [BZ #12454]
58653         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58654         dependencies are missing.
58656 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58658         Fix __if_freereq crash: Unlike the generic version which uses free,
58659         Hurd needs munmap.
58660         * sysdeps/mach/hurd/ifreq.h: New file.
58662 2011-01-27  Petr Baudis  <pasky@suse.cz>
58663             Ulrich Drepper  <drepper@gmail.com>
58665         [BZ 12445]#
58666         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58667         to extend_alloca().
58668         * stdio-common/bug23.c: New file.
58669         * stdio-common/Makefile (tests): Add bug23.
58671 2010-09-28  Andreas Schwab  <schwab@redhat.com>
58672             Ulrich Drepper  <drepper@gmail.com>
58674         [BZ #12489]
58675         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58676         before performing relro protection.  At old place add assertion
58677         to make sure nothing changed.
58679 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
58680             Glauber de Oliveira Costa  <glommer@gmail.com>
58682         * elf/elf.h: Add new ARM TLS relocs.
58684 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
58686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58687         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58688         cast from r3.
58689         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
58690         'tests' variable.
58691         * sysdeps/wordsize-64/tst-writev.c: New file.
58693 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
58695         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58696         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58697         insns in _dl_start to prevent a TOC reference before relocs are
58698         resolved.
58700 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
58702         [BZ #12469]
58703         * Makeconfig: Remove RANLIB definition.
58704         * Makerules: Don't use RANLIB.
58705         * aclocal.m4: Remove ranlib test.
58706         * configure.in: No need to check for ranlib.
58707         * elf/rtld-Rules: Don't use RANLIB.
58709 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58711         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58712         protection macro.
58713         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58714         inclusion protection macro.
58716         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58717         SIGRTMIN and SIGRTMAX and print information in that case only when
58718         SIGRTMIN is defined.
58720 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
58722         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58723         arginfo fn returning -1.
58725         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58726         and thousands string is zero terminated.
58728 2011-02-03  Andreas Schwab  <schwab@redhat.com>
58730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58731         sysdeps/unix/sysv/linux/bits/socket.h.
58733 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58735         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58736         (__CPU_COUNT): Remove old macros.
58737         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58738         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58739         (__CPU_ALLOC, __CPU_FREE): Add macros.
58740         (__sched_cpualloc, __sched_cpufree): Add declarations.
58742 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
58744         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58745         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58746         * nscd/aicache.c (addhstaiX): Return timeout of added value.
58747         (readdhstai): Return value of addhstaiX call.
58748         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58749         (addgrbyX): Return value returned by cache_addgr.
58750         (readdgrbyname): Return value returned by addgrbyX.
58751         (readdgrbygid): Likewise.
58752         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58753         (addpwbyX): Return value returned by cache_addpw.
58754         (readdpwbyname): Return value returned by addhstbyX.
58755         (readdpwbyuid): Likewise.
58756         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58757         (addservbyX): Return value returned by cache_addserv.
58758         (readdservbyname): Return value returned by addservbyX:
58759         (readdservbyport): Likewise.
58760         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58761         (addhstbyX): Return value returned by cache_addhst.
58762         (readdhstbyname): Return value returned by addhstbyX.
58763         (readdhstbyaddr): Likewise.
58764         (readdhstbynamev6): Likewise.
58765         (readdhstbyaddrv6): Likewise.
58766         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58767         (readdinitgroups): Return value returned by addinitgroupsX.
58768         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58769         (prune_cache): Keep track of timeout value of re-added entries.
58770         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58771         * nscd/nscd.h: Adjust prototypes of readd* functions.
58773 2011-02-04  Roland McGrath  <roland@redhat.com>
58775         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58776         (nis_stats): Likewise.
58777         * nis/nis_modify.c (nis_modify): Likewise.
58778         * nis/nis_remove.c (nis_remove): Likewise.
58779         * nis/nis_add.c (nis_add): Likewise.
58781         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58783         * posix/fnmatch_loop.c: Add some consts.
58785         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58787 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58789         [BZ #12460]
58790         * config.make.in (config-cflags-novzeroupper): Define.
58791         * configure.in: Substitute libc_cv_cc_novzeroupper.
58792         * elf/Makefile (AVX-CFLAGS): Define.
58793         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58794         (CFLAGS-tst-auditmod4a.c): Likewise.
58795         (CFLAGS-tst-auditmod4b.c): Likewise.
58796         (CFLAGS-tst-auditmod6b.c): Likewise.
58797         (CFLAGS-tst-auditmod6c.c): Likewise.
58798         (CFLAGS-tst-auditmod7b.c): Likewise.
58799         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58801 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58803         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58804         function to the callback.
58805         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58807 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58809         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58810         of errno.
58812 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58814         [BZ #11724]
58815         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58816         of constructors.
58817         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58818         of destructors.
58819         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58821         [BZ #11724]
58822         * elf/Makefile: Add rules to build and run new test.
58823         * elf/tst-initorder.c: New file.
58824         * elf/tst-initorder.exp: New file.
58825         * elf/tst-initordera1.c: New file.
58826         * elf/tst-initordera2.c: New file.
58827         * elf/tst-initordera3.c: New file.
58828         * elf/tst-initordera4.c: New file.
58829         * elf/tst-initorderb1.c: New file.
58830         * elf/tst-initorderb2.c: New file.
58831         * elf/tst-order-a1.c: New file.
58832         * elf/tst-order-a2.c: New file.
58833         * elf/tst-order-a3.c: New file.
58834         * elf/tst-order-a4.c: New file.
58835         * elf/tst-order-b1.c: New file.
58836         * elf/tst-order-b2.c: New file.
58837         * elf/tst-order-main.c: New file.
58838         New test case by George Gensure <werkt0@gmail.com>.
58840 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58843         decoding ACE if AI_CANONIDN.
58845 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58847         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58849 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58851         * version.h (RELEASE): Bump for 2.13 release.
58852         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58854         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58856         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58857         MADV_NOHUGEPAGE.
58858         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58859         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58860         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58861         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58862         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58863         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58865         * posix/getconf.c: Update copyright year.
58866         * catgets/gencat.c: Likewise.
58867         * csu/version.c: Likewise.
58868         * debug/catchsegv.sh: Likewise.
58869         * debug/xtrace.sh: Likewise.
58870         * elf/ldconfig.c: Likewise.
58871         * elf/ldd.bash.in: Likewise.
58872         * elf/sprof.c (print_version): Likewise.
58873         * iconv/iconv_prog.c: Likewise.
58874         * iconv/iconvconfig.c: Likewise.
58875         * locale/programs/locale.c: Likewise.
58876         * locale/programs/localedef.c: Likewise.
58877         * malloc/memusage.sh: Likewise.
58878         * malloc/mtrace.pl: Likewise.
58879         * nscd/nscd.c (print_version): Likewise.
58880         * nss/getent.c: Likewise.
58882         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58883         PF_CAIF, and PF_ALG.
58884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58886 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58888         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58889         (modules-names): Use them.
58890         (ifunc-test-modules, ifunc-pie-tests): Define.
58891         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58892         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58893         (test-extras): Likewise.
58894         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58895         $(compile-command.c).
58896         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58897         (all-built-dso): Define.
58898         (check-textrel.out, check-execstack.out): Depend on it.
58900         * configure.in: Don't override --enable-multi-arch.
58902 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58904         [BZ #6812]
58905         * nscd/hstcache.c (tryagain): Define.
58906         (cache_addhst): Return tryagain not notfound for temporary errors.
58907         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58908         failed.
58910 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58912         [BZ #10563]
58913         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58914         to make the syscall.
58915         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58917         [BZ #12378]
58918         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58919         and fall back to matching as normal character if the string ends before
58920         the matching ']' is found.  This is what POSIX requires.
58921         * posix/testfnm.c: Adjust test result.
58922         * posix/globtest.sh: Adjust test result.  Add new test.
58923         * posix/tst-fnmatch.input: Likewise.
58924         * posix/tst-fnmatch2.c: Add new test.
58926 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58928         * elf/Makefile (check-execstack): Revert last change.  Depend on
58929         check-execstack.h.
58930         (check-execstack.h): New target.
58931         (generated): Add check-execstack.h.
58932         * elf/check-execstack.c: Include "check-execstack.h".
58933         (main): Revert last change.
58934         (handle_file): Return zero if GNU_STACK is absent and
58935         DEFAULT_STACK_PERMS doesn't include PF_X.
58937 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58939         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58940         in child fails because the descriptor is already closed.
58941         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58942         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58943         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58945         [BZ #12397]
58946         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58947         syscall.
58949         [BZ #10484]
58950         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58951         temporary buffer used to handle multi lookups locally.
58952         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58954 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58956         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58957         loader is ld.so.
58959 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58961         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58962         alignment for SSE2.
58964 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58966         [BZ #12394]
58967         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58968         characters.  When rounding increased number of integer digits recompute
58969         number of groups.
58970         * stdio-common/tst-grouping.c: New file.
58971         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58973 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58975         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58976         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58978         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58979         void.
58980         * bits/select.h: Likewise.
58982 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58984         * po/ja.po: Update from translation team.
58986 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58988         [BZ #11155]
58989         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58990         implementation just like for lxstat, fxstatat, et al.
58992 2010-12-27  Jim Meyering  <meyering@redhat.com>
58994         [BZ #12348]
58995         * posix/regexec.c (build_trtable): Return failure indication upon
58996         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58998 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59000         [BZ #12201]
59001         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59002         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59003         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59004         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59006         [BZ #12207]
59007         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59009         [BZ #12204]
59010         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59011         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59013 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59015         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59016         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59017         script has SORT_BY_INIT_PRIORITY.
59018         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59019         NO_CTORS_DTORS_SECTIONS is defined.
59020         * elf/soinit.c: Likewise.
59021         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59022         NO_CTORS_DTORS_SECTIONS is defined.
59023         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59024         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59025         * sysdeps/sh/init-first.c: Likewise.
59026         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59028 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59030         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59031         always use the slow path.
59033 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59035         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59036         similar rule which adds the sysdep directories to the header search in
59037         order to pick up the correct platform stackinfo.h.
59038         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59039         perform test if it is, otherwise return successfully without testing.
59040         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59041         DEFAULT_STACK_PERMS define in stackinfo.h.
59042         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59043         defined in stackinfo.h.
59044         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59045         DEFAULT_STACK_PERMS defined in stackinfo.h.
59046         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59047         * sysdeps/ia64/stackinfo.h: Likewise.
59048         * sysdeps/s390/stackinfo.h: Likewise.
59049         * sysdeps/sh/stackinfo.h: Likewise.
59050         * sysdeps/sparc/stackinfo.h: Likewise.
59051         * sysdeps/x86_64/stackinfo.h: Likewise.
59052         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59053         PF_X for powerpc64.  Retain PF_X for powerpc32.
59055 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59057         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59058         accurately.
59059         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59060         GETDENTS_64BIT_ALIGNED.
59062 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59064         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59066 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59068         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59069         _GNU_SOURCE.
59071         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59072         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59073         Remove __restrict.
59074         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59075         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59077 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59079         [BZ #11655]
59080         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59081         are initialized.
59083 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59085         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59087 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59089         * po/it.po: Update from translation team.
59091 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59094         unused codes.
59096 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59098         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59100 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59102         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59103         specially.
59104         (gaih_getanswer_slice): Likewise.
59106 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59110 2010-05-31  Petr Baudis  <pasky@suse.cz>
59112         [BZ #11149]
59113         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59114         silently even in the chroot mode.
59116 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59118         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59119         last patch a bit.  Pretty printing
59121 2010-05-31  Petr Baudis <pasky@suse.cz>
59123         [BZ #10085]
59124         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59125         initialization of skip_initgroups_dyn.
59127 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59130         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59132 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59134         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59136 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59138         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59139         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59140         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59141         ($(objpfx)tst-fnmatch-mem): New rule.
59142         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59143         * posix/tst-fnmatch.c (main): Call mtrace.
59145 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59148         Support Intel processor model 6 and model 0x2c.
59150 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59152         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59153           signed comparison.
59155 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59157         [BZ #12205]
59158         * string/test-strncasecmp.c (check_result): New function.
59159         (do_one_test): Use it.
59160         (check1): New function.
59161         (test_main): Use it.
59162         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59163         Support strcasecmp and strncasecmp.
59165 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59167         [BZ #12194]
59168         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59169         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59171 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59173         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59174         IFUNC support.
59175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59176         memset-x86-64.
59177         * sysdeps/x86_64/multiarch/bzero.S: New file.
59178         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59179         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59180         * sysdeps/x86_64/multiarch/memset.S: New file.
59181         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59183         Set bit_Prefer_SSE_for_memop for Intel processors.
59184         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59185         Define.
59186         (index_Prefer_SSE_for_memop): Define.
59187         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59189 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59191         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59192         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59194 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59196         [BZ #12191]
59197         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59198         (__x86_64_raw_data_cache_size_half): Likewise.
59199         (__x86_64_raw_shared_cache_size): Likewise.
59200         (__x86_64_raw_shared_cache_size_half): Likewise.
59202         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59203         (__x86_64_raw_data_cache_size_half): Likewise.
59204         (__x86_64_raw_shared_cache_size): Likewise.
59205         (__x86_64_raw_shared_cache_size_half): Likewise.
59206         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59207         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59208         and __x86_64_raw_shared_cache_size_half.  Round
59209         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59210         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59211         to multiple of 256 bytes.
59213 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59215         [BZ #12167]
59216         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59217         of inacessible symlinks.  Verify result of symlink before returning it.
59218         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59219         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59221 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59223         * math/math.h (isinf): Fix typo in comment.
59225 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59227         * po/da.po: Update from translation team.
59229 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59231         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59232         is added to the list.
59234 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59235             Ulrich Drepper  <drepper@gmail.com>
59237         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59238         the global list here.  Move code to...
59239         (_dl_add_to_namespace_list): ...here.  New function.
59240         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59241         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59242         * elf/dl-load.c (lose): Don't remove the element from the list.
59243         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59244         (_dl_map_object): Likewise.
59246 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59248         [BZ #12159]
59249         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59250         into all bytes of SSE register.
59251         Patch by Richard Li <richardpku@gmail.com>.
59253 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59255         [BZ #12140]
59256         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59257         perturbing.
59259 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59261         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59262         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59263         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59264         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59266         submachine.
59267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59269 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59271         * include/dlfcn.h (__RTLD_SECURE): Define.
59272         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59273         mode & __RTLD_SECURE instead.
59274         (open_path): Rename preloaded parameter to secure.
59275         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59276         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59277         * elf/dl-deps.c (openaux): Likewise.
59278         * elf/rtld.c (struct map_args): Remove is_preloaded.
59279         (map_doit): Don't use it.
59280         (dl_main): Likewise.
59281         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59282         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59284 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59286         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59287         (sysd-rules-targets): Remove duplicates.
59288         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59289         rtld-%.$o dependency.
59291 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59293         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59294         _dl_map_object do it.
59296 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59298         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59299         fast fma builtins, define the macros in the C99 standard.
59300         (FP_FAST_FMAF): Likewise.
59301         (FP_FAST_FMAL): Likewise.
59302         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59304         * bits/mathdef.h: Update copyright year.
59305         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59307 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59309         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59310         builtins, define the macros in the C99 standard.
59311         (FP_FAST_FMAF): Likewise.
59312         (FP_FAST_FMAL): Likewise.
59313         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59314         multiply/add.
59315         (FP_FAST_FMAF): Likewise.
59317 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59319         [BZ #3268]
59320         * math/libm-test.inc (fma_test): Some new testcases.
59321         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59322         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59323         y and infinite z.  Do multiplication by C already in long double.
59324         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59326         y and infinite z.  Do bitwise or of inexact bit into u.d.
59327         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59328         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59329         * sysdeps/i386/fpu/s_fma.S: Removed.
59330         * sysdeps/i386/fpu/s_fmal.S: Removed.
59332 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59334         [BZ #3268]
59335         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59337         computation is not scheduled after fetestexcept.  Fix value
59338         of minimum denormal long double.
59340 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59342         [BZ #3268]
59343         * math/libm-test.inc (fma_test): Add some more tests.
59344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59345         correctly.
59347 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59349         * scripts/data/localplt-s390-linux-gnu.data: New file.
59350         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59352 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59354         [BZ #3268]
59355         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59356         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59357         instead of dbl-64.
59358         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59359         inlines.
59360         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59362         if one of x and y is very large and the other is subnormal.
59363         * sysdeps/s390/fpu/s_fmaf.c: New file.
59364         * sysdeps/s390/fpu/s_fma.c: New file.
59365         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59366         * sysdeps/powerpc/fpu/s_fma.S: New file.
59367         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59368         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59369         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59371 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59373         [BZ #3268]
59374         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59375         fma tests.
59376         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59377         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59378         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59379         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59380         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59381         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59382         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59384 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59386         [BZ #12078]
59387         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59388         * posix/bug-regex31.input: Add test case.
59390 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59392         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59393         * posix/bug-regex31.input: New file.
59395         [BZ #12078]
59396         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59397         (parse_sub_exp): Fix last change, use postorder.
59399         * posix/bug-regex31.c: New file.
59400         * posix/Makefile: Add rules to build and run bug-regex31.
59402         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59404         [BZ #12078]
59405         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59407         [BZ #12108]
59408         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59409         to have entries in sys_siglist.
59411         [BZ #12093]
59412         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59413         be NULL.
59415 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59417         [BZ #3268]
59418         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59419         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59420         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59421         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59422         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59423         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59424         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59425         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59426         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59427         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59428         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59429         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59430         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59431         * math/ftestexcept.c (fetestexcept): Likewise.
59432         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59433         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59434         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59435         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59436         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59437         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59438         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59440 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59442         [BZ #12107]
59443         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59444         newline.
59446 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59448         * string/bug-strstr1.c: New file.
59449         * string/Makefile: Add rules to build and run bug-strstr1.
59451 2010-10-05  Eric Blake  <eblake@redhat.com>
59453         [BZ #12092]
59454         * string/str-two-way.h (two_way_long_needle): Always clear memory
59455         when skipping input due to the shift table.
59457 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59459         [BZ #12005]
59460         * malloc/mcheck.c: Handle large requests.
59462         [BZ #12077]
59463         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59464         for strncmp and strncasecmp.
59465         * string/stratcliff.c: Add tests for strcmp and strncmp.
59466         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59468 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59470         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59471         __set_fpscr.
59473 2010-09-30  Andreas Jaeger  <aj@suse.de>
59475         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59476         (CGROUP_SUPER_MAGIC): Define.
59477         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59478         Handle btrfs and cgroup file systems.
59479         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59480         Likewise.
59482 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59484         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59485         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59487 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59489         [BZ #12067]
59490         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59491         trying to locate the ELF header.
59493 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59495         [BZ #11611]
59496         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59497         Mask out sign-bit copies when constructing f_fsid.
59499 2010-09-24  Petr Baudis <pasky@suse.cz>
59501         * debug/stack_chk_fail_local.c: Add missing licence exception.
59502         * debug/warning-nop.c: Likewise.
59504 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59506         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59507         implementing getdents64 using getdents syscall, set d_type if
59508         __ASSUME_GETDENTS32_D_TYPE.
59510 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59512         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59513         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59515 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59517         [BZ #12037]
59518         * posix/unistd.h: Undo change of feature selection for ftruncate from
59519         2010-01-11.
59521 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59523         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59524         detection.
59526 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59528         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59529         fanotify_mark.
59530         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59532 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59534         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59535         variables after CHECK_SP call.
59536         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59538 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59539             Ulrich Drepper  <drepper@redhat.com>
59541         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59542         re-relocationg ld.so.
59543         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59544         _dl_init_paths call.
59545         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59546         here anymore.
59548 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59550         * resolv/res_init.c (__res_vinit): Count the default server we added.
59552 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
59553             Ulrich Drepper  <drepper@redhat.com>
59555         [BZ #11968]
59556         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59557         (____longjmp_chk): Use %ebx for saving value across system call.
59558         Add unwind info.
59560 2010-09-06  Andreas Schwab  <schwab@redhat.com>
59562         * manual/Makefile: Don't mix pattern rules with normal rules.
59564 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59566         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59567         operation.
59568         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59569         * libio/iofopncook.c (_IO_cookie_init): Likewise.
59570         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59571         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59572         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59573         Likewise.
59575 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
59577         [BZ #11979]
59578         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59579         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59581 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
59583         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59584         * sysdeps/x86_64/addmul_1.S: Likewise.
59585         * sysdeps/x86_64/lshift.S: Likewise.
59586         * sysdeps/x86_64/mul_1.S: Likewise.
59587         * sysdeps/x86_64/rshift.S: Likewise.
59588         * sysdeps/x86_64/sub_n.S: Likewise.
59589         * sysdeps/x86_64/submul_1.S: Likewise.
59591 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59593         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59594         Define __sched_param instead of SCHED_* and sched_param when
59595         <bits/sched.h> is included with __need_schedparam defined.
59596         * bits/sched.h [__need_schedparam]
59597         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59598         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59599         (__defined_schedparam): Define to 1.
59600         (__sched_param): New structure, identical to sched_param.
59601         (__need_schedparam): Undefine.
59603 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
59605         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59606         (epoll_create1): Declare.
59608         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59610 2010-08-31  Andreas Schwab  <schwab@redhat.com>
59612         [BZ #7066]
59613         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59614         shifting retval into place.
59616 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
59618         * nis/rpcsvc/nis.h: Update copyright notice.
59619         * nis/rpcsvc/nis.x: Likewise.
59620         * nis/rpcsvc/nis_callback.h: Likewise.
59621         * nis/rpcsvc/nis_callback.x: Likewise.
59622         * nis/rpcsvc/nis_object.x: Likewise.
59623         * nis/rpcsvc/nis_tags.h: Likewise.
59624         * nis/rpcsvc/yp.h: Likewise.
59625         * nis/rpcsvc/yp.x: Likewise.
59626         * nis/rpcsvc/ypupd.h: Likewise.
59627         * nis/yp_xdr.c: Likewise.
59628         * nis/ypupdate_xdr.c: Likewise.
59630         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
59631         mainly the body of pmap_getport.  Add parameters to specify timeouts.
59632         (pmap_getport): Use __libc_rpc_getport.
59633         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59634         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59635         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59637 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
59639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59640         fanotify_mark.
59642 2010-08-27  Roland McGrath  <roland@redhat.com>
59644         * sysdeps/i386/i686/multiarch/Makefile
59645         (CFLAGS-varshift.c): New variable.
59647 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
59649         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59650         * sysdeps/i386/i686/multiarch/varshift.c: New file.
59652         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59654         * sysdeps/x86_64/strlen.S: Minimal code improvement.
59656 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
59658         * sysdeps/x86_64/strlen.S: Unroll the loop.
59659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59660         strlen-sse2 strlen-sse2-bsf.
59661         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59662         __strlen_no_bsf if bit_Slow_BSF is set.
59663         (__strlen_sse42): Removed.
59664         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59665         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59667 2010-08-25  Roland McGrath  <roland@redhat.com>
59669         * sysdeps/x86_64/multiarch/varshift.S: File removed.
59670         * sysdeps/x86_64/multiarch/varshift.c: New file.
59671         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59672         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59673         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59674         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59676 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
59678         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59679         strlen-sse2 strlen-sse2-bsf.
59680         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59681         __strlen_sse2_bsf if bit_Slow_BSF is unset.
59682         (__strlen_sse2): Removed.
59683         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59684         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59686         bit_Slow_BSF for Atom.
59687         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59688         (index_Slow_BSF): Define.
59689         (HAS_SLOW_BSF): Define.
59691 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
59693         [BZ #10851]
59694         * resolv/res_init.c (__res_vinit): When no server address at all
59695         is given default to loopback.
59697 2010-08-24  Roland McGrath  <roland@redhat.com>
59699         * configure.in: Remove config-name.h generation.
59700         * configure: Regenerated.
59701         * config-name.in: File removed.
59702         * scripts/config-uname.sh: New file.
59703         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59704         ($(objdir)config-name.h): New target.
59706         * sunrpc/rpc_parse.h: Avoid nested comment.
59708 2010-08-24  Richard Henderson  <rth@redhat.com>
59709             Ulrich Drepper  <drepper@redhat.com>
59710             H.J. Lu  <hongjiu.lu@intel.com>
59712         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59714         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59715         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
59716         _mm_alignr_epi8 with _mm_loadu_si128.
59717         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59718         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59719         (__m128i_shift_right): Removed.
59720         * sysdeps/i386/i686/multiarch/varshift.h: New file.
59721         * sysdeps/i386/i686/multiarch/varshift.S: New file.
59722         * sysdeps/x86_64/multiarch/varshift.h: New file.
59723         * sysdeps/x86_64/multiarch/varshift.S: New file.
59725 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
59727         * configure.in: Move assembler checks to before sysdep dir checking.
59729 2010-08-20  Petr Baudis  <pasky@suse.cz>
59731         * LICENSES: Sync the sunrpc license.
59733 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
59735         * sunrpc/auth_des.c: Update copyright notice once again.
59736         * sunrpc/auth_none.c: Likewise.
59737         * sunrpc/auth_unix.c: Likewise.
59738         * sunrpc/authdes_prot.c: Likewise.
59739         * sunrpc/authuxprot.c: Likewise.
59740         * sunrpc/bindrsvprt.c: Likewise.
59741         * sunrpc/clnt_gen.c: Likewise.
59742         * sunrpc/clnt_perr.c: Likewise.
59743         * sunrpc/clnt_raw.c: Likewise.
59744         * sunrpc/clnt_simp.c: Likewise.
59745         * sunrpc/clnt_tcp.c: Likewise.
59746         * sunrpc/clnt_udp.c: Likewise.
59747         * sunrpc/clnt_unix.c: Likewise.
59748         * sunrpc/des_crypt.c: Likewise.
59749         * sunrpc/des_soft.c: Likewise.
59750         * sunrpc/get_myaddr.c: Likewise.
59751         * sunrpc/getrpcport.c: Likewise.
59752         * sunrpc/key_call.c: Likewise.
59753         * sunrpc/key_prot.c: Likewise.
59754         * sunrpc/openchild.c: Likewise.
59755         * sunrpc/pm_getmaps.c: Likewise.
59756         * sunrpc/pm_getport.c: Likewise.
59757         * sunrpc/pmap_clnt.c: Likewise.
59758         * sunrpc/pmap_prot.c: Likewise.
59759         * sunrpc/pmap_prot2.c: Likewise.
59760         * sunrpc/pmap_rmt.c: Likewise.
59761         * sunrpc/rpc/auth.h: Likewise.
59762         * sunrpc/rpc/auth_unix.h: Likewise.
59763         * sunrpc/rpc/clnt.h: Likewise.
59764         * sunrpc/rpc/des_crypt.h: Likewise.
59765         * sunrpc/rpc/key_prot.h: Likewise.
59766         * sunrpc/rpc/netdb.h: Likewise.
59767         * sunrpc/rpc/pmap_clnt.h: Likewise.
59768         * sunrpc/rpc/pmap_prot.h: Likewise.
59769         * sunrpc/rpc/pmap_rmt.h: Likewise.
59770         * sunrpc/rpc/rpc.h: Likewise.
59771         * sunrpc/rpc/rpc_des.h: Likewise.
59772         * sunrpc/rpc/rpc_msg.h: Likewise.
59773         * sunrpc/rpc/svc.h: Likewise.
59774         * sunrpc/rpc/svc_auth.h: Likewise.
59775         * sunrpc/rpc/types.h: Likewise.
59776         * sunrpc/rpc/xdr.h: Likewise.
59777         * sunrpc/rpc_clntout.c: Likewise.
59778         * sunrpc/rpc_cmsg.c: Likewise.
59779         * sunrpc/rpc_common.c: Likewise.
59780         * sunrpc/rpc_cout.c: Likewise.
59781         * sunrpc/rpc_dtable.c: Likewise.
59782         * sunrpc/rpc_hout.c: Likewise.
59783         * sunrpc/rpc_main.c: Likewise.
59784         * sunrpc/rpc_parse.c: Likewise.
59785         * sunrpc/rpc_parse.h: Likewise.
59786         * sunrpc/rpc_prot.c: Likewise.
59787         * sunrpc/rpc_sample.c: Likewise.
59788         * sunrpc/rpc_scan.c: Likewise.
59789         * sunrpc/rpc_scan.h: Likewise.
59790         * sunrpc/rpc_svcout.c: Likewise.
59791         * sunrpc/rpc_tblout.c: Likewise.
59792         * sunrpc/rpc_util.c: Likewise.
59793         * sunrpc/rpc_util.h: Likewise.
59794         * sunrpc/rpcinfo.c: Likewise.
59795         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59796         * sunrpc/rpcsvc/key_prot.x: Likewise.
59797         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59798         * sunrpc/rpcsvc/mount.x: Likewise.
59799         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59800         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59801         * sunrpc/rpcsvc/rex.x: Likewise.
59802         * sunrpc/rpcsvc/rstat.x: Likewise.
59803         * sunrpc/rpcsvc/rusers.x: Likewise.
59804         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59805         * sunrpc/rpcsvc/spray.x: Likewise.
59806         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59807         * sunrpc/rtime.c: Likewise.
59808         * sunrpc/svc.c: Likewise.
59809         * sunrpc/svc_auth.c: Likewise.
59810         * sunrpc/svc_authux.c: Likewise.
59811         * sunrpc/svc_raw.c: Likewise.
59812         * sunrpc/svc_run.c: Likewise.
59813         * sunrpc/svc_simple.c: Likewise.
59814         * sunrpc/svc_tcp.c: Likewise.
59815         * sunrpc/svc_udp.c: Likewise.
59816         * sunrpc/svc_unix.c: Likewise.
59817         * sunrpc/svcauth_des.c: Likewise.
59818         * sunrpc/xcrypt.c: Likewise.
59819         * sunrpc/xdr.c: Likewise.
59820         * sunrpc/xdr_array.c: Likewise.
59821         * sunrpc/xdr_float.c: Likewise.
59822         * sunrpc/xdr_mem.c: Likewise.
59823         * sunrpc/xdr_rec.c: Likewise.
59824         * sunrpc/xdr_ref.c: Likewise.
59825         * sunrpc/xdr_sizeof.c: Likewise.
59826         * sunrpc/xdr_stdio.c: Likewise.
59828         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59829         handling.
59831 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59833         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59835 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59837         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59838         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59839         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59840         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59841         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59842         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59843         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59844         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59845         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59846         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59847         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59848         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59849         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59850         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59852 2010-07-26  Anton Blanchard  <anton@samba.org>
59854         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59855         * malloc/arena.c (heap_trim): Likewise.
59857 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59859         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59860         here.  Not...
59861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59862         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59864 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59866         * sysdeps/i386/elf/Makefile: New file.
59868 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59870         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59871         from fanotify_init.
59872         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59873         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59875 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59877         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59878         of strncasecmp_l.
59879         * sysdeps/multiarch/strcmp.S: Likewise.
59881 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59883         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59884         strncase_l-nonascii.
59885         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59886         Add strncase_l-ssse3.
59887         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59888         * sysdeps/x86_64/strcmp.S: Likewise.
59889         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59890         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59891         * sysdeps/x86_64/strncase.S: New file.
59892         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59893         * sysdeps/x86_64/strncase_l.S: New file.
59894         * string/Makefile (strop-tests): Add strncasecmp.
59895         * string/test-strncasecmp.c: New file.
59897         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59898         warning.
59900         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59901         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59903 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59905         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59907 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59909         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59910         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59911         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59913 2010-05-01  Alan Modra  <amodra@gmail.com>
59915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59916         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59917         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59918         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59919         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59920         tidying.  Don't tail-call __sigjmp_save for static lib.
59921         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59922         save location.
59923         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59924         (CALL_MCOUNT): Add eh info, and nop after bl.
59925         (TAIL_CALL_SYSCALL_ERROR): New macro.
59926         (PSEUDO_RET): Use it.
59927         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59928         Correct save location of integer regs and cr.
59929         (_dl_profile_resolve): Correct cr save location.  Delete nops
59930         after bl when SHARED.  Reduce cfi size a little by better
59931         placement of cfi directives.
59932         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59933         make a stack frame.  Instead use parm save area as a temp.
59934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59935         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59937         Don't make a stack frame for parent, use parm save area.
59938         Increase child stack frame to 112 bytes.  Don't save unused reg,
59939         and adjust reg usage.  Set up cfi on error recovery and
59940         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59942         (__makecontext): Add dummy nop after jump to exit.
59943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59944         Use correct parm save area and cr save, reduce stack frame.
59945         Correct cfi for possible PSEUDO_RET frame setup.
59946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59947         Branch to local label emitted by PSEUDO_RET rather than
59948         __syscall_error.
59950 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59952         [BZ #11904]
59953         * locale/programs/locale.c (print_assignment): New function.
59954         (show_locale_vars): Use it.
59956 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59958         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59959         field.
59960         (struct statfs64): Likewise.
59961         (_STATFS_F_FLAGS): Define.
59962         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59963         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59964         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59965         (ST_VALID): Define locally.
59966         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59967         __statvfs_getflags, use the provided value.
59968         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59969         __ASSUME_STATFS_F_FLAGS.
59971         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59973         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59974         Add sys/fanotify.h.
59975         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59976         fanotify_mask for GLIBC_2.13.
59977         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59978         fanotify_init and fanotify_mark.
59979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59980         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59982         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59983         Add prlimit.
59984         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59985         prlimit64 for GLIBC_2.13.
59986         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59987         prlimit64.
59988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59989         syscall.
59990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59992         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59993         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59994         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59995         add prlimit alias.
59996         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59998         [BZ #11903]
59999         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60000         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60002         * nss/Makefile: Add rules to build and run tst-nss-test1.
60003         * shlib-versions: Add entry for libnss_test1.
60004         * nss/nss_test1.c: New file.
60005         * nss/tst-nss-test1.c: New file.
60007         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60008         (__nss_configure_lookup): Set appropriate entry in
60009         __nss_configure_lookup to true.
60010         * nss/nsswitch.h: Define enum with indeces of databases in
60011         databases and __nss_database_custom arrays.  Declare
60012         __nss_database_custom.
60013         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60014         to avoid using nscd when custom rules are installed.
60015         * nss/getXXbyYY_r.c: Likewise.
60016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60018         * nss/nss_files/files-parse.c: Whitespace fixes.
60020 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60022         [BZ #11883]
60023         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60024         * posix/fnmatch_loop.c: Likewise.
60026 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60028         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60029         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60030         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60031         * Versions.def [GLIBC_2.13]: Add.
60033 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60035         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60036         Also fail if tpwd after pwuid call is NULL.
60038 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60040         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60041         when converting to ms.
60043 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60045         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60046         EOPNOTSUPP errors with ENOTTY.
60047         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60048         EOPNOTSUPP errors with ENOTTY.
60050 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60052         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60053         Add strcasecmp_l-ssse3.
60054         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60055         strcasecmp.
60056         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60057         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60058         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60060 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60062         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60064         * string/Makefile (strop-tests): Add strcasecmp.
60065         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60066         strcasecmp_l-nonascii.
60067         (gen-as-const-headers): Add locale-defines.sym.
60068         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60069         * sysdeps/x86_64/strcasecmp.S: New file.
60070         * sysdeps/x86_64/strcasecmp_l.S: New file.
60071         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60072         * sysdeps/x86_64/locale-defines.sym: New file.
60073         * string/test-strcasecmp.c: New file.
60075         * string/test-strcasestr.c: Test both ends of the range of characters.
60076         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60078 2010-07-29  Roland McGrath  <roland@redhat.com>
60080         [BZ #11856]
60081         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60083 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60085         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60086         for ld.so.
60088 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60090         * manual/memory.texi (Malloc Tunable Parameters): Document
60091         M_PERTURB.
60093 2010-07-26  Roland McGrath  <roland@redhat.com>
60095         [BZ #11840]
60096         * configure.in (-fgnu89-inline check): Set and substitute
60097         gnu89_inline, not libc_cv_gnu89_inline.
60098         * configure: Regenerated.
60099         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60101 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60103         * string/test-strnlen.c: New file.
60104         * string/Makefile (strop-tests): Add strnlen.
60105         * string/tester.c (test_strnlen): Add a few more test cases.
60106         * string/tst-strlen.c: Better error reporting.
60108         * sysdeps/x86_64/strnlen.S: New file.
60110 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60112         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60113         lower-latency instructions.
60115 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60117         * string/test-strcasestr.c: New file.
60118         * string/test-strstr.c: New file.
60119         * string/Makefile (strop-tests): Add strstr and strcasestr.
60120         * string/str-two-way.h: Don't undefine MAX.
60121         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60123 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60126         strcasestr-nonascii.
60127         (CFLAGS-strcasestr-nonascii.c): Define.
60128         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60129         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60130         Remove unused attribute.
60132 2010-07-20  Roland McGrath  <roland@redhat.com>
60134         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60135         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60136         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60137         like LD_HWCAP_MASK can disable hwcaps.
60139 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60141         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60143 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60145         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60146         call in strcasestr.
60147         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60148         __strcasestr_sse42_nonascii.
60149         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60150         strcasestr-nonascii.c.
60151         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60153 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60155         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60156         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60157         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60158         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60160 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60162         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60163         fcntl.
60165 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60167         [BZ #11577]
60168         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60169         dl_signal_cerror.
60171 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60173         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60174         _PC_PIPE_BUF using F_GETPIPE_SZ.
60176 2010-07-05  Roland McGrath  <roland@redhat.com>
60178         * manual/arith.texi (Rounding Functions): Fix rint description
60179         implicit in round description.
60181 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60183         * elf/Makefile: Fix linking for a few tests to make recent linker
60184         happy.
60186 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60188         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60189         $(common-objpfx)libc_nonshared.a.
60191 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60193         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60194         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60195         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60196         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60197         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60198         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60199         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60200         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60215         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60216         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60217         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60218         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60219         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60220         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60221         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60222         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60223         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60224         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60225         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60226         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60242 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60244         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60245         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60246         * string/memmove.c (memmove): Renamed to ...
60247         (MEMMOVE): ...this.  Default to memmove.
60248         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60249         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60250         (END_CHK): Define.
60251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60252         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60253         mempcpy-ssse3-back memmove-ssse3-back.
60254         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60255         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60256         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60257         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60258         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60259         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60260         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60261         * sysdeps/x86_64/multiarch/memmove.c: New file.
60262         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60263         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60264         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60265         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60266         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60267         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60268         Define.
60269         (index_Fast_Copy_Backward): Define.
60270         (HAS_ARCH_FEATURE): Define.
60271         (HAS_FAST_REP_STRING): Define.
60272         (HAS_FAST_COPY_BACKWARD): Define.
60274 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60276         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60277         Restore proper fallback handling.
60279 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60281         [BZ #11701]
60282         * posix/group_member.c (__group_member): Correct checking loop.
60284         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60285         OOM in getpwuid_r correctly.  Return error number when the caller
60286         should return, otherwise -1.
60287         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60288         call returning > 0 value.
60289         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60291 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60293         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60294         libc_nonshared.a from targets in modules-names.
60296 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60298         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60299         requires it.
60301 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60303         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60304         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60305         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60306         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60308 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60310         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60312 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60314         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60315         and F_GETPIPE_SZ.
60316         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60320         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60321         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60323 2010-06-14  Roland McGrath  <roland@redhat.com>
60325         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60327 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60329         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60330         __REDIRECT followed by __THROW.
60331         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60332         * posix/getopt.h (getopt): Likewise.
60334 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60336         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60337         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60338         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60339         in AT_FLAGS.
60340         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60341         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60343 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60345         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60347 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60349         [BZ #11640]
60350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60351         Properly check family and model.
60353 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60355         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60357 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60359         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60361 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60363         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60364         symbol reference.
60366 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60368         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60369         symbol reference.
60371 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60373         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60374         and internal_recvmmsg.
60375         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60376         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60377         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60378         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60380         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60381         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60382         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60384 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60386         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60388 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60390         POWER7 optimizations.
60391         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60392         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60394 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60396         * version.h: Update for 2.13 development version.
60398 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60400         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60401         exceptions.  Return 0.
60403 2010-05-07  Roland McGrath  <roland@redhat.com>
60405         * elf/ldconfig.c (main): Add a const.
60407 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60409         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60410         (args_options): Add no-idn option.
60411         (ahosts_keys_int): Add idn_flags to ai_flags.
60412         (parse_option): Handle 'i' option to clear idn_flags.
60414         * malloc/malloc.c (_int_free): Possible race in the most recently
60415         added check.  Only act on the data if no current modification
60416         happened.
60418 See ChangeLog.17 for earlier changes.